Hi Dimuthu, Read my comments inline,
> Hi Dinesh, > > I checked the Linux binary with the WSDL2C tests, they all working > fine. Anyway personally I didn't felt well when the rest client > happened to fail at the first try, I don't have any clue how to get it > run just looking at the help message. > > It seems that we can run rest client with giving the http method and > endpoint as the argument. But it has a default behavior when no > arguments are provided, i.e. I think http post and hard coded > endpoint. > > So I have 2 suggestions. > 1. Not giving clients a default behavior. > I.e. when arguments are not provided, give a help message which has > references to what should be done in services.xml in order to run the > samples. Nope, we are not expected to instruct people to edit a services.xml in a client. This is a violation of concern. > 2. Just uncommenting http post method in the services.xml in the echo > service. So at least it will successful in the first try. +1, this is what I did when I made the samples for Axis2/C training. > > > Thanks > Dimuthu > > > On Feb 9, 2008 11:41 AM, Dinesh Premalal <[EMAIL PROTECTED]> wrote: >> Hi Damitha, >> >> Damitha Kumarage <[EMAIL PROTECTED]> writes: >> > 1. echo_rest sample fails with >> > Received OM : <Exception>Operation Not Found, Endpoint referance >> > address is /axis2/services/echo/echoString and wsa actions is >> > (null)</Exception> >> >> I think you need to enable echo service for REST request. In >> service.xml file there is commented settings, you can enable echo >> service for REST requests by simply uncommenting them. Please refer >> axis2c_manual that ships with Axis2/C 1.3.0 RC1. >> >> Looking forward to hear from others too ;) >> >> thanks, >> Dinesh >> -- >> http://nethu.org >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
