Home > database >  Pb invoke the webservice prompt unkonw soap response
Pb invoke the webservice prompt unkonw soap response

Time:09-20

Development of agriculture in the process of the blending system with his system interface, pb invoke the web service application, pb 9.03 + 8836 patches in the process of call number webservice culvert, appeared the following error: error: unknown soap response tag:http://schemas.xmlsoap.org/wsdl/#definitions
Please prawns advice,

CodePudding user response:

Estimated using the type of pb webservice does not support, can consider to use the mssoap try

Using PB6.5 invoke the Web Service method

Since PB8.0/9.0, already provide Web Service Proxy function, can direct the preparation of the relevant procedure,

However, some old projects use PB6.5 development

Research found that actually PB6.5 to operate Web Service also pretty easy,




Description: 1. This example for pb to the operation of the Web Service,
2. The pb can use two ways,
3. The proxy mode using pb9 own Web Service proxy function implementation, need to be sharedPowerBuilderpbsoapclient90. The PBD included in the application,
4. OLE way call MSSOAP. SoapClient implementation, this method can be used in the low version of pb, as, pb6.5
5. MSSOAPLib. SoapClient available, please download from the Microsoft search soap toolkit soapsdk. Exe

OLEObject MSSOAPLib1
MSSOAPLib1=CREATE OLEObject
Long ll_result
Ll_result=MSSOAPLib1. ConnectToNewObject (" MSSOAP. SoapClient ")
If ll_result & lt;> 0 then
Messagebox (" prompt ", "connect MSSOAP SoapClient failure! Return parameter: "+ string (ll_result))
End the 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. The Text," new ")
  • Related