You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Table of Contents

Hello!

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:

public Datastream getDatastream(String pid, String dataStreamId, String asOfDateTime) {
        Datastream result = null;
        try

Unknown macro: { // Call Web Service Operation            result = port.getDatastream(pid, dataStreamId, asOfDateTime);        }

catch (Exception ex)

Unknown macro: {            ex.printStackTrace();        }

        return result;
    }

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?

thanks!

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels