Announcement Announcement Module
Collapse
No announcement yet.
No adapter for endpoint Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • No adapter for endpoint

    Hi,

    I am getting a SOAPFault : No adapter for endpoint [com.ms.openapps.wsengine.endpoint.HelloWorldEndpoi nt@a1d54f]: Is your endpoint annotated with @Endpoint, or does it implement a supported interface like MessageHandler or PayloadEndpoint?

    I was getting the above SOAP Fault and I found that there after I added the annotations @RequestPayload and @ResponsePayload to my Endpoint class, it worked correctly, but after I did a maven build, I am getting this error again, I have attached the contents of the spring context file inline.

    <sws:annotation-driven/>

    <!-- Configure XML Marshaller -->
    <bean class="org.springframework.ws.server.endpoint.adap ter.GenericMarshallingMethodEndpointAdapter">
    <constructor-arg ref="marshaller" />
    </bean>

    <bean id="marshaller" class="org.springframework.oxm.jaxb.Jaxb2Marshalle r">
    <property name="classesToBeBound">
    <list>
    <value>com.openappengine.xsd.schema.HelloWorldRequ est</value>
    <value>com.openappengine.xsd.schema.HelloWorldResp onse</value>
    </list>
    </property>
    </bean>

    <!-- Add automatic WSDL generation support -->
    <bean id="helloworld" class="org.springframework.ws.wsdl.wsdl11.DefaultW sdl11Definition">
    <property name="schema" ref="schema" />
    <property name="portTypeName" value="helloworld" />
    <property name="locationUri" value="http://localhost:8080/wsengine/helloworld/" />
    <property name="targetNamespace" value="http://openappengine.com/xsd/schema" />
    </bean>

    <bean id="schema" class="org.springframework.xml.xsd.SimpleXsdSchema ">
    <property name="xsd" value="classpath://xsd/HelloWorld.xsd" />
    </bean>

    <bean id="helloWorldEndpoint" class="com.ms.openapps.wsengine.endpoint.HelloWorl dEndpoint">
    <description>Hello World Endpoint</description>
    </bean>

    <bean id="endpointMapping" class="org.springframework.ws.server.endpoint.mapp ing.PayloadRootQNameEndpointMapping">
    <property name="mappings">
    <props>
    <prop key="{http://openappengine.com/xsd/schema/}HelloWorldRequest">
    helloWorldEndpoint
    </prop>
    </props>
    </property>
    </bean>

    Please help me with this problem.
Working...
X