I need help to build the webservice gateway using java,axis2 and soap.I am trying to consume the service from gateway.I have sample xml for sample data request.Please give me some idea to test the xml sample data in java in linux.I have to deploy the code in tomcat which is in linux server.
posted 3 years ago
curl -d @"RequestXml.xml" http://nj09mhc5056:8080/axis2/services/SampleTest?wsdl <soapenv:Reason xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Text xml:lang="en-US">The endpoint reference (EPR) for the Operation not found is /axis2/services/SampleTest?wsdl and the WSA Action = null. If this EPR was previously reachable, please contact the server administrator.</soapenv:Text></soapenv:Reason>
I am able to view the wsdl,but ,when I am trying to send the request xml using curl in linux,I am getting the above.I tried many ways but couldnt resolve it.The same service is working fine in local.
Please help me to resolve this or else if there is any way to test the service in linux passing request xml,let me know.