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 "Jesper Zedlitz (JIRA)" <ax...@ws.apache.org> on 2005/08/08 16:17:11 UTC

[jira] Updated: (AXIS-2169) CastorSerializer: wrong namespace on accessor element when using RPC/literal

     [ http://issues.apache.org/jira/browse/AXIS-2169?page=all ]

Jesper Zedlitz updated AXIS-2169:
---------------------------------

    Attachment: AxisContentHandler.java

> CastorSerializer: wrong namespace on accessor element when using RPC/literal
> ----------------------------------------------------------------------------
>
>          Key: AXIS-2169
>          URL: http://issues.apache.org/jira/browse/AXIS-2169
>      Project: Apache Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2.1
>     Reporter: Jesper Zedlitz
>  Attachments: AxisContentHandler.java
>
> There seems to be an interoperability problem when using the CastorSerializer in a RPC/literal service. WS-I Basic Profile says:
> | R2735  A MESSAGE described with an rpc-literal binding MUST place the part | accessor elements for parameters and return value in no namespace. 
> Now when serializing a Castor object only the local name of the element is set to "...Return" but not namespace. 
> I have fixed that problem by removing the namespace from the first serialized element. A better solution would be to pass the empty namespace to the Marshaller (the same way the local name of the root element is set). But that  would also require changes in Castor.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira