[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Example 1 302 error
I saw some of the earlier posts and wanted to incorporate some news on
our Intranet site. I am already getting the weather from the Weather
message file (thanks Scott) and am calling another program that uses
soap to get a quote of the day
('http://swanandmokashi.com/HomePage/WebServices/QuoteOfTheDay.asmx')
which is successful and runs during the page creation in Net.Data. I
tried the rss feed to iseries and got the 302 error. I made the change
that Scott suggested to go to another news service and got the same
error. I saw I was getting the 302 error at http_url_get so I tried
Example 1 which also uses http_url_get to Scott's web site which I know
is OK. I am failing at the do_get subprocedure in the service program
and getting a return code of 302.
Here is the debug log:
HTTPAPI Ver 1.23 released 2008-04-24
OS/400 Ver V5R2M0
New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
http_url_get(): entered
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry : 2
DNS resolver options: x'00000136'
DNS default domain: urlmutual.com
DNS server found: 172.27.3.3
DNS server found: 172.27.3.5
http_persist_get(): entered
http_long_ParseURL(): entered
do_get(): entered
GET /rpg/socktut/tutorial.pdf HTTP/1.1
Host: www.scottklement.com
User-Agent: http-api/1.23
recvresp(): entered
HTTP/1.0 302 Moved
Location:
http://172.27.3.12:15871/cgi-bin/authenticate.cgi?ws-session=3774914013
Pragma: no-cache
Cache-Control: no-cache
SetError() #13: HTTP/1.0 302 Moved
recvdoc parms: identity 0
header_load_cookies() entered
recvdoc(): entered
SetError() #0:
SetError() #13: HTTP/1.0 302 Moved
http_close(): entered
Any help would be appreciated,
Craig
************End of Data********************
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
-----------------------------------------------------------------------