axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "itsu sukie (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Created: (AXIS-2488) Unexpected return type of Attachment when add wsse header to SOAPEnvelope
Date Wed, 31 May 2006 00:54:29 GMT
Unexpected return type of Attachment when add wsse header to SOAPEnvelope
-------------------------------------------------------------------------

         Key: AXIS-2488
         URL: http://issues.apache.org/jira/browse/AXIS-2488
     Project: Apache Axis
        Type: Bug

  Components: Serialization/Deserialization  
    Versions: 1.4    
 Environment: client->jdk1.4  server->tomcat5.5(using jdk1.5)
    Reporter: itsu sukie
    Priority: Critical


I have got a problem when I tried to run the attachment sample 
of Axis1.4. I think it's a Serialization problem but not a sample bug.

All works fine when I don't change anything, but when
I tried to use WsseClientHandler, just adding below :
    ---->
    call.setProperty(WsseClientHandler.PASSWORD_OPTION,
                WsseClientHandler.PASSWORD_CLEARTEXT);
    call.setClientHandlers(new WsseClientHandler(), null);
    <----
 
the echoDir() method got errors :
    ---> Received unexpected type :[Ljava.lang.Object;
 
because the expected return type is javax.activation.DataHandler[].
I found out that the return type is :
    ---> java.lang.Object[] {
                    org.apache.axis.attachment.AttachmentPart,
                    org.apache.axis.attachment.AttachmentPart
            }
 
Is it a bug, or I must to do more works on the return value?
 
BTW: the echo() method has no such error.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message