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

Call WebService from RPGLE



   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
-----------------------------------------------------------------------