Return-Path: Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 26298 invoked by uid 500); 25 Jul 2003 21:22:06 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 26286 invoked from network); 25 Jul 2003 21:22:05 -0000 Subject: How to return an XML as a complex type (xsdl) From: Hengel Zambrano Reply-To: hengelz@newbreak.com To: axis-user@ws.apache.org Content-Type: text/plain Organization: Newbreak, LLC. Message-Id: <1059168130.9993.18.camel@linux0016> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 25 Jul 2003 17:22:11 -0400 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I'm writting a webservice which returns a complex type. This complex type is a XML document in the service side since my web service is a wrapper to the server which build XML files. I can't return the XML as a org.w3c.dom.Element because the client who is going to consume the service doesn't know anything about that class. I need to add a reference to a type using xsd in the wsdl (which i already did) What should I do to return the XML document as a custom type specified in the wsdl ? What is a better solution: SOAP-RPC, SOAP-MSG ? I'm using AXIS. Thanks a lot for the help. --