Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3459

jboss-webservice.xml port-component does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            ropalka Richard Opalka
            tomasg1 Tomas Gustavsson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: