java.lang.NullPointerException issue with gazelle HPD Simulator

5 views
Skip to first unread message

Raed Khalid Elyas

unread,
Feb 19, 2020, 10:39:48 AM2/19/20
to ihe-hpd-implementors
Good day,


Sending the following request:

<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:oasis:names:tc:DSML:2:0:core"
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:wss="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<s:Header>
<wsa:Action s:mustUnderstand="false">urn:ihe:iti:2010:ProviderInformationQuery</wsa:Action>
<wsa:MessageID s:mustUnderstand="false">urn:uuid:38ec6117-f3a9-4f2b-9a69-8d62f6f0caff</wsa:MessageID>
<wsa:ReplyTo s:mustUnderstand="true">
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
</wsa:ReplyTo>
<wsa:To s:mustUnderstand="false">
<wsa:Address>http://ovh1.ihe-europe.net:8180/HPDSimulator-ejb/ProviderInformationDirectory_Service/ProviderInformationDirectory_PortType</wsa:Address>
</wsa:To>
<wsa:From s:mustUnderstand="false">
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
<wsa:Reference/>
</wsa:From>
</s:Header>
<s:Body>
<dsml:batchRequest xmlns="urn:oasis:names:tc:DSML:2:0:core" xmlns:dsml="urn:oasis:names:tc:DSML:2:0:core" processing="sequential" requestID="113" responseOrder="sequential">
    <dsml:searchRequest derefAliases="neverDerefAliases" dn="ou=HCProfessional,dc=HPD,o=IHE-Europe,c=FRA" requestID="113" scope="wholeSubtree" sizeLimit="2" timeLimit="100" typesOnly="false">
        <dsml:filter>
            <dsml:equalityMatch name="gender">
                <dsml:value>M</dsml:value>
            </dsml:equalityMatch>
        </dsml:filter>
    </dsml:searchRequest>
</dsml:batchRequest>
</s:Body>
</s:Envelope>

Receiving the following response:

<env:Envelope xmlns:env='http://www.w3.org/2003/05/soap-envelope'>
<env:Header/>
<env:Body>
<env:Fault xmlns:env='http://www.w3.org/2003/05/soap-envelope'>
<env:Code xmlns:env='http://www.w3.org/2003/05/soap-envelope'>
<env:Value xmlns:env='http://www.w3.org/2003/05/soap-envelope'>env:Receiver</env:Value>
</env:Code>
<env:Reason xmlns:env='http://www.w3.org/2003/05/soap-envelope'>
<env:Text xml:lang='en-GB' xmlns:env='http://www.w3.org/2003/05/soap-envelope'>java.lang.NullPointerException</env:Text>
</env:Reason>
</env:Fault>
</env:Body>
</env:Envelope>

I tried with and without SAML, no luck.

The exact same request is returning a valid response with data on ehealthsuisse HPD Simulator on https://ehealthsuisse.ihe-europe.net/HPDSimulator/home.seam

Is there an issue with gazelle's HPD simulator? It seems to be accepting search query request only from itself (consumer simulator), but not from my end.

None of the requests I sent is showing on the messages log either.

Thanks
Reply all
Reply to author
Forward
0 new messages