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 ji...@apache.org on 2004/03/23 23:14:58 UTC

[jira] Reopened: (AXIS-1186) SOAP headers can't be deserialized to Java objects if SOAP 1.2 is enforced

Message:

   The following issue has been reopened.

   Reopener: Davanum Srinivas
       Date: Tue, 23 Mar 2004 2:14 PM

Reopen per Glen's message.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-1186

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1186
    Summary: SOAP headers can't be deserialized to Java objects if SOAP 1.2 is enforced
       Type: Bug

     Status: Reopened

    Project: Axis
 Components: 
             Serialization/Deserialization
   Versions:
             current (nightly)

   Assignee: 
   Reporter: Teemu Koponen

    Created: Thu, 15 Jan 2004 9:36 AM
    Updated: Tue, 23 Mar 2004 2:14 PM
Environment: Operating System: Other
Platform: Other

Description:
After enforcing the Axis generated client stubs to use SOAP 1.2 with
"_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP12_CONSTANTS);" the
Axis SOAP server side is no more able to deserialize them.  However, if nothing
else is changed, the very same client works if SOAP 1.1 is enforced.

The SOAP request itself looks proper (checked with tcpmon) and in fact, the
server does have the headers as SOAPHeaderElement objects inside the SOAPHeader
object.  However, neither calling SOAPHeaderElement.getObjectValue(Class) nor
SOAPHeaderElement.getObValueAsType(QName) gives anything else than 'null' for
the caller.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira