From: <ed...@wa...> - 2007-10-18 07:55:00
|
Hello, Thanks for the quick answer On 10/18/07, Christiaan Kortekaas <c.k...@li...> wrote: > Hi Edgars > > Does your Fez pass all it's sanity checks? That message about null pointer > exception when calling modifyDatastreamByValue leads me to think something > is wrong in your config.inc.php setup for the fedora api-m connection > variables. Yes, sanity check is ok, and I can successfully add the Generic Document object > Do you have something in your error_handler.log relating to the soap message > from fedora back to fez? You may have to bump config.inc.php error reporting > level up to 3 (stacktrace and params). [txt] => Array ( [0] => Array [1] => ( [2] => [0] => Error when calling modifyDatastreamByValue :java.lang.Exception: Uncaught exception from Fedora Server [3] => [1] => POST /fedora/services/management HTTP/1.0 [4] => Host: localhost:38080 [5] => Authorization: Basic ZmVkb3JhQWRtaW46ZmVkb3JhQWRtaW4= [6] => User-Agent: NuSOAP/0.7.2 (1.95) [7] => Content-Type: text/xml; charset=ISO-8859-1 [8] => SOAPAction: "" [9] => Content-Length: 1124 [10] => [11] => <?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema -instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns3462:modifyDatastreamByValue xmlns:ns3462="http://tempuri.or g"><PID xsi:type="xsd:string">lnb-digi:12</PID><datastreamID xsi:type="xsd:string">FezMD</datastreamID><altIDs xsi:type="SOAP-ENC:Array" SOAP-ENC:ar rayType="xsd:anyType[0]"></altIDs><dsLabel xsi:type="xsd:string">Fez extension metadata</dsLabel><mimeType xsi:type="xsd:string">text/xml</mimeType> <formatURI xsi:type="xsd:string">unknown</formatURI><dsContent xsi:type="xsd:base64Binary">PEZlek1EIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9Y TUxTY2hlbWEiPgogIDxzdGFfaWQ+Mjwvc3RhX2lkPgo8L0Zlek1EPg==</dsContent><logMessage xsi:type="xsd:string">Modifying datastream from Fez</logMessage><for ce xsi:type="xsd:boolean">true</force></ns3462:modifyDatastreamByValue></SOAP-ENV:Body></SOAP-ENV:Envelope> [12] => ) [13] => ) [script] => include/class.fedora_api_2_2.php [line] => 1040 But I do have errors regarding lnb-digi:12 already before this: it's the same - [0] => The PID lnb-digi:12 does not have an display id (FezMD->xdis_id). This object is currently in an erroneous state. Thanks, Edgars |