[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Redirect problem
Does it give you an error? I found it was very simple to run this in debug to see errors and determine what the problem is. If its returning data then look into the XML at that point.. You might be deleting it in the RPG program
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jim Ward
Sent: Tuesday, October 18, 2011 4:08 PM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: Redirect problem
I am trying to post to a YRC's quote site and it uses the following
format:
https://my.yrc.com/dynamic/national/servlet?CONTROLLER=com.rdwy.ec.rexcommon.proxy.http.controller.ProxyApiController&redir=/tfq561&LOGIN_USERID=*****&LOGIN_PASSWORD=*****
&BusId=90311575107&BusRole=Shipper . . . . and so on for several more
parameters.
I am using the command:
rc = http_url_post_xml('https://my.yrc.com/dynamic/national/servlet'
: %addr(postData) + 2 <-- where PostData is
the remainder of the parameters.
: %len(postData)
: %paddr(StartOfElement)
: %paddr(EndOfElement)
: *NULL );
And I am not getting a response from the web site - I suspect I am not
using the correct command.
Does anyone have an idea? We are newbies at this.
Jim Ward
MDI Worldwide
P before printing this message, please consider our environment
CONFIDENTIALITY NOTICE This e-mail message, including any attachments, is for the sole use of the intended recipients(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.
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------