We at our library in Latvia have chosen FEZ 1.2 + Fedora2.1 due to the ability to
create new XSD schemas. But we desperately need an advice in schema
development.
The problem currently is that we are anaware how to tell Fez to recognize the
top element structure, to let create input form and ingest values into Fedora.
The XSD schema created by me validates in XMLSpy v2007 rel.3 but ... Fez shows
only the top level elements without their underlaying structure.
The schema in question is constructed in such a manner:
xmlns:lndbdccProf="http://www.lndb.lv/profile"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:dcmitype="http://purl.org/dc/dcmitype/"
xmlns:mods="http://www.loc.gov/mods/v3"
xmlns:tel="http://krait.kb.nl/coop/tel/handbook/telterms.html"
xmlns:lndbdcc="http://www.lndb.lv/types"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
elementFormDefault="qualified" attributeFormDefault="unqualified"
...
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
<xs:import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="http://dublincore.org/schemas/xmls/qdc/2006/01/06/dc.xsd"/>
<xs:import namespace="http://purl.org/dc/terms/" schemaLocation="http://dublincore.org/schemas/xmls/qdc/2006/01/06/dcterms.xsd"/>
<xs:import namespace="http://www.loc.gov/mods/v3" schemaLocation="http://www.loc.gov/standards/mods/mods.xsd"/>
...
<xs:element name="lndbobject" type="lndbdcc:LNDBobjectMD"/>
...
<xs:complexType name="LNDBobjectMD">
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element ref="dc:title"/>
<xs:element ref="dcterms:alternative"/>
<xs:element ref="lndbdcc:subjectUDC"/>
...
The new schema is needed to support instance documents containing elements from
several namespaces.
Instance documents should look like this:
<dc:title xml:lang="en">My book title</dc:title>
<dcterms:issued>2006</dcterms:issued>
<mods:location>My library’s location</mods:location>
<tel :recordId
xsi:type="dcterms:URI">http://link_to_record_in_original_website/123456xyz.html</
tel :recordId>
<local:libraryMetadata1>Local value 1<local:libraryMetadata1>
…
Any advice about XSD schema creation containing several namespaces for Fez would
be appreciated,
Uldis Straujums
Information Systems Designer
National Library of Latvia
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I do not know If you have resolved the problem.
In the error you send I noticed the line:
"The prefix "dc" for element "dc:title" is not bound"
This means that you have to declare the namespaces prefixes when you add the XSD source. Have you done that?
Is it possible to send the whole error_handel.log file in order to see more specific the errors?
Best regards,
Kostas Stamatis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to do exactly the same with you, import a new content model in Fez that supports elements from several namespaces. I get the same error, that is "Fez shows only the top level elements without their underlaying structure".
My guess is that Fez cannon read the elements that reference to other XSDs. So, what I have done is the following:
1) Create an xsd file that has all the elements that you want to define by yourself (not the ones from dc or dcterms).
2) Create anotehr xsd that has only elements that reference the dc, dcterms and yours.
3) You should have something like that:
...
<xs:element ref="dc:contributor"/>
<xs:element ref="dc:publisher"/>
<xs:element ref="dcterms:created"/>
<xs:element ref="dc:identifier"/>
<xs:element ref="dcterms:bibliographicCitation"/>
<xs:element ref="pan:researchTitle"/>
....
Since Fez cannot read the ref elements, add the following lines in the XSD (it will not validate with XMLSpy)
...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Since Fez cannot read the ref elements, add the following lines in the XSD (it will not validate with XMLSpy)
...
<xs:element name="dc:contributor"/>
<xs:element name="dc:publisher"/>
<xs:element name="dcterms:created"/>
<xs:element name="dc:identifier"/>
<xs:element name="dcterms:bibliographicCitation"/>
<xs:element name="pan:researchTitle"/>
...
(pan is from another namespace that dc and dcterms.
So, now you will be able to see these elements and the XSD element structure!
This is what Fez does in the contect model names "OAI DC". If you see, there are elements that reference to DC but there are also the same elements in order for FEZ to read them.
This is my understanding. Hope it helps!
Regards,
Kostas Stamatis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the suggestion to apply Fez content model "OAI_DC" approach.
Actually I have already tried to do this but unsuccessfully. Today I repeated the process and got the same error message - The prefix "dc" for element "dc:title" is not bound. The detailed debug information follows.
Any ideas how to ingest custom records into Fedora using Fez are very appreciated!
Best regards,
Uldis Straujums
----------------------------------------------Debug information
ERROR: Array ( [0] => Array ( [faultcode] => soapenv:Server.userException [faultstring] => fedora.server.errors.ObjectValidityException: org.xml.sax.SAXParseException: The prefix "dc" for element "dc:title" is not bound. [detail] => Array ( [hostname] => 159.148.149.162 ) ) [1] => Debug Information
Request: POST /fedora/services/management HTTP/1.0 Host: localhost:8080 Authorization: Basic ZmVkb3JhQWRtaW46TjR2NHI0c2s4 User-Agent: NuSOAP/0.7.2 (1.95) Content-Type: text/xml; charset=ISO-8859-1 SOAPAction: "" Content-Length: 962 <?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><ns6455:ingest xmlns:ns6455="http://tempuri.org"><XML xsi:type="xsd:base64Binary">PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxsbmRib2JqZWN0IHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiPgogIDxkYzp0aXRsZT50aXRsZTE8L2RjOnRpdGxlPgogIDxsbmRiOnN1YmplY3RVREM+c3ViamVjdHVkYzE8L2xuZGI6c3ViamVjdFVEQz4KICA8bW9kczptb2RzPm1vZHMxPC9tb2RzOm1vZHM+CiAgPHRlbDpyZWNvcmRzY2hlbWE+cmVjb3Jkc2NoZW1hMTwvdGVsOnJlY29yZHNjaGVtYT4KPC9sbmRib2JqZWN0Pg==</XML><format xsi:type="xsd:string">foxml1.0</format><logMessage xsi:type="xsd:string">Fedora Object ingested</logMessage></ns6455:ingest></SOAP-ENV:Body></SOAP-ENV:Envelope>Response: HTTP/1.1 500 Internal Server Error Content-Type: text/xml;charset=iso-8859-1 Date: Wed, 23 Jan 2002 04:39:46 GMT Server: Apache-Coyote/1.1 Connection: close <?xml version="1.0" encoding="ISO-8859-1"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>fedora.server.errors.ObjectValidityException: org.xml.sax.SAXParseException: The prefix &quot;dc&quot; for element &quot;dc:title&quot; is not bound.</faultstring><detail><ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">159.148.149.162</ns1:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>Debug log:
2002-01-23 06:39:47.361022 soapclient_internal: faultstring = fedora.server.errors.ObjectValidityException: org.xml.sax.SAXParseException: The prefix "dc" for element "dc:title" is not bound.
) /usr/local/www/data-dist/fez/include/class.fedora_api.php 785ERROR: title1 subjectudc1 mods1 recordschema1 /usr/local/www/data-dist/fez/include/class.record.php 1074ERROR: Array ( [0] => Array ( [faultcode] => soapenv:Server.userException [faultstring] => fedora.server.errors.ObjectNotInLowlevelStorageException: no path in db registry for [vitolsproj:676][detail] => Array ( [hostname] => 159.148.149.162 ) ) [1] => Debug Information
Request: POST /fedora/services/management HTTP/1.0 Host: localhost:8080 Authorization: Basic ZmVkb3JhQWRtaW46TjR2NHI0c2s4 User-Agent: NuSOAP/0.7.2 (1.95) Content-Type: text/xml; charset=ISO-8859-1 SOAPAction: "" Content-Length: 582 <?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><ns5148:getDatastreams xmlns:ns5148="http://tempuri.org"><pid xsi:type="xsd:string">vitolsproj:676</pid><asOfDateTime xsi:nil="true"/><dsState xsi:nil="true"/></ns5148:getDatastreams></SOAP-ENV:Body></SOAP-ENV:Envelope>Response: HTTP/1.1 500 Internal Server Error Content-Type: text/xml;charset=iso-8859-1 Date: Wed, 23 Jan 2002 04:39:46 GMT Server: Apache-Coyote/1.1 Connection: close <?xml version="1.0" encoding="ISO-8859-1"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>fedora.server.errors.ObjectNotInLowlevelStorageException: no path in db registry for [vitolsproj:676]</faultstring><detail><ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">159.148.149.162</ns1:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>Debug log:
2002-01-23 06:39:47.433399 soapclient_internal: instantiate SOAP with endpoint at http://fedoraAdmin:N4v4r4sk8@localhost:8080/fedora/services/management
2002-01-23 06:39:47.433750 soapclient_internal: call: operation=getDatastreams, namespace=http://tempuri.org, soapAction=, rpcParams=, style=rpc, use=encoded, endpointType=soap
params=array(3) { ["pid"]=>
string(14) "vitolsproj:676" ["asOfDateTime"]=>
NULL ["dsState"]=>
NULL
}
headers=bool(false)
2002-01-23 06:39:47.434045 soapclient_internal: serializing param array for operation getDatastreams
2002-01-23 06:39:47.434285 soapclient_internal: in serialize_val: name=pid, type=, name_ns=, type_ns=, use=encoded
value=string(14) "vitolsproj:676"
attributes=bool(false)
2002-01-23 06:39:47.434611 soapclient_internal: in serialize_val: name=asOfDateTime, type=, name_ns=, type_ns=, use=encoded
value=NULL
attributes=bool(false)
2002-01-23 06:39:47.434906 soapclient_internal: in serialize_val: name=dsState, type=, name_ns=, type_ns=, use=encoded
value=NULL
attributes=bool(false)
2002-01-23 06:39:47.435167 soapclient_internal: wrapping RPC request with encoded method element
2002-01-23 06:39:47.435414 soapclient_internal: In serializeEnvelope length=185 body (max 1000 characters)=vitolsproj:676 style=rpc use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
2002-01-23 06:39:47.435626 soapclient_internal: headers:
bool(false)
2002-01-23 06:39:47.435855 soapclient_internal: namespaces:
array(0) {
}
2002-01-23 06:39:47.436148 soapclient_internal: endpoint=http://fedoraAdmin:N4v4r4sk8@localhost:8080/fedora/services/management, soapAction=, namespace=http://tempuri.org, style=rpc, use=encoded, encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
2002-01-23 06:39:47.436368 soapclient_internal: SOAP message length=582 contents (max 1000 bytes)=vitolsproj:676
2002-01-23 06:39:47.436616 soapclient_internal: transporting via HTTP
2002-01-23 06:39:47.440169 soapclient_internal: sending message, length=582
2002-01-23 06:39:47.436901 soap_transport_http: scheme = http
2002-01-23 06:39:47.437118 soap_transport_http: host = localhost
2002-01-23 06:39:47.437335 soap_transport_http: port = 8080
2002-01-23 06:39:47.437548 soap_transport_http: user = fedoraAdmin
2002-01-23 06:39:47.437765 soap_transport_http: pass = N4v4r4sk8
2002-01-23 06:39:47.437979 soap_transport_http: path = /fedora/services/management
2002-01-23 06:39:47.438216 soap_transport_http: set Host: localhost:8080
2002-01-23 06:39:47.438451 soap_transport_http: Set credentials for authtype basic
2002-01-23 06:39:47.438698 soap_transport_http: set Authorization: Basic ZmVkb3...
2002-01-23 06:39:47.438959 soap_transport_http: set User-Agent: NuSOAP/0.7.2 (1.95)
2002-01-23 06:39:47.439191 soap_transport_http: set Content-Type: text/xml; charset=ISO-8859-1
2002-01-23 06:39:47.439408 soap_transport_http: set SOAPAction: ""
2002-01-23 06:39:47.439632 soap_transport_http: Set credentials for authtype basic
2002-01-23 06:39:47.439949 soap_transport_http: set Authorization: Basic ZmVkb3...
2002-01-23 06:39:47.440398 soap_transport_http: entered send() with data of length: 582
2002-01-23 06:39:47.440632 soap_transport_http: connect connection_timeout 0, response_timeout 30, scheme http, host localhost, port 8080
2002-01-23 06:39:47.440859 soap_transport_http: calling fsockopen with host localhost connection_timeout 0
2002-01-23 06:39:47.442317 soap_transport_http: set response timeout to 30
2002-01-23 06:39:47.442594 soap_transport_http: socket connected
2002-01-23 06:39:47.442864 soap_transport_http: set Content-Length: 582
2002-01-23 06:39:47.443087 soap_transport_http: HTTP request: POST /fedora/services/management HTTP/1.0
2002-01-23 06:39:47.443314 soap_transport_http: HTTP header: Host: localhost:8080
2002-01-23 06:39:47.443532 soap_transport_http: HTTP header: Authorization: Basic ZmVkb3JhQWRtaW46TjR2NHI0c2s4
2002-01-23 06:39:47.443753 soap_transport_http: HTTP header: User-Agent: NuSOAP/0.7.2 (1.95)
2002-01-23 06:39:47.443969 soap_transport_http: HTTP header: Content-Type: text/xml; charset=ISO-8859-1
2002-01-23 06:39:47.444191 soap_transport_http: HTTP header: SOAPAction: ""
2002-01-23 06:39:47.444409 soap_transport_http: HTTP header: Content-Length: 582
2002-01-23 06:39:47.469171 soap_transport_http: wrote data to socket, length = 814
2002-01-23 06:39:47.483451 soap_transport_http: read line of 36 bytes: HTTP/1.1 500 Internal Server Error
2002-01-23 06:39:47.483805 soap_transport_http: read line of 43 bytes: Content-Type: text/xml;charset=iso-8859-1
2002-01-23 06:39:47.484034 soap_transport_http: read line of 37 bytes: Date: Wed, 23 Jan 2002 04:39:46 GMT
2002-01-23 06:39:47.484265 soap_transport_http: read line of 27 bytes: Server: Apache-Coyote/1.1
2002-01-23 06:39:47.484494 soap_transport_http: read line of 19 bytes: Connection: close
2002-01-23 06:39:47.484743 soap_transport_http: read line of 2 bytes:
2002-01-23 06:39:47.485055 soap_transport_http: found end of headers after length 164
2002-01-23 06:39:47.485376 soap_transport_http: want to read content to EOF
2002-01-23 06:39:47.485640 soap_transport_http: read buffer of 577 bytes
2002-01-23 06:39:47.485866 soap_transport_http: read to EOF
2002-01-23 06:39:47.486080 soap_transport_http: read body of length 577
2002-01-23 06:39:47.486299 soap_transport_http: received a total of 741 bytes of data from server
2002-01-23 06:39:47.486608 soap_transport_http: closed socket
2002-01-23 06:39:47.486856 soap_transport_http: No Content-Encoding header
2002-01-23 06:39:47.487079 soap_transport_http: end of send()
2002-01-23 06:39:47.487373 soapclient_internal: got response, length=577 type=text/xml;charset=iso-8859-1
2002-01-23 06:39:47.487596 soapclient_internal: Entering parseResponse() for data of length 577 and type text/xml;charset=iso-8859-1
2002-01-23 06:39:47.487832 soapclient_internal: Got response encoding: iso-8859-1
2002-01-23 06:39:47.488082 soapclient_internal: Use encoding: ISO-8859-1 when creating soap_parser
2002-01-23 06:39:47.488414 soap_parser: Charset from HTTP Content-Type matches encoding from XML declaration
2002-01-23 06:39:47.488637 soap_parser: Entering soap_parser(), length=577, encoding=ISO-8859-1
2002-01-23 06:39:47.489420 soap_parser: found root struct Fault, pos 2
2002-01-23 06:39:47.490190 soap_parser: in buildVal() for detail(pos 5) of type
2002-01-23 06:39:47.490413 soap_parser: in buildVal, there are children
2002-01-23 06:39:47.490748 soap_parser: in buildVal, adding Java Vector or generic compound type detail
2002-01-23 06:39:47.490997 soap_parser: in buildVal, return:
array(1) { ["hostname"]=>
&string(15) "159.148.149.162"
}
2002-01-23 06:39:47.491301 soap_parser: in buildVal() for Fault(pos 2) of type struct
2002-01-23 06:39:47.491511 soap_parser: in buildVal, there are children
2002-01-23 06:39:47.491743 soap_parser: in buildVal, adding Java Vector or generic compound type Fault
2002-01-23 06:39:47.491985 soap_parser: in buildVal, return:
array(3) { ["faultcode"]=>
&string(28) "soapenv:Server.userException" ["faultstring"]=>
&string(101) "fedora.server.errors.ObjectNotInLowlevelStorageException: no path in db registry for [vitolsproj:676]" ["detail"]=>
&array(1) { ["hostname"]=>
&string(15) "159.148.149.162"
}
}
2002-01-23 06:39:47.492312 soap_parser: parsed successfully, found root struct: 2 of name Fault
2002-01-23 06:39:47.492665 soapclient_internal: sent message successfully and got a(n) array
return=array(3) { ["faultcode"]=>
string(28) "soapenv:Server.userException" ["faultstring"]=>
string(101) "fedora.server.errors.ObjectNotInLowlevelStorageException: no path in db registry for [vitolsproj:676]" ["detail"]=>
array(1) { ["hostname"]=>
string(15) "159.148.149.162"
}
}
2002-01-23 06:39:47.492928 soapclient_internal: got fault
2002-01-23 06:39:47.493159 soapclient_internal: faultcode = soapenv:Server.userException
2002-01-23 06:39:47.493374 soapclient_internal: faultstring = fedora.server.errors.ObjectNotInLowlevelStorageException: no path in db registry for [vitolsproj:676]
2002-01-23 06:39:47.995714 soapclient_internal: faultstring = fedora.server.errors.ObjectNotInLowlevelStorageException: no path in db registry for [vitolsproj:676]
) /usr/local/www/data-dist/fez/include/class.fedora_api.php 785
Fatal error: Call to a member function getXSD_HTML_Match() on a non-object in /usr/local/www/data-dist/fez/include/class.record.php on line 1372
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I got similar errors
"Fatal error: Call to a member function getXSD_HTML_Match() on a non-object in /usr/local/www/data-dist/fez/include/class.record.php"
I have played around a lot with the XSD stuff and I think I have an idea of what is going out there! But, sometimes I encounter some problems that are unexpected because I have done the same and there were no errors!
However, for the error you mentioned, check whether you can create an item in fedora using the admin client. When I got such errors, if you try to add an item from the client you get an error like:
"fedora.server.errors.ObjectNotInLowlevelStorageException: no path in db registry for [changeme:1] ".
I could not solve this problem thus I installed Fedora again and now I am trying to index all the old items from the beggining!
The same error may appear if you create a new content model and you haven't match an element from this xsd to a html item (textArea, textBox, reference to another).
I will try to produce a small video of how I am trying to add a new content model and I will send it to you because text cannot describe all these things!
Best regards,
Kostas Stamatis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm sorry but Fez doesn't currently support XSDs that include or import other XSDs so the entire set of XSDs has to be in the same file. This can be a real pain I know (patches of implemented support for included XSDs are welcome.)
Matt
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We at our library in Latvia have chosen FEZ 1.2 + Fedora2.1 due to the ability to
create new XSD schemas. But we desperately need an advice in schema
development.
The problem currently is that we are anaware how to tell Fez to recognize the
top element structure, to let create input form and ingest values into Fedora.
The XSD schema created by me validates in XMLSpy v2007 rel.3 but ... Fez shows
only the top level elements without their underlaying structure.
The schema in question is constructed in such a manner:
xmlns:lndbdccProf="http://www.lndb.lv/profile"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:dcmitype="http://purl.org/dc/dcmitype/"
xmlns:mods="http://www.loc.gov/mods/v3"
xmlns:tel="http://krait.kb.nl/coop/tel/handbook/telterms.html"
xmlns:lndbdcc="http://www.lndb.lv/types"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
elementFormDefault="qualified" attributeFormDefault="unqualified"
...
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
<xs:import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="http://dublincore.org/schemas/xmls/qdc/2006/01/06/dc.xsd"/>
<xs:import namespace="http://purl.org/dc/terms/" schemaLocation="http://dublincore.org/schemas/xmls/qdc/2006/01/06/dcterms.xsd"/>
<xs:import namespace="http://www.loc.gov/mods/v3" schemaLocation="http://www.loc.gov/standards/mods/mods.xsd"/>
...
<xs:element name="lndbobject" type="lndbdcc:LNDBobjectMD"/>
...
<xs:complexType name="LNDBobjectMD">
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element ref="dc:title"/>
<xs:element ref="dcterms:alternative"/>
<xs:element ref="lndbdcc:subjectUDC"/>
...
The new schema is needed to support instance documents containing elements from
several namespaces.
Instance documents should look like this:
<dc:title xml:lang="en">My book title</dc:title>
<dcterms:issued>2006</dcterms:issued>
<mods:location>My library’s location</mods:location>
<tel :recordId
xsi:type="dcterms:URI">http://link_to_record_in_original_website/123456xyz.html</
tel :recordId>
<local:libraryMetadata1>Local value 1<local:libraryMetadata1>
…
Any advice about XSD schema creation containing several namespaces for Fez would
be appreciated,
Uldis Straujums
Information Systems Designer
National Library of Latvia
Dear Walt,
I do not know If you have resolved the problem.
In the error you send I noticed the line:
"The prefix "dc" for element "dc:title" is not bound"
This means that you have to declare the namespaces prefixes when you add the XSD source. Have you done that?
Is it possible to send the whole error_handel.log file in order to see more specific the errors?
Best regards,
Kostas Stamatis
Dear Uldis,
I am trying to do exactly the same with you, import a new content model in Fez that supports elements from several namespaces. I get the same error, that is "Fez shows only the top level elements without their underlaying structure".
My guess is that Fez cannon read the elements that reference to other XSDs. So, what I have done is the following:
1) Create an xsd file that has all the elements that you want to define by yourself (not the ones from dc or dcterms).
2) Create anotehr xsd that has only elements that reference the dc, dcterms and yours.
3) You should have something like that:
...
<xs:element ref="dc:contributor"/>
<xs:element ref="dc:publisher"/>
<xs:element ref="dcterms:created"/>
<xs:element ref="dc:identifier"/>
<xs:element ref="dcterms:bibliographicCitation"/>
<xs:element ref="pan:researchTitle"/>
Continue.......
Since Fez cannot read the ref elements, add the following lines in the XSD (it will not validate with XMLSpy)
...
<xs:element name="dc:contributor"/>
<xs:element name="dc:publisher"/>
<xs:element name="dcterms:created"/>
<xs:element name="dc:identifier"/>
<xs:element name="dcterms:bibliographicCitation"/>
<xs:element name="pan:researchTitle"/>
...
(pan is from another namespace that dc and dcterms.
So, now you will be able to see these elements and the XSD element structure!
This is what Fez does in the contect model names "OAI DC". If you see, there are elements that reference to DC but there are also the same elements in order for FEZ to read them.
This is my understanding. Hope it helps!
Regards,
Kostas Stamatis
Dear Kostas,
Thanks for the suggestion to apply Fez content model "OAI_DC" approach.
Actually I have already tried to do this but unsuccessfully. Today I repeated the process and got the same error message - The prefix "dc" for element "dc:title" is not bound. The detailed debug information follows.
Any ideas how to ingest custom records into Fedora using Fez are very appreciated!
Best regards,
Uldis Straujums
----------------------------------------------Debug information
ERROR: Array ( [0] => Array ( [faultcode] => soapenv:Server.userException [faultstring] => fedora.server.errors.ObjectValidityException: org.xml.sax.SAXParseException: The prefix "dc" for element "dc:title" is not bound. [detail] => Array ( [hostname] => 159.148.149.162 ) ) [1] => Debug Information
Request: POST /fedora/services/management HTTP/1.0 Host: localhost:8080 Authorization: Basic ZmVkb3JhQWRtaW46TjR2NHI0c2s4 User-Agent: NuSOAP/0.7.2 (1.95) Content-Type: text/xml; charset=ISO-8859-1 SOAPAction: "" Content-Length: 962 <?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><ns6455:ingest xmlns:ns6455="http://tempuri.org"><XML xsi:type="xsd:base64Binary">PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxsbmRib2JqZWN0IHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiPgogIDxkYzp0aXRsZT50aXRsZTE8L2RjOnRpdGxlPgogIDxsbmRiOnN1YmplY3RVREM+c3ViamVjdHVkYzE8L2xuZGI6c3ViamVjdFVEQz4KICA8bW9kczptb2RzPm1vZHMxPC9tb2RzOm1vZHM+CiAgPHRlbDpyZWNvcmRzY2hlbWE+cmVjb3Jkc2NoZW1hMTwvdGVsOnJlY29yZHNjaGVtYT4KPC9sbmRib2JqZWN0Pg==</XML><format xsi:type="xsd:string">foxml1.0</format><logMessage xsi:type="xsd:string">Fedora Object ingested</logMessage></ns6455:ingest></SOAP-ENV:Body></SOAP-ENV:Envelope>Response: HTTP/1.1 500 Internal Server Error Content-Type: text/xml;charset=iso-8859-1 Date: Wed, 23 Jan 2002 04:39:46 GMT Server: Apache-Coyote/1.1 Connection: close <?xml version="1.0" encoding="ISO-8859-1"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>fedora.server.errors.ObjectValidityException: org.xml.sax.SAXParseException: The prefix &quot;dc&quot; for element &quot;dc:title&quot; is not bound.</faultstring><detail><ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">159.148.149.162</ns1:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>Debug log:
2002-01-23 06:39:47.226522 soapclient_internal: instantiate SOAP with endpoint at http://fedoraAdmin:N4v4r4sk8@localhost:8080/fedora/services/management
2002-01-23 06:39:47.226877 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"
["value"]=>
string(344) "PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxsbmRib2JqZWN0IHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiPgogIDxkYzp0aXRsZT50aXRsZTE8L2RjOnRpdGxlPgogIDxsbmRiOnN1YmplY3RVREM+c3ViamVjdHVkYzE8L2xuZGI6c3ViamVjdFVEQz4KICA8bW9kczptb2RzPm1vZHMxPC9tb2RzOm1vZHM+CiAgPHRlbDpyZWNvcmRzY2hlbWE+cmVjb3Jkc2NoZW1hMTwvdGVsOnJlY29yZHNjaGVtYT4KPC9sbmRib2JqZWN0Pg=="
["element_ns"]=>
bool(false)
["type_ns"]=>
bool(false)
["attributes"]=>
bool(false)
["title"]=>
string(6) "NuSOAP"
["version"]=>
string(5) "0.7.2"
["revision"]=>
string(17) "$Revision: 1.95 $"
["error_str"]=>
string(0) ""
["debug_str"]=>
string(0) ""
["charencoding"]=>
bool(true)
["debugLevel"]=>
int(9)
["XMLSchemaVersion"]=>
string(32) "http://www.w3.org/2001/XMLSchema"
["soap_defencoding"]=>
string(10) "ISO-8859-1"
["namespaces"]=>
array(4) {
["SOAP-ENV"]=>
string(41) "http://schemas.xmlsoap.org/soap/envelope/"
["xsd"]=>
string(32) "http://www.w3.org/2001/XMLSchema"
["xsi"]=>
string(41) "http://www.w3.org/2001/XMLSchema-instance"
["SOAP-ENC"]=>
string(41) "http://schemas.xmlsoap.org/soap/encoding/"
}
["usedNamespaces"]=>
array(0) {
}
["typemap"]=>
array(6) {
["http://www.w3.org/2001/XMLSchema"]=>
array(43) {
["string"]=>
string(6) "string"
["boolean"]=>
string(7) "boolean"
["float"]=>
string(6) "double"
["double"]=>
string(6) "double"
["decimal"]=>
string(6) "double"
["duration"]=>
string(0) ""
["dateTime"]=>
string(6) "string"
["time"]=>
string(6) "string"
["date"]=>
string(6) "string"
["gYearMonth"]=>
string(0) ""
["gYear"]=>
string(0) ""
["gMonthDay"]=>
string(0) ""
["gDay"]=>
string(0) ""
["gMonth"]=>
string(0) ""
["hexBinary"]=>
string(6) "string"
["base64Binary"]=>
string(6) "string"
["anyType"]=>
string(6) "string"
["anySimpleType"]=>
string(6) "string"
["normalizedString"]=>
string(6) "string"
["token"]=>
string(6) "string"
["language"]=>
string(0) ""
["NMTOKEN"]=>
string(0) ""
["NMTOKENS"]=>
string(0) ""
["Name"]=>
string(0) ""
["NCName"]=>
string(0) ""
["ID"]=>
string(0) ""
["IDREF"]=>
string(0) ""
["IDREFS"]=>
string(0) ""
["ENTITY"]=>
string(0) ""
["ENTITIES"]=>
string(0) ""
["integer"]=>
string(7) "integer"
["nonPositiveInteger"]=>
string(7) "integer"
["negativeInteger"]=>
string(7) "integer"
["long"]=>
string(7) "integer"
["int"]=>
string(7) "integer"
["short"]=>
string(7) "integer"
["byte"]=>
string(7) "integer"
["nonNegativeInteger"]=>
string(7) "integer"
["unsignedLong"]=>
string(0) ""
["unsignedInt"]=>
string(0) ""
["unsignedShort"]=>
string(0) ""
["unsignedByte"]=>
string(0) ""
["positiveInteger"]=>
string(0) ""
}
["http://www.w3.org/2000/10/XMLSchema"]=>
array(11) {
["i4"]=>
string(0) ""
["int"]=>
string(7) "integer"
["boolean"]=>
string(7) "boolean"
["string"]=>
string(6) "string"
["double"]=>
string(6) "double"
["float"]=>
string(6) "double"
["dateTime"]=>
string(6) "string"
["timeInstant"]=>
string(6) "string"
["base64Binary"]=>
string(6) "string"
["base64"]=>
string(6) "string"
["ur-type"]=>
string(5) "array"
}
["http://www.w3.org/1999/XMLSchema"]=>
array(11) {
["i4"]=>
string(0) ""
["int"]=>
string(7) "integer"
["boolean"]=>
string(7) "boolean"
["string"]=>
string(6) "string"
["double"]=>
string(6) "double"
["float"]=>
string(6) "double"
["dateTime"]=>
string(6) "string"
["timeInstant"]=>
string(6) "string"
["base64Binary"]=>
string(6) "string"
["base64"]=>
string(6) "string"
["ur-type"]=>
string(5) "array"
}
["http://soapinterop.org/xsd"]=>
array(1) {
["SOAPStruct"]=>
string(6) "struct"
}
["http://schemas.xmlsoap.org/soap/encoding/"]=>
array(3) {
["base64"]=>
string(6) "string"
["array"]=>
string(5) "array"
["Array"]=>
string(5) "array"
}
["http://xml.apache.org/xml-soap"]=>
array(1) {
[0]=>
string(3) "Map"
}
}
["xmlEntities"]=>
array(5) {
["quot"]=>
string(1) """
["amp"]=>
string(1) "&"
["lt"]=>
string(1) "<"
["gt"]=>
string(1) ">"
["apos"]=>
string(1) "'"
}
}
["format"]=>
string(8) "foxml1.0"
["logMessage"]=>
string(22) "Fedora Object ingested"
}
headers=bool(false)
2002-01-23 06:39:47.227453 soapclient_internal: serializing param array for operation ingest
2002-01-23 06:39:47.227700 soapclient_internal: in serialize_val: name=0, type=, name_ns=, type_ns=, use=encoded
value=object(soapval)#33 (19) {
["name"]=>
string(3) "XML"
["type"]=>
string(12) "base64Binary"
["value"]=>
string(344) "PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxsbmRib2JqZWN0IHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiPgogIDxkYzp0aXRsZT50aXRsZTE8L2RjOnRpdGxlPgogIDxsbmRiOnN1YmplY3RVREM+c3ViamVjdHVkYzE8L2xuZGI6c3ViamVjdFVEQz4KICA8bW9kczptb2RzPm1vZHMxPC9tb2RzOm1vZHM+CiAgPHRlbDpyZWNvcmRzY2hlbWE+cmVjb3Jkc2NoZW1hMTwvdGVsOnJlY29yZHNjaGVtYT4KPC9sbmRib2JqZWN0Pg=="
["element_ns"]=>
bool(false)
["type_ns"]=>
bool(false)
["attributes"]=>
bool(false)
["title"]=>
string(6) "NuSOAP"
["version"]=>
string(5) "0.7.2"
["revision"]=>
string(17) "$Revision: 1.95 $"
["error_str"]=>
string(0) ""
["debug_str"]=>
string(0) ""
["charencoding"]=>
bool(true)
["debugLevel"]=>
int(9)
["XMLSchemaVersion"]=>
string(32) "http://www.w3.org/2001/XMLSchema"
["soap_defencoding"]=>
string(10) "ISO-8859-1"
["namespaces"]=>
array(4) {
["SOAP-ENV"]=>
string(41) "http://schemas.xmlsoap.org/soap/envelope/"
["xsd"]=>
string(32) "http://www.w3.org/2001/XMLSchema"
["xsi"]=>
string(41) "http://www.w3.org/2001/XMLSchema-instance"
["SOAP-ENC"]=>
string(41) "http://schemas.xmlsoap.org/soap/encoding/"
}
["usedNamespaces"]=>
array(0) {
}
["typemap"]=>
array(6) {
["http://www.w3.org/2001/XMLSchema"]=>
array(43) {
["string"]=>
string(6) "string"
["boolean"]=>
string(7) "boolean"
["float"]=>
string(6) "double"
["double"]=>
string(6) "double"
["decimal"]=>
string(6) "double"
["duration"]=>
string(0) ""
["dateTime"]=>
string(6) "string"
["time"]=>
string(6) "string"
["date"]=>
string(6) "string"
["gYearMonth"]=>
string(0) ""
["gYear"]=>
string(0) ""
["gMonthDay"]=>
string(0) ""
["gDay"]=>
string(0) ""
["gMonth"]=>
string(0) ""
["hexBinary"]=>
string(6) "string"
["base64Binary"]=>
string(6) "string"
["anyType"]=>
string(6) "string"
["anySimpleType"]=>
string(6) "string"
["normalizedString"]=>
string(6) "string"
["token"]=>
string(6) "string"
["language"]=>
string(0) ""
["NMTOKEN"]=>
string(0) ""
["NMTOKENS"]=>
string(0) ""
["Name"]=>
string(0) ""
["NCName"]=>
string(0) ""
["ID"]=>
string(0) ""
["IDREF"]=>
string(0) ""
["IDREFS"]=>
string(0) ""
["ENTITY"]=>
string(0) ""
["ENTITIES"]=>
string(0) ""
["integer"]=>
string(7) "integer"
["nonPositiveInteger"]=>
string(7) "integer"
["negativeInteger"]=>
string(7) "integer"
["long"]=>
string(7) "integer"
["int"]=>
string(7) "integer"
["short"]=>
string(7) "integer"
["byte"]=>
string(7) "integer"
["nonNegativeInteger"]=>
string(7) "integer"
["unsignedLong"]=>
string(0) ""
["unsignedInt"]=>
string(0) ""
["unsignedShort"]=>
string(0) ""
["unsignedByte"]=>
string(0) ""
["positiveInteger"]=>
string(0) ""
}
["http://www.w3.org/2000/10/XMLSchema"]=>
array(11) {
["i4"]=>
string(0) ""
["int"]=>
string(7) "integer"
["boolean"]=>
string(7) "boolean"
["string"]=>
string(6) "string"
["double"]=>
string(6) "double"
["float"]=>
string(6) "double"
["dateTime"]=>
string(6) "string"
["timeInstant"]=>
string(6) "string"
["base64Binary"]=>
string(6) "string"
["base64"]=>
string(6) "string"
["ur-type"]=>
string(5) "array"
}
["http://www.w3.org/1999/XMLSchema"]=>
array(11) {
["i4"]=>
string(0) ""
["int"]=>
string(7) "integer"
["boolean"]=>
string(7) "boolean"
["string"]=>
string(6) "string"
["double"]=>
string(6) "double"
["float"]=>
string(6) "double"
["dateTime"]=>
string(6) "string"
["timeInstant"]=>
string(6) "string"
["base64Binary"]=>
string(6) "string"
["base64"]=>
string(6) "string"
["ur-type"]=>
string(5) "array"
}
["http://soapinterop.org/xsd"]=>
array(1) {
["SOAPStruct"]=>
string(6) "struct"
}
["http://schemas.xmlsoap.org/soap/encoding/"]=>
array(3) {
["base64"]=>
string(6) "string"
["array"]=>
string(5) "array"
["Array"]=>
string(5) "array"
}
["http://xml.apache.org/xml-soap"]=>
array(1) {
[0]=>
string(3) "Map"
}
}
["xmlEntities"]=>
array(5) {
["quot"]=>
string(1) """
["amp"]=>
string(1) "&"
["lt"]=>
string(1) "<"
["gt"]=>
string(1) ">"
["apos"]=>
string(1) "'"
}
}
attributes=bool(false)
2002-01-23 06:39:47.228600 soapclient_internal: in serialize_val: name=format, type=, name_ns=, type_ns=, use=encoded
value=string(8) "foxml1.0"
attributes=bool(false)
2002-01-23 06:39:47.228910 soapclient_internal: in serialize_val: name=logMessage, type=, name_ns=, type_ns=, use=encoded
value=string(22) "Fedora Object ingested"
attributes=bool(false)
2002-01-23 06:39:47.229198 soapclient_internal: wrapping RPC request with encoded method element
2002-01-23 06:39:47.229446 soapclient_internal: In serializeEnvelope length=565 body (max 1000 characters)=PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxsbmRib2JqZWN0IHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiPgogIDxkYzp0aXRsZT50aXRsZTE8L2RjOnRpdGxlPgogIDxsbmRiOnN1YmplY3RVREM+c3ViamVjdHVkYzE8L2xuZGI6c3ViamVjdFVEQz4KICA8bW9kczptb2RzPm1vZHMxPC9tb2RzOm1vZHM+CiAgPHRlbDpyZWNvcmRzY2hlbWE+cmVjb3Jkc2NoZW1hMTwvdGVsOnJlY29yZHNjaGVtYT4KPC9sbmRib2JqZWN0Pg==foxml1.0Fedora Object ingested style=rpc use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
2002-01-23 06:39:47.229685 soapclient_internal: headers:
bool(false)
2002-01-23 06:39:47.229912 soapclient_internal: namespaces:
array(0) {
}
2002-01-23 06:39:47.230207 soapclient_internal: endpoint=http://fedoraAdmin:N4v4r4sk8@localhost:8080/fedora/services/management, soapAction=, namespace=http://tempuri.org, style=rpc, use=encoded, encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
2002-01-23 06:39:47.230428 soapclient_internal: SOAP message length=962 contents (max 1000 bytes)=PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxsbmRib2JqZWN0IHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiPgogIDxkYzp0aXRsZT50aXRsZTE8L2RjOnRpdGxlPgogIDxsbmRiOnN1YmplY3RVREM+c3ViamVjdHVkYzE8L2xuZGI6c3ViamVjdFVEQz4KICA8bW9kczptb2RzPm1vZHMxPC9tb2RzOm1vZHM+CiAgPHRlbDpyZWNvcmRzY2hlbWE+cmVjb3Jkc2NoZW1hMTwvdGVsOnJlY29yZHNjaGVtYT4KPC9sbmRib2JqZWN0Pg==foxml1.0Fedora Object ingested
2002-01-23 06:39:47.230684 soapclient_internal: transporting via HTTP
2002-01-23 06:39:47.234292 soapclient_internal: sending message, length=962
2002-01-23 06:39:47.230971 soap_transport_http: scheme = http
2002-01-23 06:39:47.231194 soap_transport_http: host = localhost
2002-01-23 06:39:47.231412 soap_transport_http: port = 8080
2002-01-23 06:39:47.231627 soap_transport_http: user = fedoraAdmin
2002-01-23 06:39:47.231950 soap_transport_http: pass = N4v4r4sk8
2002-01-23 06:39:47.232165 soap_transport_http: path = /fedora/services/management
2002-01-23 06:39:47.232401 soap_transport_http: set Host: localhost:8080
2002-01-23 06:39:47.232638 soap_transport_http: Set credentials for authtype basic
2002-01-23 06:39:47.232885 soap_transport_http: set Authorization: Basic ZmVkb3...
2002-01-23 06:39:47.233153 soap_transport_http: set User-Agent: NuSOAP/0.7.2 (1.95)
2002-01-23 06:39:47.233389 soap_transport_http: set Content-Type: text/xml; charset=ISO-8859-1
2002-01-23 06:39:47.233610 soap_transport_http: set SOAPAction: ""
2002-01-23 06:39:47.233843 soap_transport_http: Set credentials for authtype basic
2002-01-23 06:39:47.234071 soap_transport_http: set Authorization: Basic ZmVkb3...
2002-01-23 06:39:47.234523 soap_transport_http: entered send() with data of length: 962
2002-01-23 06:39:47.234777 soap_transport_http: connect connection_timeout 0, response_timeout 30, scheme http, host localhost, port 8080
2002-01-23 06:39:47.235002 soap_transport_http: calling fsockopen with host localhost connection_timeout 0
2002-01-23 06:39:47.236531 soap_transport_http: set response timeout to 30
2002-01-23 06:39:47.236823 soap_transport_http: socket connected
2002-01-23 06:39:47.237086 soap_transport_http: set Content-Length: 962
2002-01-23 06:39:47.237314 soap_transport_http: HTTP request: POST /fedora/services/management HTTP/1.0
2002-01-23 06:39:47.237543 soap_transport_http: HTTP header: Host: localhost:8080
2002-01-23 06:39:47.237767 soap_transport_http: HTTP header: Authorization: Basic ZmVkb3JhQWRtaW46TjR2NHI0c2s4
2002-01-23 06:39:47.237986 soap_transport_http: HTTP header: User-Agent: NuSOAP/0.7.2 (1.95)
2002-01-23 06:39:47.238205 soap_transport_http: HTTP header: Content-Type: text/xml; charset=ISO-8859-1
2002-01-23 06:39:47.238428 soap_transport_http: HTTP header: SOAPAction: ""
2002-01-23 06:39:47.238648 soap_transport_http: HTTP header: Content-Length: 962
2002-01-23 06:39:47.252428 soap_transport_http: wrote data to socket, length = 1194
2002-01-23 06:39:47.350908 soap_transport_http: read line of 36 bytes: HTTP/1.1 500 Internal Server Error
2002-01-23 06:39:47.351262 soap_transport_http: read line of 43 bytes: Content-Type: text/xml;charset=iso-8859-1
2002-01-23 06:39:47.351496 soap_transport_http: read line of 37 bytes: Date: Wed, 23 Jan 2002 04:39:46 GMT
2002-01-23 06:39:47.351782 soap_transport_http: read line of 27 bytes: Server: Apache-Coyote/1.1
2002-01-23 06:39:47.352015 soap_transport_http: read line of 19 bytes: Connection: close
2002-01-23 06:39:47.352249 soap_transport_http: read line of 2 bytes:
2002-01-23 06:39:47.352566 soap_transport_http: found end of headers after length 164
2002-01-23 06:39:47.352896 soap_transport_http: want to read content to EOF
2002-01-23 06:39:47.353168 soap_transport_http: read buffer of 625 bytes
2002-01-23 06:39:47.353396 soap_transport_http: read to EOF
2002-01-23 06:39:47.353611 soap_transport_http: read body of length 625
2002-01-23 06:39:47.353836 soap_transport_http: received a total of 789 bytes of data from server
2002-01-23 06:39:47.354151 soap_transport_http: closed socket
2002-01-23 06:39:47.354396 soap_transport_http: No Content-Encoding header
2002-01-23 06:39:47.354622 soap_transport_http: end of send()
2002-01-23 06:39:47.354965 soapclient_internal: got response, length=625 type=text/xml;charset=iso-8859-1
2002-01-23 06:39:47.355202 soapclient_internal: Entering parseResponse() for data of length 625 and type text/xml;charset=iso-8859-1
2002-01-23 06:39:47.355436 soapclient_internal: Got response encoding: iso-8859-1
2002-01-23 06:39:47.355697 soapclient_internal: Use encoding: ISO-8859-1 when creating soap_parser
2002-01-23 06:39:47.356034 soap_parser: Charset from HTTP Content-Type matches encoding from XML declaration
2002-01-23 06:39:47.356260 soap_parser: Entering soap_parser(), length=625, encoding=ISO-8859-1
2002-01-23 06:39:47.357056 soap_parser: found root struct Fault, pos 2
2002-01-23 06:39:47.357953 soap_parser: in buildVal() for detail(pos 5) of type
2002-01-23 06:39:47.358175 soap_parser: in buildVal, there are children
2002-01-23 06:39:47.358408 soap_parser: in buildVal, adding Java Vector or generic compound type detail
2002-01-23 06:39:47.358656 soap_parser: in buildVal, return:
array(1) {
["hostname"]=>
&string(15) "159.148.149.162"
}
2002-01-23 06:39:47.358959 soap_parser: in buildVal() for Fault(pos 2) of type struct
2002-01-23 06:39:47.359173 soap_parser: in buildVal, there are children
2002-01-23 06:39:47.359400 soap_parser: in buildVal, adding Java Vector or generic compound type Fault
2002-01-23 06:39:47.359644 soap_parser: in buildVal, return:
array(3) {
["faultcode"]=>
&string(28) "soapenv:Server.userException"
["faultstring"]=>
&string(129) "fedora.server.errors.ObjectValidityException: org.xml.sax.SAXParseException: The prefix "dc" for element "dc:title" is not bound."
["detail"]=>
&array(1) {
["hostname"]=>
&string(15) "159.148.149.162"
}
}
2002-01-23 06:39:47.359976 soap_parser: parsed successfully, found root struct: 2 of name Fault
2002-01-23 06:39:47.360323 soapclient_internal: sent message successfully and got a(n) array
return=array(3) {
["faultcode"]=>
string(28) "soapenv:Server.userException"
["faultstring"]=>
string(129) "fedora.server.errors.ObjectValidityException: org.xml.sax.SAXParseException: The prefix "dc" for element "dc:title" is not bound."
["detail"]=>
array(1) {
["hostname"]=>
string(15) "159.148.149.162"
}
}
2002-01-23 06:39:47.360573 soapclient_internal: got fault
2002-01-23 06:39:47.360807 soapclient_internal: faultcode = soapenv:Server.userException
2002-01-23 06:39:47.361022 soapclient_internal: faultstring = fedora.server.errors.ObjectValidityException: org.xml.sax.SAXParseException: The prefix "dc" for element "dc:title" is not bound.
2002-01-23 06:39:47.361237 soapclient_internal: detail = Array
) /usr/local/www/data-dist/fez/include/class.fedora_api.php 785ERROR: title1 subjectudc1 mods1 recordschema1 /usr/local/www/data-dist/fez/include/class.record.php 1074ERROR: Array ( [0] => Array ( [faultcode] => soapenv:Server.userException [faultstring] => fedora.server.errors.ObjectNotInLowlevelStorageException: no path in db registry for [vitolsproj:676] [detail] => Array ( [hostname] => 159.148.149.162 ) ) [1] => Debug Information
Request: POST /fedora/services/management HTTP/1.0 Host: localhost:8080 Authorization: Basic ZmVkb3JhQWRtaW46TjR2NHI0c2s4 User-Agent: NuSOAP/0.7.2 (1.95) Content-Type: text/xml; charset=ISO-8859-1 SOAPAction: "" Content-Length: 582 <?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><ns5148:getDatastreams xmlns:ns5148="http://tempuri.org"><pid xsi:type="xsd:string">vitolsproj:676</pid><asOfDateTime xsi:nil="true"/><dsState xsi:nil="true"/></ns5148:getDatastreams></SOAP-ENV:Body></SOAP-ENV:Envelope>Response: HTTP/1.1 500 Internal Server Error Content-Type: text/xml;charset=iso-8859-1 Date: Wed, 23 Jan 2002 04:39:46 GMT Server: Apache-Coyote/1.1 Connection: close <?xml version="1.0" encoding="ISO-8859-1"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>fedora.server.errors.ObjectNotInLowlevelStorageException: no path in db registry for [vitolsproj:676]</faultstring><detail><ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">159.148.149.162</ns1:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>Debug log:
2002-01-23 06:39:47.433399 soapclient_internal: instantiate SOAP with endpoint at http://fedoraAdmin:N4v4r4sk8@localhost:8080/fedora/services/management
2002-01-23 06:39:47.433750 soapclient_internal: call: operation=getDatastreams, namespace=http://tempuri.org, soapAction=, rpcParams=, style=rpc, use=encoded, endpointType=soap
params=array(3) {
["pid"]=>
string(14) "vitolsproj:676"
["asOfDateTime"]=>
NULL
["dsState"]=>
NULL
}
headers=bool(false)
2002-01-23 06:39:47.434045 soapclient_internal: serializing param array for operation getDatastreams
2002-01-23 06:39:47.434285 soapclient_internal: in serialize_val: name=pid, type=, name_ns=, type_ns=, use=encoded
value=string(14) "vitolsproj:676"
attributes=bool(false)
2002-01-23 06:39:47.434611 soapclient_internal: in serialize_val: name=asOfDateTime, type=, name_ns=, type_ns=, use=encoded
value=NULL
attributes=bool(false)
2002-01-23 06:39:47.434906 soapclient_internal: in serialize_val: name=dsState, type=, name_ns=, type_ns=, use=encoded
value=NULL
attributes=bool(false)
2002-01-23 06:39:47.435167 soapclient_internal: wrapping RPC request with encoded method element
2002-01-23 06:39:47.435414 soapclient_internal: In serializeEnvelope length=185 body (max 1000 characters)=vitolsproj:676 style=rpc use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
2002-01-23 06:39:47.435626 soapclient_internal: headers:
bool(false)
2002-01-23 06:39:47.435855 soapclient_internal: namespaces:
array(0) {
}
2002-01-23 06:39:47.436148 soapclient_internal: endpoint=http://fedoraAdmin:N4v4r4sk8@localhost:8080/fedora/services/management, soapAction=, namespace=http://tempuri.org, style=rpc, use=encoded, encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
2002-01-23 06:39:47.436368 soapclient_internal: SOAP message length=582 contents (max 1000 bytes)=vitolsproj:676
2002-01-23 06:39:47.436616 soapclient_internal: transporting via HTTP
2002-01-23 06:39:47.440169 soapclient_internal: sending message, length=582
2002-01-23 06:39:47.436901 soap_transport_http: scheme = http
2002-01-23 06:39:47.437118 soap_transport_http: host = localhost
2002-01-23 06:39:47.437335 soap_transport_http: port = 8080
2002-01-23 06:39:47.437548 soap_transport_http: user = fedoraAdmin
2002-01-23 06:39:47.437765 soap_transport_http: pass = N4v4r4sk8
2002-01-23 06:39:47.437979 soap_transport_http: path = /fedora/services/management
2002-01-23 06:39:47.438216 soap_transport_http: set Host: localhost:8080
2002-01-23 06:39:47.438451 soap_transport_http: Set credentials for authtype basic
2002-01-23 06:39:47.438698 soap_transport_http: set Authorization: Basic ZmVkb3...
2002-01-23 06:39:47.438959 soap_transport_http: set User-Agent: NuSOAP/0.7.2 (1.95)
2002-01-23 06:39:47.439191 soap_transport_http: set Content-Type: text/xml; charset=ISO-8859-1
2002-01-23 06:39:47.439408 soap_transport_http: set SOAPAction: ""
2002-01-23 06:39:47.439632 soap_transport_http: Set credentials for authtype basic
2002-01-23 06:39:47.439949 soap_transport_http: set Authorization: Basic ZmVkb3...
2002-01-23 06:39:47.440398 soap_transport_http: entered send() with data of length: 582
2002-01-23 06:39:47.440632 soap_transport_http: connect connection_timeout 0, response_timeout 30, scheme http, host localhost, port 8080
2002-01-23 06:39:47.440859 soap_transport_http: calling fsockopen with host localhost connection_timeout 0
2002-01-23 06:39:47.442317 soap_transport_http: set response timeout to 30
2002-01-23 06:39:47.442594 soap_transport_http: socket connected
2002-01-23 06:39:47.442864 soap_transport_http: set Content-Length: 582
2002-01-23 06:39:47.443087 soap_transport_http: HTTP request: POST /fedora/services/management HTTP/1.0
2002-01-23 06:39:47.443314 soap_transport_http: HTTP header: Host: localhost:8080
2002-01-23 06:39:47.443532 soap_transport_http: HTTP header: Authorization: Basic ZmVkb3JhQWRtaW46TjR2NHI0c2s4
2002-01-23 06:39:47.443753 soap_transport_http: HTTP header: User-Agent: NuSOAP/0.7.2 (1.95)
2002-01-23 06:39:47.443969 soap_transport_http: HTTP header: Content-Type: text/xml; charset=ISO-8859-1
2002-01-23 06:39:47.444191 soap_transport_http: HTTP header: SOAPAction: ""
2002-01-23 06:39:47.444409 soap_transport_http: HTTP header: Content-Length: 582
2002-01-23 06:39:47.469171 soap_transport_http: wrote data to socket, length = 814
2002-01-23 06:39:47.483451 soap_transport_http: read line of 36 bytes: HTTP/1.1 500 Internal Server Error
2002-01-23 06:39:47.483805 soap_transport_http: read line of 43 bytes: Content-Type: text/xml;charset=iso-8859-1
2002-01-23 06:39:47.484034 soap_transport_http: read line of 37 bytes: Date: Wed, 23 Jan 2002 04:39:46 GMT
2002-01-23 06:39:47.484265 soap_transport_http: read line of 27 bytes: Server: Apache-Coyote/1.1
2002-01-23 06:39:47.484494 soap_transport_http: read line of 19 bytes: Connection: close
2002-01-23 06:39:47.484743 soap_transport_http: read line of 2 bytes:
2002-01-23 06:39:47.485055 soap_transport_http: found end of headers after length 164
2002-01-23 06:39:47.485376 soap_transport_http: want to read content to EOF
2002-01-23 06:39:47.485640 soap_transport_http: read buffer of 577 bytes
2002-01-23 06:39:47.485866 soap_transport_http: read to EOF
2002-01-23 06:39:47.486080 soap_transport_http: read body of length 577
2002-01-23 06:39:47.486299 soap_transport_http: received a total of 741 bytes of data from server
2002-01-23 06:39:47.486608 soap_transport_http: closed socket
2002-01-23 06:39:47.486856 soap_transport_http: No Content-Encoding header
2002-01-23 06:39:47.487079 soap_transport_http: end of send()
2002-01-23 06:39:47.487373 soapclient_internal: got response, length=577 type=text/xml;charset=iso-8859-1
2002-01-23 06:39:47.487596 soapclient_internal: Entering parseResponse() for data of length 577 and type text/xml;charset=iso-8859-1
2002-01-23 06:39:47.487832 soapclient_internal: Got response encoding: iso-8859-1
2002-01-23 06:39:47.488082 soapclient_internal: Use encoding: ISO-8859-1 when creating soap_parser
2002-01-23 06:39:47.488414 soap_parser: Charset from HTTP Content-Type matches encoding from XML declaration
2002-01-23 06:39:47.488637 soap_parser: Entering soap_parser(), length=577, encoding=ISO-8859-1
2002-01-23 06:39:47.489420 soap_parser: found root struct Fault, pos 2
2002-01-23 06:39:47.490190 soap_parser: in buildVal() for detail(pos 5) of type
2002-01-23 06:39:47.490413 soap_parser: in buildVal, there are children
2002-01-23 06:39:47.490748 soap_parser: in buildVal, adding Java Vector or generic compound type detail
2002-01-23 06:39:47.490997 soap_parser: in buildVal, return:
array(1) {
["hostname"]=>
&string(15) "159.148.149.162"
}
2002-01-23 06:39:47.491301 soap_parser: in buildVal() for Fault(pos 2) of type struct
2002-01-23 06:39:47.491511 soap_parser: in buildVal, there are children
2002-01-23 06:39:47.491743 soap_parser: in buildVal, adding Java Vector or generic compound type Fault
2002-01-23 06:39:47.491985 soap_parser: in buildVal, return:
array(3) {
["faultcode"]=>
&string(28) "soapenv:Server.userException"
["faultstring"]=>
&string(101) "fedora.server.errors.ObjectNotInLowlevelStorageException: no path in db registry for [vitolsproj:676]"
["detail"]=>
&array(1) {
["hostname"]=>
&string(15) "159.148.149.162"
}
}
2002-01-23 06:39:47.492312 soap_parser: parsed successfully, found root struct: 2 of name Fault
2002-01-23 06:39:47.492665 soapclient_internal: sent message successfully and got a(n) array
return=array(3) {
["faultcode"]=>
string(28) "soapenv:Server.userException"
["faultstring"]=>
string(101) "fedora.server.errors.ObjectNotInLowlevelStorageException: no path in db registry for [vitolsproj:676]"
["detail"]=>
array(1) {
["hostname"]=>
string(15) "159.148.149.162"
}
}
2002-01-23 06:39:47.492928 soapclient_internal: got fault
2002-01-23 06:39:47.493159 soapclient_internal: faultcode = soapenv:Server.userException
2002-01-23 06:39:47.493374 soapclient_internal: faultstring = fedora.server.errors.ObjectNotInLowlevelStorageException: no path in db registry for [vitolsproj:676]
2002-01-23 06:39:47.493588 soapclient_internal: detail = Array
) /usr/local/www/data-dist/fez/include/class.fedora_api.php 785ERROR: Array ( [0] => Array ( [faultcode] => soapenv:Server.userException [faultstring] => fedora.server.errors.ObjectNotInLowlevelStorageException: no path in db registry for [vitolsproj:676] [detail] => Array ( [hostname] => 159.148.149.162 ) ) [1] => Debug Information
Request: POST /fedora/services/management HTTP/1.0 Host: localhost:8080 Authorization: Basic ZmVkb3JhQWRtaW46TjR2NHI0c2s4 User-Agent: NuSOAP/0.7.2 (1.95) Content-Type: text/xml; charset=ISO-8859-1 SOAPAction: "" Content-Length: 1205 <?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><ns6353:modifyDatastreamByValue xmlns:ns6353="http://tempuri.org"><pid xsi:type="xsd:string">vitolsproj:676</pid><dsID xsi:type="xsd:string">FezMD</dsID><altIDs xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:anyType[0]"></altIDs><dsLabel xsi:type="xsd:string">Fez extension metadata</dsLabel><versionable xsi:type="xsd:boolean">false</versionable><MIMEType xsi:type="xsd:string">text/xml</MIMEType><formatURI xsi:type="xsd:string">unknown</formatURI><dsContent xsi:type="xsd:base64Binary">PEZlek1EIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiPgogIDxzdGFfaWQ+Mjwvc3RhX2lkPgo8L0Zlek1EPg==</dsContent><dsState xsi:type="xsd:string">A</dsState><logMessage xsi:type="xsd:string">Modifying datastream from Fez</logMessage><force xsi:type="xsd:boolean">1</force></ns6353:modifyDatastreamByValue></SOAP-ENV:Body></SOAP-ENV:Envelope>Response: HTTP/1.1 500 Internal Server Error Content-Type: text/xml;charset=iso-8859-1 Date: Wed, 23 Jan 2002 04:39:47 GMT Server: Apache-Coyote/1.1 Connection: close <?xml version="1.0" encoding="ISO-8859-1"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>fedora.server.errors.ObjectNotInLowlevelStorageException: no path in db registry for [vitolsproj:676]</faultstring><detail><ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">159.148.149.162</ns1:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>Debug log:
2002-01-23 06:39:47.926688 soapclient_internal: instantiate SOAP with endpoint at http://fedoraAdmin:N4v4r4sk8@localhost:8080/fedora/services/management
2002-01-23 06:39:47.926972 soapclient_internal: call: operation=modifyDatastreamByValue, namespace=http://tempuri.org, soapAction=, rpcParams=, style=rpc, use=encoded, endpointType=soap
params=array(11) {
["pid"]=>
string(14) "vitolsproj:676"
["dsID"]=>
string(5) "FezMD"
["altIDs"]=>
array(0) {
}
["dsLabel"]=>
string(22) "Fez extension metadata"
[0]=>
object(soapval)#30 (19) {
["name"]=>
string(11) "versionable"
["type"]=>
string(7) "boolean"
["value"]=>
string(5) "false"
["element_ns"]=>
bool(false)
["type_ns"]=>
bool(false)
["attributes"]=>
bool(false)
["title"]=>
string(6) "NuSOAP"
["version"]=>
string(5) "0.7.2"
["revision"]=>
string(17) "$Revision: 1.95 $"
["error_str"]=>
string(0) ""
["debug_str"]=>
string(0) ""
["charencoding"]=>
bool(true)
["debugLevel"]=>
int(9)
["XMLSchemaVersion"]=>
string(32) "http://www.w3.org/2001/XMLSchema"
["soap_defencoding"]=>
string(10) "ISO-8859-1"
["namespaces"]=>
array(4) {
["SOAP-ENV"]=>
string(41) "http://schemas.xmlsoap.org/soap/envelope/"
["xsd"]=>
string(32) "http://www.w3.org/2001/XMLSchema"
["xsi"]=>
string(41) "http://www.w3.org/2001/XMLSchema-instance"
["SOAP-ENC"]=>
string(41) "http://schemas.xmlsoap.org/soap/encoding/"
}
["usedNamespaces"]=>
array(0) {
}
["typemap"]=>
array(6) {
["http://www.w3.org/2001/XMLSchema"]=>
array(43) {
["string"]=>
string(6) "string"
["boolean"]=>
string(7) "boolean"
["float"]=>
string(6) "double"
["double"]=>
string(6) "double"
["decimal"]=>
string(6) "double"
["duration"]=>
string(0) ""
["dateTime"]=>
string(6) "string"
["time"]=>
string(6) "string"
["date"]=>
string(6) "string"
["gYearMonth"]=>
string(0) ""
["gYear"]=>
string(0) ""
["gMonthDay"]=>
string(0) ""
["gDay"]=>
string(0) ""
["gMonth"]=>
string(0) ""
["hexBinary"]=>
string(6) "string"
["base64Binary"]=>
string(6) "string"
["anyType"]=>
string(6) "string"
["anySimpleType"]=>
string(6) "string"
["normalizedString"]=>
string(6) "string"
["token"]=>
string(6) "string"
["language"]=>
string(0) ""
["NMTOKEN"]=>
string(0) ""
["NMTOKENS"]=>
string(0) ""
["Name"]=>
string(0) ""
["NCName"]=>
string(0) ""
["ID"]=>
string(0) ""
["IDREF"]=>
string(0) ""
["IDREFS"]=>
string(0) ""
["ENTITY"]=>
string(0) ""
["ENTITIES"]=>
string(0) ""
["integer"]=>
string(7) "integer"
["nonPositiveInteger"]=>
string(7) "integer"
["negativeInteger"]=>
string(7) "integer"
["long"]=>
string(7) "integer"
["int"]=>
string(7) "integer"
["short"]=>
string(7) "integer"
["byte"]=>
string(7) "integer"
["nonNegativeInteger"]=>
string(7) "integer"
["unsignedLong"]=>
string(0) ""
["unsignedInt"]=>
string(0) ""
["unsignedShort"]=>
string(0) ""
["unsignedByte"]=>
string(0) ""
["positiveInteger"]=>
string(0) ""
}
["http://www.w3.org/2000/10/XMLSchema"]=>
array(11) {
["i4"]=>
string(0) ""
["int"]=>
string(7) "integer"
["boolean"]=>
string(7) "boolean"
["string"]=>
string(6) "string"
["double"]=>
string(6) "double"
["float"]=>
string(6) "double"
["dateTime"]=>
string(6) "string"
["timeInstant"]=>
string(6) "string"
["base64Binary"]=>
string(6) "string"
["base64"]=>
string(6) "string"
["ur-type"]=>
string(5) "array"
}
["http://www.w3.org/1999/XMLSchema"]=>
array(11) {
["i4"]=>
string(0) ""
["int"]=>
string(7) "integer"
["boolean"]=>
string(7) "boolean"
["string"]=>
string(6) "string"
["double"]=>
string(6) "double"
["float"]=>
string(6) "double"
["dateTime"]=>
string(6) "string"
["timeInstant"]=>
string(6) "string"
["base64Binary"]=>
string(6) "string"
["base64"]=>
string(6) "string"
["ur-type"]=>
string(5) "array"
}
["http://soapinterop.org/xsd"]=>
array(1) {
["SOAPStruct"]=>
string(6) "struct"
}
["http://schemas.xmlsoap.org/soap/encoding/"]=>
array(3) {
["base64"]=>
string(6) "string"
["array"]=>
string(5) "array"
["Array"]=>
string(5) "array"
}
["http://xml.apache.org/xml-soap"]=>
array(1) {
[0]=>
string(3) "Map"
}
}
["xmlEntities"]=>
array(5) {
["quot"]=>
string(1) """
["amp"]=>
string(1) "&"
["lt"]=>
string(1) "<"
["gt"]=>
string(1) ">"
["apos"]=>
string(1) "'"
}
}
["MIMEType"]=>
string(8) "text/xml"
["formatURI"]=>
string(7) "unknown"
[1]=>
object(soapval)#27 (19) {
["name"]=>
string(9) "dsContent"
["type"]=>
string(12) "base64Binary"
["value"]=>
string(112) "PEZlek1EIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiPgogIDxzdGFfaWQ+Mjwvc3RhX2lkPgo8L0Zlek1EPg=="
["element_ns"]=>
bool(false)
["type_ns"]=>
bool(false)
["attributes"]=>
bool(false)
["title"]=>
string(6) "NuSOAP"
["version"]=>
string(5) "0.7.2"
["revision"]=>
string(17) "$Revision: 1.95 $"
["error_str"]=>
string(0) ""
["debug_str"]=>
string(0) ""
["charencoding"]=>
bool(true)
["debugLevel"]=>
int(9)
["XMLSchemaVersion"]=>
string(32) "http://www.w3.org/2001/XMLSchema"
["soap_defencoding"]=>
string(10) "ISO-8859-1"
["namespaces"]=>
array(4) {
["SOAP-ENV"]=>
string(41) "http://schemas.xmlsoap.org/soap/envelope/"
["xsd"]=>
string(32) "http://www.w3.org/2001/XMLSchema"
["xsi"]=>
string(41) "http://www.w3.org/2001/XMLSchema-instance"
["SOAP-ENC"]=>
string(41) "http://schemas.xmlsoap.org/soap/encoding/"
}
["usedNamespaces"]=>
array(0) {
}
["typemap"]=>
array(6) {
["http://www.w3.org/2001/XMLSchema"]=>
array(43) {
["string"]=>
string(6) "string"
["boolean"]=>
string(7) "boolean"
["float"]=>
string(6) "double"
["double"]=>
string(6) "double"
["decimal"]=>
string(6) "double"
["duration"]=>
string(0) ""
["dateTime"]=>
string(6) "string"
["time"]=>
string(6) "string"
["date"]=>
string(6) "string"
["gYearMonth"]=>
string(0) ""
["gYear"]=>
string(0) ""
["gMonthDay"]=>
string(0) ""
["gDay"]=>
string(0) ""
["gMonth"]=>
string(0) ""
["hexBinary"]=>
string(6) "string"
["base64Binary"]=>
string(6) "string"
["anyType"]=>
string(6) "string"
["anySimpleType"]=>
string(6) "string"
["normalizedString"]=>
string(6) "string"
["token"]=>
string(6) "string"
["language"]=>
string(0) ""
["NMTOKEN"]=>
string(0) ""
["NMTOKENS"]=>
string(0) ""
["Name"]=>
string(0) ""
["NCName"]=>
string(0) ""
["ID"]=>
string(0) ""
["IDREF"]=>
string(0) ""
["IDREFS"]=>
string(0) ""
["ENTITY"]=>
string(0) ""
["ENTITIES"]=>
string(0) ""
["integer"]=>
string(7) "integer"
["nonPositiveInteger"]=>
string(7) "integer"
["negativeInteger"]=>
string(7) "integer"
["long"]=>
string(7) "integer"
["int"]=>
string(7) "integer"
["short"]=>
string(7) "integer"
["byte"]=>
string(7) "integer"
["nonNegativeInteger"]=>
string(7) "integer"
["unsignedLong"]=>
string(0) ""
["unsignedInt"]=>
string(0) ""
["unsignedShort"]=>
string(0) ""
["unsignedByte"]=>
string(0) ""
["positiveInteger"]=>
string(0) ""
}
["http://www.w3.org/2000/10/XMLSchema"]=>
array(11) {
["i4"]=>
string(0) ""
["int"]=>
string(7) "integer"
["boolean"]=>
string(7) "boolean"
["string"]=>
string(6) "string"
["double"]=>
string(6) "double"
["float"]=>
string(6) "double"
["dateTime"]=>
string(6) "string"
["timeInstant"]=>
string(6) "string"
["base64Binary"]=>
string(6) "string"
["base64"]=>
string(6) "string"
["ur-type"]=>
string(5) "array"
}
["http://www.w3.org/1999/XMLSchema"]=>
array(11) {
["i4"]=>
string(0) ""
["int"]=>
string(7) "integer"
["boolean"]=>
string(7) "boolean"
["string"]=>
string(6) "string"
["double"]=>
string(6) "double"
["float"]=>
string(6) "double"
["dateTime"]=>
string(6) "string"
["timeInstant"]=>
string(6) "string"
["base64Binary"]=>
string(6) "string"
["base64"]=>
string(6) "string"
["ur-type"]=>
string(5) "array"
}
["http://soapinterop.org/xsd"]=>
array(1) {
["SOAPStruct"]=>
string(6) "struct"
}
["http://schemas.xmlsoap.org/soap/encoding/"]=>
array(3) {
["base64"]=>
string(6) "string"
["array"]=>
string(5) "array"
["Array"]=>
string(5) "array"
}
["http://xml.apache.org/xml-soap"]=>
array(1) {
[0]=>
string(3) "Map"
}
}
["xmlEntities"]=>
array(5) {
["quot"]=>
string(1) """
["amp"]=>
string(1) "&"
["lt"]=>
string(1) "<"
["gt"]=>
string(1) ">"
["apos"]=>
string(1) "'"
}
}
["dsState"]=>
string(1) "A"
["logMessage"]=>
string(29) "Modifying datastream from Fez"
["force"]=>
bool(true)
}
headers=bool(false)
2002-01-23 06:39:47.927850 soapclient_internal: serializing param array for operation modifyDatastreamByValue
2002-01-23 06:39:47.928096 soapclient_internal: in serialize_val: name=pid, type=, name_ns=, type_ns=, use=encoded
value=string(14) "vitolsproj:676"
attributes=bool(false)
2002-01-23 06:39:47.928424 soapclient_internal: in serialize_val: name=dsID, type=, name_ns=, type_ns=, use=encoded
value=string(5) "FezMD"
attributes=bool(false)
2002-01-23 06:39:47.928722 soapclient_internal: in serialize_val: name=altIDs, type=, name_ns=, type_ns=, use=encoded
value=array(0) {
}
attributes=bool(false)
2002-01-23 06:39:47.929019 soapclient_internal: in serialize_val: name=dsLabel, type=, name_ns=, type_ns=, use=encoded
value=string(22) "Fez extension metadata"
attributes=bool(false)
2002-01-23 06:39:47.929313 soapclient_internal: in serialize_val: name=0, type=, name_ns=, type_ns=, use=encoded
value=object(soapval)#30 (19) {
["name"]=>
string(11) "versionable"
["type"]=>
string(7) "boolean"
["value"]=>
string(5) "false"
["element_ns"]=>
bool(false)
["type_ns"]=>
bool(false)
["attributes"]=>
bool(false)
["title"]=>
string(6) "NuSOAP"
["version"]=>
string(5) "0.7.2"
["revision"]=>
string(17) "$Revision: 1.95 $"
["error_str"]=>
string(0) ""
["debug_str"]=>
string(0) ""
["charencoding"]=>
bool(true)
["debugLevel"]=>
int(9)
["XMLSchemaVersion"]=>
string(32) "http://www.w3.org/2001/XMLSchema"
["soap_defencoding"]=>
string(10) "ISO-8859-1"
["namespaces"]=>
array(4) {
["SOAP-ENV"]=>
string(41) "http://schemas.xmlsoap.org/soap/envelope/"
["xsd"]=>
string(32) "http://www.w3.org/2001/XMLSchema"
["xsi"]=>
string(41) "http://www.w3.org/2001/XMLSchema-instance"
["SOAP-ENC"]=>
string(41) "http://schemas.xmlsoap.org/soap/encoding/"
}
["usedNamespaces"]=>
array(0) {
}
["typemap"]=>
array(6) {
["http://www.w3.org/2001/XMLSchema"]=>
array(43) {
["string"]=>
string(6) "string"
["boolean"]=>
string(7) "boolean"
["float"]=>
string(6) "double"
["double"]=>
string(6) "double"
["decimal"]=>
string(6) "double"
["duration"]=>
string(0) ""
["dateTime"]=>
string(6) "string"
["time"]=>
string(6) "string"
["date"]=>
string(6) "string"
["gYearMonth"]=>
string(0) ""
["gYear"]=>
string(0) ""
["gMonthDay"]=>
string(0) ""
["gDay"]=>
string(0) ""
["gMonth"]=>
string(0) ""
["hexBinary"]=>
string(6) "string"
["base64Binary"]=>
string(6) "string"
["anyType"]=>
string(6) "string"
["anySimpleType"]=>
string(6) "string"
["normalizedString"]=>
string(6) "string"
["token"]=>
string(6) "string"
["language"]=>
string(0) ""
["NMTOKEN"]=>
string(0) ""
["NMTOKENS"]=>
string(0) ""
["Name"]=>
string(0) ""
["NCName"]=>
string(0) ""
["ID"]=>
string(0) ""
["IDREF"]=>
string(0) ""
["IDREFS"]=>
string(0) ""
["ENTITY"]=>
string(0) ""
["ENTITIES"]=>
string(0) ""
["integer"]=>
string(7) "integer"
["nonPositiveInteger"]=>
string(7) "integer"
["negativeInteger"]=>
string(7) "integer"
["long"]=>
string(7) "integer"
["int"]=>
string(7) "integer"
["short"]=>
string(7) "integer"
["byte"]=>
string(7) "integer"
["nonNegativeInteger"]=>
string(7) "integer"
["unsignedLong"]=>
string(0) ""
["unsignedInt"]=>
string(0) ""
["unsignedShort"]=>
string(0) ""
["unsignedByte"]=>
string(0) ""
["positiveInteger"]=>
string(0) ""
}
["http://www.w3.org/2000/10/XMLSchema"]=>
array(11) {
["i4"]=>
string(0) ""
["int"]=>
string(7) "integer"
["boolean"]=>
string(7) "boolean"
["string"]=>
string(6) "string"
["double"]=>
string(6) "double"
["float"]=>
string(6) "double"
["dateTime"]=>
string(6) "string"
["timeInstant"]=>
string(6) "string"
["base64Binary"]=>
string(6) "string"
["base64"]=>
string(6) "string"
["ur-type"]=>
string(5) "array"
}
["http://www.w3.org/1999/XMLSchema"]=>
array(11) {
["i4"]=>
string(0) ""
["int"]=>
string(7) "integer"
["boolean"]=>
string(7) "boolean"
["string"]=>
string(6) "string"
["double"]=>
string(6) "double"
["float"]=>
string(6) "double"
["dateTime"]=>
string(6) "string"
["timeInstant"]=>
string(6) "string"
["base64Binary"]=>
string(6) "string"
["base64"]=>
string(6) "string"
["ur-type"]=>
string(5) "array"
}
["http://soapinterop.org/xsd"]=>
array(1) {
["SOAPStruct"]=>
string(6) "struct"
}
["http://schemas.xmlsoap.org/soap/encoding/"]=>
array(3) {
["base64"]=>
string(6) "string"
["array"]=>
string(5) "array"
["Array"]=>
string(5) "array"
}
["http://xml.apache.org/xml-soap"]=>
array(1) {
[0]=>
string(3) "Map"
}
}
["xmlEntities"]=>
array(5) {
["quot"]=>
string(1) """
["amp"]=>
string(1) "&"
["lt"]=>
string(1) "<"
["gt"]=>
string(1) ">"
["apos"]=>
string(1) "'"
}
}
attributes=bool(false)
2002-01-23 06:39:47.930195 soapclient_internal: in serialize_val: name=MIMEType, type=, name_ns=, type_ns=, use=encoded
value=string(8) "text/xml"
attributes=bool(false)
2002-01-23 06:39:47.930489 soapclient_internal: in serialize_val: name=formatURI, type=, name_ns=, type_ns=, use=encoded
value=string(7) "unknown"
attributes=bool(false)
2002-01-23 06:39:47.930787 soapclient_internal: in serialize_val: name=1, type=, name_ns=, type_ns=, use=encoded
value=object(soapval)#27 (19) {
["name"]=>
string(9) "dsContent"
["type"]=>
string(12) "base64Binary"
["value"]=>
string(112) "PEZlek1EIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiPgogIDxzdGFfaWQ+Mjwvc3RhX2lkPgo8L0Zlek1EPg=="
["element_ns"]=>
bool(false)
["type_ns"]=>
bool(false)
["attributes"]=>
bool(false)
["title"]=>
string(6) "NuSOAP"
["version"]=>
string(5) "0.7.2"
["revision"]=>
string(17) "$Revision: 1.95 $"
["error_str"]=>
string(0) ""
["debug_str"]=>
string(0) ""
["charencoding"]=>
bool(true)
["debugLevel"]=>
int(9)
["XMLSchemaVersion"]=>
string(32) "http://www.w3.org/2001/XMLSchema"
["soap_defencoding"]=>
string(10) "ISO-8859-1"
["namespaces"]=>
array(4) {
["SOAP-ENV"]=>
string(41) "http://schemas.xmlsoap.org/soap/envelope/"
["xsd"]=>
string(32) "http://www.w3.org/2001/XMLSchema"
["xsi"]=>
string(41) "http://www.w3.org/2001/XMLSchema-instance"
["SOAP-ENC"]=>
string(41) "http://schemas.xmlsoap.org/soap/encoding/"
}
["usedNamespaces"]=>
array(0) {
}
["typemap"]=>
array(6) {
["http://www.w3.org/2001/XMLSchema"]=>
array(43) {
["string"]=>
string(6) "string"
["boolean"]=>
string(7) "boolean"
["float"]=>
string(6) "double"
["double"]=>
string(6) "double"
["decimal"]=>
string(6) "double"
["duration"]=>
string(0) ""
["dateTime"]=>
string(6) "string"
["time"]=>
string(6) "string"
["date"]=>
string(6) "string"
["gYearMonth"]=>
string(0) ""
["gYear"]=>
string(0) ""
["gMonthDay"]=>
string(0) ""
["gDay"]=>
string(0) ""
["gMonth"]=>
string(0) ""
["hexBinary"]=>
string(6) "string"
["base64Binary"]=>
string(6) "string"
["anyType"]=>
string(6) "string"
["anySimpleType"]=>
string(6) "string"
["normalizedString"]=>
string(6) "string"
["token"]=>
string(6) "string"
["language"]=>
string(0) ""
["NMTOKEN"]=>
string(0) ""
["NMTOKENS"]=>
string(0) ""
["Name"]=>
string(0) ""
["NCName"]=>
string(0) ""
["ID"]=>
string(0) ""
["IDREF"]=>
string(0) ""
["IDREFS"]=>
string(0) ""
["ENTITY"]=>
string(0) ""
["ENTITIES"]=>
string(0) ""
["integer"]=>
string(7) "integer"
["nonPositiveInteger"]=>
string(7) "integer"
["negativeInteger"]=>
string(7) "integer"
["long"]=>
string(7) "integer"
["int"]=>
string(7) "integer"
["short"]=>
string(7) "integer"
["byte"]=>
string(7) "integer"
["nonNegativeInteger"]=>
string(7) "integer"
["unsignedLong"]=>
string(0) ""
["unsignedInt"]=>
string(0) ""
["unsignedShort"]=>
string(0) ""
["unsignedByte"]=>
string(0) ""
["positiveInteger"]=>
string(0) ""
}
["http://www.w3.org/2000/10/XMLSchema"]=>
array(11) {
["i4"]=>
string(0) ""
["int"]=>
string(7) "integer"
["boolean"]=>
string(7) "boolean"
["string"]=>
string(6) "string"
["double"]=>
string(6) "double"
["float"]=>
string(6) "double"
["dateTime"]=>
string(6) "string"
["timeInstant"]=>
string(6) "string"
["base64Binary"]=>
string(6) "string"
["base64"]=>
string(6) "string"
["ur-type"]=>
string(5) "array"
}
["http://www.w3.org/1999/XMLSchema"]=>
array(11) {
["i4"]=>
string(0) ""
["int"]=>
string(7) "integer"
["boolean"]=>
string(7) "boolean"
["string"]=>
string(6) "string"
["double"]=>
string(6) "double"
["float"]=>
string(6) "double"
["dateTime"]=>
string(6) "string"
["timeInstant"]=>
string(6) "string"
["base64Binary"]=>
string(6) "string"
["base64"]=>
string(6) "string"
["ur-type"]=>
string(5) "array"
}
["http://soapinterop.org/xsd"]=>
array(1) {
["SOAPStruct"]=>
string(6) "struct"
}
["http://schemas.xmlsoap.org/soap/encoding/"]=>
array(3) {
["base64"]=>
string(6) "string"
["array"]=>
string(5) "array"
["Array"]=>
string(5) "array"
}
["http://xml.apache.org/xml-soap"]=>
array(1) {
[0]=>
string(3) "Map"
}
}
["xmlEntities"]=>
array(5) {
["quot"]=>
string(1) """
["amp"]=>
string(1) "&"
["lt"]=>
string(1) "<"
["gt"]=>
string(1) ">"
["apos"]=>
string(1) "'"
}
}
attributes=bool(false)
2002-01-23 06:39:47.931664 soapclient_internal: in serialize_val: name=dsState, type=, name_ns=, type_ns=, use=encoded
value=string(1) "A"
attributes=bool(false)
2002-01-23 06:39:47.931959 soapclient_internal: in serialize_val: name=logMessage, type=, name_ns=, type_ns=, use=encoded
value=string(29) "Modifying datastream from Fez"
attributes=bool(false)
2002-01-23 06:39:47.932248 soapclient_internal: in serialize_val: name=force, type=, name_ns=, type_ns=, use=encoded
value=bool(true)
attributes=bool(false)
2002-01-23 06:39:47.932515 soapclient_internal: wrapping RPC request with encoded method element
2002-01-23 06:39:47.932769 soapclient_internal: In serializeEnvelope length=808 body (max 1000 characters)=vitolsproj:676FezMDFez extension metadatafalsetext/xmlunknownPEZlek1EIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiPgogIDxzdGFfaWQ+Mjwvc3RhX2lkPgo8L0Zlek1EPg==AModifying datastream from Fez1 style=rpc use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
2002-01-23 06:39:47.932983 soapclient_internal: headers:
bool(false)
2002-01-23 06:39:47.933207 soapclient_internal: namespaces:
array(0) {
}
2002-01-23 06:39:47.933503 soapclient_internal: endpoint=http://fedoraAdmin:N4v4r4sk8@localhost:8080/fedora/services/management, soapAction=, namespace=http://tempuri.org, style=rpc, use=encoded, encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
2002-01-23 06:39:47.933727 soapclient_internal: SOAP message length=1205 contents (max 1000 bytes)=vitolsproj:676FezMDFez extension metadatafalsetext/xmlunknownPEZlek1EIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiPgogIDxzdGFfaWQ+Mjwvc3RhX2lkPgo8L0Zlek1EPg==
&string(15) "159.148.149.162"
}
2002-01-23 06:39:47.993627 soap_parser: in buildVal() for Fault(pos 2) of type struct
2002-01-23 06:39:47.993841 soap_parser: in buildVal, there are children
2002-01-23 06:39:47.994069 soap_parser: in buildVal, adding Java Vector or generic compound type Fault
2002-01-23 06:39:47.994310 soap_parser: in buildVal, return:
array(3) {
["faultcode"]=>
&string(28) "soapenv:Server.userException"
["faultstring"]=>
&string(101) "fedora.server.errors.ObjectNotInLowlevelStorageException: no path in db registry for [vitolsproj:676]"
["detail"]=>
&array(1) {
["hostname"]=>
&string(15) "159.148.149.162"
}
}
2002-01-23 06:39:47.994634 soap_parser: parsed successfully, found root struct: 2 of name Fault
2002-01-23 06:39:47.995009 soapclient_internal: sent message successfully and got a(n) array
return=array(3) {
["faultcode"]=>
string(28) "soapenv:Server.userException"
["faultstring"]=>
string(101) "fedora.server.errors.ObjectNotInLowlevelStorageException: no path in db registry for [vitolsproj:676]"
["detail"]=>
array(1) {
["hostname"]=>
string(15) "159.148.149.162"
}
}
2002-01-23 06:39:47.995263 soapclient_internal: got fault
2002-01-23 06:39:47.995493 soapclient_internal: faultcode = soapenv:Server.userException
2002-01-23 06:39:47.995714 soapclient_internal: faultstring = fedora.server.errors.ObjectNotInLowlevelStorageException: no path in db registry for [vitolsproj:676]
2002-01-23 06:39:47.995930 soapclient_internal: detail = Array
) /usr/local/www/data-dist/fez/include/class.fedora_api.php 785
Fatal error: Call to a member function getXSD_HTML_Match() on a non-object in /usr/local/www/data-dist/fez/include/class.record.php on line 1372
Dear,
I got similar errors
"Fatal error: Call to a member function getXSD_HTML_Match() on a non-object in /usr/local/www/data-dist/fez/include/class.record.php"
I have played around a lot with the XSD stuff and I think I have an idea of what is going out there! But, sometimes I encounter some problems that are unexpected because I have done the same and there were no errors!
However, for the error you mentioned, check whether you can create an item in fedora using the admin client. When I got such errors, if you try to add an item from the client you get an error like:
"fedora.server.errors.ObjectNotInLowlevelStorageException: no path in db registry for [changeme:1] ".
I could not solve this problem thus I installed Fedora again and now I am trying to index all the old items from the beggining!
The same error may appear if you create a new content model and you haven't match an element from this xsd to a html item (textArea, textBox, reference to another).
I will try to produce a small video of how I am trying to add a new content model and I will send it to you because text cannot describe all these things!
Best regards,
Kostas Stamatis
Hi Kostas and Walt,
I'm sorry but Fez doesn't currently support XSDs that include or import other XSDs so the entire set of XSDs has to be in the same file. This can be a real pain I know (patches of implemented support for included XSDs are welcome.)
Matt
Walt,
Have you applied the XSD patches for Fez 1.2?
Matt