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

Importes XSD´s schemaLocation URL Port not changed when "webServicePort" property set in stack-agnostic-jboss-beans.xml

    XMLWordPrintable

Details

    Description

      In an environtment where JBoss 5.1 is behind an Apache ReverseProxy, JBoss running on port 8080, but accessed via reverse proxy via port 80, you can use stack-agnostic-jboss-beans.xml to modify:

      host name:

      <property name="webServiceHost">jbossws.undefined.host</property>
      <property name="modifySOAPAddress">true</property>

      and Port:
      <property name="webServicePort">80</property>

      This works OK for endPoint:
      <soap:address location="http://server.domain.com:80/typex/ws"/> Uses Port 80 as specified!!

      BUT leaves unmodified Port for schemaLocation:

      "http://server.domain.com:8080/typex/ws?wsdl&resource=TXM_Fault.xsd"/> Uses JBoss port and NOT 80 !!!

      So, when a client tries to use the WSDL it can't find the referenced XSD's failing!!

      Attachments

        Issue Links

          Activity

            People

              rhn-support-asoldano Alessio Soldano
              david.calvente_jira David Calvente (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: