You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Jay Doggett <jm...@comcast.net> on 2004/12/30 22:29:16 UTC
Ok the new error is:
Thanks to Al and Eric who helped me get a "core" client-config.wsdd file which is now in the applet directory.
Now the call "Service service = new Service();" in my test applet is causing this error:
Now I get a NoClassDefFoundError at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:176)
But only when I run it in IE. When I run it in netbeans it works. This looks like still more classpath problems. Any Ideas anyone?
Jay
Your best bet is to hire a vet!
-----Original Message-----
From: Jay Doggett [mailto:jmdoggett@comcast.net]
Sent: Thursday, December 30, 2004 3:42 PM
To: axis-user@ws.apache.org
Subject: RE: client config solved and on to the next problem
Al,
The interesting thing is, the applet code works when I run it in the netbeans debugger, but not in IE.
Jay
Your best bet is to hire a vet!
-----Original Message-----
From: aveitas@allesta.com [mailto:aveitas@allesta.com]
Sent: Thursday, December 30, 2004 1:38 PM
To: axis-user@ws.apache.org; jmdoggett@comcast.net
Subject: RE: client config solved and on to the next problem
Hi Jay,
OK, it sounds like you do not have a need for a handler, and just want to
connect to the service. Please correct me if I am misunderstanding.
Try the following out....
a) extract client-config.wsdd from axis.jar
jar xvf axis.jar org/apache/axis/client/client-config.wsdd
b) place the client-config.wsdd into the applet folder
c) test
Let me know how this goes....
Al
------------------
Algirdas P. Veitas
Allesta, LLC
wsabi4axis: http://axis.wsabi.org/
Quoting Jay Doggett <jm...@comcast.net>:
>
> In the case of the ClientSigningHandler, does this entry match a service in
> the server-config.wsdd? I am trying to understand what
> I have to define in the client-config.wsdd just to "connect" to the
> samples.stock.StockQuoteService.
>
> Jay
> Your best bet is to hire a vet!
>
> -----Original Message-----
> From: aveitas@allesta.com [mailto:aveitas@allesta.com]
> Sent: Thursday, December 30, 2004 12:48 PM
> To: axis-user@ws.apache.org; jmdoggett@comcast.net
> Subject: Re: client config solved and on to the next problem
>
>
> Hi Jay,
>
> Here is a client-config.wsdd that you can use as an example for defining a
> handler. The handler in this case is configured at the global level, so all
> client invocations will invoke this handler.
>
> <deployment xmlns="http://xml.apache.org/axis/wsdd/"
> xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
> <globalConfiguration>
> <requestFlow>
> <!-- define the client Signing handler configuration -->
> <handler type="java:samples.security.ClientSigningHandler">
> <parameter name="keystore" value="samples/security/keystore.jks"/>
> </handler>
> </requestFlow>
> </globalConfiguration>
> </deployment>
>
> This config file is taken directly from the samples\security in the Axis
> distribution.
>
> Hope this helps...
>
> Al
>
> Quoting Jay Doggett <jm...@comcast.net>:
>
> >
> > I have learned that dropping a client-confg.wsdd in the same folder as the
> > applet cures my previous issue, but there is no doc that
> > I can find about defining a handler in it. I am only trying to connect to
> the
> > sample getQuote service, running on the same machine.
> >
> > Does anyone know where I can get some detailed information on the creation
> > of the client-config.wsdd?
> >
> > Jay
> > Your best bet is to hire a vet!
> >
> > -----Original Message-----
> > From: Jay Doggett [mailto:jmdoggett@comcast.net]
> > Sent: Thursday, December 30, 2004 10:56 AM
> > To: axis-user@ws.apache.org
> > Subject: Applet classpath and the IE plugin
> >
> >
> >
> > I have made some progress. After creating a CLASSPATH windows environment
> > variable and setting it to %AXISCLASSPATH% (from the
> > directions) I get a different behavior.
> >
> > Now, I get this error:
> > "org.apache.axis.InternalException: org.apache.axis.ConfigurationException:
> > org.apache.axis.ConfigurationException: No engine
> > configuration file - aborting!"
> >
> > Is this happening because I have not set up a client configuration file
> > somewhere?
> >
> > Jay
> > Your best bet is to hire a vet!
> >
> >
> >
>
>
>