| 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
Bartender
Joined: Oct 04, 2006
Posts: 2194
|
|
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
|
 |
 |
|
|
subject: Technology/API suggestion for document Style WS
|
|
|