[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Strange: it at least gets an error message from the web service if I don't specify optional parameters . . .
- From: "James H. H. Lampert" <jamesl@xxxxxxxxxxxxxxxxx>
- To: HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
- Subject: Strange: it at least gets an error message from the web service if I don't specify optional parameters . . .
- Date: Wed, 09 Sep 2009 10:31:05 -0700
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
-----------------------------------------------------------------------