RE: AW: AW: AW: MessageContext.getCurrentContext() returns null

2004-04-02 Thread
Hi, sorry this is a newbie question. I wanted to get the source code from Thomas Dorner to work(sending a gif file as an attachment back to the caller of a web service). But I'm stuck with the client code. I did the following 0. Ran Java2WSDL on AXIS_HOME%/samples/userguide/example6. This

Re: AW: AW: AW: MessageContext.getCurrentContext() returns null

2004-04-01 Thread Tony Thompson
iche Nachricht- Von: Tony Thompson [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 1. April 2004 15:38 An: [EMAIL PROTECTED]; [EMAIL PROTECTED] Betreff: Re: AW: AW: MessageContext.getCurrentContext() returns null OK, forgive my stupidity, but I am trying to send an attachment back from the server.

Re: AW: MessageContext.getCurrentContext() returns null

2004-04-01 Thread Jeff
CTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, April 01, 2004 7:37 AM Subject: Re: AW: MessageContext.getCurrentContext() returns null > In your examples, what is "soapService" and "oService"? > > Is it possible that my service is not deplo

AW: AW: AW: MessageContext.getCurrentContext() returns null

2004-04-01 Thread Dorner, Thomas
= MessageContext.get if you use the stub and the skeleton! I get also null from MessageContext -Ursprüngliche Nachricht- Von: Tony Thompson [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 1. April 2004 14:38 An: [EMAIL PROTECTED]; [EMAIL PROTECTED] Betreff: Re: AW: MessageContext.getCurre

Re: AW: AW: MessageContext.getCurrentContext() returns null

2004-04-01 Thread Tony Thompson
hricht- Von: Tony Thompson [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 1. April 2004 14:38 An: [EMAIL PROTECTED]; [EMAIL PROTECTED] Betreff: Re: AW: MessageContext.getCurrentContext() returns null In your examples, what is "soapService" and "oService"? Is it possible

Re: AW: AW: MessageContext.getCurrentContext() returns null

2004-04-01 Thread J . Sugrue
d to [EMAIL PROTECTED] To "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc Subject AW: AW: MessageContext.getCurrentContext() returns null oService is your Service or your locator (both are Service or extend Service!) --> read my text and think about! ;) Forget t

AW: AW: MessageContext.getCurrentContext() returns null

2004-04-01 Thread Dorner, Thomas
ext -Ursprüngliche Nachricht- Von: Tony Thompson [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 1. April 2004 14:38 An: [EMAIL PROTECTED]; [EMAIL PROTECTED] Betreff: Re: AW: MessageContext.getCurrentContext() returns null In your examples, what is "soapService" and "oService"?

Re: AW: MessageContext.getCurrentContext() returns null

2004-04-01 Thread Tony Thompson
In your examples, what is "soapService" and "oService"? Is it possible that my service is not deployed correctly and that is why the current message context is null? Thanks. Tony >>> [EMAIL PROTECTED] 04/01/04 02:37AM >>> You can handle your attachment like this - without using the MessageConte

AW: MessageContext.getCurrentContext() returns null

2004-04-01 Thread Dorner, Thomas
You can handle your attachment like this - without using the MessageContext Object[] attachments = soapService.getAttachments(); AttachmentPart attachPart = (AttachmentPart) attachments[0]; AttachmentPart attachPart1 = (AttachmentPart) attachments[1]; DataHandler arrow =