No lucky today

I tried to restart with another webservice but I have the very same problem:
Code:
org.springframework.ws.client.WebServiceTransportException: Not Found [404]
at org.springframework.ws.client.core.WebServiceTemplate.handleError(WebServiceTemplate.java:483)
at org.springframework.ws.client.core.WebServiceTemplate.sendAndReceive(WebServiceTemplate.java:407)
at org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:264)
at org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:252)
at org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:244)
at org.homelinux.elabor.forecast.consumer.ForecastClient.forecast(ForecastClient.java:15)
It happens any time I call the marshalSendAndReceive method.
I installed the Log4J facility and here it is a more talkative error:
Code:
2008-03-21 00:16:28,636 WARN [org.springframework.ws.server.EndpointNotFound] - No endpoint mapping found for [SaajSoapMessage ForecastRequest]
So the problem seems to be that there is no endpoint mapping but I'm pretty sure I configured the endpoint and the beans fine:
Here is the xml:
Code:
<bean id="forecastEndpoint"
class="org.homelinux.elabor.forecast.service.ForecastEndpoint">
<property name="forecastService" ref="forecastService" />
</bean>
<bean class="org.springframework.ws.server.endpoint.adapter.GenericMarshallingMethodEndpointAdapter">
<constructor-arg ref="marshaller" />
</bean>
<bean id="payloadMapping" class="org.springframework.ws.server.endpoint.mapping.PayloadRootAnnotationMethodEndpointMapping" />
and here is the Endpoint code:
Code:
@Endpoint
public class ForecastEndpoint {
private ForecastService forecastService;
public void setForecastService(ForecastService forecastService) {
this.forecastService = forecastService;
}
@PayloadRoot(localPart="forecastRequest", namespace="http://elabor.homelinux.org/forecast/schemas")
public ForecastResponse forecast(ForecastRequest request) {
String location = request.getLocation();
String weather = this.forecastService.forecast(location);
ForecastResponse response = new ForecastResponse();
response.setWeather(location + ": " + weather);
return response;
}
}
Please... I really need help! :'(
If you need more info I'll be glad to post it!
Ivan