hi!
I have to do un application that use a service which exploits a WSDL like
this:
- <types>
- <s:schema elementFormDefault="qualified" 
targetNamespace="http://www.xml-webservices.net/services/maths";>
- <s:element name="Add">
- <s:complexType>
- <s:sequence>
  <s:element minOccurs="1" maxOccurs="1" name="a" type="s:float" />
  <s:element minOccurs="1" maxOccurs="1" name="b" type="s:float" />
  </s:sequence>
  </s:complexType>
  </s:element>
- <s:element name="AddResponse">
- <s:complexType>
- <s:sequence>
  <s:element minOccurs="1" maxOccurs="1" name="AddResult" type="s:float"
/>
  </s:sequence>
  </s:complexType>
  </s:element>
...
- <message name="AddSoapIn">
  <part name="parameters" element="s0:Add" />
  </message>
...
- <portType name="SimpleCalcSoap">
- <operation name="Add">
  <documentation>Add two numbers</documentation>
  <input message="s0:AddSoapIn" />
  <output message="s0:AddSoapOut" />
  </operation>
...
- <binding name="SimpleCalcSoap" type="s0:SimpleCalcSoap">
  <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; style="document"
/>
- <operation name="Add">
  <soap:operation soapAction="http://www.xml-webservices.net/services/maths/Add";
style="document" />
- <input>
  <soap:body use="literal" />
  </input>
- <output>
  <soap:body use="literal" />
  </output>
  </operation>
...

How can I assign to the method "Add" the parameters?
If I do:
params.addElement(new Parameter("a", float.class, new Float(20), null));
params.addElement(new Parameter("b", float.class, new Float(20), null));
it doesn't work...
Where are the mistake?
Thanks.
Sonia


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to