[jbossws-issues] [JBoss JIRA] Commented: (JBWS-1303) Unmarshall issue with xsi:type specified bean property
Thomas Diesler (JIRA)
jira-events at jboss.com
Tue Oct 17 08:39:42 EDT 2006
[ http://jira.jboss.com/jira/browse/JBWS-1303?page=comments#action_12345361 ]
Thomas Diesler commented on JBWS-1303:
--------------------------------------
The type should be xsi:type='xsd:string'.
Without the xsd prefix, type string is expected to be a type in namespace http://netid.msu.edu:8080/lastmod.pl
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
<env:Header/>
<env:Body>
<lastmodResponse xmlns='http://netid.msu.edu:8080/lastmod.pl'>
<TimeChanged xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:type='xsd:string'>yesterday</TimeChanged>
</lastmodResponse>
</env:Body>
</env:Envelope>
/home/tdiesler/svn/jbossws/branches/jbossws-1.0/src/test
[tdiesler at tddell test]$ ant -Dtest=org.jboss.test.ws.jaxrpc.jbws1303.JBWS1303TestCase one-test
one-test:
[junit] Running org.jboss.test.ws.jaxrpc.jbws1303.JBWS1303TestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.321 sec
> Unmarshall issue with xsi:type specified bean property
> ------------------------------------------------------
>
> Key: JBWS-1303
> URL: http://jira.jboss.com/jira/browse/JBWS-1303
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jaxrpc
> Affects Versions: jbossws-1.0.3.SP1
> Reporter: Thomas Diesler
> Assigned To: Thomas Diesler
> Fix For: jbossws-1.0.4
>
>
> 2006-10-12 09:08:18,539 ERROR [org.jboss.ws.jaxrpc.CallImpl] Call invocation failed with unkown Exception
> javax.xml.rpc.JAXRPCException: org.jboss.ws.binding.BindingException: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: Type binding not found for type string specified with xsi:type for element {http://netid.msu.edu:8080/lastmod.pl}TimeChanged
> at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:303)
> at org.jboss.ws.binding.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:233)
> at org.jboss.ws.binding.EndpointInvocation.getReturnValue(EndpointInvocation.java:182)
> at org.jboss.ws.jaxrpc.CallImpl.syncOutputParams(CallImpl.java:873)
> at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:704)
> at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404)
> at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list