From: "Wagh, Shrikant" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> CC: "Wagh, Shrikant" <[EMAIL PROTECTED]> Subject: RE: return type of an XML doc ? Date: Fri, 30 Jan 2004 12:50:22 -0600
Hi Chris,
If your service has to return the XML document then you can choose to return the DOM object. But in WSDL type you will have to specify the response message->part->element type as xsd:anyType.
Hope this helps.
Good luck. Shrikant Wagh HPP/eProfile QA Lead, HP
For those who are interested in Web Services testing: ----------------------------------------------------- I found that WebServiceTester from Optimyz software is a very good tool for testing any types of web services, and I'm great fan of this tool. It supports all types of web services, and all simple and complex types and it very usable than any other tool in the market I ever used/evaluated. It automatically generates the SOAP requests and invokes the intended web services. It can perform functional, regression and load testing of web services. Result analysis and status reporting is just wonderful. I'll highly recommend this tool for testing web services, saves lots of time and efforts in testing web services. For more information visit http://www.optimyz.com.
DISCLAIMER ================================================================ THESE ARE MY PERSONAL VIEWS/OPINIONS AND DOES NOT REPRESENT HP, AND THE INFORMATION PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE I/HP BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS INFORMATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. =================================================================
-----Original Message----- From: christopher justin [mailto:[EMAIL PROTECTED] Sent: Friday, January 30, 2004 10:11 AM To: [EMAIL PROTECTED] Subject: return type of an XML doc ?
I need to return a list of customer records from a database and preferrably that list be a XML document itself. I understand the Bean Serialization
when needing complex types, but has anyone had to return an XML document
itself as a result ?
I am wondering the best approach for returning an XML document - is it concidered a complex type that I need to serialize some how, or is there
underlying functionality in Axis that will simply allow me to return a Document type as a result? I want to avoid SOAP attachements if at all possible.
Thanks for any ideas all...
chris
_________________________________________________________________ Let the new MSN Premium Internet Software make the most of your high-speed experience. http://join.msn.com/?pgmarket=en-us&page=byoa/prem&ST=1
_________________________________________________________________
High-speed users�be more efficient online with the new MSN Premium Internet Software. http://join.msn.com/?pgmarket=en-us&page=byoa/prem&ST=1
