Hi everybody.
I've created a service with many methods, one of which has two input parameter
like this:
String method(String a, String b) throws RemoteException{ ... }
In my WSDL file it looks like this:
<xsd:element name="method">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="a1" type="xsd:string"/>
<xsd:element name="a2" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="methodResponse" type="xsd:string"/>
The deployment is successful.
All the other methods are called with no problem.
When i try to call the method above i get this error:
org.xml.sax.SAXException: SimpleDeserializer encountered a child element,
which is NOT expected, in something it was trying to deserialize
On the client side i call the method this way:
box.vmcreate(new Vmcreate(mach,hd));
where: box=nstanceLocator.getBoxPortTypePort(instanceEPR);
What is the cause of my problem? How can i solve it?
Thanks in advance
Raffaele Forgione
_________________________________________________________________
Un mondo di personalizzazioni per Messenger, PC e cellulare
http://www.pimpit.it/