axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Suriarachchi" <amilasuriarach...@gmail.com>
Subject Re: [Axis2]Unsupported type http://www.w3.org/2001/XMLSchema string
Date Mon, 29 Oct 2007 12:03:14 GMT
could you send your wsdl?

Amila

On 10/25/07, 卢宾 <robinlu1984@gmail.com> wrote:
>
> 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>
>



-- 
Amila Suriarachchi,
WSO2 Inc.
Mime
View raw message