Scott,

If I have to access it as stated in http://xml.apache.org/soap/faq/faq_chawke.html#Q2_38, how to configure the SOAPContext object from the request side? I got an error message of 'no  signature match' because I didn't configure the SOAPContext parameter.

Any hint?

Thanks,

Jingkun




Scott Nichol <[EMAIL PROTECTED]>

2002-11-21 04:49 PM
Please respond to soap-user

       
        To:        [EMAIL PROTECTED]
        cc:        (bcc: Jingkun Hu/BRQ/RESEARCH/PHILIPS)
        Subject:        Re: How to configure SOAPContext parameter

        Classification:        




You only have access to the SOAPContext for the incoming message, not
the outgoing.  If you want to return an attachment with the RPC API, you
have to use a return Class like DataHandler.  If you want to return
several attachements, you can return DataHandler[] or a Vector of
DataHandler, etc.

With the Messaging API, you have access to SOAPContext for both incoming
and outgoing messages, so you can easily add attachments to the return
message.

Scott Nichol

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 21, 2002 4:10 PM
Subject: How to configure SOAPContext parameter


> System configuration: Win2000, Tomcat 4.1.12, Apache Soap 2.3.1, and
Jdk 1.4.
> I have a service method like,
>
> Object func1(SOAPContext soapContext, String str1, String str2)
>
> My question is how to configure soapContext parameter, let's say if I
also want to add an attachment to the invoking call?
>
> Thanks in advance,
>
> Jingkun
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to