[jboss-user] [JBossWS] - Re: JbossWS 1.2 and JBossWS 1.0.4 Generates Diff URLs For Sa

sursha do-not-reply at jboss.com
Thu Mar 15 14:06:37 EDT 2007


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")



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028478#4028478

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028478



More information about the jboss-user mailing list