[seam-issues] [JBoss JIRA] (JBSEAM-5013) Documentation, webservices, "24.1. Configuration and Packaging" webservice configuration must be updated for AS7

Marek Novotny (JIRA) jira-events at lists.jboss.org
Tue Aug 14 13:21:16 EDT 2012


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

Marek Novotny resolved JBSEAM-5013.
-----------------------------------

    Resolution: Done


updated
                
> Documentation, webservices, "24.1. Configuration and Packaging" webservice configuration must be updated for AS7
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-5013
>                 URL: https://issues.jboss.org/browse/JBSEAM-5013
>             Project: Seam 2
>          Issue Type: Bug
>          Components: Documentation Issues
>    Affects Versions: 2.3.0.BETA2
>            Reporter: Marek Schmidt
>            Assignee: Marek Novotny
>             Fix For: 2.3.0.CR1
>
>
> The webservice configuration has changed in AS7, a standard @HandlerChain mechanism should be used instead to configure the org.jboss.seam.webservice.SOAPRequestHandler, e.g. the one used in the current seambay example (see 
> seambay-ejb/src/main/java/org/jboss/seam/example/seambay/AuctionService.java
> seambay-ejb/src/main/resources/org/jboss/seam/example/seambay/soap-handlers.xml
> )
> org/jboss/seam/example/seambay/soap-handlers.xml:
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <handler-chains xmlns="http://java.sun.com/xml/ns/javaee">
>   <handler-chain>
>     <handler>
>       <handler-name>SOAP Request Handler</handler-name>
>       <handler-class>org.jboss.seam.webservice.SOAPRequestHandler</handler-class>
>     </handler>
>   </handler-chain>
> </handler-chains>
> {code}
> org/jboss/seam/example/seambay/AuctionService.java:
> {code}
> ...
> @Stateless
> @Name("auctionService")
> @WebService(name = "AuctionService")
> @HandlerChain(file = "soap-handlers.xml")
> public class AuctionService implements AuctionServiceRemote
> {
> ...
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list