correct usage of URIEndpointMapping
I'm evaluating different approaches to do an endpoint mapping. Therefore, I'm checking out the URIEndpointMapping which I seem not to use correctly.
Here's what I do.
I put this into my spring-ws-servlet.xml:
In my WSDL, I use the following code:
The SimpleActionEndpointMapping is meant to be used in a
standard Spring application context. It maps actions to
endpoints via an exposed mappings property
Note: the different port numbers are intentionally as I'm using monitoring within eclipse to see what traffic goes over the wire.
<port name="dPort" binding="tns:dBinding">
<port name="udPort" binding="tns:udBinding">
In the calling code, I do the following:
where the serviceURL corresponds to h**p://localhost:14480/myService/dService for example.
response = (JAXBElement<ResponseType>) getWebServiceTemplate().marshalSendAndReceive(serviceURL, type);
The error that comes is an Error 404 not found. What am I doing wrong? Any ideas or hints?