This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Spring and the fly likes  Getting SOAP Fault: No adapter for endpoint Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark " Getting SOAP Fault: No adapter for endpoint" Watch " Getting SOAP Fault: No adapter for endpoint" New topic

Getting SOAP Fault: No adapter for endpoint

Nitin Bhardwaj
Ranch Hand

Joined: Feb 02, 2007
Posts: 72
Hi Friends,

I tried to create a basic web-service using SpringWS. The web-service expects a Client element (complex type) and returns a String. I created the WSDL manually. It as as follows (clientcreation.wsdl):

I created an Endpoint class as well (

However, when I send the following SOAP message:

then I get the SOAP Fault:

<faultstring xml:lang="en">No adapter for endpoint [public java.lang.String com.nitspace.springws.client.ClientEndpoint.handle ClientCreationRequest(org.jdom.Element) throws java.lang.Exception]: Is your endpoint annotated with @Endpoint, or does it implement a supported interface like MessageHandler or PayloadEndpoint?</faultstring>

I am able to view the WSDL file by hitting the URL: http://localhost:8080/nitspace/springws/ClientCreationService/clientcreation.wsdl (once server is started and application deployed).

The Spring WS config file (spring-ws-servlet.xml):

I am unable to figure out where am I making the mistake. I believe I am making some mistake in using annotations on handleClientCreationRequest() endpoint method in, but I am not sure.
Please help.
I agree. Here's the link:
subject: Getting SOAP Fault: No adapter for endpoint
It's not a secret anymore!