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

AW: problems calling webservice with httpapi and tomcat/axis



thanx. that was exactly it. took me some time to figure out, what the SOAPAction HTTP header entry was for.

thanx again and congrats for the great httpapi lib.

one thing i am missing with the api is a documentation for the api like javadoc or doxygen. going into the code to look for the api is a bit cumbersome. if there is any interest in it, i would like to help out with it.

-----Ursprüngliche Nachricht-----
Von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] Im Auftrag von Scott Klement
Gesendet: Mittwoch, 27. Juni 2007 19:43
An: HTTPAPI and FTPAPI Projects
Betreff: 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
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------