View Single Post
  #2 (permalink)  
Old February 11th, 2008, 04:21 AM
joefawcett's Avatar
joefawcett joefawcett is offline
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

The SOAP ACTION uniquely identifies the service and method and is usually composed of the service's namespace and the method's name. The base was stored as a variable in case the namespace chosen was different to the example and to make the code more generic. A full implementation would read the service's WSDL and configure the client dynamically. You can see what the full soap action should be by examining the WSDL output from the service. It's in the wsdl:binding element under soap:operation, the soapAction attribute. You just need to make sure the SOAP_ACTION_BASE is the same as that minus the / and method name.

--

Joe (Microsoft MVP - XML)
Reply With Quote