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

Re: Strange: it at least gets an error message from the web service if I don't specify optional parameters . . .



Why would adding a SOAPAction cause a 404 error?  That's new to me...

James H. H. Lampert wrote:
> Strange:
> 
> An "http_url_post" to the "SMSAlerts4/GlobalSMSPro/SendMessage" service 
> at StrikeIron, with a hard-coded known-valid XML data stream, including 
> a valid license key for the service,
> 
> eval      rc = http_url_post(
>              'http://wsparam.strikeiron.com/StrikeIron/
>             + 'SMSAlerts4/GlobalSMSPro/SendMessage'
>             : %addr(Message) + 2
>             : %len(Message)
>             : '/foo.xml'
>             )
> 
>                                         gets a response of
> <WebServiceResponse xmlns="http://ws.strikeiron.com";><Error>No user 
> identifier provided</Error></WebServiceResponse>
> 
> Something's definitely wrong (and I've asked their tech support and 
> their board), but at least it gets where it's going.
> 
> On examining a Wireshark trace of a successful post from their 
> "Analyzer" utility, I saw a "SOAPAction." If I add in the optional 
> parameters, in order to provide the SOAPAction:
> 
> eval      rc = http_url_post(
>              'http://wsparam.strikeiron.com/StrikeIron/'
>             + 'SMSAlerts4/GlobalSMSPro/SendMessage'
>             : %addr(Message) + 2
>             : %len(Message)
>             : '/foo.xml'
>             : 10 : HTTP_USERAGENT
>             : 'text/xml; charset=utf-8'
>             : '"http://www.strikeiron.com/SendMessage";'
>             )
> 
> then I get a 404 error.
> 
> Any idea of what could be going on here?
> 
> --
> JHHL
> -----------------------------------------------------------------------
> 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
-----------------------------------------------------------------------