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:
spring-ws-servlet:Code:[org.springframework.ws.server.endpoint.mapping.PayloadRootQNameEndpointMapping] - Mapped key [{http://localhost:8080/gstUsage}AddUsageDataRequest] onto endpoint [com.generatedsystems.ws.GstUsageEndpoint@15872f5]
The request (using soapUI)Code:<bean id="gstUsageEndpoint" class="com.generatedsystems.ws.GstUsageEndpoint"> <constructor-arg ref="gstUsageService"/> </bean> <bean id="gstUsageService" class="com.generatedsystems.service.impl.GstUsageServiceImpl"/> <bean id="endpointMapping" class="org.springframework.ws.server.endpoint.mapping.PayloadRootQNameEndpointMapping"> <property name="mappings"> <props> <prop key="{http://localhost:8080/gstUsage}AddUsageDataRequest">gstUsageEndpoint</prop> </props> </property> <property name="interceptors"> <bean class="org.springframework.ws.server.endpoint.interceptor.PayloadLoggingInterceptor"/> </property> </bean>
The error from the log:Code:[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:gst="http://localhost:8080/gstUsage"> <soapenv:Header/> <soapenv:Body> <gst:AddUsageDataRequest> <gst:usage> <gst:bank>BANKID</gst:bank> <gst:identifier>IDENTIFIER</gst:identifier> <gst:funct>INSTALL</gst:funct> <gst:usageTime>2010-08-14 10:00:00.090</gst:usageTime> </gst:usage> </gst:AddUsageDataRequest> </soapenv:Body> </soapenv:Envelope>]
Anything else that would be helpful for me to post?Code:[org.springframework.ws.server.EndpointNotFound] - No endpoint mapping found for [SaajSoapMessage {http://localhost:8080/gstUsage}AddUsageDataRequest]
Thank you


Reply With Quote

