Java2WSDL Ant task question

2004-03-31 Thread Adhamh Findlay
This might be more of an ant specific question but this case is specifically about the Java2WSDL task... I have this task: http://localhost:8080/axis/services/DialogListener"; output="${impl.build}/dsoap.wsdl" namespace="com.adhamh..DialogSOAP" style="rpc" useinheri

Re: about complex types (newbie)

2003-10-01 Thread Adhamh Findlay
Wermus, It sounds like you need to turn this xml file into a java class, and make this class the argument. If this class is a bean, then you can serialize the class and pass it back and forth. Adhamh On 9/30/03 1:30 PM, "Wermus Fernando" <[EMAIL PROTECTED]> wrote: > I have a method that it has

Re: SerializationTester: Why would an object fail?

2003-09-29 Thread Adhamh Findlay
Two problems, I feel kinda stupid for missing them... :-( 1. My get methods weren't really get methods. I had not prepended get on to my variable name, so instead of getPartNumber() I had partNumber(). 2. I had not registered my type mappings using registerTypeMapping() in the SerializationTe

SerializationTester: Why would an object fail?

2003-09-26 Thread Adhamh Findlay
Hello, I'm fairly new to this world of beans and serialization, so I need some help determining why a custom class would not be serializable. Here is what I get when I run SerializationTester: Your class : [Company] *** Can't get a serializer for 'Company' !! *** ===> 'Not supported' or 'Wr

Re: new to axis Question about Complex Type

2003-09-25 Thread Adhamh Findlay
I've been struggling with Axis code generation too, and in pretty much the same circumstances. I've been thinking about writing a howto, so perhaps this will be the first draft. All of my classes and interfaces are in the same package, com.adhamh.SOAP (for example). First thing I do is use Ant t

Re: Adding fields to autogenerated java classes (wsdl2java)

2003-09-24 Thread Adhamh Findlay
Kevin, I've just been working on this! I've finally had some success too. Here are the signatures of a couple of methods I added. #I use main to run the SimpleAxisServer so I don't need Tomcat #this is unsupported... public static void main(String[] args) {} #This method calls a

Different WSDL for different providers or styles?

2003-09-18 Thread Adhamh Findlay
Hello, If I use different providers (java:RPC, java:MSG) or different styles (document, wrapped, message) should I see that different WSDL is generated when I use Java2WSDL? I'm currently not seeing this and it makes me think something is wrong... Thanks! Adhamh

Re: One class per service?

2003-09-17 Thread Adhamh Findlay
On 9/17/03 5:55 AM, "James Black" <[EMAIL PROTECTED]> wrote: > Adhamh Findlay wrote: > >> It appears that I can on provide on class per service. Is this correct? >> Not could someone explain how to provide more than one class per service? >> > From

One class per service?

2003-09-16 Thread Adhamh Findlay
Hello, It appears that I can on provide on class per service. Is this correct? Not could someone explain how to provide more than one class per service? Thanks, Adhamh

Re: Newbie Question About Examples

2003-08-27 Thread Adhamh Findlay
>From the user guide: "Before running the examples in this guide, you'll need to make sure that your CLASSPATH includes (Note: If you build Axis from a CVS checkout, these will be in xml-axis/java/build/lib instead of axis-1_1/lib): * axis-1_1/lib/axis.jar * axis-1_1/lib/jaxrpc.jar *

Deploy.wsdd syntax question: service, provider, and style

2003-08-27 Thread Adhamh Findlay
Hello, I'd just like some clarity on service element in deploy.wsdd. The user guide and reference guide aren't totally clear on this... The user guide says that if I want to use document or wrapped I should do this: "The document or wrapped style is indicated in WSDD as follows: for document

Re: Is JNI on Axis possible? InvocationTargetException

2003-08-27 Thread Adhamh Findlay
BTW, my InvocationTargetException was caused by not have the shared library or DLL, or whatever in the correct location. Adhamh On 8/27/03 11:27 AM, "Adhamh Findlay" <[EMAIL PROTECTED]> wrote: > Several people here are using JNI. I tired it and was able to go

Re: Is JNI on Axis possible? InvocationTargetException

2003-08-27 Thread Adhamh Findlay
On 8/27/03 2:00 AM, "Scott Rader" <[EMAIL PROTECTED]> wrote: > I am trying to implement a web service provider on Windows 2000 with Tomcat > 4.1 and Axis 1.1 installed. > > I have a JNI class and method that works when called from a Java > application, but when I call it form inside of a service

Re: Still trying... Re: Using JNI in a service?

2003-08-14 Thread Adhamh Findlay
Below I have pasted in some classes. The IncidentService class is the class I am trying to use with Axis. DialogListener is a test class I created to test the JNI calls. If I use the DialogListener class, everything works fine as I get back the expected results. The problem only happens with I

Re: Why would AxisServlet return a blank page?

2003-08-14 Thread Adhamh Findlay
Okay, yet another thing for me to update the docs with... The directory structure that you class is in must match the package structure that your class is in... Adhamh

Still trying... Re: Using JNI in a service?

2003-08-14 Thread Adhamh Findlay
could generate the fault/exception? I'm totally stuck on this... Thanks, Adhamh On 8/8/03 9:00 AM, "Adhamh Findlay" <[EMAIL PROTECTED]> wrote: > On 8/8/03 8:53 AM, "Jonathan Melvin" <[EMAIL PROTECTED]> wrote: > >> I use JNI in Axis in Jboss wit

Using JNI in a service?

2003-08-14 Thread Adhamh Findlay
Hello, Has anyone successfully used JNI from within a deployed service under axis? This seems to be creating a InvocationTargetException for me... Here is the class: package dialoglistener; public class IncidentService { static {System.loadLibrary("DialogListener");} public native

Workaround for untouched bug 20718?

2003-08-11 Thread Adhamh Findlay
Hello, It looks like I am being affected by bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20718. I'm getting some exception, but axis is returning a very uninformative fault: AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (0)null faultActor: faul

Re: Using JNI in a service?

2003-08-10 Thread Adhamh Findlay
On 8/8/03 8:53 AM, "Jonathan Melvin" <[EMAIL PROTECTED]> wrote: > I use JNI in Axis in Jboss without any particular problems. > Post the full exception you are getting > Here it is In all its glory... I'm try to modify the axis source, now to call getTargetException() on so that I can get

Why would AxisServlet return a blank page?

2003-08-08 Thread Adhamh Findlay
Okay, its back... When I try to access the AxisServlet page (http://localhost:8080/axis/servlet/AxisServlet) after deploying an application I get back a blank page. What would cause this? If I undeploy the app I see the correct page with the other services. I've restart tomcat a couple of times

Can't list services after deploying test class

2003-08-06 Thread Adhamh Findlay
Hello, I'm trying to deploy a simple test class, but I can't seem to get it to work. I can deploy example3 from the user guide using deploy.wsdd with any problems, but I can't deploy any of my own classes. Currently, when I got to http://localhost:8080/axis/servlet/AxisServlet to view the deploy

Re: Can't list services after deploying test class

2003-08-06 Thread Adhamh Findlay
On 8/5/03 2:17 PM, "Jim Harris" <[EMAIL PROTECTED]> wrote: > Adhamh, > > Have you tried using the AdminClient tool to deploy and/or view your > deployed services? > > To deploy use: > java org.apache.axis.client.AdminClient -l > http://host:port/axis/classes/serviceName path\to\deploy.wsdd > >

Re: How to deploy as a standalone server?

2003-07-29 Thread Adhamh Findlay
n the main the axis will start on > port 8080. > > to start in other port (I haven done it with main method ) create new > SimpleAxisServer obj and set a socket in to it and call that obj > ".start()" axis will start on the Socket listening port. > > hope that helps.

How to deploy as a standalone server?

2003-07-29 Thread Adhamh Findlay
Hello, The user guide states that Axis 1.1 supports "Standalone version of the server (with HTTP support)". However it does not state how to do this. If one wanted to deploy as a standalone server, how would one do it? Thanks, Adhamh

Re: submitting a patch

2003-07-22 Thread Adhamh Findlay
On 7/22/03 6:30 AM, "Srinath Perera" <[EMAIL PROTECTED]> wrote: > Hi All > > How can I create a patch if I do not have axis project checkout in a cvs > client. Am behind a firewall and port 2401 is closed. So I can't check > out from cvs.apache.org (At least still am fails tring). > > 1) Is ther

Axis classpath hell...

2003-07-19 Thread Adhamh Findlay
I'm in classpath hell. I THINK I've done everything right, but happy axis doesn't work for me. I get this error when I try to run: Needed Components Found SAAJ API (javax.xml.soap.SOAPMessage) at /usr/local/jakarta-tomcat-4.1.24/webapps/axis/WEB-INF/lib/saaj.jar Found JAX-RPC API (javax.xml.rpc.