Results 1 to 3 of 3
  1. #1
    lse123 is offline Senior Member
    Join Date
    Oct 2008
    Posts
    116
    Rep Power
    0

    Default SOAP WSs-know to handle only a simple xml file with SOAP that's,parent/one chil, many

    SOAP WSs
    I know to handle only a simple xml file with SOAP that's, one parent / one child,
    can you provide a sample of your code to be SOAP and has more than one child (same attributes/children) xml file,...

    My example is Airflight reservation with returns true/false(BOOLEAN) if available appropriate seat... how (and this try to do) to put to AN xml FILE, all available seat types table and return it[WSs SERVER), and process by WSs client?

    I tried return STRING rather BOOLEAN, all this seat table(comma delimiter) success but still single String not many children in xml..., well you have any ready made simple code for many in xml file?

    JAXB.marshal / JAXB.unmarshal these exist in SOAP?

  2. #2
    farrukh is offline Member
    Join Date
    Aug 2012
    Posts
    13
    Rep Power
    0

    Default Re: SOAP WSs-know to handle only a simple xml file with SOAP that's,parent/one chil,

    I can't say i completely understood what you are asking but Unless you have a good reason to avoid a WS framework like Apache Axis or CXF, i would suggest to go with a framework instead of marshalling and unmarshalling SOAP messages manually. You can find tons of online tutorials on these frameworks. Hope that helps

  3. #3
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,016
    Rep Power
    20

    Default Re: SOAP WSs-know to handle only a simple xml file with SOAP that's,parent/one chil,

    Or learn XML, SOAP and how to write a WSDL.
    Then use Axis/whatever to generate the base server code (and objects).
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. java and soap
    By UlliVonPulli in forum Networking
    Replies: 0
    Last Post: 08-31-2011, 03:45 PM
  2. SOAP Exception
    By abhilashkp in forum Advanced Java
    Replies: 0
    Last Post: 01-24-2011, 12:46 PM
  3. Replies: 1
    Last Post: 10-25-2010, 06:54 PM
  4. SOAP application with File Attachment
    By Ajitha in forum New To Java
    Replies: 0
    Last Post: 10-08-2010, 04:56 AM
  5. Help with a SOAP message
    By higashij in forum Java Servlet
    Replies: 3
    Last Post: 01-14-2010, 08:52 AM

Posting Permissions

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