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

Re: problems calling webservice with httpapi and tomcat/axis



You forgot to pass the peSoapAction parameter to HTTPAPI.  When you 
don't pass that parameter, HTTPAPI assumes you don't want a SOAPAction 
HTTP header to be included.

For example:

rc = http_url_post_xml(
               'http://10.1.38.215:8080/axis/EmailWS.jws'
                   : %addr(SOAP) + 2
                   : %len(SOAP)
                   : *NULL
                   : %paddr(Incoming)
                   : %addr(rate)
                   : HTTP_TIMEOUT
                   : HTTP_USERAGENT
                   : 'text/xml; charset=utf-8'
                   : 'Mihaels SoapAction Goes Here');


Knezevic, Mihael wrote:
> 
>    error message in tomcat:
>    AxisFault
>     faultCode: {[6]http://xml.apache.org/axis/}Client.NoSOAPAction
>     faultSubcode:
>     faultString: no SOAPAction header!
>     faultActor:
>     faultNode:
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------