aspose file tools*
The moose likes Web Services and the fly likes SOAP XML - host web service returns more than one xml element Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAP XML - host web service returns more than one xml element " Watch "SOAP XML - host web service returns more than one xml element " New topic
Author

SOAP XML - host web service returns more than one xml element

Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
Can you tell me the equivalent(as of RESTful xml) if I have a SOAP XML WEB SERVICE, that the host web service returns more than one xml element all of same type(same children) to the consumer web service web client?




Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
please answer asap!
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

Be patient.

It looks like you are returning multiple children, so what's the problem??

Why are you confusing REST with SOAP?

Post some sample XML if you want help.

WP
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

Be patient.

It looks like you are returning multiple children, so what's the problem??

Why are you confusing REST with SOAP?

Post some sample XML if you want help.

WP
Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
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 xml all available seat types table and return it, and process by WSs client?

I tried return STRING rather BOOLEAN, all this seat table(comma delimiter) success, well you have and ready made simple code for many in xml file?

JAXB.marshal / JAXB.unmarshal these exist in SOAP?
Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
please reply asap... this prior change subject in my Reading sequence... any ready made script WSs/Java/SOAP/XML:many Children return/exchange....
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: SOAP XML - host web service returns more than one xml element