File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes org.springframework.ws.client.WebServiceTransportException: Method Not Allowed [405] Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "org.springframework.ws.client.WebServiceTransportException: Method Not Allowed [405]" Watch "org.springframework.ws.client.WebServiceTransportException: Method Not Allowed [405]" New topic
Author

org.springframework.ws.client.WebServiceTransportException: Method Not Allowed [405]

Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 195
Hi All,
I'm currently trying to get my first spring web service app to work.
Every time I run my junit test that calls the service I get the following error:-

DEBUG WebServiceTemplate - Received error for request [SaajSoapMessage {http://www.codemonkeyramblings.com/BasicSpringSchema}requestObject]

org.springframework.ws.client.WebServiceTransportException: Method Not Allowed [405]

The console shows that I'm sending the following soap package:-


I have been stuck on this problem for ages

I have included the code that I have used below:-

file: web.xml


file: spring-ws-servlet.xml


file:schema.xsd


file: BasicMarshallingEndpoint.java


file: ResponseObject.java


file: RequestObject.java


file:BasicTest.java


Mat
Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 195
Hi All,
can anybody please help me with this problem, Im new to spring web services and cant get this example to work.
Any help would be appreciated.

Thanks
Mat
Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 195
Hi All,
I seem to be able to view the generated wsdl using the following:-
http://localhost:8888/BasicSpringService/basicSpringWS.wsdl



Still not sure what I'm doing wrong . I have deployed the war to an oc4j app server.

Mat

 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: org.springframework.ws.client.WebServiceTransportException: Method Not Allowed [405]
 
Similar Threads
Spring Struts implementation for Database conncetion problem in Login module
jibx binding Error: Nonstatic field name not found in
SpringWS - Problem in invoking webservice
Webservice deploy problem
Getting SOAP Fault: No adapter for endpoint