Hi Kieran -

We do all our web service work by creating a set of POJO's that represent the request and another set that represent the response. We use WOXMLCoder to serialise the request objects into XML, pass the result through an XSLT stylesheet to get it into the format required by the service, then post it using apache's httpclient. When we receive the response we pass it through another XSLT stylesheet to get it into the format required by WOXMLCoder to deserialise it back into the POJO's that represent the response.

You can supposedly use dictionaries with WOXMLCoder, but it's *much* easier to use POJO's (WOXMLCoder can get itself all confused when you have more complicated dictionary structures).

All our XML processing is done by a framework which means our apps are blind to the fact they are talking to a web service. They just create a request object, call a service, and get a response object to play with. The use of XSLT also means we can use a standard set of POJO's to submit the same request to several channels that have different XML specs and the apache httpclient let's us submit multiple requests asynchronously.

Simon

On 4 Dec 2007, at 20:50, Kieran Kelleher wrote:

Hi Simon,

For raw xml post, and response read, what library/API is your favorite for processing the incoming xml response into something like a dictiionary structure?

Regards, Kieran

On Dec 3, 2007, at 5:33 PM, Simon McLean wrote:

We use web services extensively within webobjects apps. You can tackle it in several ways. We use raw xml and http post, but you could use a library like axis or xfire. And I guess someone somewhere must use WebObjects own WebServicesAssitant :-)

Simon

On 3 Dec 2007, at 22:16, Michael Kondratov wrote:

What is the word on web services with web objects? I am working on integration Fedex services into our program. FedEx code looks nothing like webobjects example.


Michael Kondratov
Aspire Auctions, Inc.
_______________________________________________
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/simon_mclean %40mac.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
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/kieran_lists% 40mac.com

This email sent to [EMAIL PROTECTED]


_______________________________________________
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