[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: URL posting
The link [1]http://xx.xxx.xx.xxx/ffws/v1/ofax actually does a function
call, With the XML input I am passing. Do you mean to say i cannot
have this done using HTTP API?
as i am a as400 programmer my companies MicroSof techie think i cannot
understand anything in this regard. I am actually embarrassed being a
AS400 guy. But i am pretty sure that with hard work i can make many
things working on AS400, so i value your comment.
Thanks,
Musthafa
On Fri, Aug 28, 2009 at 6:54 PM, Elbert Cook <[2]emcook@xxxxxxxxx>
wrote:
eval rc=http_url_post(
'[2][3]http://xx.xxx.xx.xxx/ffws/v1/ofax'
:%addr(data): %len(%trimr(data)):
'/tmp/httptest.html')
Unless I am very, very wrong [2] was a reference to a footnote that
Scott put in a previous email.
I don't think [2] belongs in: http_url_post('[2]http://
It looks me like the DNS was not resolved because of the [2]. But I
have been wrong many, many times before.
----- Original Message ----
From: Mohamed Musthafa Safarulla
<[4]mohamedmusthafa.safarulla@xxxxxxxxx>
To: HTTPAPI and FTPAPI Projects <[5]ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, August 28, 2009 5:44:25 PM
Subject: Re: URL posting
Addition:
The 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_setauth():
entered
http_url_post():
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:
xxx.COM
DNS server found:
xxx.xx.x.186
DNS server found:
xxx.xx.x.126
DNS server found:
xxx.xx.xx.21
SetError() #7: Timeout occurred while trying to connect to
server!
Thanks,
Musthafa
On Fri, Aug 28, 2009 at 4:31 PM, Mohamed Musthafa Safarulla
<[1][6]mohamedmusthafa.safarulla@xxxxxxxxx> wrote:
Addition:
I need authentication before post so i do like this
Eval Data = data in the for of XML
callp http_setauth(HTTP_AUTH_BASIC:
'user': 'password')
eval rc=http_url_post(
'[2][7]http://xx.xxx.xx.xxx/ffws/v1/ofax'
:%addr(data): %len(%trimr(data)):
'/tmp/httptest.html')
Here i get a time out error. But when i try to do the same from
Explorer this link works just fine and shows me the successful XML
in return. Please help.
Thanks,
Musthafa
On Fri, Aug 28, 2009 at 4:13 PM, Mohamed Musthafa Safarulla
<[3][8]mohamedmusthafa.safarulla@xxxxxxxxx> wrote:
Hi,
I am trying to make a http post using http_url_post. Actually this
requires authentication. Also the url posting must be done in
base64 encoding.
I know I can do so much with Skotts API. Just wondering If could
do this with HTTP API! Please share your expertise.
--
Thanks,
Musthafa
--
Thanks,
Musthafa
--
Thanks,
Musthafa
References
1. mailto:[9]mohamedmusthafa.safarulla@xxxxxxxxx
2. [10]http://xx.xxx.xx.xxx/ffws/v1/ofax
3. mailto:[11]mohamedmusthafa.safarulla@xxxxxxxxx
-------------------------------------------------------------------
----
This is the FTPAPI mailing list. To unsubscribe, please go to:
[12]http://www.scottklement.com/mailman/listinfo/ftpapi
-------------------------------------------------------------------
----
--
Thanks,
Musthafa
References
1. http://xx.xxx.xx.xxx/ffws/v1/ofax
2. mailto:emcook@xxxxxxxxx
3. http://xx.xxx.xx.xxx/ffws/v1/ofax
4. mailto:mohamedmusthafa.safarulla@xxxxxxxxx
5. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
6. mailto:mohamedmusthafa.safarulla@xxxxxxxxx
7. http://xx.xxx.xx.xxx/ffws/v1/ofax
8. mailto:mohamedmusthafa.safarulla@xxxxxxxxx
9. mailto:mohamedmusthafa.safarulla@xxxxxxxxx
10. http://xx.xxx.xx.xxx/ffws/v1/ofax
11. mailto:mohamedmusthafa.safarulla@xxxxxxxxx
12. 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
-----------------------------------------------------------------------