How to return HTTP 204 on Document perform()?

2003-03-19 Thread Bryan Field-Elliot
I've implemented a message style handler (server) in Axis 1.0, using the following method signature style:   Document perform(Document in)   In some cases I need to return HTTP 204 (OK) with no message body. I had hoped that returning "null" from this function would achieve this result, but i

Call.invoke deserializer messing up QName namespaces

2003-01-16 Thread Bryan Field-Elliot
I'm using Axis 1.0. When I issue a "Call.invoke()", the response message coming from the server is being deserialized into a DOM strangely. Namely, it is declaring a new namespace prefix for QNames, when the QName's namespace has already been declared in a parent node. This is a problem b

Axis ClassCastException in XMLUtils.sourceToInputSource

2002-12-12 Thread Bryan Field-Elliot
Hi, I'm using Axis 1.0 with a variety of other tools, working with the Sun IPL (Interoperability Prototype for Liberty). I'm getting a ClassCastException in Axis, which is why I'm posting here wondering if it rings a bell for anybody. The top of the stack backtrace is: java.lang.ClassCastExcep

solved - was Re: InvocationTargetException/NoSuchMethodError ondeploy

2002-06-04 Thread Bryan Field-Elliot
Bryan On Tue, 2002-06-04 at 14:20, Bryan Field-Elliot wrote: I'm using Axis beta 2. I've written a WSDL file (by hand), generated skeletons/stubs, compiled them, and deployed them to Tomcat just fine. Now when I try to deploy the Axis service (using the generated .wsdd file), I ge

InvocationTargetException/NoSuchMethodError on deploy

2002-06-04 Thread Bryan Field-Elliot
I'm using Axis beta 2. I've written a WSDL file (by hand), generated skeletons/stubs, compiled them, and deployed them to Tomcat just fine. Now when I try to deploy the Axis service (using the generated .wsdd file), I get the following exception. Any help would be greatly appreciated, as this is

Stub won't compile

2002-06-04 Thread Bryan Field-Elliot
I'm using Axis beta 2, and using WSDL2Java to generate skeletons and stubs. Obviously my skeleton won't compile until I provide method implementations for my operations.. However, I would think that my stub should compile "out of the box", but it doesn't. It's also missing method implementat

Re: Hiding access to Admin Servlet

2002-04-10 Thread Bryan Field-Elliot
This is all contained in "web.xml" (under WEB-INF). web.xml is Servlet-generic (rather than webserver-specific) and is well-documented in the Sun Servlet spec. You can modify web.xml to change the AdminServlet path, remove it entirely, or add authorization constraints to it. On Wed, 2002-04-10

Is there a localhost optimization?

2002-04-05 Thread Bryan Field-Elliot
Hi, We're building a SOAP service which can be a client or a server (of itself). Sometimes (frequently, actually), we need to invoke methods on the same webapp instance on the same server. Does Axis contain any optimizations to "shortcut" the serialization & wire transfer, if it notices that

How to do Stateful SOAP servers?

2002-03-20 Thread Bryan Field-Elliot
Hi, Being somewhat new to SOAP (and having pored over several books/resources), I'm finding a lack of explanation out there on how to do "Stateful" SOAP servers (in the same way that it's trivial to do Stateful JSP's/Servlets). I've seen mention in the Axis docs of having your SOAP server

Boot-time deployment?

2002-03-17 Thread Bryan Field-Elliot
With Axis (1.0 beta), is there a way to automatically deploy my web services at servlet context load time, rather than having to manually deploy the .wsdd files every time my webapp gets (re)deployed? Perhaps there are some (undocumented) parameters I can put in web.xml to achieve this?

Re: NoClassDefFoundError: javax.xml.rpc.namespace.QName

2002-03-17 Thread Bryan Field-Elliot
I meant, "classloader problems eh?", not "classpath problems eh?". Bryan On Sun, 2002-03-17 at 10:36, Doug Davis wrote: place jaxrpc.jar into tomcat's lib dir. -Dug Bryan Field-Elliot <[EMAIL PROTECTED]> on 03/17/2002 12:38:02 PM Please r

Re: NoClassDefFoundError: javax.xml.rpc.namespace.QName

2002-03-17 Thread Bryan Field-Elliot
Thanks, that did it. Classpath problems eh? Bryan On Sun, 2002-03-17 at 10:36, Doug Davis wrote: place jaxrpc.jar into tomcat's lib dir. -Dug

NoClassDefFoundError: javax.xml.rpc.namespace.QName

2002-03-17 Thread Bryan Field-Elliot
I'm trying to deploy Axis Beta-1 on Tomcat 4.0.3, using the sample webapp "axis" which comes with the distribution. Every time I try to access the Admin or a JWS service, I get: java.lang.NoClassDefFoundError: javax/xml/rpc/namespace/QName at org.apache.axis.transport.http.AdminServlet.ge

Question about Axis servers and Servlet containers

2002-03-15 Thread Bryan Field-Elliot
Hi, I'm new to Axis, but am eager to get eye-deep in it. ;) I'm building some SOAP interfaces to a larger web-based application, which already has a large Servlet/JSP component (based upon Struts). I'd like for my SOAP services (in Axis) to be able to interact with the Servlet context in variou