This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Web Services and the fly likes how to build a soap response Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "how to build a soap response" Watch "how to build a soap response" New topic

how to build a soap response

Helen Ross

Joined: Feb 23, 2012
Posts: 13

Can some one please give me some guidelines on how I would go about creating a SOAP response.

Thanks in advance.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42956
Generally you'd use a SOAP stack like Metro or Axis-2.
Helen Ross

Joined: Feb 23, 2012
Posts: 13
apologies for the delay in getting back to you. thank you for the information.

I am more looking how can I edit the display of values in the response.

I have a web service that sends out the data with firstname , middlename and lastname and it looks something like this

i want my soap response to fed back something like

but all i am getting is

Am I meant to be declaring something somewhere. I am currently returning them as a String Array.
Any help is greatly appreciated. I want to make it easier for the people that are implementing my system if they know what values things map to especially if they are getting "strange" values back. Or is the values I am getting back in my response acceptable?
I agree. Here's the link:
subject: how to build a soap response
It's not a secret anymore!