-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Running the tests in the CTS directory above results in an invalid deserialized value. It might have todo with the usage <qname-scope>simpleType</qname-scope> in jaxrpc-mapping.xml
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:EchoEyeColor xmlns:ns1='http://XMLNameMappingTest.org/wsdl'>
<inputEyeColor xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>Brown</inputEyeColor>
</ns1:EchoEyeColor>
</env:Body>
</env:Envelope>
2005-08-24 15:23:22,501 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl:209] Enter: doHandleRequest
2005-08-24 15:23:22,501 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl:252] Exit: doHandleRequest with status: true
2005-08-24 15:23:22,501 DEBUG [org.jboss.ws.binding.soap.SOAPBindingProvider:184] unbindRequestMessage:
EchoEyeColor
2005-08-24 15:23:22,501 DEBUG [org.jboss.ws.soap.SOAPContentElement:149] getXMLFragment from DOM
2005-08-24 15:23:22,501 DEBUG [org.jboss.ws.soap.SOAPContentElement:179] getObjectValue [xmlType=
eyeColor,javaType=class com.sun.ts.tests.jaxrpc.ee.w2j.rpc.encoded.xmlnamemappingtest.EyeColor]
2005-08-24 15:23:22,532 DEBUG [org.jboss.ws.soap.SOAPContentElement:198] deserializer: org.jboss.ws.jaxrpc.encoding.JAXBDeserializer@111e6b9
2005-08-24 15:23:22,610 DEBUG [org.jboss.ws.soap.MessageContextAssociation:34] setMessageContext: null
2005-08-24 15:23:22,610 DEBUG [org.jboss.ws.server.ServiceEndpoint:309] END handleRequest: W2JXMLNameMappingTest.ear/W2JXMLNameMappingTest_web.war#xMLNameMappingTestService/XMLNameMappingTestService
2005-08-24 15:23:22,610 ERROR [org.jboss.ws.server.AbstractServlet:63] Error processing web service request
java.lang.IllegalStateException: Type is not assignable from deserialized value: java.lang.String
at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:202)
at org.jboss.ws.binding.soap.SOAPBindingProvider.getParameterFromMessage(SOAPBindingProvider.java:671)
at org.jboss.ws.binding.soap.SOAPBindingProvider.unbindRequestMessage(SOAPBindingProvider.java:228)
at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:233)
at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:78)