8 Replies Latest reply on Apr 29, 2005 12:49 PM by Thomas Diesler

    DII call with literal & xsi in SOAP request

    Noel Rocher Apprentice

      I've got a DII client with:

       call.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY, "");
       call.setOperationName(new QName(NS_URI, "myService"));
       call.addParameter("arrayOfbyte_1", XSD_BYTEARRAYB64, ParameterMode.IN);
      ...
      call.invoke(new Object[]{myValue});
      ...
      


      My wsdl exposes a RPC/Literal operation.

      And I've got this SOAP request (I'm using the jboss jars to run my client):
      ...
       <soapenv:Body>
       <ns1:myService xmlns:ns1="http://org.jboss/MyService">
       <arrayOfbyte_1 xsi:type="xsd:base64Binary" >UFFQ0...</arrayOfbyte_1>
       </ns1:myService>
      ...
      
      


      It seems that I miss something and encoded is use for my parameter.