无法连接到使用SOAP UI软件创建的Web服务链接 [英] Cannot Connect to A Web Service link that was created with SOAP UI Software
问题描述
有人可以尽快帮忙吗?
我有一个来自网络服务的链接SOAP UI软件(www.soapui.org)
我创建了一个C#窗口表单,并为应用程序添加了服务引用,但
挑战是:
1。 我不知道如何连接到网络服务,因为我已经传递了像username和amp;连接后的Pawword
注意: 我知道这个webmethod构造,但不会工作
      public static void GetPatientInformation(string companyID,string divisionID,string departmentID,string token,string lastSyncDate,string vConnectionString)
      {
          //填充公司参数
          CompanyID = companyID;
          DivisionID = divisionID;
          DepartmentID = departmentID;
          connectionString = vConnectionString;
          var url =" https://api.clinicea.com/api/v1/patients?lastSyncDate =" + lastSyncDate +"& token =" +令牌; }
我将非常感谢能够正常使用的C#代码构造..
谢谢。
这是你应该发布的地方。
Can someone please help ASAP
I have a link from a web service that was created from SOAP UI software (www.soapui.org)
I created a C# window Form , and added a service reference to the app but
challenge are:
1. i dont know how to connect to the webservice becasue i have pass argument like username & Pawword after connecting
Note: i know this webmethod construct , but wont work
public static void GetPatientInformation(string companyID, string divisionID, string departmentID, string token, string lastSyncDate, string vConnectionString)
{
//populate company parameters
CompanyID = companyID;
DivisionID = divisionID;
DepartmentID = departmentID;
connectionString = vConnectionString;
var url = "https://api.clinicea.com/api/v1/patients?lastSyncDate=" + lastSyncDate + "&token=" + token; }
Please i will appreciate a C# code construct that will work..
Thanks.
It's where you should post.
https://forums.asp.net/28.aspx/1?WCF+ASMX+and+other+Web+Services
这篇关于无法连接到使用SOAP UI软件创建的Web服务链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!