Im trying out webservice calls (SOAP) to a fedora server. Right now I'm trying to get a certain Datastream through a method that looks like this:
result = port.getDatastream(pid, dataStreamId, asOfDateTime);
This returns a Datastream object... however I don't know what do do with it next... For example, this is a piece of XML. How can I print it as a String?