Results 1 to 3 of 3

Thread: Generating service from WSDL

  1. #1
    Join Date
    Oct 2012
    Posts
    21

    Question Generating service from WSDL

    I have a WSDL that was implemented in a different language now I need to implement it in Spring. How do I go about generating the classes from the WSDL?

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,630

    Default

    You don't generate... I suggest a read of the Spring WS reference guide...

    You only generate the domain classes with jaxb everything else you don't generate (webservice client etc).
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  3. #3
    Join Date
    Oct 2012
    Posts
    21

    Angry

    Yea, I did read the Chapter 3. Writing Contract-First Web Services. It said:

    3.4. Service contract
    A service contract is generally expressed as a WSDL file. Note that in Spring-WS, writing the WSDL by hand is not required. Based on the XSD and some conventions, Spring-WS can create the WSDL for you, as explained in the section entitled Section 3.6, “Implementing the Endpoint”. You can skip to the next section if you want to; the remainder of this section will show you how to write your own WSDL by hand.
    I am simply not seeing anything that starts out with: so you have a WSDL from XYZ company and you need to implement a web service for the WSDL. This is how you do it...

    Best I have found so far is Axis2/Java.

Posting Permissions

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