[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SOAPAction



   We are trying to consume a web service.  We used soapUI to generate
   the XML.  We are using HTTPAPI procedure http_url_post_xml.  The web
   service requires the use of a SOAPAction parameter.



   How/where do we specify this parm?  In our XML/SOAP?  We noticed that
   there was a SOAPAction parm in the HTTPAPI app, but it wasn't in the
   procedure we were using, it was in the http_url_post procedure.



   Here is an example of the XML generated by soapUI:


     _________________________________________________________________

   POST [1]http://wsstrikeiron.com/StrikeIron/ReversePhoneLookup HTTP/1.1
   Content-Type: text/xml;charset=UTF-8
   SOAPAction:
   "[2]http://ws.strikeiron.com/StrikeIron/ReversePhoneLookup/GetRemainin
   gHits"
   User-Agent: Jakarta Commons-HttpClient/3.1
   Host: ws.strikeiron.com
   Content-Length: 458



   <soapenv:Envelope
   xmlns:soapenv="[3]http://schemas.xmlsoaporg/soap/envelope/";
   xmlns:ws="[4]http://ws.strikeiron.com";>
      <soapenv:Header>
         <ws:LicenseInfo>
            <ws:RegisteredUser>
               <ws:UserID>user</ws:UserID>
               <ws:Password>pwd</ws:Password>
            </ws:RegisteredUser>
         </ws:LicenseInfo>
      </soapenv:Header>
      <soapenv:Body>
         <ws:GetRemainingHits/>
      </soapenv:Body>
   </soapenv:Envelope>
     _________________________________________________________________

   Notice the "SOAPAction".  How do we accomplish the same thing using
   the http_url_post_xml procedure?



   Thanks in advance,



   John

References

   1. http://ws.strikeiron.com/StrikeIron/ReversePhoneLookup
   2. http://ws.strikeiron.com/StrikeIron/ReversePhoneLookup/GetRemainingHits
   3. http://schemas.xmlsoap.org/soap/envelope/
   4. http://ws.strikeiron.com/
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------