Hi All,
I'm working on NAV 2013.
Creating unit test on the basis of web services in Visual Studio, that is created by exposing the Page as WS.
I have exposed page "FileShipmentModCard" as a WS, and writing the unit test.
I have created PortClient obj and FileShipmentModCard instance to work with it
so while creating new FileShipmentModalCard, getting the error in dotnet as bellow
Code is as bellow:
//File Shipment Mod. Card FileShipmentModCard.FileShipmentModCard_PortClient fileShipmentModCardService = new FileShipmentModCard.FileShipmentModCard_PortClient(); FileShipmentModCard.FileShipmentModCard newFileShipmentModCard = new FileShipmentModCard.FileShipmentModCard(); fileShipmentModCardService.Create(ref newFileShipmentModCard); // Error comes here
Can anyone any idea how to fix this issue? Thanks!
*This post is locked for comments