File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "how to build a soap response" Watch "how to build a soap response" New topic
Author

how to build a soap response

Helen Ross
Greenhorn

Joined: Feb 23, 2012
Posts: 13
Hi

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

Thanks in advance.
Ulf Dittmer
Marshal

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


Ping & DNS - my free Android networking tools app
Helen Ross
Greenhorn

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: http://aspose.com/file-tools
 
subject: how to build a soap response
 
Similar Threads
Truncation of Data
help on SOAP
InvocationTargetException when transferring a custom class in inheritance
soap change prefix for response
How to get SOAP response as XML in Client Struts or Servlet. ?