Results 1 to 4 of 4

Thread: Steps to implement 3rd-party WSDL endpoint?

  1. #1

    Default Steps to implement 3rd-party WSDL endpoint?

    Hello.

    What is prefered way to implement or connect to as client to some 3rd-paty web service which is defined by XSD and its WSDL?

    Lets' say this 3rd party published WSDL and XSD for its web service. I know I can use O/X marshalling generator libraries such as JAXB to create classes from some XSD, but what with WSDL since I cannot see any wsdl2java generator?
    Should I read manually this WSDL so to find out what are URLs like where I should connect to (client), and also read it so to know on what URLs I should publish some operations/ports when wanting to implement this web service (server) ?

    Regards,
    Vjeran

  2. #2

    Default

    Just to make myself clear - is it necessary to read manually this WSDL, so to find out URLs and information about ports/operations where I should publish this WSDL-defined service?

    Regards,
    Vjeran

  3. #3
    Join Date
    Jul 2007
    Posts
    14

    Smile Generating client classes using soapUI

    Hi

    Find here some solution for generating the client classes.

    using soapUI(available as a plugin for eclipse) you can generate client classes from WSDL files.Here you can find so many options such as using Axis,JAXB,JBOSS and so many.

    I think you can easily do this

    regards,
    muralidhar.b

  4. #4
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    For now, you have to manually extract the xsd:schema part from the wsdl, and feed it to a code generator like JAXB's xjc. And the url has to be extracted as well, to use as the defaultUri property of the WebServiceTemplate.

    We might improve this in the future, but for now that's the way it works.
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

Posting Permissions

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