Hi

I'm trying to both implement a service and call it with AXIS. The client
code executes and makes the SOAP call. I can see it with tcpmon, but the
code on the server-side is never executed. I've attached pretty much
everything I have.

I have a class that implements these methods:
    public void login(com.dv.store.bean.remote.SessionId sessionId,
String string, String string0) throws java.rmi.RemoteException;
    public void logout(com.dv.store.bean.remote.SessionId _sessionId)
throws java.rmi.RemoteException;

Then, this command is used to generate the wsdl:
java org.apache.axis.wsdl.Java2WSDL -o autoSource\dvstore.wsdl -l
http://localhost:8084/axis/services/DVStoreWebService -n urn:dvstore
-pcom.dv.store.wsauto urn:dvstore com.dv.store.ws.WSEngine

Then this is used to generate the client code:
java org.apache.axis.wsdl.WSDL2Java -o autoSource/ -d Application -s
autosource/dvstore.wsdl

The compiled client classes are also copied to the webapp's classes dir.

This is used to deploy the service:
java org.apache.axis.client.AdminClient -p8084
autosource\dvstore\deploy.wsdd

The client code looks like this:
            url = new
URL("http://localhost:8089/axis/services/DVStoreWebService";);
            WSEngine wsEngine = new
WSEngineServiceLocator().getDVStoreWebService(url);
            
            byte[] key = { 5, 5 };
            SessionId sessionId = new SessionId(key);
        
            wsEngine.login(sessionId, "dvstore", "dvstore");

I've tried to get axis to log some debug info, but have been
unsuccessful. I took the axis.jar and changed the first line to the
following and then placed the file in the WEB-INF/classes dir. It
created an axis.log file but it remains empty.
log4j.rootCategory=DEBUG, CONSOLE, LOGFILE

Any other ideas?

Thanks,

Sarel Botha

Reply via email to