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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to