Re: Calling another Class from within a webservice

2003-07-30 Thread Richard Emberson
I can not give you any definitive answers, only observations. If all class files are located properly in axis/WEB-INF/classes/ when the axis servlet starts, then one should not get an java.lang.reflect.InvocationTargetException. If your application classes are not in the right package path or

server-config.wsdd generation without a webserver

2003-07-29 Thread Richard Emberson
Given that I've got a wsdl file and wsdd deploy file, how can I generate a server-config.wsdd file without having a running webserver with axis installed? I would like to build a war file with axis and my jar files as well as the server-config.wsdd. I do not want to have to call the AdminClient to

Re: Dynamic Deployment

2003-07-29 Thread Richard Emberson
idea. One would have to have different url's for some of the common axis webpages, etc. but since one's services have unique urls they at least would not collide. I will have to try it. thanks- Richard Emberson wrote: Can one dynamically deploy a new service using axis? What do I mean

Dynamic Deployment

2003-07-29 Thread Richard Emberson
Can one dynamically deploy a new service using axis? What do I mean by dynamic deployment? Well, I do not mean that you have to know what you are going to deploy and put all the needed jar files into the WEB-INF/lib directory before you start the axis servlet - thats hardly dynamic. Rather, I want

publishing services jar location

2003-07-28 Thread Richard Emberson
I've bundled up axis in to a war file, no application jar files. I deploy the axis war file (and axis' native services come up). Now, I want to deploy the the axis AdminService an application specific wsdd file (generated by axis during my build process). What I get is the following error message f

setting/getting Systemp properties

2003-07-19 Thread Richard Emberson
How do I pass properties into code implementing axis methods in a jakarta-tomcat/axis server? Can the server-config.wsdd file be used to pass general properties into the code that implements the server BindingImpl's? If not, is Axis is running under Tomcat, how can one pass in properties to Axis? I

mime type map

2003-07-19 Thread Richard Emberson
One can register type mapping for (de)serializing object, but one can not register mime type name to qualified name and no way to register in utils.JavaUtils a mime-type to Java Object (see the method mimeToJava(...)). Also, also in the file org.apache.axis.wsdl.toJava.Utils there is a mime-type "a

wsdl2java: union of simpleType

2002-04-28 Thread Richard Emberson
Using wsdl2java, latest cvs (as of yesterday), when attempt to produce Java code for the following I get a class with no instance variable(s) nor any getters or settors - hard to (de)serialize. If I try:

Dates, Calendars, and GregorianCalendar : howto

2002-04-06 Thread Richard Emberson
Trying to send a Date As far as I can tell, Date is not a primitive, built into Axis, type. So, how about sending a Calendar. Well, that does not work either. There are Calendar serializers/deserializers registered (with the class java.util.Calendar), but one can not make an instance of Cale

AXIS FAQ: HOWTO HREF

2002-03-27 Thread Richard Emberson
There are three ways of doing HREFs in axis. The first is to set doing multirefs property to true, the default (the following does NOT have to be done): msgContext.getAxisEngine().setOption(AxisEngine.PROP_DOMULTIREFS, Boolean.TRUE); In this case everything is multi-refed except "primitive" typ

RE: HREF BROKEN

2002-03-26 Thread Richard Emberson
> Why is this important to you? Well, for one, it much more readable when the information is logged (for the geek impaired). Its what I was used to using Axis' predecessor. Esthetics (mine of course). So, would a simple solution be to create a class derived from SerializationContextImpl and ove

HREF BROKEN

2002-03-25 Thread Richard Emberson
It is my understanding that hrefs can be used in the case when an object is share by more than one other objects. With an href, the shared object can be serialized and those objects that have a reference to the shared object will be serialized with an element containing the href rather than the

Implementing HREF

2002-03-24 Thread Richard Emberson
It is my understanding that hrefs can be used in the case when an object is share by more than one other objects. With an href, the shared object can be serialized and those objects that have a reference to the shared object will be serialized with an element containing the href rather than the

href - only when I want it.

2002-03-22 Thread Richard Emberson
It is my understanding that hrefs can be used in the case when an object is share by more than one other objects. With an href, the shared object can be serialized and those objects that have a reference to the shared object will be serialized with an element containing the href rather than the s