arjun e
2013-02-22 14:12:42 UTC
arjun e [https://community.jboss.org/people/edimukc] created the discussion
"WebServices migration from Jboss 5 to Jboss 7.1.1 final (change in location attribute of soap:address tag) in generated wsdl file"
To view the discussion, visit: https://community.jboss.org/message/799082#799082
--------------------------------------------------------------
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"/ 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/jbossservices/actservice"/ 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
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/799082#799082]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
"WebServices migration from Jboss 5 to Jboss 7.1.1 final (change in location attribute of soap:address tag) in generated wsdl file"
To view the discussion, visit: https://community.jboss.org/message/799082#799082
--------------------------------------------------------------
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"/ 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/jbossservices/actservice"/ 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
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/799082#799082]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]