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

WSDL2RPG web service login questions



My initial proof-of-concept work was done on 1.14beta11 / 23.07.2011.  I'm now moving forward using 1.15beta4 / 08.01.2012, and having a bit of trouble making the transition.  The web service I'm consuming is for communicating with a piece of communications hardware.  It is accessed within our VPN tunnel, but still requires a user/password login.  In the previous version, I accomplished that by inserting the userid and password into the URL, just ahead of the IP address.  That worked fine.  In the new version, I noticed some procedures to handle login, and I should probably use those instead?  I just don't know how.

I generated stubs for the "getInventoryObjectNames()" operation in the "Inventory" web service (stub names WS_INVEN05 and WS_INVEN) 
In the base member, WS_INVEN, there's a Inventory_Port_login subprocedure, where I suspect I need to insert logic to supply the values to the local "userid" and "password" fields.  Are there other values I need to supply (i.e. basic, digest, realm, authType) as well?  Is there something else I need to do to enable this feature? 

On another but unrelated question, do you have any guidance on what to specify for the "Default array dimension" and "Default string length"?  One of the operations in the web service returns a 2-column table of 177 rows, where a one of the columns contains a string exceeding 12500 characters in a couple rows.

Our IBM i is now on 7.1.
 
This tool set is an incredible help to my project.
Many thanks for your development and support.

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