连接WebService出错 ( 积分: 50 )

  • 主题发起人 斑点狗
  • 开始时间

斑点狗

Unregistered / Unconfirmed
GUEST, unregistred user!
HTTPRIO1.WSDLLocation := 'http://192.168.140.17:8888/axis2/services/SecurityService?wsdl';
HTTPRIO1.Service := 'SecurityService';
HTTPRIO1.Port := 'SecurityServiceSOAP11port_http';
ss := (HTTPRIO1 as SecurityServicePortType);
ss.LoginSystemWithID(1,0, '');

当运行到调用“LoginSystemWithID”时,就出错:
“Project Project1.exe raised exception class ERemotableException with message 'Exception occurred while trying to invoke service method LoginSystemWithID'. Process stopped. Use Step or Run to continue.”
这是什么呢?如何解决 ?
 
有没有导入'http://192.168.140.17:8888/axis2/services/SecurityService?wsdl'web服务单元?
 
顶部