110,534
社区成员
发帖
与我相关
我的任务
分享
var xmlStr = new WSInterfacePortTypeClient().CallInterface(msgHeader, babyInfoStr);
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="WSInterfaceSoap11Binding" closeTimeout="00:00:10"
openTimeout="00:00:10" receiveTimeout="00:00:10" sendTimeout="00:00:10"
maxBufferPoolSize="655360000000" maxBufferSize="655360000" maxReceivedMessageSize="655360000000"
transferMode="Streamed">
<readerQuotas maxDepth="64" maxStringContentLength="655360000"
maxArrayLength="655360000" maxBytesPerRead="655360000" maxNameTableCharCount="655360000" />
<security mode="None" />
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://168.2.5.28:1506/services/WSInterface.WSInterfaceHttpSoap11Endpoint"
binding="basicHttpBinding" bindingConfiguration="WSInterfaceSoap11Binding"
contract="HisReferance.WSInterfacePortType" name="WSInterfaceHttpSoap11Endpoint" />
</client>
</system.serviceModel>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
http://168.2.5.28:1506/services/WSInterface.WSInterface.asmx
或者:
http://168.2.5.28:1506/services/WSInterface.asmx
HisDal.HisReferance.CallInterfaceResponse retVal = ((HisDal.HisReferance.WSInterfacePortType)(this)).CallInterface(inValue);
还是CallInterface这个接口,参数是invalue。