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: 722
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: 1076
    
    1

thanks for posting it here.
hope it shall be helpful for others
~abhay
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A working example of using Source.class and Service.Mode.Message
 
Similar Threads
SOAP Fault for SOAP Action property
Dispatch client works even if port QName is wrong
Content is not allowed in prolog
ServiceMode Message and Provider<SOAPMessage>
WebServiceProvider annotation