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

RE: HTTPAPI



Should the dll file be part of the site name?


-- Jim

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Mike Krebs
Sent: Tuesday, April 28, 2009 3:40 PM
To: HTTPAPI and FTPAPI Projects
Subject: RE: HTTPAPI

Michael,

The last line "Host name look up failed" is in fact an error.

The IBM i needs to be able to find the server by name (or you can change
the program to use an IP).

Trouble shoot DNS...
1. Are the servers listed valid DNS servers?
> DNS server found: 207.65.0.25
> DNS server found: 207.65.4.2
> DNS server found: 207.65.46.2
2. Type NSLOOKUP on a command line
Type in "authorize.net"
Do you get an IP back?
3. type in secure.authorize.net
Do you get an IP back?

If you do get a valid IP, then your DNS setup should be working. Try the
program again and see if you still have problems.

Mike Krebs

> -----Original Message-----
> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-
> bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Michael Cook
> Sent: Tuesday, April 28, 2009 4:04 PM
> To: HTTPAPI and FTPAPI Projects
> Subject: RE: HTTPAPI
> 
> This the results of the debug.
> Any thoughts
> 
> HTTPAPI Ver 1.23 released 2008-04-24
> OS/400 Ver V5R3M0
> 
> New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819.
ProtLoc=0
> https_init(): entered
>
-----------------------------------------------------------------------
> -
> -------------
> Dump of local-side certificate information:
>
-----------------------------------------------------------------------
> -
> -------------
> -----BEGIN CERTIFICATE-----
> MIICOzCCAaSgAwIBAgIHSfb65gi9eDANBgkqhkiG9w0BAQQFADBTMQswCQYDVQQG
> EwJVUzESMBAGA1UECBMJVGVubmVzc2VlMRowGAYDVQQKExFUV0hCRUEgUHJvY2Vz
> c2luZzEUMBIGA1UEAxQLQ3JlZGl0X0NhcmQwHhcNMDkwNDI3MTI0NzM0WhcNMTAw
> NDI4MTI0NzM0WjBuMQswCQYDVQQGEwJUTjESMBAGA1UECBMJVGVubmVzc2VlMQ8w
> DQYDVQQKEwZUV0hCRUExOjA4BgNVBAMTMWh0dHBzOi8vc2VjdXJlLmF1dGhvcml6
> ZS5uZXQvZ2F0ZXdheS90cmFuc2FjdC5kbGwwgZ8wDQYJKoZIhvcNAQEBBQADgY0A
> MIGJAoGBALmdbHpbaZOMNfoiAF2po3rgeSUoHok/q/L0SSBHS1GhdhXPxiHHmhkB
> AN7WFPgB5WeJTAoZPslQxsITSeczywOrTqL3lI31hHMkoUi4cZOSWJGeS7jFUYzp
> zKK7dABk16ZN3wf2TsSxyc7E+/Sl+4+5clwNKZlag2BAB0WwRLnBAgMBAAEwDQYJ
> KoZIhvcNAQEEBQADgYEA4AvDRG2cNtcPCxoO5pMR8xdYSwRX89sThmJydT2OovPb
> FXebmvZ0PAg5Il+0oy5Kstope+f2daTxx0XjUfOQuIImXwPDm8PBRve9rjnWJpEP
> Um6BQGk1tUXvjerL8/mt5ou8QLslhmgo8E49eO7QXb8mN2Io4DB02u0bOepPl9w=
> -----END CERTIFICATE-----
> Serial Number: 49:F6:FA:E6:08:BD:78
> Common Name: https://secure.authorize.net/gateway/transact.dll
> Country: TN
> State/Province: Tennessee
> Org Unit: TWHBEA
> Issuer CN: Credit_Card
> Issuer Country: US
> Issuer State/Province: Tennessee
> Issuer Org: TWHBEA Processing
> Version: 03
> not before: 20090427124734
> not after: 20100428124734
> pub key alg: 1.2.840.113549.1.1.4
> 
> http_persist_open(): entered
> http_long_ParseURL(): entered
> DNS resolver retrans: 2
> DNS resolver retry  : 2
> DNS resolver options: x'00000136'
> DNS default domain: TWHBEA.COM
> DNS server found: 207.65.0.25
> DNS server found: 207.65.4.2
> DNS server found: 207.65.46.2
> SetError() #2: Host name look up failed.
> 
> Thank You
> 
> Michael Cook
> Director of Technology
> TWHBEA
> (931) 359-0586
> 
> -----Original Message-----
> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Michael
> Ryan
> Sent: Tuesday, April 28, 2009 3:10 PM
> To: HTTPAPI and FTPAPI Projects
> Subject: Re: HTTPAPI
> 
> Create a debug file. Add this line before your post (actually,
anywhere
> before you start doing stuff):
> 
> Http_Debug(*ON);
> 
> then check for a file in the IFS named httpapi_debug.txt. That will
> contain your debug output. See if that helps. You might want to post
> the
> contents here so we can check it out.
> 
> - Michael
> 
> On Tue, Apr 28, 2009 at 3:56 PM, Michael Cook <mcook@xxxxxxxxxx>
wrote:
> 
> >
> >   I am at a point where I don't know where to go next.  I have
> >   everything installed HTTPAPI & expat-2.0.0. SSL certificate store,
> SSL
> >   certificate and certificated assigned to the application.  Using
> the
> >   examples to build my application to communicate with our Credit
> Card
> >   company authorize.net.
> >
> >   I issue the following command
> >
> >   rc =
> >
> >
> http_url_post_raw('https://secure.authorize.net/gateway/transact.dll':
> >
> >   %addr(data): %len(%trimr(data)): 30: %paddr('INCOMING'));
> >
> >
> >   if retlen > 1;
> >
> >
> >   Return length is always 0???
> >
> >   Can anyone help??
> >
> >
---------------------------------------------------------------------
> -
> > - 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
-----------------------------------------------------------------------



----------------------------------------------------------------
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and proprietary information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient(s), 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
-----------------------------------------------------------------------