File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Webservice gateway development

 
rithik kutty
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic