[
https://issues.apache.org/jira/browse/WINK-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Davanum Srinivas updated WINK-143:
----------------------------------
Description:
{noformat}
Can you please fix the 2 URL's?
http://[host]:[port]/hello/world
http://[host]:[port]/hello
i had to use
http://[host]:[port]/HelloWorld/rest/world
http://[host]:[port]/HelloWorld/rest/
/**
* Simple example - Hello World!
* <p/>
* The SDK dispatches HTTP requests for URI
* <code>http://[host]:[port]/hello/world</code>, where <code>hello</code> is
* the context root, to this class. A simple Atom entry is returned in HTTP
* response.
* <p/>
* The service document is available at URI
* <code>http://[host]:[port]/hello</code> but it is empty because this simple
* demo doesn't contain any collection of resources.
* <p/>
* This resource must be registered within a JAX-RS application, this example
* uses the default usage of application /WEB-INF/application
*/
{noformat}
was:
Can you please fix the 2 URL's? http://[host]:[port]/hello/world and
http://[host]:[port]/hello are both wrong..i had to use
http://[host]:[port]/HelloWorld/rest/world and
http://[host]:[port]/HelloWorld/rest/
/**
* Simple example - Hello World!
* <p/>
* The SDK dispatches HTTP requests for URI
* <code>http://[host]:[port]/hello/world</code>, where <code>hello</code> is
* the context root, to this class. A simple Atom entry is returned in HTTP
* response.
* <p/>
* The service document is available at URI
* <code>http://[host]:[port]/hello</code> but it is empty because this simple
* demo doesn't contain any collection of resources.
* <p/>
* This resource must be registered within a JAX-RS application, this example
* uses the default usage of application /WEB-INF/application
*/
> javadoc in HelloWorld sample is wrong
> --------------------------------------
>
> Key: WINK-143
> URL: https://issues.apache.org/jira/browse/WINK-143
> Project: Wink
> Issue Type: Bug
> Components: Examples
> Reporter: Davanum Srinivas
>
> {noformat}
> Can you please fix the 2 URL's?
> http://[host]:[port]/hello/world
> http://[host]:[port]/hello
> i had to use
> http://[host]:[port]/HelloWorld/rest/world
> http://[host]:[port]/HelloWorld/rest/
> /**
> * Simple example - Hello World!
> * <p/>
> * The SDK dispatches HTTP requests for URI
> * <code>http://[host]:[port]/hello/world</code>, where <code>hello</code> is
> * the context root, to this class. A simple Atom entry is returned in HTTP
> * response.
> * <p/>
> * The service document is available at URI
> * <code>http://[host]:[port]/hello</code> but it is empty because this simple
> * demo doesn't contain any collection of resources.
> * <p/>
> * This resource must be registered within a JAX-RS application, this example
> * uses the default usage of application /WEB-INF/application
> */
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.