Web Service Task not failing properly
In the package that i'm creating i'm using a web service task to call a service, passing an id and expecting an output xml files...should be pretty straight forward, what i'm trying to understand is that i'm trying to test the failure aspect of the package, the wsdl that i'm referencing is (www.google.com) obviously that should fail because it is not a valid wsdl file. Is there a reason why web service task takes any invalid wsdl reference and not fail properly as it should? thanks ahead of time for any help anyone might provide with this issue
October 11th, 2012 2:27pm

I'm not sure about your question, but you can download WSDL from Web Service Task Editor. and then Web Service Task will work. now I don't know why you've set wsdl to google.com.http://www.rad.pasfu.com
Free Windows Admin Tool Kit Click here and download it now
October 11th, 2012 3:27pm

i forgot to mention some stuff...apologies for that, i have a for each loop container and if the web service task fails i want it to go to one side and if it doesn't i want it to go to another side, but to accomplish this i have to enable an event handler for the web service task and set the propogate value to false to that if the web service task fails it will continue to process all of the id's i'm passing through. I just want to know if there is a way to explicitly make the web service fail if it is not referring to a proper wsdl, i have a work around that i could implement (like if the address doesn't equal a certain one that i denote then fail), but i'm just wondering if there is an option i'm not aware of that can do this for me...
October 11th, 2012 4:11pm

what you can do is, you can pass value to parameter as "WSDL" to verify with incoming WSDL link. for example. http://MyServer/MyWebService/MyPage.asmx?WSDL this is your WSDL link. steps are here. 1. pass parameter value as "WSDL" or hard code it. 2. extract "WSDL" part from incoming web service link. http://MyServer/MyWebService/MyPage.asmx?"WSDL" 3. you can use substring and set the position to get this part. and them compare both of these results with each other. if the incoming web service link has WSDL with it, it should continue or just discard the link. Try this out.. Good Luck...Regards, Chirag Patel (ETL Engineer)
Free Windows Admin Tool Kit Click here and download it now
October 11th, 2012 5:20pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics