Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Mat Anthony
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic