File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes JAX-RPC vs JAX-WS some differences Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "JAX-RPC vs JAX-WS some differences" Watch "JAX-RPC vs JAX-WS some differences" New topic
Author

JAX-RPC vs JAX-WS some differences

Sim Kim
Ranch Hand

Joined: Aug 06, 2004
Posts: 268
Hi,

While going through JAX-WS tutorials I noticed some differences between JAX-RPC and JAX-WS (WSDL-Java mapping).

1. In JAX-WS , if there is more then one parameter which is of OUT or IN/OUT type then the return type of method is void .

2. In JAX-WS the element of type "anyType" maps to Object , In JAX-RPC is mapped to SOAPElement.

I will update with more as and when I notice some more differences.
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
There are lots of other differences, for example in JAX-WS the handler chains changed. There were JAX-RPC handlers, now there are Protocol and Logical handlers. The change in name was justified ...

The beta objectives don't mention JAX-RPC at all - so why is this important? If your are worried about RMH you should always check the appropriate specifications first to see if the RMH material is still relevant.
[ November 18, 2008: Message edited by: Peer Reynders ]
Sim Kim
Ranch Hand

Joined: Aug 06, 2004
Posts: 268
Peer,

Can you read Victor's review about the exam :

There was questions about migration from JAX-RPC to JAX-WS and differences between them, but this is not in the objectives!


I hope these things don't come but still who knows ?
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
I see. Just a general thought. The SCDJWS was always more about breadth rather than depth (compared to the other programming/API certifications) because there is so much to cover. I'm all for knowing the details because it makes it easier to understand how things fit together, however you can't trade depth for breadth in this preparation - lack of breadth is going to affect your results.

So given Victor's remark I would look for general things - like that you cannot reuse the handlers, which deployment files are different, that RPC/encoded isn't supported, etc. But that's just my opinion.

JAX-RPC versus JAX-WS, Part 1
JAX-RPC versus JAX-WS, Part 2
JAX-RPC versus JAX-WS, Part 3
JAX-RPC versus JAX-WS, Part 4
JAX-RPC versus JAX-WS, Part 5
[ November 19, 2008: Message edited by: Peer Reynders ]
Rahula Krishnan
Greenhorn

Joined: Dec 08, 2011
Posts: 24
Please check the below link

http://www.ibm.com/developerworks/webservices/library/ws-tip-jaxwsrpc/index.html


Thanks
Rahul
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAX-RPC vs JAX-WS some differences
 
Similar Threads
web services overview
JBoss WS client exception
JAX-RPC Vs JAX-WS
JAX-RPC2.0 become JAX-WS
JAX-RPC client for JAX-WS service