Loading ...
Sorry, an error occurred while loading the content.

Complex type in method parameter

Expand Messages
  • monkiki5
    I exposed a method using WebServices in Java (with WSDL) and I don t know how to call from SOAP:Lite. This method have only a parameter with this object
    Message 1 of 1 , Nov 13, 2008
    • 0 Attachment
      I exposed a method using WebServices in Java (with WSDL) and I don't
      know how to call from SOAP:Lite. This method have only a parameter
      with this object structure:

      <xs:complexType name="note">
      <xs:sequence>
      <xs:element minOccurs="0" name="date" type="xs:dateTime"/>
      <xs:element minOccurs="0" name="text" type="xs:string"/>
      <xs:element minOccurs="0" name="user" type="xs:string"/>
      </xs:sequence>
      </xs:complexType>

      The XML generated by SOAP:Lite is always with this parameter empty:

      <?xml version="1.0" encoding="UTF-8"?><soap:Envelope
      soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:tns="http://endpoint.ws.openkm.git.es/"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><tns:complex><arg0
      xsi:nil="true" xsi:type="tns:note" /><text
      xsi:type="xsd:int">333</text><user
      xsi:type="xsd:int">111</user></tns:complex></soap:Body></soap:Envelope>
    Your message has been successfully submitted and would be delivered to recipients shortly.