Results 1 to 4 of 4

Thread: airline simple

  1. #1
    Join Date
    Dec 2008
    Location
    Cameroun (Africa)
    Posts
    1

    Default 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. #2

    Default

    These classes will be generated automatically by xjc (JAXB2) when you build the project.
    Tareq Abedrabbo

    My Twitter
    My Blog

  3. #3
    Join Date
    Jun 2009
    Posts
    1

    Default

    i still not know how to do this?

  4. #4
    Join Date
    Jul 2009
    Location
    Hyderabad India
    Posts
    56

    Default

    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.

Posting Permissions

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