[ 
https://issues.apache.org/jira/browse/WINK-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893628#action_12893628
 ] 

Nick Gallardo commented on WINK-303:
------------------------------------

For the admin servlet issue, it looks like the issue is a  web container 
idiosyncrasy.  I wasn't able to recreate the 400 Bad Request with no content in 
Tomcat, but was able to in WAS 7.0.  Turns out WAS is more strict in its 
adherence to a specific web container behavior defined by the spec.  I'll have 
a patch out this morning for this issue.  With that applied.  

As an extension of the admin servlet issue, the admin servlet will only work if 
you've first invoked a normal resource method.  There is additional fallback 
logic in the runtime RestServlet to initialize the RequestProcessor.  I'll open 
a separate issue to address whether or not that can be ported to the 
AdminServlet.




The error message above from the APP Service Doc generation is most likely a 
result of assumptions of the usage of the Service Doc.  The format is based on 
the Atom definition for ways to surface information about a collection.  So, 
the resource implementations are assumed to reflect collections in that they 
have @GET/@POST/etc. resource methods for the root URI.  

There will not be any detailed resource method info surfaced like there is in 
the admin servlet content.  For more general service description info, I 
suggest using the admin servlet.

> Issues with generating documentation for resource classes
> ---------------------------------------------------------
>
>                 Key: WINK-303
>                 URL: https://issues.apache.org/jira/browse/WINK-303
>             Project: Wink
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.1
>         Environment: Using Wink 1.1 with WebSphere 6.1; running in local 
> environment using RSA 7.5.
>            Reporter: Tim Barnickel
>            Assignee: Nick Gallardo
>
> Getting following error when attempting to generate HTML APP representation 
> of resource documentation:
> [7/19/10 10:52:59:964 EDT] 00000025 SystemErr     R 1268381 [WebContainer : 
> 0] INFO org.apache.wink.server.internal.registry.ResourceRegistry - Could not 
> find any method in class {0} that supports {1}
> [7/19/10 10:52:59:964 EDT] 00000025 SystemErr     R 1268381 [WebContainer : 
> 0] INFO org.apache.wink.server.internal.RequestProcessor - {0} occurred 
> during the handlers chain invocation
> Additionally, the xml doc that is generated appears to be missing detailed 
> resource method documentation.
> Related to generating resource documentation via the admin console, when I 
> take the link http://localhost:9083/SomeApplication/admin, I can see the 
> restSdkAdmin servlet started in the console, but no content is returned. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to