[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: First time connect to a Tango database - Help please
I modified Example 17 for a program I am doing and I had to do this
prior to the post_XML
0396.00 rc = http_getauth(basic: digest: realm);
0397.00 userid = 'soauser';
0398.00 pass = 'soapassword';
0399.00
0400.00 if Digest;
0401.00 http_setauth(HTTP_AUTH_MD5_DIGEST: userid:pass);
0402.00 else;
0403.00 http_setauth(HTTP_AUTH_BASIC:userid:pass);
0404.00 endif;
Hope this helps. Lord know I need it LOL
__________________________________________________________________
From: Chris Lively <CLively@xxxxxxxxxxxxxxxxxx>
To: "ftpapi@xxxxxxxxxxxxxxxxxxxxxx" <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, November 25, 2014 9:06 AM
Subject: First time connect to a Tango database - Help please
I have been playing with the example programs provided and I think
#17 is very similar to what I am trying to do. I tried to just modify
it and connect to the database with no luck. So I guess what I asking
is if there's a better example program I might could use to get
started
on my first project using these new API's.
The database I need to connect to is here:
[1][1]http://www.tf7.com/Concert/ConditionEntry.asmx?wsdl
In SoapUI I can connect and here are some of the parameters I know I
need to use, I just don't know how to use them in my RPG.
<con:DatabaseAlias>9269B29E-22E6-49DC-8864-CD497A1001DF</con:DatabaseAl
ias>
<con:DatabaseAliasType>TangoDatabaseGUID</con:DatabaseAliasType>
<con:CheckoffUserName>Chris</con:CheckoffUserName>
<con:CheckoffUserPassword>Blah</con:CheckoffUserPassword>
<con:WorkOrderCode>WO1234</con:WorkOrderCode>
<con:CheckoffComments>Some comment</con:CheckoffComments>
<con:CheckoffEntireCase>0</con:CheckoffEntireCase>
Since this is an invalid name and password all I want to do right now
is to make a little RPG program that tried to make the connection and
fail. I need to know that it failed within the program so that I can
take some type of action.
Thanks....
Regards,
Chris Lively
(423) 495-1207 office
(423) 227-4216 mobile
[2][2]clively@xxxxxxxxxxxxxxxxxx
Information Technology
Programmer Analyst
Mueller Company
1401 Mueller Ave.
Chattanooga, TN 37406
[3][3]http://qr.ai/qfnt0
References
1. [4]http://www.tf7.com/Concert/ConditionEntry.asmx?wsdl
2. mailto:[5]clively@xxxxxxxxxxxxxxxxxx
3. [6]http://qr.ai/qfnt0
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
[7]http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
References
1. http://www.tf7.com/Concert/ConditionEntry.asmx?wsdl
2. mailto:clively@xxxxxxxxxxxxxxxxxx
3. http://qr.ai/qfnt0
4. http://www.tf7.com/Concert/ConditionEntry.asmx?wsdl
5. mailto:clively@xxxxxxxxxxxxxxxxxx
6. http://qr.ai/qfnt0
7. 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
-----------------------------------------------------------------------