axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cédric Chabanois <CChaban...@cognicase.fr>
Subject in-out parameters
Date Thu, 23 May 2002 13:40:02 GMT
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

Mime
View raw message