PB for Web service operations can be implemented in two ways

Source: Internet
Author: User

Since pb8.0/9.0, we have provided the Web Service proxy function, which can directly write the related program.

However, some old projects use PB6.5 to develop

The study found that PB6.5 to operate Web service is also very easy.

Description: 1. This example is used for PB-to-Web service operations.
The 2.PB can be implemented in two different ways.
3.proxy is implemented using PB9 's own web Service proxy feature, which requires SHAREDPOWERBUILDERPBSOAPCLIENT90.PBD to be included in the app.
The 4.OLE method calls the Mssoap.soapclient implementation, which can be used for low-version PB, such as pb6.5.
5.mssoaplib.soapclient, please download from Microsoft Search SOAP Toolkit Soapsdk.exe

OLEObject MSSOAPLIB1
mssoaplib1= CREATE OLEObject
Long Ll_result
Ll_result = Mssoaplib1.connecttonewobject ("MSSOAP. SoapClient ")
If Ll_result <> 0 Then
MessageBox ("System Prompt", "Connection Mssoap.soapclient failed!") Return parameter: "+string (Ll_result))
End If
Mssoaplib1.mssoapinit ("http://172.17.99.20:9090/yygh/services/Query?wsdl")
Mle_content. Text = Mssoaplib1.sendxml ("Sina", Sle_userid.text, Sle_passwd.text, Sle_mobileno.text, Mle_content.text, "new")

PB for Web service operations can be implemented in two ways

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.