aspose file tools*
The moose likes Web Services and the fly likes Jax-RPC Vs SAAJ 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 "Jax-RPC Vs SAAJ" Watch "Jax-RPC Vs SAAJ" New topic
Author

Jax-RPC Vs SAAJ

srinivas srinivasmeenavalli
Ranch Hand

Joined: Jul 13, 2008
Posts: 65
Hi,

I am able to generate IBM websphere JAX-RPC stub from a third party vendor( Websphere commerce server) WSDL but not Axis. Axis stub generation (WSDL2Java ) is throwing Nullpointer exception. I don't want to know why Axis stub generation is failing.My responsibility is to consume webservice. I was asked to change one of classes( XXX_deser.java) to resolve run time exception( Class cast exception) from other team, who is providing the service . I am againist to this but no option for me. I have to choose best solution out of JAX-RPC which was changed to rectify runtime exceptions ,SAAJ. Can you tell me which gives the best solution in this case?
I perfer SAAJ instead of JAX-RPC with stub class changes. Generated Web service client source code should not changed. What do you think ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42286
    
  64
We don't have enough information to give an opinion about which one is better in your scenario, but in general, I prefer higher-level APIs (like JAX-RPC) over lower-level ones (like SAAJ).

Having said that, JAX-RPC has been obsolete for years, and will likely be removed from the next JEE version. So any new development should be done using its successor JAX-WS.


Ping & DNS - my free Android networking tools app
srinivas srinivasmeenavalli
Ranch Hand

Joined: Jul 13, 2008
Posts: 65
Thank you for details
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jax-RPC Vs SAAJ