Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
560 views
in Technique[技术] by (71.8m points)

SOAP in C# from WSDL returning data

I've got a WSDL from our RMM tool

https://ncod26.n-able.com/dms2/services2/ServerEI2?wsdl

I've connected it as a reference to my project in C# .net 4.7, i'm just trying to work out how to get the data out of it.

enter image description here

In the above picture, when adding I can see all the methods listed, but can't work out how to actually return the data.

Starting really simply I've tried

ncentral.customerList SW = new ncentral.customerList() { username = "REDACTED", password = "REDACTED",};
Console.WriteLine(SW);

But SW just has the username/password in and doesn't make any calls. I can see there is a customerListResponse method

enter image description here

With no documentation, I'm finding it hard to work out how to actually return the data


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...