You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by "Khamesra, SandeepX" <sa...@intel.com> on 2001/06/20 17:55:05 UTC
Is this the correct design
Guys
I need to write a java function which accepts a parametr and returns the
data in the form of XML . Now this service is in Java. What dod you think is
the best design . out of these
public Element GetMyInfo(String name )
{
/* This function builds the XML based on some criter*/
}
or
public String GetMyInfo(String name )
{
/* Concatenate the string to give XML lok and return it */
}
Is there any better design .. This should be accessible for all types of
client using SOAP..