Yes there is a mistake in the WSDL (obvious copy and paste error :))
update the relavant sections as follows,
<operation ref="tns:getWeather" whttp:method="GET"
whttp:location="WeatherService/Weather/{country}/{city}"/>
<operation ref="tns:setWeather" whttp:method="PUT"
whttp:location="WeatherService/Update/{country}/{city}"/>
<service name="WeatherService" interface="tns:Weather">
<endpoint name="WeatherServiceHTTPEndpoint"
binding="tns:WeatherHTTPBinding"
address="http://example.org/WeatherService"/>
</service>
It was due to the above that you got the dispatching error. Should work now.
Thanks,
Keith.
On 7/12/07, Sanjiva Weerawarana <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] wrote:
>
> Should I not be able to reach it with the following url?
>
http://localhost:8080/axis2/services/WeatherService/Weather/Denmark/Herning
>
> Or have I misunderstood the new HTTPBinding.
> <operation ref="tns:getWeather" whttp:method="GET" whttp:location=
> "WeatherServiceHTTPEndpoint/Weather/{country}/{city}"/>
These two statements are not matching .. you've put
WeatherService*HTTPEndpoint* in the whttp:location attribute but the URL
doesn't have that.
Sanjiva.
--
Sanjiva Weerawarana, Ph.D.
Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
Director; Open Source Initiative; http://www.opensource.org/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/