|
Hi Santosh.
I have discovered a bug in the GetOperationNameFromSoapAction method in the BasicSoapMessageHandler class in MockingBird.Simulator.Framework project.
After the soapAction variable is assigned, it contains quotes at the start and the end:
"\"http://webservices.online.co.uk/Private/ObcProductManagementWs/GetProductDetails"\"
This value gets passed to the next line of code:
Uri soapActionUri = new Uri(soapAction);
This will throw an exception because the Uri constructor cannot handle strings which contain quotes. I have put a hack in the code (just before the above line of code) to get round this:
soapAction = soapAction.Replace("\"", string.Empty);
Of course I could be doing something wrong myself. Any feedback would be welcome.
By the way, I have been using MockingBird for the past few days and I have been very impressed. I have been looking for something like this for ages.
Kind regards,
Ray.
|