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

Reply via email to