Home > database >  PB9 connection doesn't go to the web service
PB9 connection doesn't go to the web service

Time:09-17

Create success, but generated error! Don't know why you can warrior, please help!
-- -- -- -- -- -- -- -- -- -- the Deploy: Deploy of p_ws_proxy1
Retrieving original concept Proxies from WebService...
Generation Errors:
Deployment Error: No files returned from the server for service_port: 'SMsgService_SMsg Error code:' to generate the proxy for the port 'proxy was not created.
-- -- -- -- -- -- -- -- -- -- Finished the Deploy of p_ws_proxy1

The WEB address:
http://202.104.151.152:8101/axis/services/SMsg? WSDL

CodePudding user response:

With the pb10 tried

Generation Errors:
Deployment Error:
No files returned from the server for service_port 'SMsgService_SMsg'
The Error code: 'to generate the proxy for the port'
The Proxy was not created.

Doubt is the inside of the part type is not supported in PB, suggest you try the mssoap to invoke the web service

CodePudding user response:

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 ")

CodePudding user response:

Thank you,
PB10 tried, also not line,
Can only try mssoap to invoke the web service method,

CodePudding user response:

Just tried, under pb12 also not line, should be the problem of WSDL

CodePudding user response:

The moderator is positive solutions
  • Related