Announcement Announcement Module
Collapse
No announcement yet.
airline simple Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • airline simple

    hi i try to reimplement a simple airline with spring ws 1.5.6 in netbeans 6.7 i dont see the following code source classes ObjectFactory,Name,ServiceClass,Ticket,BookFlightR equest,Flight,GetFlightsRequest,
    GetFlightsResponse in package org.springframework.ws.samples.airline.schema please where can i get this package thank you

  • #2
    These classes will be generated automatically by xjc (JAXB2) when you build the project.

    Comment


    • #3
      i still not know how to do this?

      Comment


      • #4
        you can use JAXB to generate supporting classes from XSD. JAXB allows to map java classes to XML representaion. you can marshal java object to xml and unmarshal xml to java object.

        you can download JAXB. And use the following

        %JAXB_HOME%\bin\xjc.bat -d . -p <target-package> <path to xsd schema>

        This would generate classes using the XSD and you can use them in the end points.

        Comment

        Working...
        X