Discussion:
[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
2013-02-22 14:12:42 UTC
Permalink
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]
Viral Gohel
2013-04-05 13:10:07 UTC
Permalink
Viral Gohel [https://community.jboss.org/people/vrlgohel] created the discussion

"Re: 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/806688#806688

--------------------------------------------------------------
You might want to refer this,  https://community.jboss.org/docs/DOC-17428 https://community.jboss.org/wiki/JBossWS4MigrationGuide
especially the JBossWS sections and the jboss-webservices.xml descriptors.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/806688#806688]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
Loading...