Hi,

You dont have to tune anything both REST and SOAP works out of the box and
off the same endpoint. When you type
http://localhost:8080/axis2/services/Version/getVersion in the browser Axis2
gets a REST request hence it gives you a REST response. If you send a SOAP
request to this endpoint it will give you a SOAP response.

Thanks,
Keith.

On Dec 5, 2007 8:47 PM, Achim Seufert <[EMAIL PROTECTED]> wrote:

> Hi there,
>
> in case I'm missing something obvious... my apologies in advance. :-)
>
> According to most tutorials and the official documentation of Axis2
> (1.3) you're able to access your services via the two standard
> webservice-endpoints - SOAP and REST.
> So after installing the WAR-distribution there should be two ways to
> invoke the built-in "Version"-service:
>
>    http://localhost:8080/axis2/services/Version/getVersion
>
> ... for a SOAP-response and ...
>
>    http://localhost:8080/axis2/rest/Version/getVersion
>
> ... for a simple REST/XML-response.
>
> Unfortunately I just get one endpoint listed when calling the
> "http://localhost:8080/axis2/services/listServices"; page:
>
>    Service EPR : http://localhost:8080/axis2/services/Version
>
> So I'm missing the endpoint called...
>
>    Service REST epr : http://localhost:8080/axis2/rest/Version
>
> ... which the tutorials' screenshots show.
>
> On top of that - strangely the only listed endpoint also doesn't give
> me a proper SOAP-response (including header, body, etc.) but a simple
> XML-document telling me the used Axis2-version.
>
> I tried various different installations (Linux with Tomcat 5.5 / 6,
> MacOSX with Tomcat 6, etc.) ... same situation.
>
> Could anyone point me to the right direction on how to get both SOAP
> and REST running?!
>
> Any help would be appreciated. Thanks.
>
> Achim
>
> ---------------------------------------------------------------------
> 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/

Reply via email to