[jboss-user] [JBoss Web Services] - 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 do-not-reply at jboss.com
Fri Feb 22 09:12:42 EST 2013


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&quot;/ 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&quot;/ 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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130222/ddb9a3e4/attachment.html 


More information about the jboss-user mailing list