I have the following method in the service endpoint class
  public void ADDWORLD(StringHolder STR)

STR is an in/out parameter

So in deploy.wsdd, I used :
<operation name="ADDWORLD" >
        <parameter name="STR" type="tns:string"
xmlns:tns="http://schemas.xmlsoap.org/soap/encoding/"; mode="INOUT"/>
</operation>


But in the wsdl that I get from my browser with ?wsdl, I have :
<types>
 <schema targetNamespace="http://holders.rpc.xml.javax";
xmlns="http://www.w3.org/2001/XMLSchema";>
   <complexType name="StringHolder">
     <sequence>
      <element name="value" nillable="true" type="xsd:string" /> 
     </sequence>
   </complexType>
   <element name="StringHolder" nillable="true" type="tns1:StringHolder" /> 
 </schema>
[...]
- <wsdl:message name="ADDWORLDRequest">
  <wsdl:part name="STR" type="tns1:StringHolder" /> 
  </wsdl:message>
[...]
- <wsdl:message name="ADDWORLDResponse">
  <wsdl:part name="STR" type="tns1:StringHolder" /> 
  </wsdl:message>
...


Is it a bug ? What can I do ?

Thanks,
Cédric Chabanois

Reply via email to