Using JMS in Axis

2003-08-28 Thread John Chen
I want to use JMS as the transport for Axis. I would like my client to be robust enough to handle all MOM vendors therefore I have written it based on the JMS API. However, it seems that I need all the jar files on my CLASSPATH of a particular MOM vendor in order to use my client. Is this the c

Anonymous Types

2003-06-18 Thread John Chen
I'm using wsdl.toJava.Emitter.run(string url) to generate server side stubs/impl from a WSDL with Anonymous Types (A complex type only defined within another complex type). Then I use the same stubs/impls and host them on a Tomcat Server. When I try to get the Axis generated WSDL, it throws the

Axis Engine: NoClassDefFoundException

2003-03-11 Thread John Chen
When a WSDD is created using an Axis Engine, I get a Linkage Error (NoClassDefFoundException) when I publish a Service without a package name (i.e. package myservice.example.foo;). I was wondering where and why this is happening? Thanks! John

RE: Return Value in a SOAPEnvelope

2003-03-05 Thread John Chen
Sorry for all the messages, but I finally got it to work in Java. You call getObjectValue or getValueAsType. However, these will not work in Jython. John At 10:30 AM 3/5/2003 -0800, you wrote: Okay, I tried it in Java and I just keep getting null. I tried casting it as an RPCElement, but I don

RE: Return Value in a SOAPEnvelope

2003-03-05 Thread John Chen
Okay, I tried it in Java and I just keep getting null. I tried casting it as an RPCElement, but I don't think it is one. Any other Ideas? John At 07:06 AM 3/5/2003 -0800, you wrote: I think you need to cast the result of next() to MessageElement: MessageElement elem = mySOAPENv.getFirstBody()

RE: Return Value in a SOAPEnvelope

2003-03-05 Thread John Chen
I'm attempting to do this as a jython script. Perhaps that is the problem? John At 07:06 AM 3/5/2003 -0800, you wrote: I think you need to cast the result of next() to MessageElement: MessageElement elem = mySOAPENv.getFirstBody().getChildElements().next(); String value = elem.getValue();

Return Value in a SOAPEnvelope

2003-03-04 Thread John Chen
How do I extract the return value from a SOAPEnvelope? mySOAPEnv.getFirstBody().getChildElements().next().getValue() I'm trying to get the value of the first Element in the Body, but getValue will not work. I get the response element: Success! but I can't extract the value. Also I tried getVal

Fwd: messageContext

2003-03-04 Thread John Chen
Sorry if you got this message twice, but I was not the mailing list earlier. If anyone can help, it would be much appreciated~!! John Date: Mon, 03 Mar 2003 12:38:16 -0800 To: [EMAIL PROTECTED] From: "John L. Chen" <[EMAIL PROTECTED]> Subject: messageContext I am attempting to use the MessageCon