From: Tony C. <ton...@uc...> - 2006-06-27 15:56:18
|
Hi, We've created our own XSD source and display, with the help of Matthew Smith (Thanks Matthew by the way), but we're having some problems when we try to enter the metadata into the form to create a record. When we submit the form we get the message below, I'm sure it's something simple but we can't seem to see what's going wrong. We would be grateful for any assistance that could be provided. Thanks, Tony. ERROR: Array ( [0] => Array ( [faultcode] => soapenv:Server.userException [faultstring] => fedora.server.errors.ObjectValidityException: DOValidatorXMLSchema returned validation exception. The underlying exception was a org.xml.sax.SAXException. The message was "URI=null Line=2: cvc-elt.1: Cannot find the declaration of element 'Chapter1MD'." [detail] => Array ( [hostname] => irserver ) ) [1] => _____ Debug Information Request: POST /fedora/services/management HTTP/1.0 Host: xxxxx.ucd.ie:8080 Authorization: Basic ZmVkb3JhQWRtaW46ZmVkb3JhMTI= User-Agent: NuSOAP/0.7.2 (1.95) Content-Type: text/xml; charset=ISO-8859-1 SOAPAction: "" Content-Length: 1370 foxml1.0Fedora Object ingested PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxDaGFwdGVyMU1EIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53 My5vcmcvMjAwMS9YTUxTY2hlbWEiPgogIDxyZXNlYXJjaF9wcm9ncmFtPnNmPC9yZXNlYXJjaF9w cm9ncmFtPgogIDxzdWJtaXR0aW5nX2F1dGhvcj5zZGY8L3N1Ym1pdHRpbmdfYXV0aG9yPgogIDxz dWJtaXR0aW5nX2F1dGhvcl9hZmZpbGlhdGlvbj5zZjwvc3VibWl0dGluZ19hdXRob3JfYWZmaWxp YXRpb24+CiAgPGNoYXB0ZXJfdGl0bGU+c2RmPC9jaGFwdGVyX3RpdGxlPgogIDxwYWdlX251bWJl cnM+c2RmPC9wYWdlX251bWJlcnM+CiAgPGJvb2tfdGl0bGU+c2RmPC9ib29rX3RpdGxlPgogIDxl ZGl0b3I+c2RmPC9lZGl0b3I+CiAgPGVkaXRpb24+c2RmPC9lZGl0aW9uPgogIDxzZXJpZXM+c2Rm PC9zZXJpZXM+CiAgPHBsYWNlX29mX3B1YmxpY2F0aW9uPnNkZjwvcGxhY2Vfb2ZfcHVibGljYXRp b24+CiAgPHB1Ymxpc2hlcl9uYW1lPnNkZjwvcHVibGlzaGVyX25hbWU+CiAgPHB1YmxpY2F0aW9u X2RhdGU+MjAwNi0wMS0wMTwvcHVibGljYXRpb25fZGF0ZT4KPC9DaGFwdGVyMU1EPg== Response: HTTP/1.1 500 Internal Server Error Content-Type: text/xml;charset=iso-8859-1 Date: Tue, 27 Jun 2006 15:13:02 GMT Server: Apache-Coyote/1.1 Connection: close Debug log: 2006-06-27 16:13:02.462952 soapclient_internal: instantiate SOAP with endpoint at http://xxxxx:xx...@xx...:8080/fedora/services/management 2006-06-27 16:13:02.463156 soapclient_internal: call: operation=ingest, namespace=http://tempuri.org, soapAction=, rpcParams=, style=rpc, use=encoded, endpointType=soap params=array(3) { [0]=> object(soapval)#33 (19) { ["name"]=> string(3) "XML" ["type"]=> string(12) "base64Binary" ... And it continues on with debug information. I've replaced the usernames and passwords x's. |