-
1. Re: JbossWS 1.2 and JBossWS 1.0.4 Generates Diff URLs For Sa
heiko.braun Mar 15, 2007 7:48 AM (in response to joshlam)You can specify the actual URL within jboss-web.xml
-
2. Re: JbossWS 1.2 and JBossWS 1.0.4 Generates Diff URLs For Sa
sursha Mar 15, 2007 2:06 PM (in response to joshlam)Hi,
I noticed 2 differences between jbossws 1.0.4GA and 1.2.0GA
I have the following annotations to expose an EJB3 as a web service. In 1.0.4GA, the generated url is http://host:8080/svc-rptv1.1/MyService1.1
and in 1.2.0 GA the generated URL is http://whittier:8080/svc-rptv1-svc-rptv1/MyService
In 1.2, I read about @PortComponent being replaced with @WebContext and @EndpointConfig
I dont have much information about how to replace them. Also why the big differences?
Can someone shed some light??
@WebService(name="MyServiceEndPoint",
targetNamespace="urn:v1.MyService.services.mycompany.com", serviceName="MyService1.1")
@SOAPBinding(style=SOAPBinding.Style.DOCUMENT,use=SOAPBinding.Use.LITERAL)
@Stateless
@PortComponent(transportGuarantee="NONE",contextRoot="/svc-rptv1.1",urlPattern="/MyService1.1")