Tomas Gustavsson created JBWS-3459:
--------------------------------------
Summary: 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
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