Problem In Accessing Web Service

Apr 7 2013 3:07 AM
Dears,

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

Answers (2)