vb调用webservice,但是通过代理却不行

页面导航:首页 > 软件编程 > vb.net > vb调用webservice,但是通过代理却不行

vb调用webservice,但是通过代理却不行

来源: 作者: 时间:2016-01-15 15:10 【

[csharp]Private Sub cmdRun_Click()Dim soap As New SoapClient30soap.ClientProperty(ServerHTTPRequest) = Truesoap.MSSoapInit http://192.168.100.100:9091/esbbusservice.asmx?wsdltxtResult...

[csharp]
Private Sub cmdRun_Click() 
Dim soap As New SoapClient30 
soap.ClientProperty("ServerHTTPRequest") = True 
soap.MSSoapInit "http://192.168.100.100:9091/esbbusservice.asmx?wsdl" 
txtResult.Text = soap.Process(txtInput.Text) 
Set soap = Nothing 
End Sub 
 
Private Sub Form_Load() 
txtPath.Text = App.Path + "\EsbBusService.wsdl" 
End Sub 

Private Sub cmdRun_Click()
Dim soap As New SoapClient30
soap.ClientProperty("ServerHTTPRequest") = True
soap.MSSoapInit "http://192.168.100.100:9091/esbbusservice.asmx?wsdl"
txtResult.Text = soap.Process(txtInput.Text)
Set soap = Nothing
End Sub

Private Sub Form_Load()
txtPath.Text = App.Path + "\EsbBusService.wsdl"
End Sub

 


通过代理却不行,提示超时,请高手指定

 

 

\

Tags:

文章评论

最 近 更 新
热 点 排 行
Js与CSS工具
代码转换工具

<