[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cookies
Thanks Scott,
i solved previous trouble... i've another.....
The cookie file is already blanks (0kb dimension...) and the response
seems non have cookie attached.
Nothing special in log.... but i dont login with the server called
(... no cookies)...
Can yoy help me????
On Tue, 05 Apr 2011 02:23:10 -0500,
ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx wrote:
Send Ftpapi mailing list submissions to
[1]ftpapi@xxxxxxxxxxxxxxxxxxxxxx
To subscribe or unsubscribe via the World Wide Web, visit
[2]http://www.scottklement.com/mailman/listinfo/ftpapi
or, via email, send a message with subject or body 'help' to
[3]ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx
You can reach the person managing the list at
[4]ftpapi-owner@xxxxxxxxxxxxxxxxxxxxxx
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ftpapi digest..."
Today's Topics:
1. Re: httpapi Beta 1.24 (Scott Klement)
2. R: Ftpapi Digest, Vol 58, Issue 5 (Giancarlo De Filippis)
3. R: CCSID problem????? (Stefano Busolo)
----------------------------------------------------------------------
Message: 1
Date: Mon, 04 Apr 2011 14:23:13 -0500
From: Scott Klement <[5]sk@xxxxxxxxxxxxxxxx>
Subject: Re: httpapi Beta 1.24
To: HTTPAPI and FTPAPI Projects <[6]ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Message-ID: <[7]4D9A1AA1.1070004@xxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=UTF-8; format=flowed
Hello,
It's sending you a 302 which means that it wants you to navigate to
another location.
The http_redir_loc() routine will return the URL of the new location
(from the log I can see that it's
[8]https://collaudowb.hbl.local/pkmscertpromptstagen)
So call http_redir_loc() to get the URL, then use http_get() to access
that location.
Good luck
On 4/4/2011 4:53 AM, Giancarlo De Filippis wrote:
Hy all.....
i've this problem (my log)
HTTPAPI Ver 1.24beta11 released 2010-09-09
OS/400 Ver V6R1M0
https_init(): entered
-------------------------------------------------------------------
---
---------------
Dump of local-side certificate information:
-------------------------------------------------------------------
---
---------------
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
Serial Number: 01
Common Name: user collaudo
Country: it
Org Unit: hbl
Org: webservices
Issuer CN: collaudowb
Issuer Country: IT
Issuer State/Province: Perak
Issuer Locality: Sitiawan
Issuer Org: HBL
Issuer Org Unit: webservices
Version: 03
not before: 20080408141514
not after: 20120103131514
pub key alg: 1.2.840.113549.1.1.4
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: UCS.CED.LAN
DNS server found: 10.176.16.13
DNS server found: 10.176.16.14
DNS server found: 10.176.16.15
-------------------------------------------------------------------
---
---------------
Dump of server-side certificate information:
-------------------------------------------------------------------
---
---------------
Cert Validation Code = 6000
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
Serial Number: 45:F5:3B:C6
Common Name: collaudowb.hbl.local
Country: IT
Issuer CN: collaudowb.hbl.local
Issuer Country: IT
Version: 03
not before: 20070311123846
not after: 20170309123846
pub key alg: 1.2.840.113549.1.1.4
Protocol Used: TLS Version 1
http_persist_post(): entered
http_long_ParseURL(): entered
do_oper(POST): entered
POST /pkmslogin.form HTTP/1.1
Host: collaudowb.hbl.local
User-Agent: http-api/1.24
Content-Type: application/x-www-form-urlencoded
Content-Length: 20
Cookie: $Version=0;
PD-H-SESSION-ID=4_0_lGI4o5ut4y2G9uq5jRxH6dBtQUP+6IqnMbfHwZuEIzZSWYn
S;
$Path=/;
senddoc(): entered
login-form-type=cert
recvresp(): entered
HTTP/1.1 302 Moved Temporarily
connection: close
content-length: 1157
content-type: text/html
date: Mon, 04 Apr 2011 09:50:55 GMT
location: [9]https://collaudowb.hbl.local/pkmscertpromptstagen
p3p: CP="NON CUR OTPi OUR NOR UNI"
server: WebSEAL/6.1.1.1 (Build 110214)
cache-control: no-cache
pragma: no-cache
Set-Cookie:
PD-H-SESSION-ID=4_0_lGI4o5ut4y2G9uq5jRxH6dBtQUP+6IqnMbfHwZuEIzZSWYn
S;
Path=/
SetError() ?13: HTTP/1.1 302 Moved Temporarily
recvresp(): end with 302
recvdoc parms: identity 1157
header_load_cookies() entered
cookie_read() entered.
read cookies in /tmp/cookies.txt
cookie_parse() entered
cookie =
PD-H-SESSION-ID=4_0_lGI4o5ut4y2G9uq5jRxH6dBtQUP+6IqnMbfHwZuEIzZSWYn
S;
Path=/
cookie attr
PD-H-SESSION-ID=4_0_lGI4o5ut4y2G9uq5jRxH6dBtQUP+6IqnMbfHwZuEIzZSWYn
S
cookie attr Path=/
cookie_dump() entered.
cookie file is /tmp/cookies.txt
recvdoc(): entered
SetError() ?0:
(GSKit) I/O: Descrittore non valido.
ssl_error(406): (GSKit) I/O: Descrittore non valido.
SetError() ?44: CommSSL_read: read:(GSKit) I/O: Descrittore non
valido.
http_close(): entered
This is my pgm:
eval rc = http_url_post(
'https://***********/pkmslogin.form'
: myPointer
: datasize
: '/tmp/testpost.html'
: HTTP_TIMEOUT
: HTTP_USERAGENT
: 'application/x-www-form-urlencoded' )
someone can help me??
Thanks!!!!!
-------------------------------------------------------------------
----
This is the FTPAPI mailing list. To unsubscribe, please go to:
[10]http://www.scottklement.com/mailman/listinfo/ftpapi
-------------------------------------------------------------------
----
------------------------------
Message: 2
Date: Mon, 4 Apr 2011 23:05:57 +0200
From: "Giancarlo De Filippis" <[11]gdefilippis@xxxxxxx>
Subject: R: Ftpapi Digest, Vol 58, Issue 5
To: <[12]ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Message-ID: <[13]000301cbf30c$1820f000$4862d000$@ltbl.it>
Content-Type: text/plain; charset="iso-8859-1"
I resolved the gskit trouble....
But I don't get login from pgm.... seems don?t use session
cookies...
Someone can help with this??
There are some option for pgm creation???
I'm desperate!!!!!!!!!!!!!!!!!!
Thanks
-----Messaggio originale-----
Da: [14]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:[15]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] Per conto di
[16]ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx
Inviato: luned? 4 aprile 2011 21:19
A: [17]ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Oggetto: Ftpapi Digest, Vol 58, Issue 5
Send Ftpapi mailing list submissions to
[18]ftpapi@xxxxxxxxxxxxxxxxxxxxxx
To subscribe or unsubscribe via the World Wide Web, visit
[19]http://www.scottklement.com/mailman/listinfo/ftpapi
or, via email, send a message with subject or body 'help' to
[20]ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx
You can reach the person managing the list at
[21]ftpapi-owner@xxxxxxxxxxxxxxxxxxxxxx
When replying, please edit your Subject line so it is more specific
than
"Re: Contents of Ftpapi digest..."
Today's Topics:
1. httpapi Beta 1.24 (Giancarlo De Filippis)
2. Question on function http_debug (Ha, William)
3. Re: CCSID problem????? (Scott Klement)
4. Re: Question on function http_debug (Michael Ryan)
5. RE: httpapi Beta 1.24 (Mike Krebs)
6. RE: Question on function http_debug (Mike Krebs)
7. RE: Question on function http_debug (Ha, William)
8. RE: Question on function http_debug (Ha, William)
-------------------------------------------------------------------
---
Message: 1
Date: Mon, 04 Apr 2011 11:53:12 +0200
From: Giancarlo De Filippis <[22]gdefilippis@xxxxxxx>
Subject: httpapi Beta 1.24
To: <[23]ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Message-ID: <[24]e68a85ef534080283ce07441f6ccf773@xxxxxxx>
Content-Type: text/plain; charset="utf-8"
Hy all.....
i've this problem (my log)
HTTPAPI Ver 1.24beta11
released 2010-09-09
OS/400 Ver V6R1M0
https_init():
entered
-------------------------------------------------------------------
---------
---------
Dump
of local-side certificate
information:
-------------------------------------------------------------------
---------
---------
-----BEGIN
CERTIFICATE-----
-----END CERTIFICATE-----
Serial Number: 01
Common
Name: user collaudo
Country: it
Org Unit: hbl
Org: webservices
Issuer
CN: collaudowb
Issuer Country: IT
Issuer State/Province: Perak
Issuer
Locality: Sitiawan
Issuer Org: HBL
Issuer Org Unit: webservices
Version:
03
not before: 20080408141514
not after: 20120103131514
pub key alg:
1.2.840.113549.1.1.4
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:
UCS.CED.LAN
DNS server found: 10.176.16.13
DNS server found:
10.176.16.14
DNS server found:
10.176.16.15
-------------------------------------------------------------------
---------
---------
Dump
of server-side certificate
information:
-------------------------------------------------------------------
---------
---------
Cert
Validation Code = 6000
-----BEGIN CERTIFICATE-----
-----END
CERTIFICATE-----
Serial Number: 45:F5:3B:C6
Common Name:
collaudowb.hbl.local
Country: IT
Issuer CN: collaudowb.hbl.local
Issuer
Country: IT
Version: 03
not before: 20070311123846
not after:
20170309123846
pub key alg: 1.2.840.113549.1.1.4
Protocol Used: TLS
Version 1
http_persist_post(): entered
http_long_ParseURL():
entered
do_oper(POST): entered
POST /pkmslogin.form HTTP/1.1
Host:
collaudowb.hbl.local
User-Agent: http-api/1.24
Content-Type:
application/x-www-form-urlencoded
Content-Length: 20
Cookie: $Version=0;
PD-H-SESSION-ID=4_0_lGI4o5ut4y2G9uq5jRxH6dBtQUP+6IqnMbfHwZuEIzZSWYn
S;
$Path=/;
senddoc(): entered
login-form-type=cert
recvresp():
entered
HTTP/1.1 302 Moved Temporarily
connection: close
content-length:
1157
content-type: text/html
date: Mon, 04 Apr 2011 09:50:55
GMT
location: [25]https://collaudowb.hbl.local/pkmscertpromptstagen
p3p:
CP="NON CUR OTPi OUR NOR UNI"
server: WebSEAL/6.1.1.1 (Build
110214)
cache-control: no-cache
pragma: no-cache
Set-Cookie:
PD-H-SESSION-ID=4_0_lGI4o5ut4y2G9uq5jRxH6dBtQUP+6IqnMbfHwZuEIzZSWYn
S;
Path=/
SetError() ?13: HTTP/1.1 302 Moved Temporarily
recvresp(): end
with 302
recvdoc parms: identity 1157
header_load_cookies()
entered
cookie_read() entered.
read cookies in
/tmp/cookies.txt
cookie_parse() entered
cookie =
PD-H-SESSION-ID=4_0_lGI4o5ut4y2G9uq5jRxH6dBtQUP+6IqnMbfHwZuEIzZSWYn
S;
Path=/
cookie attr
PD-H-SESSION-ID=4_0_lGI4o5ut4y2G9uq5jRxH6dBtQUP+6IqnMbfHwZuEIzZSWYn
S
cookie
attr Path=/
cookie_dump() entered.
cookie file is
/tmp/cookies.txt
recvdoc(): entered
SETERROR() ?0:
(GSKIT) I/O:
DESCRITTORE NON VALIDO.
SSL_ERROR(406): (GSKIT) I/O: DESCRITTORE NON VALIDO.
SETERROR() ?44: COMMSSL_READ: READ:(GSKIT) I/O: DESCRITTORE NON
VALIDO.
HTTP_CLOSE(): ENTERED
This is my pgm:
eval rc =
http_url_post(
'https://***********/pkmslogin.form'
: myPointer
:
datasize
: '/tmp/testpost.html'
: HTTP_TIMEOUT
: HTTP_USERAGENT
: 'application/x-www-form-urlencoded' )
someone can help me??
Thanks!!!!!
-------------- next part --------------
Hy all.....
i've this problem (my log)
HTTPAPI Ver 1.24beta11 released 2010-09-09
OS/400 Ver V6R1M0
https_init(): entered
-------------------------------------------------------------------
---
---------------
Dump of local-side certificate information:
-------------------------------------------------------------------
---
---------------
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
Serial Number: 01
Common Name: user collaudo
Country: it
Org Unit: hbl
Org: webservices
Issuer CN: collaudowb
Issuer Country: IT
Issuer State/Province: Perak
Issuer Locality: Sitiawan
Issuer Org: HBL
Issuer Org Unit: webservices
Version: 03
not before: 20080408141514
not after: 20120103131514
pub key alg: 1.2.840.113549.1.1.4
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: UCS.CED.LAN
DNS server found: 10.176.16.13
DNS server found: 10.176.16.14
DNS server found: 10.176.16.15
-------------------------------------------------------------------
---
---------------
Dump of server-side certificate information:
-------------------------------------------------------------------
---
---------------
Cert Validation Code = 6000
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
Serial Number: 45:F5:3B:C6
Common Name: collaudowb.hbl.local
Country: IT
Issuer CN: collaudowb.hbl.local
Issuer Country: IT
Version: 03
not before: 20070311123846
not after: 20170309123846
pub key alg: 1.2.840.113549.1.1.4
Protocol Used: TLS Version 1
http_persist_post(): entered
http_long_ParseURL(): entered
do_oper(POST): entered
POST /pkmslogin.form HTTP/1.1
Host: collaudowb.hbl.local
User-Agent: http-api/1.24
Content-Type: application/x-www-form-urlencoded
Content-Length: 20
Cookie: $Version=0;
PD-H-SESSION-ID=4_0_lGI4o5ut4y2G9uq5jRxH6dBtQUP+6IqnMbfHwZuEIzZSWYn
S;
$Path=/;
senddoc(): entered
login-form-type=cert
recvresp(): entered
HTTP/1.1 302 Moved Temporarily
connection: close
content-length: 1157
content-type: text/html
date: Mon, 04 Apr 2011 09:50:55 GMT
location: [26]https://collaudowb.hbl.local/pkmscertpromptstagen
p3p: CP="NON CUR OTPi OUR NOR UNI"
server: WebSEAL/6.1.1.1 (Build 110214)
cache-control: no-cache
pragma: no-cache
Set-Cookie:
PD-H-SESSION-ID=4_0_lGI4o5ut4y2G9uq5jRxH6dBtQUP+6IqnMbfHwZuEIzZSWYn
S;
Path=/
SetError() ?13: HTTP/1.1 302 Moved Temporarily
recvresp(): end with 302
recvdoc parms: identity 1157
header_load_cookies() entered
cookie_read() entered.
read cookies in /tmp/cookies.txt
cookie_parse() entered
cookie =
PD-H-SESSION-ID=4_0_lGI4o5ut4y2G9uq5jRxH6dBtQUP+6IqnMbfHwZuEIzZSWYn
S;
Path=/
cookie attr
PD-H-SESSION-ID=4_0_lGI4o5ut4y2G9uq5jRxH6dBtQUP+6IqnMbfHwZuEIzZSWYn
S
cookie attr Path=/
cookie_dump() entered.
cookie file is /tmp/cookies.txt
recvdoc(): entered
SetError() ?0:
(GSKit) I/O: Descrittore non valido.
ssl_error(406): (GSKit) I/O: Descrittore non valido.
SetError() ?44: CommSSL_read: read:(GSKit) I/O: Descrittore non
valido.
http_close(): entered
This is my pgm:
eval rc = http_url_post(
'https://***********/pkmslogin.form'
: myPointer
: datasize
: '/tmp/testpost.html'
: HTTP_TIMEOUT
: HTTP_USERAGENT
: 'application/x-www-form-urlencoded' )
someone can help me??
Thanks!!!!!
------------------------------
Message: 2
Date: Mon, 4 Apr 2011 13:11:36 -0400
From: "Ha, William" <[27]William.Ha@xxxxxxxx>
Subject: Question on function http_debug
To: "[28]'ftpapi@xxxxxxxxxxxxxxxxxxxxxx'"
<[29]ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Message-ID:
<[30]2EA459672FF2704CA3D0D20A89BB688208B830B6F8@xxxxxxxxxxxxxxxxxxx
a>
Content-Type: text/plain; charset="us-ascii"
Hi all,
I code http_debug(*ON) in my RPG program but there is no debug file
under
the name of /tmp/httpapi_debug.txt when I run it and there is an
error.
Anyone can help. Thanks
William
-------------- next part --------------
Hi all,
I code http_debug(*ON) in my RPG program but there is no debug file
under the name of /tmp/httpapi_debug.txt when I run it and there is
an
error.
Anyone can help. Thanks
William
------------------------------
Message: 3
Date: Mon, 04 Apr 2011 12:38:19 -0500
From: Scott Klement <[31]sk@xxxxxxxxxxxxxxxx>
Subject: Re: CCSID problem?????
To: HTTPAPI and FTPAPI Projects <[32]ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Message-ID: <[33]4D9A020B.7060007@xxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
hi Stefano,
You are telling HTTPAPI to translate your data from EBCDIC to CCSID
819
(which is ISO-8859-1). But you are telling the web service that
your data
is in ISO-8859-15, which is a different character set than
ISO-8859-1.
On 4/4/2011 7:31 AM, Stefano Busolo wrote:
Hi Scott!
I use HTTP API to communicate with a WS.
The API works very well but I have a problem with some special
characters (? ? ? ?).
I sended this XML request
adesso ? ? ? ? ? ?
but the WebService has receive this
adesso ? ? ? ? ? ?
Note the ? ? ? ? instead of ? ? ? ?
Is this a CCSID problem??
How can I send an XML without any type of char conversion?
I attached a log of my XML request
Best regard
-------Stefano Busolo-------
Servizio Produzione Software plain ERP Commercio - Industria
mailto: [1][34]bu@xxxxxxxxxxxx
___________________________________________________________________
___
_________
Gruppo ASI - Via della Croce Rossa, 42 - 35129 Padova
[2][35]http://www.plain.it - [3]mailto:[36]info@xxxxxxxxxxxx Tel.
+39 049
8070030 - Fax +39 049 8078433
[4]IBM_BP_w
[5]MS_GCP_w
Questa e-mail ? da considerare strettamente riservata ai
destinatari
specificati. Se il messaggio
? stato ricevuto per errore, si prega avvisare il mittente e poi di
cancellare il messaggio.
___________________________________________________________________
___
_________
E-mail sottoposta a scansione antivirus con Scanmail TrendMicro (
[6][37]http://www.antivirus.com ).
References
1. mailto:[38]bu@xxxxxxxxxxxx
2. [39]http://www.plain.it/
3. mailto:[40]info@xxxxxxxxxxxx
4.
[41]http://www.plain.it/portalev2/a00_Base/default.aspx?sCD_Pagina=
30374
5.
[42]http://www.plain.it/portalev2/a00_Base/default.aspx?sCD_Pagina=
30374
6. [43]http://www.antivirus.com/
-------------------------------------------------------------------
---
- This is the FTPAPI mailing list. To unsubscribe, please go to:
[44]http://www.scottklement.com/mailman/listinfo/ftpapi
-------------------------------------------------------------------
---
-
------------------------------
Message: 4
Date: Mon, 4 Apr 2011 14:07:24 -0400
From: Michael Ryan <[45]michaelrtr@xxxxxxxxx>
Subject: Re: Question on function http_debug
To: HTTPAPI and FTPAPI Projects <[46]ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Message-ID:
<[47]BANLkTim3C3wDQzcL5u6CCrs+_C1Qre3g_A@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1
Any security restrictions to creating a file in /tmp? Try creating
a text
file from wrklnk or edtf.
On Mon, Apr 4, 2011 at 1:11 PM, Ha, William
<[48]William.Ha@xxxxxxxx> wrote:
? Hi all,
? I code http_debug(*ON) in my RPG program but there is no debug
file
? under the name of /tmp/httpapi_debug.txt when I run it and there
is
an ? error.
? Anyone can help. Thanks
? William
-------------------------------------------------------------------
---
- This is the FTPAPI mailing list. ?To unsubscribe, please go to:
[49]http://www.scottklement.com/mailman/listinfo/ftpapi
-------------------------------------------------------------------
---
-
------------------------------
Message: 5
Date: Mon, 4 Apr 2011 13:34:09 -0500
From: Mike Krebs <[50]mkrebs@xxxxxxxxxxxxxxxxxx>
Subject: RE: httpapi Beta 1.24
To: HTTPAPI and FTPAPI Projects <[51]ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Message-ID:
<[52]3DF08BA25872B644A1421B9F085B1829615A18B42D@xxxxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"
(GSKIT) I/O:
DESCRITTORE NON VALIDO.
SSL_ERROR(406): (GSKIT) I/O: DESCRITTORE NON VALIDO.
SETERROR() ?44: COMMSSL_READ: READ:(GSKIT) I/O: DESCRITTORE NON
VALIDO.
You are having a problem with GSKIT and/or security of GSKIT? Did
you follow
the instructions in the README in QRPGLESRC?
------------------------------
Message: 6
Date: Mon, 4 Apr 2011 13:35:44 -0500
From: Mike Krebs <[53]mkrebs@xxxxxxxxxxxxxxxxxx>
Subject: RE: Question on function http_debug
To: HTTPAPI and FTPAPI Projects <[54]ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Message-ID:
<[55]3DF08BA25872B644A1421B9F085B1829615A18B42E@xxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"
What is the error?
Do you have a /tmp directory?
-----Original Message-----
From: [56]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-
[57]bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Ha, William
Sent: Monday, April 04, 2011 12:12 PM
To: [58]'ftpapi@xxxxxxxxxxxxxxxxxxxxxx'
Subject: Question on function http_debug
Hi all,
I code http_debug(*ON) in my RPG program but there is no debug file
under the name of /tmp/httpapi_debug.txt when I run it and there is
an
error.
Anyone can help. Thanks
William
------------------------------
Message: 7
Date: Mon, 4 Apr 2011 14:42:15 -0400
From: "Ha, William" <[59]William.Ha@xxxxxxxx>
Subject: RE: Question on function http_debug
To: "'HTTPAPI and FTPAPI Projects'"
<[60]ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Message-ID:
<[61]2EA459672FF2704CA3D0D20A89BB688208B830B6FA@xxxxxxxxxxxxxxxxxxx
a>
Content-Type: text/plain; charset="iso-8859-1"
Hi Michael,
Yep that's the problem....many thanks
William
-----Message d'origine-----
De?: [62]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:[63]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] De la part de
Michael Ryan
Envoy??: lundi 4 avril 2011 14:07
??: HTTPAPI and FTPAPI Projects
Objet?: Re: Question on function http_debug
Any security restrictions to creating a file in /tmp? Try creating
a text
file from wrklnk or edtf.
On Mon, Apr 4, 2011 at 1:11 PM, Ha, William
<[64]William.Ha@xxxxxxxx> wrote:
? Hi all,
? I code http_debug(*ON) in my RPG program but there is no debug
file
? under the name of /tmp/httpapi_debug.txt when I run it and there
is
an ? error.
? Anyone can help. Thanks
? William
-------------------------------------------------------------------
---
- This is the FTPAPI mailing list. ?To unsubscribe, please go to:
[65]http://www.scottklement.com/mailman/listinfo/ftpapi
-------------------------------------------------------------------
---
-
-------------------------------------------------------------------
----
This is the FTPAPI mailing list. To unsubscribe, please go to:
[66]http://www.scottklement.com/mailman/listinfo/ftpapi
-------------------------------------------------------------------
----
------------------------------
Message: 8
Date: Mon, 4 Apr 2011 15:19:23 -0400
From: "Ha, William" <[67]William.Ha@xxxxxxxx>
Subject: RE: Question on function http_debug
To: "'HTTPAPI and FTPAPI Projects'"
<[68]ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Message-ID:
<[69]2EA459672FF2704CA3D0D20A89BB688208B830B6FD@xxxxxxxxxxxxxxxxxxx
a>
Content-Type: text/plain; charset="iso-8859-1"
Yes i do...the problem is the service program HTTPAPIR4 has the
authority
*PUBLIC *USE instead of *CHANGE or higher. So it's a question of
access
authority.
William Ha
Service de l'informatique (Dev.)
(450) 662-3300 poste 3025
-----Message d'origine-----
De?: [70]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:[71]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] De la part de
Mike Krebs
Envoy??: lundi 4 avril 2011 14:36
??: HTTPAPI and FTPAPI Projects
Objet?: RE: Question on function http_debug
What is the error?
Do you have a /tmp directory?
-----Original Message-----
From: [72]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-
[73]bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Ha, William
Sent: Monday, April 04, 2011 12:12 PM
To: [74]'ftpapi@xxxxxxxxxxxxxxxxxxxxxx'
Subject: Question on function http_debug
Hi all,
I code http_debug(*ON) in my RPG program but there is no debug file
under the name of /tmp/httpapi_debug.txt when I run it and there is
an
error.
Anyone can help. Thanks
William
-------------------------------------------------------------------
----
This is the FTPAPI mailing list. To unsubscribe, please go to:
[75]http://www.scottklement.com/mailman/listinfo/ftpapi
-------------------------------------------------------------------
----
------------------------------
-------------------------------------------------------------------
----
This is the FTPAPI mailing list digest. To unsubscribe, go to:
[76]http://www.scottklement.com/mailman/listinfo/ftpapi
-------------------------------------------------------------------
----
End of Ftpapi Digest, Vol 58, Issue 5
*************************************
------------------------------
Message: 3
Date: Tue, 5 Apr 2011 09:22:43 +0200
From: Stefano Busolo <[77]bu@xxxxxxxxxxxx>
Subject: R: CCSID problem?????
To: HTTPAPI and FTPAPI Projects <[78]ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Message-ID:
<[79]FFB3F71992C2B242A4FA715CD4BDCCC534DDAEA2DF@xxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"
Thank you, Scott!
I tryed to set the character set to ISO-8859-1, but the WS has
received ? ? ? instead of ? ? ?.
I attached the log.
Is it possible that the WS accepts only UTF-8?
Must I use the "HTTP_SetCCSIDs(xxx: 0)" before of "rc =
http_url_post_xml( ...)"??
When I call the WS, the request is the same that I see in senddoc()
tag of the log file???
Best regards!!
-------Stefano Busolo-------
Servizio Produzione Software plain ERP Commercio - Industria
mailto: [80]bu@xxxxxxxxxxxx
___________________________________________________________________
____________
Gruppo ASI - Via della Croce Rossa, 42 - 35129 Padova
[81]http://www.plain.it - mailto:[82]info@xxxxxxxxxxxx Tel. +39 049
8070030 - Fax +39 049 8078433
Questa e-mail ? da considerare strettamente riservata ai
destinatari specificati. Se il messaggio
? stato ricevuto per errore, si prega avvisare il mittente e poi di
cancellare il messaggio.
___________________________________________________________________
____________
E-mail sottoposta a scansione antivirus con Scanmail TrendMicro (
[83]http://www.antivirus.com ).
-----Messaggio originale-----
Da: [84]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:[85]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] Per conto di
Scott Klement
Inviato: luned? 4 aprile 2011 19:38
A: HTTPAPI and FTPAPI Projects
Oggetto: Re: CCSID problem?????
hi Stefano,
You are telling HTTPAPI to translate your data from EBCDIC to CCSID
819
(which is ISO-8859-1). But you are telling the web service that
your
data is in ISO-8859-15, which is a different character set than
ISO-8859-1.
On 4/4/2011 7:31 AM, Stefano Busolo wrote:
Hi Scott!
I use HTTP API to communicate with a WS.
The API works very well but I have a problem with some special
characters (? ? ? ?).
I sended this XML request
adesso ? ? ? ? ? ?
but the WebService has receive this
adesso ? ? ? ? ? ?
Note the ? ? ? ? instead of ? ? ? ?
Is this a CCSID problem??
How can I send an XML without any type of char conversion?
I attached a log of my XML request
Best regard
-------Stefano Busolo-------
Servizio Produzione Software plain ERP Commercio - Industria
mailto: [1][86]bu@xxxxxxxxxxxx
___________________________________________________________________
___
_________
Gruppo ASI - Via della Croce Rossa, 42 - 35129 Padova
[2][87]http://www.plain.it - [3]mailto:[88]info@xxxxxxxxxxxx Tel.
+39 049
8070030 - Fax +39 049 8078433
[4]IBM_BP_w
[5]MS_GCP_w
Questa e-mail ? da considerare strettamente riservata ai
destinatari
specificati. Se il messaggio
? stato ricevuto per errore, si prega avvisare il mittente e poi di
cancellare il messaggio.
___________________________________________________________________
___
_________
E-mail sottoposta a scansione antivirus con Scanmail TrendMicro (
[6][89]http://www.antivirus.com ).
References
1. mailto:[90]bu@xxxxxxxxxxxx
2. [91]http://www.plain.it/
3. mailto:[92]info@xxxxxxxxxxxx
4.
[93]http://www.plain.it/portalev2/a00_Base/default.aspx?sCD_Pagina=
30374
5.
[94]http://www.plain.it/portalev2/a00_Base/default.aspx?sCD_Pagina=
30374
6. [95]http://www.antivirus.com/
-------------------------------------------------------------------
----
This is the FTPAPI mailing list. To unsubscribe, please go to:
[96]http://www.scottklement.com/mailman/listinfo/ftpapi
-------------------------------------------------------------------
----
-------------------------------------------------------------------
----
This is the FTPAPI mailing list. To unsubscribe, please go to:
[97]http://www.scottklement.com/mailman/listinfo/ftpapi
-------------------------------------------------------------------
----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: httpapi_debug.txt
Url:
[98]http://www.scottklement.com/pipermail/ftpapi/attachments/201104
05/fc904f51/attachment.txt
------------------------------
-------------------------------------------------------------------
----
This is the FTPAPI mailing list digest. To unsubscribe, go to:
[99]http://www.scottklement.com/mailman/listinfo/ftpapi
-------------------------------------------------------------------
----
End of Ftpapi Digest, Vol 58, Issue 6
*************************************
--
Giancarlo De Filippis
LTBL S.r.L.
Cell. +39 320 8155325
Fax +39 02 89954500
[100]http://www.ltbl.it
References
1. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
2. http://www.scottklement.com/mailman/listinfo/ftpapi
3. mailto:ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx
4. mailto:ftpapi-owner@xxxxxxxxxxxxxxxxxxxxxx
5. mailto:sk@xxxxxxxxxxxxxxxx
6. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
7. mailto:4D9A1AA1.1070004@xxxxxxxxxxxxxxxx
8. https://collaudowb.hbl.local/pkmscertpromptstagen
9. https://collaudowb.hbl.local/pkmscertpromptstagen
10. http://www.scottklement.com/mailman/listinfo/ftpapi
11. mailto:gdefilippis@xxxxxxx
12. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
13. 000301cbf30c$1820f000$4862d000$@ltbl.it">mailto:000301cbf30c$1820f000$4862d000$@ltbl.it
14. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
15. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
16. mailto:ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx
17. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
18. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
19. http://www.scottklement.com/mailman/listinfo/ftpapi
20. mailto:ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx
21. mailto:ftpapi-owner@xxxxxxxxxxxxxxxxxxxxxx
22. mailto:gdefilippis@xxxxxxx
23. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
24. mailto:e68a85ef534080283ce07441f6ccf773@xxxxxxx
25. https://collaudowb.hbl.local/pkmscertpromptstagen
26. https://collaudowb.hbl.local/pkmscertpromptstagen
27. mailto:William.Ha@xxxxxxxx
28. mailto:'ftpapi@xxxxxxxxxxxxxxxxxxxxxx
29. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
30. mailto:2EA459672FF2704CA3D0D20A89BB688208B830B6F8@xxxxxxxxxxxxxxxxxxxx
31. mailto:sk@xxxxxxxxxxxxxxxx
32. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
33. mailto:4D9A020B.7060007@xxxxxxxxxxxxxxxx
34. mailto:bu@xxxxxxxxxxxx
35. http://www.plain.it/
36. mailto:info@xxxxxxxxxxxx
37. http://www.antivirus.com/
38. mailto:bu@xxxxxxxxxxxx
39. http://www.plain.it/
40. mailto:info@xxxxxxxxxxxx
41. http://www.plain.it/portalev2/a00_Base/default.aspx?sCD_Pagina=30374
42. http://www.plain.it/portalev2/a00_Base/default.aspx?sCD_Pagina=30374
43. http://www.antivirus.com/
44. http://www.scottklement.com/mailman/listinfo/ftpapi
45. mailto:michaelrtr@xxxxxxxxx
46. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
47. mailto:BANLkTim3C3wDQzcL5u6CCrs+_C1Qre3g_A@xxxxxxxxxxxxxx
48. mailto:William.Ha@xxxxxxxx
49. http://www.scottklement.com/mailman/listinfo/ftpapi
50. mailto:mkrebs@xxxxxxxxxxxxxxxxxx
51. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
52. mailto:3DF08BA25872B644A1421B9F085B1829615A18B42D@xxxxxxxxxxxx
53. mailto:mkrebs@xxxxxxxxxxxxxxxxxx
54. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
55. mailto:3DF08BA25872B644A1421B9F085B1829615A18B42E@xxxxxxxxxxxx
56. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
57. mailto:bounces@xxxxxxxxxxxxxxxxxxxxxx
58. mailto:'ftpapi@xxxxxxxxxxxxxxxxxxxxxx
59. mailto:William.Ha@xxxxxxxx
60. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
61. mailto:2EA459672FF2704CA3D0D20A89BB688208B830B6FA@xxxxxxxxxxxxxxxxxxxx
62. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
63. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
64. mailto:William.Ha@xxxxxxxx
65. http://www.scottklement.com/mailman/listinfo/ftpapi
66. http://www.scottklement.com/mailman/listinfo/ftpapi
67. mailto:William.Ha@xxxxxxxx
68. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
69. mailto:2EA459672FF2704CA3D0D20A89BB688208B830B6FD@xxxxxxxxxxxxxxxxxxxx
70. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
71. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
72. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
73. mailto:bounces@xxxxxxxxxxxxxxxxxxxxxx
74. mailto:'ftpapi@xxxxxxxxxxxxxxxxxxxxxx
75. http://www.scottklement.com/mailman/listinfo/ftpapi
76. http://www.scottklement.com/mailman/listinfo/ftpapi
77. mailto:bu@xxxxxxxxxxxx
78. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
79. mailto:FFB3F71992C2B242A4FA715CD4BDCCC534DDAEA2DF@xxxxxxxxxxxxxxx
80. mailto:bu@xxxxxxxxxxxx
81. http://www.plain.it/
82. mailto:info@xxxxxxxxxxxx
83. http://www.antivirus.com/
84. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
85. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
86. mailto:bu@xxxxxxxxxxxx
87. http://www.plain.it/
88. mailto:info@xxxxxxxxxxxx
89. http://www.antivirus.com/
90. mailto:bu@xxxxxxxxxxxx
91. http://www.plain.it/
92. mailto:info@xxxxxxxxxxxx
93. http://www.plain.it/portalev2/a00_Base/default.aspx?sCD_Pagina=30374
94. http://www.plain.it/portalev2/a00_Base/default.aspx?sCD_Pagina=30374
95. http://www.antivirus.com/
96. http://www.scottklement.com/mailman/listinfo/ftpapi
97. http://www.scottklement.com/mailman/listinfo/ftpapi
98. http://www.scottklement.com/pipermail/ftpapi/attachments/20110405/fc904f51/attachment.txt
99. http://www.scottklement.com/mailman/listinfo/ftpapi
100. http://www.ltbl.it/
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------