Return-Path: Delivered-To: apmail-xml-axis-user-archive@xml.apache.org Received: (qmail 10793 invoked by uid 500); 13 Aug 2002 23:55:15 -0000 Mailing-List: contact axis-user-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@xml.apache.org Delivered-To: moderator for axis-user@xml.apache.org Received: (qmail 75779 invoked from network); 9 Aug 2002 01:34:24 -0000 Reply-To: From: "Chris Haddad" To: , Subject: RE: Very newbie cuestion about soap Date: Thu, 8 Aug 2002 21:27:15 -0400 Organization: Cobia Communications Message-ID: <000201c23f43$e5208e70$9865fea9@GLENLIVET> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <44BE84226A52804F9288851E2BC4F286072620@exchange.nht-norwick.loc> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: Enrique =E2=80=93 it=E2=80=99s all just a string =E2=98=BA The serialization/deserialization feature incorporated by SOAP platforms = provides the ability to convert object instances into XML, and then = convert the XML document into native objects without writing a lick of = code. If the data is going to hit the business layer as objects, then using = the platform to hydrate the objects saves a bunch of hand-coding. =20 If the data is being manipulated by XML tools (on either side of the = databridge) and stays in native form, then passing an XML document (as a = string or by using document messaging) is more appropriate. /Chris -----Original Message----- From: Enrique Rodr=C3=ADguez [mailto:erodriguez@nht-norwick.net]=20 Sent: Thursday, August 08, 2002 8:44 AM To: axis-user@xml.apache.org Subject: Very newbie cuestion about soap I'm starting using SOAP and i have one doubt.=20 If I have to transfer an xml through SOAP, what is better, send it as = String, or create a data structure with beans, and transfer it to xml = with SOAP?? The xml file standar, it have a DTD that various companies use to = transfer information. Actuilly this files were send by email, and we = like to do a web service that all clients could invoke to obtain the = information. I think that if i send de xml as String, all the clients have to read it = as an XML file, but if I send this information as a JaveBean tranlated = to SOAP, coul be easier for new users of the system, because they don't = read XML, they only have the DATA. Any ideas???=20 Am I clear??=20 Regards, Enrique.=20