HPD - Provider Information Query

64 views
Skip to first unread message

Wael Zidan

unread,
Mar 18, 2015, 9:33:05 AM3/18/15
to ihe-hpd-im...@googlegroups.com
Dear All ,


I sent HPD query as you see

    <soap-env:Header>
        <soap-env:Action soap-env:mustUnderstand="0">urn:ihe:iti:hpd:2010:ProviderInformationQueryRequest</soap-env:Action>
        <soap-env:MessageID soap-env:mustUnderstand="0">urn:uuid:cd9cc445-b567-42da-9ebc-cf666f9233ec</soap-env:MessageID>
        <soap-env:ReplyTo soap-env:mustUnderstand="1">
            <soap-env:Address>http://www.w3.org/2005/08/addressing/anonymous</soap-env:Address>
        </soap-env:ReplyTo>
    </soap-env:Header>
    <soap-env:Body>
        <dsml:batchRequest xmlns:dsml="urn:oasis:names:tc:DSML:2:0:core" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <dsml:searchRequest derefAliases="neverDerefAliases" dn="ou=HCProfessional,dc=HPD,o=IHE-Europe,c=FRA" scope="wholeSubtree" sizeLimit="100" typesOnly="false">
                <dsml:filter>
                    <dsml:approxMatch name="HcRegisteredName">
                        <dsml:value>Mark Smith</dsml:value>
                    </dsml:approxMatch>
                </dsml:filter>
                <dsml:attributes>
                    <dsml:attribute name="givenName"/>
                    <dsml:attribute name="HcRegistrationStatus"/>
                    <dsml:attribute name="departmentNumber"/>
                    <dsml:attribute name="description"/>
                    <dsml:attribute name="displayName"/>
                    <dsml:attribute name="emailAddress"/>
                    <dsml:attribute name="HcIdentificationService"/>
                    <dsml:attribute name="HcPrincipalPracticeLocation"/>
                    <dsml:attribute name="hpdProviderMailingAddress"/>
                </dsml:attributes>
            </dsml:searchRequest>
        </dsml:batchRequest>
    </soap-env:Body>
</soap-env:Envelope>




 but i revived following error 

    <env:Code>
        <env:Value>env:Receiver</env:Value>
    </env:Code>
    <env:Reason>
        <env:Text xml:lang="en-GB">Cannot create SOAPFault message for: javax.xml.ws.soap.SOAPFaultException: A required header representing a Message Addressing Property is not present</env:Text>
    </env:Reason>
</env:Fault>



any once can support me

Anne-Gaëlle Bergé

unread,
Mar 18, 2015, 9:42:10 AM3/18/15
to ihe-hpd-im...@googlegroups.com
Wael,

I think you are not using the correct namespace in your header. Action, MessageID, To and so on are prefixed with soap-env but the correct namespace to use here is the other one you have declared: xmlns:a="http://www.w3.org/2005/08/addressing". It might cause the error on the server side which, I guess, is not able to understand the SOAP header.

Hope this helps

Anne-Gaëlle

Anne-Gaëlle BERGÉ
IHE Europe Development
Gazelle team

KEREVAL
4, rue Hélène Boucher
Z.A. Bellevue
35235 Thorigné Fouillard
Tel : +33 (0)2 23 20 36 64
http://www.kereval.com
--
You received this message because you are subscribed to the Google Groups "ihe-hpd-implementors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ihe-hpd-implemen...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages