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

Marek Schmidt (JIRA) jira-events at lists.jboss.org
Tue Aug 14 06:58:15 EDT 2012


Marek Schmidt created JBSEAM-5013:
-------------------------------------

             Summary: 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