• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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

 
crispy bacon. crispy tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic