Sample Soap Request for Method: getOfferDonorInfoV2( Long offerId, String nationalDonorId, String dateOfBirth )

Request: get a donor's "WsDonorSideInfo" shared information: arg0(offerId) is null, arg1(nationalDonorId) is valid, arg2(dateOfBirth) is null.
note:Examples of assigning NULL value to XML field arg0:.

1. Specifying the NULL value and xml Schema as an attribute of arg0 element

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ctr="http://ctr3ws.cbs.com/"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="0" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsse:UsernameToken wsu:Id="UsernameToken-3" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsse:Username>aUser</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"> aPassword </wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <ctr:getOfferDonorInfoV2> <arg0 xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <arg1>CTD056504</arg1> </ctr:getOfferDonorInfoV2> </soapenv:Body> </soapenv:Envelope>

2. Specifying the NULL value as an attribute of arg0 element and the xml schema as an attribute of the soapenv:Envelope element

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ctr="http://ctr3ws.cbs.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="0" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsse:UsernameToken wsu:Id="UsernameToken-3" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsse:Username>aUser</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"> aPassword </wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <ctr:getOfferDonorInfoV2> <arg0 xsi:nil="true"/> <arg1>CTD056504</arg1> <arg2>1999/12/01</arg2> </ctr:getOfferDonorInfoV2> </soapenv:Body> </soapenv:Envelope>

3. Specifying the value of the arg0 element as an empty string and the xml schema as an attribute of the soapenv:Envelope element

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ctr="http://ctr3ws.cbs.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="0" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsse:UsernameToken wsu:Id="UsernameToken-3" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsse:Username>aUser</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"> aPassword </wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <ctr:getOfferDonorInfoV2> <arg0/> <arg1>CTD056504</arg1> </ctr:getOfferDonorInfoV2> </soapenv:Body> </soapenv:Envelope>