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

WSDL2RPG - Version 1.11 available



Hi folks,

I released WSDL2RPG V1.11. You can download WSDL2RPG from my Freeware page 
at http://www.tools400.de.

Version 1.11 mainly fixes a problem with multi-reference elements of rpc 
encoded web services. Honestly I had to completely redesign the way 
multi-reference data is managed.

  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Important notice:
I highly recommend to re-generate existing web service stub modules, at 
least when consuming rpc encoded web services. Nevertheless existing stub 
modules will work with v1.11.
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

You can check the <operation> elements of your wsdl file to figure out 
whether your web service is rpc encoded or not. If the "encodingStyle" and 
"use" attributes are set as shown below, your web service is rpc encoded:

    <wsdlsoap:body
       encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
       namespace="http://wsdl.webservice.wsdl2rpg.tools400.de";
       use="encoded"/>

Last but not least I enhanced WSDL2RPG to add a sample request message to 
the test program, e.g.:

    // Set the paramater values of the request message
    // of the web service.
    //    assign values here
    parameters.address.city.name = 'string';
    parameters.address.city.zip = 0;
    parameters.address.name.firstName = 'string';
    parameters.address.name.lastName = 'string';
    parameters.address.street = 'string';

    // Set number of array items:
    parameters.contactInformation.emailList.emailAddresses.item.x = 1;
    // Set array item values:
    parameters.contactInformation.emailList.emailAddresses.item.string(
    parameters.contactInformation.emailList.emailAddresses.item.x) = 'stri+
    ng';

    // Set number of array items:
    parameters.contactInformation.phoneList.phoneNumbers.item.x = 1;
    // Set array item values:
    parameters.contactInformation.phoneList.phoneNumbers.item.string(
    parameters.contactInformation.phoneList.phoneNumbers.item.x) = 'string+
    ';

Please test v1.11 carefully before moving it to production.

Regards,

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