This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes can we get output as xml file when we run the client webservice program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "can we get output as xml file when we run the client webservice program" Watch "can we get output as xml file when we run the client webservice program" New topic
Author

can we get output as xml file when we run the client webservice program

Suresh Bellala
Greenhorn

Joined: Jun 06, 2012
Posts: 2
Hi to all,

i am new in web services.

when we create wsdl file from web service server program then we access that wsdl file in client program.
but when we run the client web service program can we get the output as xml..

please help me.

thanks and regards,
suresh.
Alan Macfarlanes
Greenhorn

Joined: Jun 01, 2012
Posts: 6
Hi Suresh,

Do you mean you want to trace the SOAP request that is sent to the webservice from the client application?

Regards
Alan
Suresh Bellala
Greenhorn

Joined: Jun 06, 2012
Posts: 2
Hi alan,

Not for trace, if we execute web service client application we getting output right?

that output can we get as xml file.

i have to use that xml file in linux box to get output.
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 860

SOAP is XML

If you want "pure" XML, without the SOAP envelope, then you should consider REST or trap the SOAP XML
and strip everything except the <response> and pass that on to the client program to process.

WP
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: can we get output as xml file when we run the client webservice program
 
Similar Threads
Conversion of message to SOAP in web service
How to change the name of the binding element in wsdl file ?
How to change the name of the binding element in wsdl file ?
Web Services Doubts to Clarify
Web service and friendly URL.