Announcement Announcement Module
No announcement yet.
Request to endpoint - endpoint not found Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Request to endpoint - endpoint not found

    I'm new to Spring WS - I think everything is correct but I get that the endpoint cannot be found. I've been going in circles.

    Any help is very much appreciated, I'm stuck at this point.

    Here is the log, the endpoint seems to be mapped correctly:
    [] - Mapped key [{http://localhost:8080/gstUsage}AddUsageDataRequest] onto endpoint []
     	<bean id="gstUsageEndpoint" class="">
        	<constructor-arg ref="gstUsageService"/>
        <bean id="gstUsageService" class="com.generatedsystems.service.impl.GstUsageServiceImpl"/>
    	<bean id="endpointMapping" class="">
        	<property name="mappings">
                	<prop key="{http://localhost:8080/gstUsage}AddUsageDataRequest">gstUsageEndpoint</prop>
        	<property name="interceptors">
            	<bean class=""/>
    The request (using soapUI)
    [<soapenv:Envelope xmlns:soapenv="" xmlns:gst="http://localhost:8080/gstUsage">
                <gst:usageTime>2010-08-14 10:00:00.090</gst:usageTime>
    The error from the log:
    [] - No endpoint mapping found for [SaajSoapMessage {http://localhost:8080/gstUsage}AddUsageDataRequest]
    Anything else that would be helpful for me to post?

    Thank you

  • #2

    Endpoint mapping is the first step - to check what endpoint is to handle the incoming message.
    But there's second step performed by - to check what EndpointAdapter is going to invoke the endpoint found in first step.
    Send the entire XML configuration please.

    But what version of Spring-WS you're using? There is no EndpointNotFound exception in any of Spring-WS 1.0.4, 1.5.9 and 2.0.0....

    Grzegorz Grzybek


    • #3

      Many thanks for the reply.

      I am using 1.5.9, but you are right that the class name referenced in the log file does not exist as a class in any of the spring ws jar files.

      Looking at the spring ws source code that package/class string is just a final static value in the MessageDispatcher class, as something that is wriiten to the log, misleading, but fine I think.

      Your adapter comment got me looking deeper into my code. I started using the airline example, I had some configurations still in my project from the airline example, I spent sometime cleaning up my configuration and now I am getting to my endpoint successfully. I did not have to configure an adapter specifically, as spring is just using PayloadEndpointAdapter since I did not specify one.

      Thanks for indirectly pointing me in the right direction, now I can continue on with getting the logic from the endpoint to a database working.



      • #4

        Of course - silly me - I haven't checked the ENDPOINT_NOT_FOUND_LOG_CATEGORY field

        Would you mind sharing your solution/explaining what was the problem? It would surely help others

        Grzegorz Grzybek