jboss7.x - Override endpoint URL using @WebServiceRef on EJB via XML in JBoss AS7.x -


in jboss 5, following:

@stateless public class myservicebean implements myservice {     @webserviceref(name = "services/mywebservice")     mywebport mywebservice;        ... } 

and override mywebservice endpoint url in jboss.xml:

<session>     <ejb-name>myservicebean</ejb-name>     <service-ref>         <service-ref-name>services/mywebservice</service-ref-name>         <service-impl-class>eg.mywebservice</service-impl-class>         <port-component-ref>             <service-endpoint-interface>eg.mywebport</service-endpoint-interface>             <stub-property>                 <prop-name>javax.xml.ws.service.endpoint.address</prop-name>                 <prop-value>http://some.url.here</prop-value>             </stub-property>         </port-component-ref>     </service-ref> </session> 

but in jboss 7, jboss.xml not used anymore , can't find how achieve same new configuration file jboss-ejb3.xml.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -