Re: AW: AW: AW: MessageContext.getCurrentContext() returnsnull

2004-04-01 Thread Tony Thompson
ss path issue...it'll be the death of Java...I hope...perhaps J3SE can solve it before we move on to something better! Jeff - Original Message - From: "Tony Thompson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Se

Re: AW: AW: AW: MessageContext.getCurrentContext() returnsnull

2004-04-01 Thread Tony Thompson
to something better! Jeff - Original Message - From: "Tony Thompson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, April 01, 2004 10:07 AM Subject: Re: AW: AW: AW: MessageContext.getCurrentContext() returnsnull > OK, this l

Re: AW: AW: AW: MessageContext.getCurrentContext() returnsnull

2004-04-01 Thread Tony Thompson
I am calling it during an active invocation on the server side (not sure how you would call it outside of an active invocation there?). I basically have a method in my service like this: public String getFile( String ) { // NullPointerException thrown here because AxisEngine.getCurrentMessage

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

2004-04-01 Thread Tony Thompson
\\temp\\" + attachPart1.getContentId() + ".gif"); FileOutputStream myFOS2 = new FileOutputStream(myFile2); folder.writeTo(myFOS2); System.out.println(attachPart1.getContentId()); Tomi -Ursprüngl

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

2004-04-01 Thread Tony Thompson
ext()!? AxisEngine engine = oService.getEngine(); engine.getCurrentMessageContext(); Thomas -Ursprüngliche Nachricht- Von: Tony Thompson [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 31. März 2004 15:51 An: [EMAIL PROTECTED] Betreff: MessageContext.getCurrentContext() returns null When I i

Re: AW: MessageContext.getCurrentContext() returns null

2004-04-01 Thread Tony Thompson
ocator (also Service) and get the AxisEngine --> then make engine.getCurrentMessageContext()!? AxisEngine engine = oService.getEngine(); engine.getCurrentMessageContext(); Thomas -Ursprüngliche Nachricht- Von: Tony Thompson [mailto:[EMAIL PROTECTED] Gesendet:

MessageContext.getCurrentContext() returns null

2004-03-31 Thread Tony Thompson
When I invoke MessageContext.getCurrentContext(), it returns null. Can anyone explain why that might happen and how I can fix it? I am trying to add a DIME attachment to a response and it is hard to do without a MessageContext. Thanks. Tony

Custom data type with BeanSerializer

2004-03-25 Thread Tony Thompson
Are there any Axis developers that monitor this list that might be able to answer these questions or should I post this on the developer list to find an answer? If I have a custom data type that is (de)serialized with the BeanSerializer and one of the properties of the bean is an int, how can I s

Custom data type with BeanSerializer

2004-03-24 Thread Tony Thompson
If I have a custom data type that is (de)serialized with the BeanSerializer and one of the properties of the bean is an int, how can I specify that it is restricted to a set of integers (i.e. define a restriction base in the WSDL)? I had asked another question about making an element so that it ca

nillable elements using a

2004-03-24 Thread Tony Thompson
I have a custom data type that is being returned by my service. I have a for it in my WSDD file. The generated WSDL for that data type has all of the elements marked as nillable. Is there a way to specify that those elements are not nillable? Thanks. Tony

Serialize an InputStream

2003-09-17 Thread Tony Thompson
I have a bean that I am publishing as a web service with Axis. One of the methods in my bean returns an InputStream: public InputStream getStream(); Is there any chance that Axis can take this InputStream and send its content to the SOAP client as a DIME attachment? Or, is there another way to

Namespace prefixes error

2003-03-28 Thread Tony Thompson
I am getting an error back from Axis (at the end of this message) and I have no idea how to resolve the issue. I am also attaching two files that demonstrate the issue. If you deploy AxisTest as a service and then request the wsdl, you will get this error in your browser. If I add a default cons

Any takers: Could someone please elaborate on this?

2003-03-28 Thread Tony Thompson
I am using a current build of Axis (just pulled it from CVS). I have this same issue with 1.1RC2. When I request the wsdl for my service, I get this back: AXIS error Sorry, something seems to have gone wrong... here are the details: Fault - ; nested exception is: WSDLException: faultCod

Could someone please elaborate on this?

2003-03-27 Thread Tony Thompson
I am using a current build of Axis (just pulled it from CVS). I have this same issue with 1.1RC2. When I request the wsdl for my service, I get this back: AXIS error Sorry, something seems to have gone wrong... here are the details: Fault - ; nested exception is: WSDLException: faultCod

Re: Issue with Throwable

2003-03-27 Thread Tony Thompson
lla) bug? with the complete StonewareException class? and the Service method signature that throws this exception. Thanks, dims --- Tony Thompson <[EMAIL PROTECTED]> wrote: > Which method signature? The issue that I am having is with the complex > type StonewareException. Here is

Re: Issue with Throwable

2003-03-26 Thread Tony Thompson
3 05:13PM >>> Please post the method signature --- Tony Thompson <[EMAIL PROTECTED]> wrote: > I am using Axis 1.1RC2 and I am having an issue with an exception. When > I request the wsdl for my service, I get the following error on the web > server: > > - The cl

Issue with Throwable

2003-03-26 Thread Tony Thompson
I am using Axis 1.1RC2 and I am having an issue with an exception. When I request the wsdl for my service, I get the following error on the web server: - The class java.lang.Throwable is defined in a java or javax package and cannot be converted into an xml schema type. An xml schema anyType wi