aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 39547
Generally you'd use a SOAP stack like Metro or Axis-2.

Ping & DNS - updated with new look and Ping home screen widget
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
Similar Threads
help on SOAP
Truncation of Data
soap change prefix for response
InvocationTargetException when transferring a custom class in inheritance
How to get SOAP response as XML in Client Struts or Servlet. ?