[jboss-user] [JBossWS] - Diff. between @WebService(name=... and @WebService(endpointI

pxstein do-not-reply at jboss.com
Thu Nov 6 04:43:15 EST 2008


Diff. between @WebService(name=... and @WebService(endpointInterface=...  ?

In several tutorials I found different ways of defining a WebService with
annotated Java classes. In some samples web services are annotated like:

@javax.jws.WebService(endpointInterface="aaa)

while others declare them as:

@WebService(name = "bbb", targetNamespace = "http://......")

What is the difference?

Are these declarations Framework specific (Axis vs. JAX-WS) ?
Or are these declarations valid for ALL kind of web services?

Peter

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

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



More information about the jboss-user mailing list