Hi,
I am trying to create a web service which is a consumer to another webservice. Here is the layout..
I developed a java class and created a webservice out of it.
Then i used eclipse tools to generate a client side stub and other files.
I packed these files in a jar and used it in another project. I tested the files in the jar I was able to access the first webservice.
Now I created another webservices from the project that I tested the first one from.
Now when I write a client to the second web service it seemingly is not able to find the stubs for the first one. gives me the following error
org.apache.axis2.AxisFault: com/cats/patient/PatientDataStub at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:512) at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163) at com.esps.patient.PatientDataESPSStub.getPatientByID(PatientDataESPSStub.java:186) at com.esps.patient.ESPSTestClient.main(ESPSTestClient.java:22)
I have incoorporated all the jars in all the projects.
Any help will be appreciated. Adhir