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

Appropriate example for a credit card transaction



Thomas,

I have downloaded WSDL2RPG (V1.5).  I also previously downloaded HTTPAPI
(V1.23).  I ran the WSDL2RPG command as follows:

WSDL2RPG
URL('https://mymerchantgateway.com/SmartPayments/transact.asmx?WSDL')
SRCFILE(DEVSOURCE/MODSRC) SRCMBR(MSNGATEWAY *YES)

It ended abnormally with the following message:
"Request canceled due to error. See job log or debug log."

I searched for a joblog in QEZJOBLOG and a debug log in QEZDEBUG and found
no spool files.  Where should I look for the error?  Here are the pertinent
details of the error message:

Message ID . . . . . . :   USR9999
Severity . . . . . . . :   00
Message type . . . . . :   Diagnostic

>From program . . . . . . . . . :   BASICS1                
  From library . . . . . . . . :     WSDL2RPG             
  From module  . . . . . . . . :     BASICS1R1            
  From procedure . . . . . . . :     BASICS1R1_f_sndPgmMsg
  From statement . . . . . . . :     54300                
                                                          
To program . . . . . . . . . . :   QUIMNDRV               
  To library . . . . . . . . . :     QSYS                 
  Instruction  . . . . . . . . :     057E                 


Hopefully this is enough information to guide me along the way.

Thanks!
Jose



Jose Larrazabal
5885 Cumming Highway
Suite 108-167
Sugar Hill, GA 30518

Phone: (770) 359-7781
Fax:      (678) 829-0605
joseLarrazabal@xxxxxxxxxxxxxxx


-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx
Sent: Wednesday, June 18, 2008 1:00 PM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: Ftpapi Digest, Vol 24, Issue 10

Send Ftpapi mailing list submissions to
	ftpapi@xxxxxxxxxxxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
	http://www.scottklement.com/mailman/listinfo/ftpapi
or, via email, send a message with subject or body 'help' to
	ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx

You can reach the person managing the list at
	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: searching for string on IFS (Bruce McDougald)
   2. Appropriate example for a credit card transaction
      (Jose Larrazabal)
   3. RE: Appropriate example for a credit card transaction
      (Bruce McDougald)
   4. RE: Appropriate example for a credit card transaction
      (Kastel, Lance)
   5. Re: Appropriate example for a credit card transaction
      (Thomas Raddatz)


----------------------------------------------------------------------

Message: 1
Date: Tue, 17 Jun 2008 14:11:39 -0400
From: "Bruce McDougald" <bruce.mcdougald@xxxxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: searching for string on IFS
To: "'HTTPAPI and FTPAPI Projects'" <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Message-ID: <6FD7F479A24A4C2E93E5EE9083DA0CBC@BrucesLaptop>
Content-Type: text/plain;	charset="US-ASCII"

If anybody in your shop is comfortable w/ Java, regular expressions are a
great way to search large stream files.  You can also prototype the C
libraries and use regular expressions in your RPG.  I mentioned Java first
because the Java regex API is extremely easy to utilize.

Bruce McDougald
Compass Technologies
75 Maddox Rd., Ste 104
Buford, GA 30518
Office: 770-904-0488
Fax: 770-904-0411
bruce.mcdougald@xxxxxxxxxxxxxxxxxxxxxxxx

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of ian
Sent: Tuesday, June 17, 2008 4:04 AM
To: 'HTTPAPI and FTPAPI Projects'
Subject: RE: searching for string on IFS

We have adapted Scotts examples from the IFSBOOK download to scan for
data in IFS files.
The tutorial on how to do everything with the IFS is excellent.
http://www.scottklement.com/rpg/ifs.html

Regards
 
Ian Patterson
 
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Kastel,
Lance
Sent: Monday, June 16, 2008 2:15 PM
To: HTTPAPI and FTPAPI Projects
Subject: RE: searching for string on IFS

I need a program solution

Lance Kastel
CSK Auto
Senior Programmer Analyst
602-631-7166


-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Russ Khoury
Sent: Monday, June 16, 2008 11:24 AM
To: HTTPAPI and FTPAPI Projects
Subject: Re: searching for string on IFS


   One way is to use WRKLNK on the directory, then do a 5 on the file.
At
   the Control line, use the FIND command to search for a particular
   string in the stream file. Pressing F16 will bring you to each
   occurrence.
Russ Khoury 
AS400 Consultant
Paul Russell Associates, Inc.
[1]rkhoury@xxxxxxxxxxxxxxxxxxxx

   Kastel, Lance wrote:

   I am creating the httpapi_debug.txt file and need a way to search for
   a particular string in that file. Anyone know if there is an easy way
   to get that?

   Lance Kastel

   CSK Auto

   Senior Programmer Analyst

   602-631-7166

 
_______________________________________________________________________

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
[2]http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------

References

   1. mailto:rkhoury@xxxxxxxxxxxxxxxxxxxx
   2. 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
-----------------------------------------------------------------------



------------------------------

Message: 2
Date: Tue, 17 Jun 2008 21:26:16 -0400
From: "Jose Larrazabal" <joselarrazabal@xxxxxxxxxxxxxxx>
Subject: Appropriate example for a credit card transaction
To: <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Message-ID: <000001c8d0e2$4e38c9f0$eaaa5dd0$@com>
Content-Type: text/plain; charset="us-ascii"

Please excuse my novice question but I am confused and need some direction.
I need to connect to a credit card service and submit several transactions
serially where each will be approved or not with details for either result.
The service requires several input parameters and the response provides
several elements which are important to be collected.  I was looking at
EXAMPLE18 as my template for this service but I am confused as to how to get
all of the response elements.  EXAMPLE18 provides two input parameters and
returns one response parameter.  Is there another example which better suits
my situation?  I can provide the WSDL document if necessary for your reply.

 

Thanks!

Jose

 

 

Jose Larrazabal

5885 Cumming Highway

Suite 108-167

Sugar Hill, GA 30518

 

Phone: (770) 359-7781

Fax:      (678) 829-0605

joseLarrazabal@xxxxxxxxxxxxxxx

 <http://www.lunchseeker.com/> Logo (Small)

 

-------------- next part --------------

   Please excuse my novice question but I am confused and need some
   direction.  I need to connect to a credit card service and submit
   several transactions serially where each will be approved or not with
   details for either result.  The service requires several input
   parameters and the response provides several elements which are
   important to be collected.  I was looking at EXAMPLE18 as my template
   for this service but I am confused as to how to get all of the
   response elements.  EXAMPLE18 provides two input parameters and
   returns one response parameter.  Is there another example which better
   suits my situation?  I can provide the WSDL document if necessary for
   your reply.


   Thanks!

   Jose



   Jose Larrazabal

   5885 Cumming Highway

   Suite 108-167

   Sugar Hill, GA 30518


   Phone: (770) 359-7781

   Fax:      (678) 829-0605

   joseLarrazabal@xxxxxxxxxxxxxxx

   [1]Logo (Small) 

References

   1. http://www.lunchseeker.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 2331 bytes
Desc: not available
Url :
http://www.scottklement.com/pipermail/ftpapi/attachments/20080617/d1f00fa3/a
ttachment.jpe 

------------------------------

Message: 3
Date: Wed, 18 Jun 2008 07:17:53 -0400
From: "Bruce McDougald" <bruce.mcdougald@xxxxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Appropriate example for a credit card transaction
To: "'HTTPAPI and FTPAPI Projects'" <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Message-ID: <DB07BCFE73204532BE0FC5DCAE7F910B@BrucesLaptop>
Content-Type: text/plain;	charset="us-ascii"

The SOAP body should contain all your response elements, just repeat the
if-blocks in the INCOMING procedure to account for all the xml elements you
want to capture.  Is that what you're asking?  If I missed it, post a sample
SOAP response.

Bruce McDougald
Compass Technologies
75 Maddox Rd., Ste 104
Buford, GA 30518
Office: 770-904-0488
Fax: 770-904-0411
bruce.mcdougald@xxxxxxxxxxxxxxxxxxxxxxxx

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jose Larrazabal
Sent: Tuesday, June 17, 2008 9:26 PM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: Appropriate example for a credit card transaction

Please excuse my novice question but I am confused and need some direction.
I need to connect to a credit card service and submit several transactions
serially where each will be approved or not with details for either result.
The service requires several input parameters and the response provides
several elements which are important to be collected.  I was looking at
EXAMPLE18 as my template for this service but I am confused as to how to get
all of the response elements.  EXAMPLE18 provides two input parameters and
returns one response parameter.  Is there another example which better suits
my situation?  I can provide the WSDL document if necessary for your reply.

 

Thanks!

Jose

 

 

Jose Larrazabal

5885 Cumming Highway

Suite 108-167

Sugar Hill, GA 30518

 

Phone: (770) 359-7781

Fax:      (678) 829-0605

joseLarrazabal@xxxxxxxxxxxxxxx

 <http://www.lunchseeker.com/> Logo (Small)

 




------------------------------

Message: 4
Date: Wed, 18 Jun 2008 06:30:35 -0700
From: "Kastel, Lance" <LKastel@xxxxxxxxxxx>
Subject: RE: Appropriate example for a credit card transaction
To: "HTTPAPI and FTPAPI Projects" <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Message-ID:
	<B821A5A0176F2D418987C1A7516E6CF309888DE9@xxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain;	charset="us-ascii"

If you debug the program and put a breakpoint at that if statement in
the Incoming procedure you will see what Bruce is talking about. Each
response element is returned to your program.

Lance Kastel
CSK Auto
Senior Programmer Analyst
602-631-7166

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Bruce
McDougald
Sent: Wednesday, June 18, 2008 4:18 AM
To: 'HTTPAPI and FTPAPI Projects'
Subject: RE: Appropriate example for a credit card transaction

The SOAP body should contain all your response elements, just repeat the
if-blocks in the INCOMING procedure to account for all the xml elements
you
want to capture.  Is that what you're asking?  If I missed it, post a
sample
SOAP response.

Bruce McDougald
Compass Technologies
75 Maddox Rd., Ste 104
Buford, GA 30518
Office: 770-904-0488
Fax: 770-904-0411
bruce.mcdougald@xxxxxxxxxxxxxxxxxxxxxxxx

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jose
Larrazabal
Sent: Tuesday, June 17, 2008 9:26 PM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: Appropriate example for a credit card transaction

Please excuse my novice question but I am confused and need some
direction.
I need to connect to a credit card service and submit several
transactions
serially where each will be approved or not with details for either
result.
The service requires several input parameters and the response provides
several elements which are important to be collected.  I was looking at
EXAMPLE18 as my template for this service but I am confused as to how to
get
all of the response elements.  EXAMPLE18 provides two input parameters
and
returns one response parameter.  Is there another example which better
suits
my situation?  I can provide the WSDL document if necessary for your
reply.

 

Thanks!

Jose

 

 

Jose Larrazabal

5885 Cumming Highway

Suite 108-167

Sugar Hill, GA 30518

 

Phone: (770) 359-7781

Fax:      (678) 829-0605

joseLarrazabal@xxxxxxxxxxxxxxx

 <http://www.lunchseeker.com/> Logo (Small)

 


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------



------------------------------

Message: 5
Date: Wed, 18 Jun 2008 16:55:33 +0200
From: Thomas Raddatz <thomas.raddatz@xxxxxxxxxxx>
Subject: Re: Appropriate example for a credit card transaction
To: HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Message-ID: <485921E5.2060308@xxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

Jose,

In addition to the other responses that you already received, you may also
consider to download my 
WSDL2RPG utility and let WSDL2RPG generate a client stub for you. Of course
you have to install some 
other programs along with HTTPAPIR4 in production to run the stub.

    http://www.tools400.de/English/Freeware/WSDL2RPG/wsdl2rpg.html

Thomas.


Jose Larrazabal schrieb:
>    Please excuse my novice question but I am confused and need some
>    direction.  I need to connect to a credit card service and submit
>    several transactions serially where each will be approved or not with
>    details for either result.  The service requires several input
>    parameters and the response provides several elements which are
>    important to be collected.  I was looking at EXAMPLE18 as my template
>    for this service but I am confused as to how to get all of the
>    response elements.  EXAMPLE18 provides two input parameters and
>    returns one response parameter.  Is there another example which better
>    suits my situation?  I can provide the WSDL document if necessary for
>    your reply.
> 
> 
>    Thanks!
> 
>    Jose
> 
> 
> 
>    Jose Larrazabal
> 
>    5885 Cumming Highway
> 
>    Suite 108-167
> 
>    Sugar Hill, GA 30518
> 
> 
>    Phone: (770) 359-7781
> 
>    Fax:      (678) 829-0605
> 
>    joseLarrazabal@xxxxxxxxxxxxxxx
> 
>    [1]Logo (Small) 
> 
> References
> 
>    1. http://www.lunchseeker.com/
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3327 bytes
Desc: S/MIME Cryptographic Signature
Url :
http://www.scottklement.com/pipermail/ftpapi/attachments/20080618/3cdc4cc4/a
ttachment.bin 

------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list digest.  To unsubscribe, go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------


End of Ftpapi Digest, Vol 24, Issue 10
**************************************


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------