This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes soapAction in binding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "soapAction in binding" Watch "soapAction in binding" New topic
Author

soapAction in binding

Suresh Tatiparti
Greenhorn

Joined: Mar 13, 2010
Posts: 8
Hi,

I read soapAction attribute is optional in WSDL binding, which means it can be omitted or put empty value with double quotes "".
In this case do we must set soapAction in soapMessage? If yes how we can do it in header, assuming we are not using httpservlet as client.


For ex: Assume we omit soapAction from this snippet.
<x1:binding name="ServiceSoapBinding" type="x3:OfferMgmtServicePort">
<x4:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
<x1peration name="add">
<x4peration soapAction="add" style="document" />
<x1:input>
.....
</x1:binding>

Thanks in advance.
udaykumar maddigatla
Ranch Hand

Joined: Feb 03, 2009
Posts: 69
Usage of 'soapActrion' is not madatory. so you can omit it. It automatically places empty quote string to your HttP request if you omit it.


SCJP 5.0(84%), SCWCD 5.0(97%), SCDJWS 5.0(98%)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: soapAction in binding
 
Similar Threads
WSDL knowledge.
Question on WSDL
JAX-WS wsgen using Maven2
Confusion with Coldfusion / Groupwise web service
webmethod of Doc/Lit bare style with only one header param generates part="" invalid wsdl soap:body