• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Deserializing complex types when consuming web services
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deserializing complex types when consuming web services


  • Subject: Re: Deserializing complex types when consuming web services
  • From: Lachlan Deck <email@hidden>
  • Date: Fri, 7 Mar 2008 07:19:14 +1100

Hi Thomas,

On 06/03/2008, at 10:09 AM, Thomas wrote:

This is my first attempt at consuming complex types. I've done simple types in the past successfully, but I'm stuck when trying to deserialize the result of a Telesign call. This is a commercial service that rings a given phone number and speaks some code so the called person can enter the code in a web form to prove that they are at that phone.

Interesting.

I am successfully causing phone calls to happen, but failing to parse the SOAP result.

The WSDL for this service is at the bottom. I have made classes for some important elements specified in the WSDL, (with getters and setters for their attributes):

Call ( ReferenceID, APIErrorResponse)

APIErrorResponse ( Code, Message )

These two classes are registered with code like this:

qName = new QName("https://www.telesign.com/api/";, "Call");

Hmm. QName expects a URN rather than a URL afaik.

See 'Dynamic Proxy Client Example' here:
https://cis.med.ucalgary.ca/http/java.sun.com/j2ee/1.3/docs/tutorial/ doc/JAXRPC4.html


with regards,
--

Lachlan Deck



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Deserializing complex types when consuming web services
      • From: Thomas <email@hidden>
References: 
 >Deserializing complex types when consuming web services (From: Thomas <email@hidden>)

  • Prev by Date: Re: State of WO Java Client
  • Next by Date: Compiling WO project in Xcode 3
  • Previous by thread: Deserializing complex types when consuming web services
  • Next by thread: Re: Deserializing complex types when consuming web services
  • Index(es):
    • Date
    • Thread