1 Reply Latest reply on Apr 5, 2013 9:10 AM by Viral Gohel

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

    arjun e Newbie

      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=""/> 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=""/>


      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