[seam-issues] [JBoss JIRA] Resolved: (JBSEAM-3269) Fixate webservice URL in examples

Marek Novotny (JIRA) jira-events at lists.jboss.org
Wed Apr 14 09:49:25 EDT 2010


     [ https://jira.jboss.org/jira/browse/JBSEAM-3269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marek Novotny resolved JBSEAM-3269.
-----------------------------------

    Fix Version/s: 2.2.1.CR2
       Resolution: Duplicate Issue
         Assignee: Marek Novotny


fixed in JBSEAM-4601, where I added jboss.xml configuration for webservices context root

> Fixate webservice URL in examples
> ---------------------------------
>
>                 Key: JBSEAM-3269
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3269
>             Project: Seam
>          Issue Type: Sub-task
>          Components: Examples
>    Affects Versions: 2.0.2.SP1
>         Environment: JBoss 4.2.0.GA
> JDK 1.5.0_01
>            Reporter: Jan Hoeve
>            Assignee: Marek Novotny
>            Priority: Minor
>             Fix For: 2.2.1.CR2
>
>
> The session beans in the examples which are exposed as WebServices are difficult to call.
> What I mean: The url for the webservices is changing very often (JBossWS?) , and thus it is very difficult to walk through the examples.
> Easy fix: add an annotation @WebContext just below the @WebService in the beans.
> Example:
> @Stateless
> @WebService(name = "AuctionService", serviceName = "AuctionService")
> @WebContext(contextRoot ="auction-ws")
> public class AuctionService implements AuctionServiceRemote
> The webservice is now available under http://127.0.0.1:8080/auction-ws/AuctionService
> This is easier than to find/google that it is available under AuctionServiceService.
> Maybe it is also possible to mention this in the documentation / FAQ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list