I'm accessing a web service using C# (thru visual studio) , which has several parameters in it. Two of them called "Insured Type", "Insured ID".
Scenario I
If "Insured Type" value is "1" then the "Insured ID" value should start with "1 or 2"
Scenario II
If "Insured Type" value is "2" then the "Insured ID" value should start with "7"
Scenario 2 is working fine with me, only i'm facing problem when i'm using scenario 1. Its says the validation error "Invalid Insured ID". But the same input parameters working fine when i'm testing with third party testing tool like "SoapUI","SoapSonar" etc.
Here I have to mention one thing that I took one test with Microsoft Testing Tool called "WCF Test Client", Here also I'm getting the same validation error Message like my application.
Please help me out in this. Its very urgent.
Thanks & Regards
Suhesh.S
suhesh selladuraiPosted Apr 10, 2013, 3:17 AM
Its working now. There is a third parameter, which they mentioned as optional, But they are taking into consideration for validation. Even i'm passing value to that parameter its not reaching to there side, later i mentioned like Parameterspecified=true, Its working fine.
Thank you once again.
Javeed M ShaikhPosted Apr 8, 2013, 2:41 PM
Please share your code/project if possible, otherwise it is very difficult to judge.