[jbossws-issues] [JBoss JIRA] (JBWS-3459) jboss-webservice.xml port-component does not work

Tomas Gustavsson (JIRA) jira-events at lists.jboss.org
Mon Mar 19 05:42:47 EDT 2012


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

Tomas Gustavsson reopened JBWS-3459:
------------------------------------



Attaching a zip file with a simeple webservice war project. Simply set JBOSS_HOME=/path/to/jboss-7.1.0-as and run 'ant deploy'.

It has @WebService in src/org/ejbca/test/MyWebService and jboss-webservice.xml in resources/WEB-INF. The context-root is used but the port-component is ignored.

test project can also be opened in eclipse.
                
> jboss-webservice.xml port-component does not work
> -------------------------------------------------
>
>                 Key: JBWS-3459
>                 URL: https://issues.jboss.org/browse/JBWS-3459
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>         Environment: JBoss AS 7.1.0.GA
>            Reporter: Tomas Gustavsson
>            Assignee: Richard Opalka
>         Attachments: test-ws-project.zip
>
>
> I am trying to make an EJB WS get the same url that it had in JBoss AS 5 and 6. Using the jboss-webservice.xml described in JBWS-3376.
> <?xml version="1.0" encoding="UTF-8"?>
> <webservices version="1.0" 
>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
>        xmlns="http://www.jboss.com/xml/ns/javaee" 
>        xsi:schemalocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss_webservices_1_0.xsd">
>     <context-root>ejbca</context-root>
>     <port-component>
>         <port-component-name>ejbcaws</port-component-name>
>         <port-component-uri>ejbcaws</port-component-uri>
>         <transport-guarantee>CONFIDENTIAL</transport-guarantee>
>         <secure-wsdl-access>true</secure-wsdl-access>
>     </port-component>
> </webservices>
> This is basically identical to what we used before in jboss.xml.
> <jboss
>     xmlns="http://www.jboss.com/xml/ns/javaee"
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>     xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"
>     version="3.0"
>     >
>     <webservices>
>         <context-root>/ejbca/ejbcaws</context-root>
>     </webservices>
>     <enterprise-beans>
>         <session>
>         <ejb-name>EjbcaWS</ejb-name>
>         <port-component>
>             <port-component-name>ejbcaws</port-component-name>
>             <port-component-uri>ejbcaws</port-component-uri>
>             <transport-guarantee>CONFIDENTIAL</transport-guarantee>
>             <secure-wsdl-access>true</secure-wsdl-access>
>         </port-component>
>         </session>
>     </enterprise-beans> 
> </jboss>
> The port-component items are completely ignored in JBoss AS 7.1.0, only the name and serviceName from the @WebService annotation are used.

--
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 jbossws-issues mailing list