Hi All Please some one help me to do custom deployment using AdminClient Because I try to flow the steps in user guide and do that but
it’s not work. This are steps witch I flow. Step 1: Wrote following
java program public class Calc { public int Add(int ia,int ib) { return ia+ib; } } Step 2: Save this file
in the c:\ Axis Ex
directory (Calc.java) Step 3: Compile the class. Step 4: Wrote following wsdd file <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <service name=" <parameter name="className" value=" <parameter name="allowedMethods" value="*"/> </service> </deployment> Step 4 Run the following
command C:\Axis
Ex>java -cp .;%AXISCLASSPATH% org.apache.axis.client.AdminClient
deploy.wsdd After run that
command It display C:\Axis
Ex>java -cp .;%AXISCLASSPATH% org.apache.axis.client.AdminClient
deploy.wsdd Processing file deploy.wsdd <Admin>Done processing</Admin> C:\Axis Ex> Step 5 Then I was try to axis AdminServlet (http://127.0.0.1:8080/axis/servlet/AxisServlet) It display following
error And now... Some Services AXIS error Sorry, something
seems to have gone wrong... here are the details: Fault - Could
not find class for the service named: Calc1 Hint: you may need
to copy your class files/tree into the right location (which depends on the servlet system you are using).;
nested exception is: java.lang.ClassNotFoundException: Calc1 AxisFault faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultSubcode:
faultString:
Could not find class for the service named: Calc1 Hint: you may
need to copy your class files/tree into the right location (which depends on
the servlet system you are using).;
nested exception is: java.lang.ClassNotFoundException: Calc1 faultActor:
faultNode:
faultDetail:
Please help me
to resolve this issue Thanks &
Regards G J Asanka
Priyanjith -------------------------------------------------------------------------------------------------- This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is intended for the addressee only. Any unauthorized disclosure, use, dissemination, copying, or distribution of this message or any of its attachments or the information contained in this e-mail, or the taking of any action based on it, is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this message. |
- Re: problem in Custom Deployment process Asanka Priyanjitih
- Re: problem in Custom Deployment process Pranav Kapil
- RE: problem in Custom Deployment process Asanka Priyanjitih
- Re: problem in Custom Deployment process Pranav Kapil
- RE: problem in Custom Deployment process Asanka Priyanjitih
- Re: problem in Custom Deployment process Pranav Kapil