Home > Software engineering >  Vb6.0 by use how to invoke the web service
Vb6.0 by use how to invoke the web service

Time:10-08

For personal number

The function name: traceQueryTargetA

Incoming parameters:

Character year year 仹;

Character areaId region number;

Character name patient names;

Character medicalNo patient medical card number;

Type of personal data: the character number

Routine:

Ls_personId=iws_proxy_obj. Tracequerytargeta (ls_year ls_xqbh, ls_name, ls_ylzhm)

The following is the realization of PB, don't know how the VB realize!
The original concept instance code

3.1 statement

//hair amount statement

The soapconnection i_conn

Given the client interfacehttpport iws_proxy_obj

//webservie call

I_conn=create the soapconnection

String='http://client endpoint interface.hnhzyl.com/client Interface/services/client
Interface? WSDL: '

//ll_result=i_conn.. Createinstance (iws_proxy_obj, "given the client
Interfacehttpport ", "http://61.163.77.36:8080/client Interface/services/client
Interface? WSDL ")

Ll_result=i_conn. Createinstance (iws_proxy_obj, "given the client interfacehttpport")

CodePudding user response:

Using vb6.0 by use calls to download msSoapToolkit20. Exe add references: Microsoft Soap Type Library location: "C: \ Program Files \ Common Files \ MSSoap \ Binaries \ MSSOAP1 DLL" calls the method: Dim cc As New MSSOAPLib. The SoapClient routines: New project? Standard EXE? Add 3 textbox control, text1, text2, text3? Add a button control Command1 code is As follows: Option ExplicitDim cc As New MSSOAPLib. SoapClientPrivate Sub Command1_Click (cc). The mssoapinit "http://192.168.0.4/yundan/Service1.asmx? WSDL "Me. Text3. Text=cc. The test (CInt (Text1. Text), CInt (Text2. Text)) End Sub4. 9 using vbscript calls to download msSoapToolkit20. Exe reference: MSSOAP. SoapClient

CodePudding user response:

If the WSDL file is not in conformity with the wsi? Using low-level apis mssoapinit initialization error, can you?

CodePudding user response:

C # how ah
  • Related