Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hello Friends,

I have a WCF application its exposed interface has a method like

GetAllStatus(string userName, string password, Status[] status)

here Status is some enum value

It is working fine when Access by Soap UI

XML
<tem:status>
            <!--Zero or more repetitions:-->
            <test:Status>CancelledByUser</test:Status>
             <test:Status>Confirmed</test:Status>
</tem:status>



Now when i make it

XML
<tem:status>
             <test:Status></test:Status>
</tem:status>


It trows formatter exception.

i tried to modify the method signature by "Status?[]" like this but when i does this it wont hold any parameter even we supply them

Please advise
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900