atlsgnz
11 years agoOccasional Contributor
No context found for request error on localhost
I have a web service deployed on Tomcat that I imported into soapUI using the wsdl on our development server. I then added two more endpoints for that project, one on our test server and one on my local machine. When I send a request to either the dev or test endpoints, everything is fine, I'm getting the expected results back. However, when I select my localhost endpoint, I get the following error:
Here is the full http error log:
I have deployed the exact same war file in all three places, so no trouble with the wsdl being different. I also have no trouble accessing the wsdl on localhost from both IE and Chrome, so the service has deployed correctly there.
The weirdest thing is that it was working fine until 4 days ago, then it suddenly stopped. I was using soapUI version 4.5.1, but upgraded to 4.5.2 when it stopped working to see if that fixed it. No go, still broken.
I'm using java 1.6 and tomcat 7.0.
Any ideas? Thanks in advance.
Cheers
<h1>404 Not Found</h1>No context found for request
Here is the full http error log:
DEBUG:>> "POST /services/MyService/webservices/myendpoint HTTP/1.1[\r][\n]"
DEBUG:>> "Accept-Encoding: gzip,deflate[\r][\n]"
DEBUG:>> "Content-Type: text/xml;charset=UTF-8[\r][\n]"
DEBUG:>> "SOAPAction: "http://mycompany.com/getXML"[\r][\n]"
DEBUG:>> "Content-Length: 322[\r][\n]"
DEBUG:>> "Host: localhost:8080[\r][\n]"
DEBUG:>> "Connection: Keep-Alive[\r][\n]"
DEBUG:>> "User-Agent: Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
DEBUG:>> "[\r][\n]"
DEBUG:>> "<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://mycompany.com/types/">[\n]"
DEBUG:>> " <soapenv:Header/>[\n]"
DEBUG:>> " <soapenv:Body>[\n]"
DEBUG:>> " <typ:getXMLElement>[\n]"
DEBUG:>> " <typ:pNumDays>40</typ:pNumDays>[\n]"
DEBUG:>> " </typ:getXMLElement>[\n]"
DEBUG:>> " </soapenv:Body>[\n]"
DEBUG:>> "</soapenv:Envelope>"
DEBUG:<< "HTTP/1.1 404 Not Found[\r][\n]"
DEBUG:<< "Content-Length: 50[\r][\n]"
DEBUG:<< "Content-Type: text/html[\r][\n]"
DEBUG:<< "Connection: close[\r][\n]"
DEBUG:<< "[\r][\n]"
DEBUG:<< "<h1>404 Not Found</h1>No context found for request"
I have deployed the exact same war file in all three places, so no trouble with the wsdl being different. I also have no trouble accessing the wsdl on localhost from both IE and Chrome, so the service has deployed correctly there.
The weirdest thing is that it was working fine until 4 days ago, then it suddenly stopped. I was using soapUI version 4.5.1, but upgraded to 4.5.2 when it stopped working to see if that fixed it. No go, still broken.
I'm using java 1.6 and tomcat 7.0.
Any ideas? Thanks in advance.
Cheers