Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Himai Minh
Ranch Hand
Posts: 1316
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for posting it here.
hope it shall be helpful for others
~abhay
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic