Results 1 to 2 of 2

Thread: Accessing web services using JAX-WS

  1. #1
    Join Date
    Mar 2007
    Posts
    561

    Default Accessing web services using JAX-WS

    Hi,

    the docs say:

    "NOTE: The above is slightly simplified in that JAX-WS requires endpoint interfaces and implementation classes to be annotated with @WebService, @SOAPBinding etc annotations. This means that you cannot (easily) use plain Java interfaces and implementation classes as JAX-WS endpoint artifacts; you need to annotate them accordingly first. Check the JAX-WS documentation for details on those requirements."

    http://static.springframework.org/sp...s-jaxws-access

    Where can I find a complete sample how to access a WS with Spring?

    Thank you.

  2. #2
    Join Date
    Jun 2007
    Location
    Switzerland
    Posts
    6

    Default

    Hi
    If you use the wsimport tool you get a lot of needed classes generated based on the wsdl. So then you can use the service calls like in a normal class (service.getCallxy().

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •