This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes A working example of using Source.class and Service.Mode.Message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "A working example of using Source.class and Service.Mode.Message" Watch "A working example of using Source.class and Service.Mode.Message" New topic
Author

A working example of using Source.class and Service.Mode.Message

Himai Minh
Ranch Hand

Joined: Jul 29, 2012
Posts: 1034
    
    4
Hi, everyone, for your reference, I finally find a working example using Source.class and Service.Mode.Message for Dispatch.createDispatch


Client side:


When HTTPBinding is used, the soap_request is sent to the service as the payload of the HTTP request. That is why PAYLOAD mode is used.
When SOAPBinding is used, the soap_request is the entire message. That is why MESSAGE mode is used.
Both are working.
Abhay Agarwal
Ranch Hand

Joined: Feb 29, 2008
Posts: 1340

thanks for posting it here.
hope it shall be helpful for others
~abhay
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: A working example of using Source.class and Service.Mode.Message
 
It's not a secret anymore!