Scott, Thanks a lot: that resolved my issue. I do have Tomcat4.0 installed, and I believed that the user classes or packages have to be drop in the tomcat/lib directory. I was wrong.
Thanks again for your quick response ----- Original Message ----- From: "Scott Nichol" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 23, 2002 3:18 PM Subject: Re: problem with my custom provider > The code that is executing is > > if (!(newObj instanceof Provider)) > throw new SOAPException(Constants.FAULT_CODE_SERVER, > "'" + className + "' isn't a > provider"); > > A provider must implement org.apache.soap.util.Provider. I assume that > your provider does. > > You say you copied the provider to $TOMCAT_HOME/lib. What version of > Tomcat are you running? How did you install Apache SOAP? If you are > using Tomcat 4 and installed Apache SOAP by putting soap.war in the > webapps directory, you must copy the provider to > $TOMCAT_HOME/webapps/soap/META-INF/classes/mypackage, i.e. your provider > must be loaded by the same class loader as Apache SOAP. > > Scott Nichol > > ----- Original Message ----- > From: "Thibault Chollet" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, October 23, 2002 3:53 PM > Subject: problem with my custom provider > > > HI, > > I'm having problems to get my custom provider running. I get the > following exception: > > mypackage.myProvider isn't a provider. > > I tried to replace it by specifying in the descriptor the provider > org.apache.soap.providers.RPCJavaProvider and it's working. > > However, when I just copy and paste the code from RPCJavaProvider and > specify in the descriptor : > > <isd:provider type="mypackage.RPCJavaProvider" ...., > > I get the same exception: mypackage.RPCJavaProvider isn't a provider > > > Could that be a compilation problem? (but the code is compiled) > My classpath is set correctly (I think) as the RPCRouter managed to load > the class. > I copied my package in Tomcat_home\lib. > > I have been trying for two days to get my provider running without > success and I cannot find any topics about this exception generated by > org.apache.soap.server.ServerUtils.loadProvider > > Thanls in advance for your response > > Thibaut > > > > > -- > To unsubscribe, e-mail: <mailto:soap-user-unsubscribe@;xml.apache.org> > For additional commands, e-mail: <mailto:soap-user-help@;xml.apache.org> > -- To unsubscribe, e-mail: <mailto:soap-user-unsubscribe@;xml.apache.org> For additional commands, e-mail: <mailto:soap-user-help@;xml.apache.org>