Skip to Content
0
Former Member
Jun 01, 2005 at 09:23 AM

Error using a standalone ws proxy

105 Views

Hi there,

I'm trying to create a client application which calls a webservice but I'm getting an error during the client run.

So Here is what I've done:

- Created /Deployed a WebServcie (running correctly)

- Created a Standalone Web Service Proxy.

- Deployed the Standalone WSProxy

- Included the Jar (from the generated Proxy) into my client app

- Added the created bin files from the proxy to the client app

- Added all classpath variables to my client project (I got from the proxy project)

- Trying to run the WS test client

Getting follwing error message:

=============================

Exception in thread "main" java.lang.NoClassDefFoundError: com/dcx/mcg/itp/aa/projects/eeim/proxy/EEIMDataServiceImpl

C:\workspace\eeim\bin>java com.TestWS

Warning ! Protocol Implementation [com.sap.engine.services.webservices.jaxrpc.wsdl2java.features.builtin.SessionProtocol

] could not be loaded (NoClassDefFoundError) !

Error Message is :com/sap/engine/interfaces/webservices/client/ClientFeatureProvider

Warning ! Protocol Implementation [com.sap.engine.services.webservices.jaxrpc.wsdl2java.features.builtin.MessageIdProtoc

ol] could not be loaded (NoClassDefFoundError) !

Error Message is :com/sap/engine/interfaces/webservices/client/ClientFeatureProvider

Warning ! Protocol Implementation [com.sap.security.core.client.ws.SecurityProtocol] could not be loaded (ClassNotFound)

!

Error Message is :com.sap.security.core.client.ws.SecurityProtocol

Warning ! Protocol Implementation [com.sap.engine.services.webservices.jaxrpc.wsdl2java.features.builtin.SoapHeadersProt

ocol] could not be loaded (NoClassDefFoundError) !

Error Message is :com/sap/engine/interfaces/webservices/client/ClientFeatureProvider

Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/engine/interfaces/webservices/runtime/component/Compo

nentInstantiationException

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ServiceBase.getLPFactory(ServiceBase.java:51)

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ServiceBase.init(ServiceBase.java:78)

at com.dcx.mcg.itp.aa.projects.eeim.proxy.EEIMDataServiceImpl.<init>(EEIMDataServiceImpl.java:11)

at com.TestWS.main(TestWS.java:34)

=============================

What am I doing wrong?

Why can't the libraries be loaded?

Regards

Daniel