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

Re: Need to connect to web service and upload pdf files



Jim,

Another option is the *_Attachments_addFile() procedure of my WSDL2RPG.
The easiest call of that procedure looks like that:

partId = YourWebServicePortName_Attachments_addFile(
            yourStreamFileName: 'text/plain');

WSDL2RPG then creates a Mime message that contains the file as an
attachment.

Regards,

Thomas.


Am 10.09.2016 um 18:07 schrieb midrange:
>    I've built some very basic web service programs in wsdl2rpg a year ago.
>    Project cancelled.
> 
>    Now I need to connect to a web service within the parent corp network,
>    and upload pdf files (sending image files to IBM File Net P8 and assume
>    it is that product's web service but not sure?). I have the wsdl to
>    connect to (and they assume this is either a java or .net server
>    sending the files, but it is Power i).
> 
>    Reading through all I did a year ago but not finding the starting point
>    of what would be the best tool and options to use.
> 
>    Read a directory on Power I, connect, send image file (one at a time)
>    with with parms in the xml for document description and key info,etc,
> 
>    I've spent the last year in a unix/sql environment..
> 
>    thx
> 
>    Jim Franz
> 
> 
> 
> -----------------------------------------------------------------------
> 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
-----------------------------------------------------------------------