[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:44:47 EDT 2012
[ https://issues.jboss.org/browse/JBWS-3459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677576#comment-12677576 ]
Tomas Gustavsson commented on JBWS-3459:
----------------------------------------
wsdl location is always http://localhost:8080/foo/bar/MyWebService/MyWebService?wsdl independent of what I set as port-component-uri.
> 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