Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 30225 invoked from network); 26 May 2006 02:40:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 May 2006 02:40:20 -0000 Received: (qmail 36080 invoked by uid 500); 26 May 2006 02:40:12 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 36069 invoked by uid 500); 26 May 2006 02:40:12 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 36058 invoked by uid 99); 26 May 2006 02:40:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 19:40:12 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [219.112.241.34] (HELO cec-tis4.cec-ltd.co.jp) (219.112.241.34) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 19:40:11 -0700 Received: from cec-sag8.cec-ltd.co.jp ([172.16.104.101]) by 172.16.104.11 with InterScan Messaging Security Suite; Fri, 26 May 2006 11:39:47 +0900 Received: from 35pc06233 ([172.19.129.30]) by cec-sag8.cec-ltd.co.jp with Microsoft SMTPSVC(6.0.3790.1830); Fri, 26 May 2006 11:39:48 +0900 Message-ID: <02f001c6806d$b739d8d0$1e8113ac@nagoya.cecltd.co.jp> From: =?iso-2022-jp?B?GyRCQUkbKEIgGyRCbUUhShsoQkNFQxskQiFLGyhC?= To: Subject: [Axis 1.4] Unexpected return type of Attachment when add wsse header to SOAPEnvelope, bug? Date: Fri, 26 May 2006 11:40:13 +0900 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_02EC_01C680B9.270916D0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-OriginalArrivalTime: 26 May 2006 02:39:48.0089 (UTC) FILETIME=[A7C14690:01C6806D] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_02EC_01C680B9.270916D0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit hi all, I have got a problem when I tried to run the attachment sample of Axis1.4. 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. Any help or web resource are greatly appreciated ! - sukie ------=_NextPart_000_02EC_01C680B9.270916D0 Content-Type: text/html; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable
hi all,
 
I have got a problem when I = tried to run=20 the attachment sample
of Axis1.4. All works fine = when I don't=20 change anything, but when
I tried to use = WsseClientHandler, just=20 adding below :
    = ---->
   =20 call.setProperty(WsseClientHandler.PASSWORD_OPTION,
   =              = WsseClientHandler.PASSWORD_CLEARTEXT);
   =20 call.setClientHandlers(new WsseClientHandler(), null);
    = <----
 
the echoDir() method got = errors=20 :
    ---> = Received=20 unexpected type :[Ljava.lang.Object;
 
because the expected return = type is=20 javax.activation.DataHandler[].
I found out that the return = type is=20 :
    --->=20 java.lang.Object[] {
    =    =20            =20 org.apache.axis.attachment.AttachmentPart,
          &nbs= p;        =20 org.apache.axis.attachment.AttachmentPart
    =    =20     }
 
Is it a bug, or I must to do=20 more works on the return value?
 
BTW: the echo() method has no = such=20 error.
 
Any help or web resource are = greatly=20 appreciated !
 
- sukie
 
------=_NextPart_000_02EC_01C680B9.270916D0--