The Microsoft soap sample is incorrect!

Source: Internet
Author: User
Option explicitdim soapclient3'vb should be changed to dim soapclient3 as soapclient30set soapclient3 = Createobject ("mssoap. soapclient30 ")
On Error resume nextcall soapclient3.mssoapinit ("docsample1.wsdl", "docsample1", "sample1soapport ")
'"Docsample1.wsdl" should be changed
'"Http: // server/vdir/docsample1/Server/docsample1.asmx? WSDL"
'And: do not add "sample1soapport"


Soapclient3.connectorproperty ("endpointurl") = _
"Http: // server/vdir/docsample1/Server/docsample1.wsdl"
'Should be changedDocsample1.asmx? WSDL













Wscript. Echo soapclient3.echostring ("Bob") wscript. Echo soapclient3.addnumbers (2, 3) 'vb: msgbox replaces wscript. Echo

I am in the nightmare of the Microsoft example !!!!!!!
The server is a WSDL file and asmx generated using the WSDL tools of C # And vs.net.

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.