7 Replies Latest reply: Feb 20, 2014 11:16 AM by Glauber Silva RSS

JBoss7 modifySOAPAddress

Hannes Weninger Newbie



with JBoss5 it was possible to do the following:


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


instead of


<property name="webServiceHost">${jboss.bind.address}</property>
<property name="modifySOAPAddress">true</property>


Now I work with JBoss 7 but I can't find how I can do this with JBoss7?

Does anybody know where I can set modifySOAPAddress with JBoss7?


Thanks a lot,


  • 1. Re: JBoss7 modifySOAPAddress
    Phani Reddy V Newbie

    Change the value like below in standalone.xml file.




    under subsystem  'urn:jboss:domain:webservices:1.1'.

  • 2. Re: JBoss7 modifySOAPAddress
    Hannes Weninger Newbie



    thanks a lot for the answer.

    The problem is that I can't find a xml tag with urn:jboss:domain:webservices:1.1 as attribut in the standalone.xml.

    Would it be possible to post the whole xml section where urn:jboss:domain:webservices:1.1 is define.


    Thanks a lot,


  • 3. Re: JBoss7 modifySOAPAddress
    Phani Reddy V Newbie

    Please follow the below steps to add respective entries in standalone.xml file:


    1) Add  to <extensions> tag <extension module="org.jboss.as.webservices"/>

    2) Add below lines to <profiles> tag.


    <subsystem xmlns="urn:jboss:domain:webservices:1.1">



                <endpoint-config name="Standard-Endpoint-Config"/>

                <endpoint-config name="Recording-Endpoint-Config">

                    <pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">

                        <handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/>




  • 4. Re: JBoss7 modifySOAPAddress
    Phani Reddy V Newbie

    I have verified the JBoss 7.0.2 version, but couldn't find webservices related information. If it throws the errors saying 1.1 specification not found because I copied the web services extension from 7.1.1 release. Please go through the below link for JBoss 7.


  • 5. Re: JBoss7 modifySOAPAddress
    Hannes Weninger Newbie


    I have added the lines of http://jbossws.blogspot.in/2011/07/jboss-as-7-webservices-features.html in my standalone.xml, now I get the following exception:


    Module org.jboss.as.webservices:main is not found - there is the folder hierachy JBOSS_HOME/modules/org/jboss/as/webservices but the webservices- folder is empty.

    Do you have still any idea what I'am  doing wrong?



  • 6. Re: JBoss7 modifySOAPAddress
    Phani Reddy V Newbie

    If you read the link I gave, in comments people have mentioned on how to find the corresponding libraries and fix it or else download JBoss 7.1.1 copy all jars from webservices directory and replace with the entry I have mentioned in one of my responses.

  • 7. Re: JBoss7 modifySOAPAddress
    Glauber Silva Newbie

    I faced the same problem in JBoss 7.1

    Apache (https) --> AJP --> JBoss 7.1

    In stadalone-ha.xml:


                <connector name="ajp" protocol="AJP/1.3" scheme="https" socket-binding="ajp" proxy-port="443" />


    It's possible use proxy-name property too in the connector

    It's possible use the properties in connector http too.


    Now, everything is ok:


    <soap:address location="https://rewrite-host-request-client:443/ws-xxx/ServiceWS"/>


    <subsystem xmlns="urn:jboss:domain:webservices:1.2"> I left default.