Hello! I'm doing some experiments about webservices interoperability using Axis, Weblogic and .NET.
Some more information about my previous post:
Now, I'm calling a method that takes two inputs strings and returns a boolean type.
The request is:
Host: localhost
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: "http://www.openuri.org/isValidUser"
Content-Length: 390
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<isValidUser xmlns="http://www.openuri.org/">
<username>haha</username>
<password>hoho</password>
</isValidUser>
</soapenv:Body>
</soapenv:Envelope>
And the response from TCPmon is:
HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=utf-8
Date: Sun, 21 Dec 2003 02:01:46 GMT
Server: Apache Coyote/1.0
Connection: close
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.</faultstring>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
So, it seems that my problem is the serializer/deserializer on the server :-(
Regards.
Arcadius.
