aspose file tools*
The moose likes Web Services and the fly likes Technology/API suggestion for document Style WS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Technology/API suggestion for document Style WS" Watch "Technology/API suggestion for document Style WS" New topic
Author

Technology/API suggestion for document Style WS

inr mohan
Ranch Hand

Joined: May 11, 2005
Posts: 61
Hi All,

I am going to access a WebService which is written in C# .net, and my application is a J2EE application and it will act as the Web service client.

the webservice is designed as Document style. Please suggest me as to which technology/API I need to use in the J2EE side, so that I can create the request XML (for document style) that can be formed and need to be maintained easily.

Thanks for your help.

Inr
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
This depends a little on the complexity of the documents used to interact with the web service.
If the complexity is low to moderate, I would try JAXB. JAXB is, by far, the easiest choice since JAXB bean classes can be generated automatically from XML schema. Performance is also good.
If you want to build more complex documents in memory, take a look at DOM or JDOM.
If your documents are extremely large, you may want to consider StAX to write generated XML directly to disc.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
inr mohan
Ranch Hand

Joined: May 11, 2005
Posts: 61
Thanks for the Suggestion, I think I will go with JAXB as the schema is moderate.

Inr
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Technology/API suggestion for document Style WS