If you exchange the new file for the one that is
currently in axis.jar - it will work.

--- "Xi, Keying" <[EMAIL PROTECTED]> wrote:
> > I am having problems get my client handler
> invoked.   I have created the client-config.wsdd
> file and inserted my handler in it.  
> > 
> > ***************************************
> > <?xml version="1.0" encoding="UTF-8"?>
> > <deployment
> xmlns="http://xml.apache.org/axis/wsdd/";
>
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
> >  <globalConfiguration>
> >   <parameter name="adminPassword" value="admin"/>
> >   <parameter name="sendXsiTypes" value="true"/>
> >   <parameter name="sendMultiRefs" value="true"/>
> >   <parameter name="sendXMLDeclaration"
> value="true"/>
> >   <parameter name="axis.sendMinimizedElements"
> value="true"/>
> >   <requestFlow>
> >    <handler
> type="java:com.mycompany.util.MyHandler"/>
> >   </requestFlow>
> >  </globalConfiguration>
> >  <transport name="http"
>
pivot="java:org.apache.axis.transport.http.HTTPSender"/>
> >  <transport name="local"
>
pivot="java:org.apache.axis.transport.local.LocalSender"/>
> >  <transport name="java"
>
pivot="java:org.apache.axis.transport.java.JavaSender"/>
> > </deployment>
> > *************************************************
> > 
> > My web application is deployed in Tomcat and it
> uses Axis client. "axis.jar" is included as one of
> jar files in the application web-inf\lib directory. 
> The problem is "axis.jar" has a client-config.wsdd
> file included already, under org.apache.axis.client
> directory.    I tried to put my client-config.wsdd
> right under web-inf\classes, the handler is not
> invoked.  I tried to add the following line in
> tomcat.bat file:
> > 
> > set
>
TOMCAT_OPTS=-Daxis.ClientConfigFile=c:\client-config.wsdd
> > 
> > That didn't work, seems like tomcat can't find the
> file, although the path is right. 
> > 
> > I tried to replace the client-config.wsdd with my
> own in the axis.jar and replace axis.jar with the
> new axis.jar in my application.  This time I got a
> "Class not found exception".  I think it's because
> axis can't find my handler class,
> com.mycompany.util.MyHandler.   
> > 
> > 
> > Anyone who has successfully used
> client-config.wsdd with axis as a jar file in your
> application?  thanx. 
> > 
> > 
> > Keying
> > 
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Reply via email to