Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

XML as a String

  Asked By: Ashan    Date: Feb 08    Category: Java    Views: 486
  

I am developing a Java application to exchange xml files with some
other applications that could include JAVA and .NET.

I would like to receive and return an XML with all its tags in a String.
I have built the Document in a DOM an then I want to convert it into a
String as you see in the folowing example:

public String MyWebService (String parameter) {
}

I have installed the Apache SOAP.


Could I return an Element with .NET applications like this: ?
public Element MyWebService (Element parameter)
{}

If this is possible, should I register any serializer in the
Descriptor.xml of the Apache SOAP ?

Could you give me an example.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on XML as a String Or get search suggestion and latest updates.




Tagged: