Java2WSDL

2003-11-26 Thread Yan Lin
Hi, When I use Java2WSDL, all the input parameters are changed into "in0", "in1", "in2" etc, which are meaningless. For example, a method "setData(String dataType, String data)", the two parameters "dataType" and "data" would become "in0" and "in1". This causes problem later -- when I run WSDL

Re: How to turn on debug in JBoss for AXIS?

2003-11-21 Thread Yan Lin
Hi, David, You are right -- there are logs for JBoss-net. However, those are really from deployment point of view, i.e. from JBoss. I wanted logs from lower level AXIS, i.e. from axis.jar. I added this in log4j.xml: As I mentioned, it didn't work. What's the problem your refe

How to turn on debug in JBoss for AXIS?

2003-11-20 Thread Yan Lin
Hi, I'm using JBoss 3.2.2 with Tomcat 4.1.27. When I start JBoss as "all", AXIS is deployed as service, however, there is no logging information at all. I tried to turn on the debug by adding a category in /server/all/conf/log4j.xml for org.apache.axis. I set the priority to DEBUG. It didn'

common schema for session handling?

2003-11-18 Thread Yan Lin
Hi, My project requirement is to use a Java Soap Engine with Java & C++ client side for web services. The Java part is relatively easy: we'll use AXIS. However, since AXIS C++ is not mature yet, we are looking at WASP C++ client side. It seems that for stateful service, AXIS and WASP have def

RE: where is the session namespace located?

2003-11-18 Thread Yan Lin
Got it! Thanks, Chris! Gloria __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree

where is the session namespace located?

2003-11-17 Thread Yan Lin
Hi, I've created a service with session id enabled. Here is the soap header: http://xml.apache.org/axis/session";>-1380096502541275209 However, when I tried to find the namespace http://xml.apache.org/axis/session, it returns "Page not found". Does anyone know where is the definition lo

RE: Chris, the example doesn't work, why?

2003-11-14 Thread Yan Lin
Chris, Thanks for your reply! I found out why it went wrong: I did set up a client-config.wsdd and dropped it in the same directory as my client jar. Apparently, this is not enough. I need to explicitly load the file as EngineConfig and set it in my service. After that, my code works! This

help: session id not found in client side

2003-11-14 Thread Yan Lin
Hi, I have searched in this mail list and tried to apply the possible solutions, however, I failed to find session id in the client side soap message. What I did: (01) set scope to be session in the wsdd file (02) set setMaintainSession to be true (03) include SimpleSessionHandler at both serve

help: multiple stateful services

2003-11-14 Thread Yan Lin
Hi, I'm new to AXIS and I tried Example6 for a stateful service (i.e. using session). It worked fine. Then, I expanded the example to contain 2 stateful services, i.e. now I have: ServiceA with method a() and b() ServiceB with method c() and d() I have configured them in the same way (both in

MessageContext doesn't work at client side?

2003-11-13 Thread Yan Lin
Hi, I have created a service and successfully deployed. At client side, I created a ClientMain.java which only contains a "main" method for the purpose of testing. I tried to use "MessageContext.getCurrentContext()", but I always get NullPointerException. Does MessageContext only exist with

RE: Chris, the example doesn't work, why?

2003-11-13 Thread Yan Lin
Hi, Chris, I tried to use the example you gave out and it didn't work. I always got NullPointerException from line "Long oId = getSessionId(oCqServiceLocator);" because there is no session id ever set. Do you know what possible caused the problem? Thanks! Gloria

help: C Client + AXIS Server?

2003-11-11 Thread Yan Lin
Hi, I'm new to AXIS. I have set up an AXIS server (i.e. jboss.net) and created a simple web service "hello". It works fine with a Java client with both http and https. Now I created a C Client using WASPC. It works without SSL. When I tried to enable SSL, I always get "SSLHandShakeException