Dear Ruchith,
I really appreciate your help.
I will double check the services.xml and maybe also re-construct the way the server handle the incoming message.
your assistance is greatly appreciate.
I will let you know about the result.
Wan
From: "Ruchith Fernando" <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: [Axis2 v1.0] send file with security
Date: Mon, 24 Jul 2006 17:32:44 +0530
>Hi Wan,
>
>Apologies if I confused you... let me try to explain:
>
>If you are using the service logic that you posted earlier [1], you
>assume that the OMelement passed into your method is a "my:pack"
>element. This will only happen in the case where you use the
>RPCMessageReceiver.
>
>If you use RawXMLInOutMessageReceiver you will simply receive the
>first child of the soap:Body element.
>
><soap:Envelope>
><soap:Body>
> <my:fileSecurity><my:pack>...</my:pack></my:fileSecurity>
></soap:Body>
></soap:Envelope>
>
>That is you will receive a "my:fileSecurity" OMElement into your
>method. In this case the logic here [1] will throw an exception.
>
>I wanted you to double check the service.xml file of the service
>that
>runs _with_ security to see whether you set the RPCMessageReceiver
>properly.
>
>Thanks,
>Ruchith
>
>[1] http://rafb.net/paste/results/92Clg397.html
>
>On 7/24/06, Wan Kaveevivitchai <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>Dear Ruchith,
>>
>> I am confused, what is the correct Message receiver with
>>this type
>>of application? for sending file with security, shall it be
>>RPCMessageReceiver or RawXMLMessageReceiver?
>>
>> for double check services.xml in this case, what should i
>>double
>>check on...?
>>
>> Best regards,
>>
>> Wan
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
