This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Webservice gateway development" Watch "Webservice gateway development" New topic

Webservice gateway development

rithik kutty

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

Joined: Aug 30, 2012
Posts: 4
curl -d @"RequestXml.xml" http://nj09mhc5056:8080/axis2/services/SampleTest?wsdl
<soapenv:Reason xmlns:soapenv=""><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:
subject: Webservice gateway development
Similar Threads
java classes for xml schema
Stuck using AJAX & WebService
Excel from xml String
hiding pages behind WEB-INF?
Using webservices in J2EE web application