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

Re: Call WebService from RPGLE



I have two thoughts:

1) Download SoapUI (it's free and open source) from the following link:
http://www.soapui.org

Then run your WSDL file through SoapUI to see what SOAP message is 
required to call the RPG program.

2) Download WSDL2RPG from Thomas Raddatz, and run your WSDL message 
through that.

This will generate the RPG code needed to call HTTPAPI.

Honestly... nobody tries to manually convert a WDSL to SOAP... so 
instead of posting a snippet of your WSDL here, download a tool that 
will interpret it for you!



Ashish Kulkarni wrote:
>    Hi
>    I have a Webservice where in i pass 2 String input parameters and this
>    webservice returns 2 output parameters,
>    is there an example which does this type of call,
>    This is the input for the webservice
>    <xs:element name="getUserIdDomain">
>    <xs:complexType>
>    <xs:sequence>
>    <xs:element minOccurs="0" name="as400UserName" nillable="true"
>    type="xs:string"/>
>    <xs:element minOccurs="0" name="as400Name" nillable="true"
>    type="xs:string"/>
>    </xs:sequence>
>    </xs:complexType>
>    </xs:element>
>    this is the response
>    <xs:element name="getUserIdDomainResponse">
>    <xs:complexType>
>    <xs:sequence>
>    <xs:element minOccurs="0" name="return" nillable="true"
>    type="ns0:UserIdDomainPair"/>
>    </xs:sequence>
>    </xs:complexType>
>    </xs:element>
>    where UserIdDomainPair is
>    <xs:complexType name="UserIdDomainPair">
>    <xs:sequence>
>    <xs:element minOccurs="0" name="domain" nillable="true"
>    type="xs:string"/>
>    <xs:element minOccurs="0" name="userId" nillable="true"
>    type="xs:string"/>
>    </xs:sequence>
>    </xs:complexType>
>    Ashish
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -----------------------------------------------------------------------
> 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
-----------------------------------------------------------------------