View Single Post
Old 03-03-2009, 01:29 PM   #1 (permalink)
SamuelD
Knows Where the Search Button Is
 
Join Date: Feb 2009
Location: Quebec, Ca
Model: 8330
OS: v4.5.0.77
PIN: 30293EF0
Carrier: Telus
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Web Services : not nillable missed

Please Login to Remove!

Hello,
I have a little problem with my new Web Service. I always get the error :

Quote:
not nillable element of array type in response is missed.
here is the SOAP Response :
Code:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="" xmlns:xsi="" xmlns:xsd="">
    <soap:Body>
        <GetHRRequestToApproveResponse xmlns="">
            <GetHRRequestToApproveResult>true</GetHRRequestToApproveResult>
            <result>
                <HRRequest>
                    <RequestID>6163</RequestID>
                    <ParentRequestID xsi:nil="true" />
                    <RequestTypeID>501</RequestTypeID>
                    <RequestTypeDescFr>Ajustement salarial (C)</RequestTypeDescFr>
                    <RequestTypeDescEn>Salary adjustment (C)</RequestTypeDescEn>
                    <RequestStatusID>20</RequestStatusID>
                    <RequestStatusDescFr>En processus d'approbation</RequestStatusDescFr>
                    <RequestStatusDescEn>Waiting for approval</RequestStatusDescEn>
                    <MemberCode>074566</MemberCode>
                    <MemberLastName>Rioux</MemberLastName>
                    <MemberFirstName>Marc</MemberFirstName>
                    <RequestedByMemberCode>011456</RequestedByMemberCode>
                    <RequestedByMemberLastName>Carrie</RequestedByMemberLastName>
                     <RequestedByMemberFirstName>Joe</RequestedByMemberFirstName>
                    <RequestDate>2009-02-28 15:31:30</RequestDate>
                    <DateTimeFormat>yyyy-MM-dd HH:mm:ss</DateTimeFormat>
                </HRRequest>
            </result>
            <rowCount>1</rowCount>
            <errorMsg />
        </GetHRRequestToApproveResponse>
    </soap:Body>
</soap:Envelope>

Last edited by SamuelD : 03-03-2009 at 01:31 PM.
Offline   Reply With Quote