Hi, i have included throw new exception in my webservice, when i am trying to test webservice, passing baddata, and step into code in webservice, obviously it is jumping into throw exception. but not to the line Assert.isfalse in my test project.
Expected behaviour: when i pass baddata, after going through webmethod it shud go to next line that is Assert.method.i sfasle().
but it is going to catch in my test project,giving me a soap exception.
Here i should raise soap exception in my project and be able to test my webservice with badata. Ny idea???? ASAP :( plss
Expected behaviour: when i pass baddata, after going through webmethod it shud go to next line that is Assert.method.i sfasle().
but it is going to catch in my test project,giving me a soap exception.
Here i should raise soap exception in my project and be able to test my webservice with badata. Ny idea???? ASAP :( plss
Comment