This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
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: 229
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: 229
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: 229
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://aspose.com/file-tools
 
subject: org.springframework.ws.client.WebServiceTransportException: Method Not Allowed [405]
 
Similar Threads
Getting SOAP Fault: No adapter for endpoint
jibx binding Error: Nonstatic field name not found in
Spring Struts implementation for Database conncetion problem in Login module
Webservice deploy problem
SpringWS - Problem in invoking webservice