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

RE: UPS tracking using Example16 Program



Scott

I think I have this part working now, here is the debug log.  I am new
at this so I most likely am missing a step.  After entering a UPS
tracking number I get a screen with headings but no data.

HTTPAPI Ver 1.23 released 2008-04-24
OS/400 Ver V6R1M0

http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry  : 2
DNS resolver options: x'00000136'
DNS default domain: awtxglobal.com
DNS server found: 172.17.1.101
DNS server found: 172.17.1.102
------------------------------------------------------------------------
-------------
Dump of server-side certificate information:
------------------------------------------------------------------------
-------------
Cert Validation Code = 6000
-----BEGIN CERTIFICATE-----
MIICvzCCAiigAwIBAgILAQAAAAABI5udKQIwDQYJKoZIhvcNAQEFBQAwUTELMAkG
A1UEBhMCVVMxIDAeBgNVBAoTF0FrYW1haSBUZWNobm9sb2dpZXMgSW5jMSAwHgYD
VQQDExdBa2FtYWkgU3Vib3JkaW5hdGUgQ0EgMzAeFw0wOTA5MDgyMDUyMTJaFw0x
MDA5MDgyMDUyMTJaMIGBMQswCQYDVQQGEwJVUzEPMA0GA1UEBxMGTWFod2FoMR4w
HAYDVQQKExVVbml0ZWQgUGFyY2VsIFNlcnZpY2UxEzARBgNVBAsTClVQUyBBa2Ft
YWkxEzARBgNVBAgTCk5ldyBKZXJzZXkxFzAVBgNVBAMTDnd3d2NpZS51cHMuY29t
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCtvh9kOna+hi8sXHVeTnKi2Is8
pNXghUjzMk7/5wYcdhJu0ajPtIZPHzmwLlSyB0pd5B6ec15iaKhlN+pu5Ap+wz5g
JlyT5D6NmKLk1BoYpZCMn9UWfpfAQtfPFoZEFIXhlUJ7jbdxUtpg8WIlTB26484x
WkiuVjt339FTwEFWUQIDAQABo2wwajA5BgNVHR8EMjAwMC6gLKAqhihodHRwOi8v
Y3JsLmdsb2JhbHNpZ24ubmV0L0FrYW1haVN1YjMuY3JsMB0GA1UdDgQWBBSPv6YJ
kpgy3FVfgEe3PHC7cSMdEzAOBgNVHQ8BAf8EBAMCBSAwDQYJKoZIhvcNAQEFBQAD
gYEAbT60MCMDXPjgfvhvH8w0GHwvJuINS65vMMxVeHmQZ4ZQK67R0PyRrFrKd+62
kEP01AVnwl4WjTuGY17M/88C+IeVq+AyvGgTYuqc5J4lK9QmSDSA7X7eOOHQgEXZ
vxeHupTHFBMNd9mRbofifuRfPTKVc7BNL02QzoifyAUpdUA=
-----END CERTIFICATE-----
Serial Number: 01:00:00:00:00:01:23:9B:9D:29:02
Common Name: wwwcie.ups.com
Country: US
State/Province: New Jersey
Locality: Mahwah
Org Unit: United Parcel Service
Org: UPS Akamai
Issuer CN: Akamai Subordinate CA 3
Issuer Country: US
Issuer Org: Akamai Technologies Inc
Version: 03
not before: 20090908155212
not after: 20100908155212
pub key alg: 1.2.840.113549.1.1.5

Protocol Used: TLS Version 1
http_persist_post(): entered
http_long_ParseURL(): entered
do_post(): entered
POST /ups.app/xml/Track HTTP/1.1
Host: wwwcie.ups.com
User-Agent: http-api/1.23
Content-Type: text/xml
Expect: 100-continue
Content-Length: 524


recvresp(): entered
HTTP/1.1 100 Continue
Expires: Mon, 09 Aug 2010 18:29:31 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache


SetError() #13: HTTP/1.1 100 Continue
senddoc(): entered
<?xml version="1.0"?><AccessRequest
xml:lang="en-US"><AccessLicenseNumber>4C65E8E7BA6BA4AO</AccessLicenseNum
ber><UserId>dmdanner</UserId><Password>dann6049</Password></AccessReques
t><?xml version="1.0"?><TrackRequest
xml:lang="en-US"><Request><TransactionReference><CustomerContext>HTTPAPI
EXAMPLE16</CustomerContext><XpciVersion>1.0001</XpciVersion></Transactio
nReference><RequestAction>Track</RequestAction><RequestOption>activity</
RequestOption></Request><TrackingNumber>1Z5698700314139868</TrackingNumb
er></TrackRequest>
recvresp(): entered
HTTP/1.1 200 OK
Server: Apache
Content-Length: 453
X-Powered-By: Servlet/2.5 JSP/2.1
Content-Type: application/xml
Expires: Mon, 09 Aug 2010 18:29:31 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 09 Aug 2010 18:29:31 GMT
Connection: keep-alive


SetError() #13: HTTP/1.1 200 OK
recvdoc parms: identity 453
header_load_cookies() entered
recvdoc(): entered
SetError() #0:
<?xml version="1.0"?>
<TrackResponse><Response><TransactionReference><CustomerContext>HTTPAPI
EXAMPLE16</CustomerContext><XpciVersion>1.0001</XpciVersion></Transactio
nReference><ResponseStatusCode>0</ResponseStatusCode><ResponseStatusDesc
ription>Failure</ResponseStatusDescription><Error><ErrorSeverity>Hard</E
rrorSeverity><ErrorCode>250003</ErrorCode><ErrorDescription>Invalid
Access License
number</ErrorDescription></Error></Response></TrackResponse>
http_close(): entered

Thanks

Duane Danner

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott
Klement
Sent: Friday, August 06, 2010 1:41 PM
To: HTTPAPI and FTPAPI Projects
Subject: Re: UPS tracking using Example16 Program

Hi Duane,

I don't have access to a 6.1 box, but according to the Information 
Center, you need to click the i5/OS Tasks Page link, THEN click Digital 
Certificate Manager.


On 8/6/2010 1:04 PM, Danner, Duane wrote:
> We are running v6r1.
>
> 5761DG1   *COMPATIBLE  IBM HTTP Server for i5/OS
> 5761SS1   *COMPATIBLE  Digital Certificate Manager
> 5761DG1   *COMPATIBLE  IBM HTTP Server for i5/OS
> 5761TC1   *COMPATIBLE  IBM TCP/IP Connectivity Utilities for i5/OS
>
> In the readme file it states to click on digital certificate manager.
> When I connect to admin I don't see digital certificate manager.
>
>
> Duane Danner
>
>
> -----Original Message-----
> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Michael
Ryan
> Sent: Friday, August 06, 2010 12:33 PM
> To: HTTPAPI and FTPAPI Projects
> Subject: Re: UPS tracking using Example16 Program
>
> Look at LIBHTTP/QRPGLESRC.README.
>
> On Fri, Aug 6, 2010 at 1:15 PM, Danner, Duane
> <ddanner@xxxxxxxxxxxxxx>wrote:
>
>> I need help to, I am getting the same errors.
>>
>> Thanks
>>
>> Duane Danner
>>
>> -----Original Message-----
>> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
>> [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of J. Carlos
>> Lugo
>> Sent: Thursday, August 05, 2010 4:33 PM
>> To: 'HTTPAPI and FTPAPI Projects'
>> Subject: RE: UPS tracking using Example16 Program
>>
>> I have called the program example16 and looking at the AS400 log this
>> is what I get
>>
>> 3>  call example16
>>
>>     (GSKit) Key database file was not found.
>>
>>     (GSKit) An operation which is not valid for the current SSL
session
>
>> state
>>       was attempted.
>>
>>
>> Would you please let me know what is wrong?
>>
>> Thank you very much
>>
>>
>>
----------------------------------------------------------------------
>> - 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
>>
----------------------------------------------------------------------
>> -
>>
>
-----------------------------------------------------------------------
> 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
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------