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

RE: quote of the day



I got the same thing.

I'm using
http://swanandmokashi.com/HomePage/WebServices/QuoteOfTheDay.asmx
With a soap action of http://swanandmokashi.com/GetQuote

And getting a new quote every couple of hours (uses Net.Data to make a
call to the RPG pgm interactively).

HTH,

Craig


-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Greg Maccia
Sent: Friday, September 05, 2008 10:29 AM
To: 'HTTPAPI and FTPAPI Projects'
Subject: 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><ForTodayRespons
e
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
-----------------------------------------------------------------------

Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.  Unless expressly stated in this e-mail, nothing in this message or any attachment should be construed as a digital or electronic signature.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------