1 Reply Latest reply on Nov 7, 2008 8:07 AM by Alessio Soldano

    Diff. between @WebService(name=... and @WebService(endpointI

    Peter Steiner Newbie

      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:


      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?