wood burning stoves 2.0*
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
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: 775
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: 1162
    
    1

thanks for posting it here.
hope it shall be helpful for others
~abhay
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: A working example of using Source.class and Service.Mode.Message