Document-Oriented Web Services

, Sep 7, 2004

Sameer Tyagi has written an excellent article about developing document-based Web Service in Java for the Sun website. The detailed discussion of doc/lit vs. rpc/enc might have been shortened to “use doc/lit and forget about the rest” — I can think of no reason other than taking over existing code for anybody deciding to use rpc/enc. Some of the possible solutions are a little absurd, but for the sake of completeness, I think this is forgivable . The only thing I really miss is a reference to WS-ReliableMessaging (or WS-MessageDelivery if you prefer) in the last section (which deals with asynchronous processing).

Anyway, very good reading, highly recommended.

On September 7, 2004 10:23 PM, Steve Loughran said:

I was a bit disappointed. Not by the article, but its acceptance of all the failings of JAX-RPC, like the awfulness of xsd:any support.


On September 7, 2004 10:29 PM, Stefan Tilkov said:

Well, you certainly can’t expect an article at to criticize a Java platform API :-)

I personally am convinced that working with the XML at the message level is the most interesting use case, and that Java (or any other statically typed language) is a bad match. But within the boundaries of JAX-RPC’s possibilities, I find the article very good.

On September 10, 2004 11:50 AM, Steve Loughran said:

Send me your email address, you may want to read my document about Alpine.