• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<soap:operation soapAction attribute meaning

 
Naishadh Parmar
Ranch Hand
Posts: 95
C++ Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I want to know what soapAction in



means???
 
Palak Mathur
Ranch Hand
Posts: 342
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Naishadh Parmar wrote:

I want to know what soapAction in



means???


Please have a look at the WSDL specification.
 
Sujeeth Pakala
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WSDL can be used in 2 forms:

1. Abstract WSDL: Data Type definition (XSD), WSDL (input, output, header...) Messages, Port type with one or more definitions of operations. This type of WSDL just gives you information about the operation and its input and output messages. This is incomplete in terms messaging protocol and transport definition.
2. Concrete WSDL: Abstract WSDL + Binding (Messaging protocol) and Port definition (Transport details). This type of WSDL is complete and can be used to consume the service.

Your question relates to WSDL Binding. This makes your operations defined in the port type concrete, meaning: it binds your operation to a messaging protocol, usually SOAP. When doing this, it is necessary to define the soapOperation and it provides the information for port type operation as whole.

<soapperation stype="rpc|document" soapAction="">

The soapAction attribute specifies the SOAPAction header for this operation. The value for it must be specified only in case of HTTP transport. This is usually used for message routing purposes.

I recommend reading SOAP specifications for further details.

Hope this helps
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic