[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
WSDL2RPG - Version 1.8 (beta 3) available + Test Web Service
Hi folks,
I made WSDL2RPG V1.8 (beta 3) available for testing. You can download WSDL2RPG V1.8 from here:
http://www.tools400.de/beta/WSDL2RPG_v1.8_beta3_20090729_1128.zip
Beta 3 should be very closed to the release version. Actually I consider beta 3 version to be the
final release.
The latest beta makes working with attachments a lot easier because it includes a default handling of
attachments. When default handling is activated attachments automatically go into folder
'/tmp/attachments/'. In order to activate that mechanism you have to change the following line ...
UNDEFINE(DEFAULT_ATTACHMENT_HANDLING)
... to ...
DEFINE(DEFAULT_ATTACHMENT_HANDLING)
... in the generated stub module.
I am happy to let you know that Pete Helgren is hosting a sample web service in order to test the
download capabilities of a v1.8 stub module. The URL of the wsdl file is:
http://opensourceoni.com/axis2/services/DownloadAttachmentService?wsdl
Please notice the active command key F11 when WSDL2RPG shows the list of operations. Feel free to
press F11 to see the comments of operation getAttachment().
Here are the possible parameters of the request message for those who are not encouraged enough to
press F11: ;-)
fileType = 'axis2Logo' downloads a little jpeg image
fileType = 'axis2Text' downloads a little plain text file
Please do not forget to enable default attachment handling after having generated the stub module.
Open the stub module and change /UNDEFINE to /DEFINE to define the DEFAULT_ATTACHMENT_HANDLING
compiler condition. Then compile and link the module.
Last but not least special thanks to Pete for hosting the web service.
Regards,
Thomas.
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------