Yes you got my question correct.. My client will be non - java too..
But I am of the impression that SOAP's underlying layer converts every thing
to XML then why we explitly do it.. Am I missing some concept here ?


-----Original Message-----
From: Wilkins, Craig [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 11:08 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Which is better design 


Are you asking if it is better to return a Java Object or an XML Element?

If so, are you ever going to have non-Java clients to this service?  If so,
you are better returning the XML.

If your clients are all Java, then it will be easier to work with a Java
Object on the client side than it is to work with XML objects.




-----Original Message-----
From: Khamesra, SandeepX [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 1:57 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: Which is better design 


        Guys,
        I need some of your advice and suggestion..

        If I need to return a set of information from a java service  and
this information is scattered in different java classes.. Which is better 
        Get all the information from all the classes and formulate a XML and
return single XML element from the function or return one big object and
SOAP serializes it to XML data ..


        I would appreciate your help..

Reply via email to