You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (JIRA)" <ax...@ws.apache.org> on 2012/09/22 14:37:08 UTC
[jira] [Resolved] (AXIS-1840) RPCHandler cannot find deserializer
[ https://issues.apache.org/jira/browse/AXIS-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen resolved AXIS-1840.
-----------------------------------
Resolution: Incomplete
> RPCHandler cannot find deserializer
> -----------------------------------
>
> Key: AXIS-1840
> URL: https://issues.apache.org/jira/browse/AXIS-1840
> Project: Axis
> Issue Type: Bug
> Components: Serialization/Deserialization
> Affects Versions: 1.2RC2
> Environment: Windows XP, Java 1.4.2
> Reporter: Jeff Randolph
> Priority: Minor
>
> After running WSDL2Java over a WSDL that used SwA, I was having issues with the client code complaining about not being able to find a deserializer for my data types when deserializers were clearly registered for them. I found that in org.apache.axis.message.RPCHandler.onStartChild(), it was trying to find deserializers for this message (or something like it):
> <ns:myElement xmlns:ns="http://blah.com">
> <myParam>1</myParam>
> </ns:myElement>
> based one of the following:
> 1. {http://blah.com}myElement
> 2. MyElementType.class (if registered) and MyElementType
> 3. MyElementType
> 4. MyElementType.class (if registered)
> But it was not trying:
> {http://blah.com}MyElementType
> I added a check for this and it worked!
> if(dser == null) {
> QName typeWithNS = new QName(namespace, type.getLocalPart());
> deser = context.getDeserializerForType(typeWithNS);
> }
> I would have just submitted a patch but my version currently has other changes too.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org