aspose file tools*
The moose likes Web Services and the fly likes Webservice gateway development Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Webservice gateway development" Watch "Webservice gateway development" New topic
Author

Webservice gateway development

rithik kutty
Greenhorn

Joined: Aug 30, 2012
Posts: 4
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.
rithik kutty
Greenhorn

Joined: Aug 30, 2012
Posts: 4
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Webservice gateway development