1 Reply Latest reply on Feb 25, 2013 4:40 AM by nickarls

    WebServices migration from Jboss 5 to Jboss 7.1.1 final (change in location attribute of soap:address tag) in generated wsdl file

    edimukc

      Hi All,

       

      I am migrating application from Jboss 5 to Jboss 7.1.1 final (involves webservices).

       

       

      In Jboss 5

      ---------------

       

      Java file contains following lines in the code

       

      import org.jboss.wsf.spi.annotation.WebContext;

       

        @WebContext(contextRoot = "/act/jbossservices/", urlPattern="/actservice")

       

      public class actt{

       

      }

       

       

      and the soap: address gets created in the wsdl file as

       

         <soap:address location="http://127.0.0.1:8080/act/jbossservices/actservice"/> because

       

      location attribute value is generated depending on contextRoot + urlPattern mentioned in the code (@WebContext(contextRoot = "/act/jbossservices/", urlPattern="/actservice"))

       

       

      In Jboss 7.1.1 final

      ---------------------------

       

      when I ran the above code  In Jboss 7.1.1 final, soap:address gets created like this

       

         <soap:address location="http://127.0.0.1:8080/act/ActServiceEjbImpl"/>

       

      It is not taking the values mentioned in the code  as like (@WebContext(contextRoot = "/act/jbossservices/", urlPattern="/actservice"))

       

       

      How do I  Configure Jboss 7.1.1 final to generate the location attribute information from the values mentioned in the code.

       

      Thanks for your help in advance