cancel
Showing results for 
Search instead for 
Did you mean: 

Integration SOAP v1 APIs with C#.Net

Integration SOAP v1 APIs with C#.Net

Hi Can anyone help me with the SOAP v1 integration with C#.Net code? string SessionID = ""; API.PortTypeClient obj = new API.PortTypeClient(); string Session = obj.startSession(); SessionID = obj.login("Username", "Password"); object[] objRecord = obj.resources(SessionID); var ars = obj.call(SessionID, "product.list", new object[] { }); I am getting Error : Error in deserializing body of reply message for operation 'resources'. Please can give me hint to resolve this issue.? Thanks,

1 REPLY 1

Re: Integration SOAP v1 APIs with C#.Net

Just formatting your code for others, next time you post use the code tags...

 

string SessionID = ""; 
API.PortTypeClient obj = new API.PortTypeClient(); 
string Session = obj.startSession(); 
SessionID = obj.login("Username", "Password"); 
object[] objRecord = obj.resources(SessionID); 
var ars = obj.call(SessionID, "product.list", new object[] { });