1,pb安装路径下找到pbsoapclient90.pbd,加到程序中;
2,pb-->file--->new---->webservice Proxy Wizard
  输入webservice wsdl url ,一般为 url?WSDL;
3,生成代理对象;
4,按例子调用;

 

soapConnection conn // Define SoapConnection
popservice1soap proxy_obj // Declare proxy
int rVal

string s
conn = create SoapConnection

rVal = Conn.CreateInstance(proxy_obj,  "popservice1soap",)

try
    s =  proxy_obj.helloworld()
   // Invoke service
   messagebox("", s)
catch ( SoapException e )
   messagebox ("ErrDAT*    d or", "Cannot invoke Web service")  
    // error handling  
end try
destroy conn

1,pb安装路径下找到pbsoapclient90.pbd,加到程序中;
2,pb-->file--->new---->webservice Proxy Wizard
  输入webservice wsdl url ,一般为 url?WSDL;
3,生成代理对象;
4,按例子调用;

 

soapConnection conn // Define SoapConnection
popservice1soap proxy_obj // Declare proxy
int rVal

string s
conn = create SoapConnection

rVal = Conn.CreateInstance(proxy_obj,  "popservice1soap",)

try
    s =  proxy_obj.helloworld()
   // Invoke service
   messagebox("", s)
catch ( SoapException e )
   messagebox ("ErrDAT*    d or", "Cannot invoke Web service")  
    // error handling  
end try
destroy conn

相关文章:

  • 2021-04-18
  • 2021-06-26
  • 2022-12-23
  • 2021-12-02
  • 2021-10-09
  • 2021-04-05
  • 2021-12-18
  • 2022-12-23
猜你喜欢
  • 2021-11-20
  • 2021-11-22
  • 2022-12-23
  • 2021-11-18
  • 2021-12-27
  • 2021-10-08
  • 2022-01-25
相关资源
相似解决方案