• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic