[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: quote of the day
This is what the log says for the response:
It seems to send back "ForTodayResponse" (if I am reading this correctly)
SetError() #13: HTTP/1.1 200 OK
recvdoc parms: identity 306
header_load_cookies() entered
recvdoc(): entered
SetError() #0:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="http://schemas. .xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instancce"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ForTodayResponse
xmlns="http://www.TheQuoteForToday.com" /></soap:Body></soap:Envelope>
http_close(): entered
here is my code:
SOAP =
'<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>'
+'<SOAP:Envelope'
+' xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"'
+' xmlns:tns="http://www.TheQuoteForToday.com/">'
+'<SOAP:Body>'
+ '<ForToday xmlns="http://www.TheQuoteForToday.com" />'
+'</SOAP:Body>'
+'</SOAP:Envelope>';
rc = http_url_post_xml(
'http://saintbook.org/MightyMaxims/MightyMaxims.asmx'
: %addr(SOAP) + 2
: %len(SOAP)
: *NULL
: %paddr(Incoming)
: %addr(string)
: HTTP_TIMEOUT
: HTTP_USERAGENT
: 'text/xml'
: 'http://www.TheQuoteForToday.com/ForToday')
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
wouter.desaedeleer@xxxxxxxxxx
Sent: Friday, September 05, 2008 8:03 AM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: quote of the day
what does the log say?
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Greg Maccia
Sent: Friday, September 05, 2008 3:49 PM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: quote of the day
Anybody ever play with the web service for the quote of the day at
http://saintbook.org/MightyMaxims/MightyMaxims.asmx
seems like a simple enough web service and I seem to be connecting to it but
I do not get back a quote. Just wondering if anyone had any insight.
-greg
= = = = = = = = = = = = = = = = = = = = = = = = =
Fortis disclaimer :
http://www.fortis.be/legal/disclaimer.htm
Privacy policy related to banking activities of Fortis:
http://www.fortis.be/legal/privacy_policy.htm
= = = = = = = = = = = = = = = = = = = = = = = = =
-----------------------------------------------------------------------
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
-----------------------------------------------------------------------