Dear Geonetwork developer,
I would like to ask you whether the last GN 2.7 trunk version supports SOAP binding?
I have tried to bind my localhost GN 2.7 version with following request (provided also in devel manual here - http://geonetwork-opensource.org/manuals/trunk/developer/xml_services/csw_services.html:
<env:Envelope xmlns:env=“http://www.w3.org/2003/05/soap-envelope”>
env:Body
<csw:GetCapabilities xmlns:csw=“http://www.opengis.net/cat/csw/2.0.2”
service=“CSW”>
<ows:AcceptVersions xmlns:ows=“http://www.opengis.net/ows”>
ows:Version2.0.2</ows:Version>
</ows:AcceptVersions>
<ows:AcceptFormats xmlns:ows=“http://www.opengis.net/ows”>
ows:OutputFormatapplication/xml</ows:OutputFormat>
</ows:AcceptFormats>
</csw:GetCapabilities>
</env:Body>
</env:Envelope>
ContentType: application/soap+xml
URL: http://localhost:8081/geonetwork/srv/eng/csw
GN 2.7 CSW answered with error saying:
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:env=“http://www.w3.org/2003/05/soap-envelope”>
env:Body
env:Fault
env:Code
env:Valueenv:Receiver</env:Value>
env:Subcode
env:Valueerror</env:Value>
</env:Subcode>
</env:Code>
env:Reason
<env:Text xml:lang=“en”>NullPointerException :</env:Text>
</env:Reason>
env:Detail
NullPointerException
…
eng
csw-rdsi
</env:Detail>
</env:Fault>
</env:Body>
</env:Envelope>
I tried the same also with the stable GN 2.6 version CSW on my localhost and it works perfectly and gives back proper answer.
I thought before that the problem is with the change of languages codes en2eng, since the harvesting management did not work neither.
Then I found the urlrewrite.xml configuration and harvesting is working now. However this does not apply for SOAP binding of CSW.
Does anybody know, where the problem might be and what should I do to fix it?
Thank you very much in advance for any answer,
Regards,
Tomas Kliment
–
Ing. Tomas Kliment
Contact information:
Private:
Juzna 4, 04801 Roznava, Slovakia
Tel: +421 907 232019
Tel: +39 389 4955 954
e-mail: tomas.kliment@anonymised.com
www: http://about.me/klimeto
Ph.D. student:
Slovak University of Technology
Faculty of Civil Engineering
Department of Theoretical Geodesy
Radlinskeho 11, block A, 5th floor
813 68 Bratislava 15, Slovakia
Tel: +421 259274 297
e-mail: tomas.kliment@anonymised.com
Ph.D. Internship - Junior Researcher:
The National Research Council
Institute of Marine Science, Venice, Italy
External consultant:
Polymedia S.p.A, KIT Digital Company
Joint Research Centre of European Commission, Ispra, Italy
e-mail: tomas.kliment@anonymised.com