axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "卢宾" <robinlu1...@gmail.com>
Subject [Axis2]Unsupported type http://www.w3.org/2001/XMLSchema string
Date Thu, 25 Oct 2007 08:24:23 GMT
Hi, all, there is a problem when axis2 parsing the returned soap message,
what's the problem here ?  Thanks a lot!
Exception in thread "main" java.lang.RuntimeException:
java.lang.RuntimeException: Unsupported type
http://www.w3.org/2001/XMLSchema string
 at localhost.echoserver.EchoServerStub.fromOM(EchoServerStub.java:1096)
 at localhost.echoserver.EchoServerStub.Echo(EchoServerStub.java:160)
 at TClient.main(TClient.java:15)
Caused by: java.lang.RuntimeException: Unsupported type
http://www.w3.org/2001/XMLSchema string
 at localhost.echoserver.EchoServerStub$ExtensionMapper.getTypeObject(
EchoServerStub.java:336)
 at localhost.echoserver.EchoServerStub$EchoResponse$Factory.parse(
EchoServerStub.java:672)
 at localhost.echoserver.EchoServerStub.fromOM(EchoServerStub.java:1090)
 ... 2 more

The returned soap message is:
<SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"

xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ZSI="http://www.zolera.com/schemas/ZSI/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><http://www.w3.org/2001/XMLSchema-instance%22%3E>
<SOAP-ENV:Header></SOAP-ENV:Header>
<SOAP-ENV:Body>
<EchoResponse id="o4b33f48" xsi:type="xsd:string">fffffffff</EchoResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Mime
View raw message