Announcement Announcement Module
No announcement yet.
Generating service from WSDL Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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).


    • #3
      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.