📄 onlineoperation_service.~pas
字号:
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://localhost:8080/wsdl/OnlineOperation-service.wsdl
// >Import : http://localhost:8080/wsdl/OnlineOperation-schema.xsd
// >Import : http://localhost:8080/wsdl/OnlineOperation-binding.wsdl
// Encoding : UTF-8
// Version : 1.0
// (2004-4-23 14:56:55 - 1.33.2.5)
// ************************************************************************ //
unit OnlineOperation_service;
interface
uses InvokeRegistry, SOAPHTTPClient, Types, XSBuiltIns;
type
// ************************************************************************ //
// The following types, referred to in the WSDL document are not being represented
// in this file. They are either aliases[@] of other types represented or were referred
// to but never[!] declared in the document. The types from the latter category
// typically map to predefined/known XML or Borland types; however, they could also
// indicate incorrect WSDL documents that failed to declare or import a schema type.
// ************************************************************************ //
// !:int - "http://www.onlineoperation.com/schemas/OnlineOperationRemoteInterface"
// !:string - "http://www.onlineoperation.com/schemas/OnlineOperationRemoteInterface"
// !:string - "http://www.w3.org/2001/XMLSchema"
com_empire_webapp_util_Msg = class; { "http://www.onlineoperation.com/schemas/OnlineOperationRemoteInterface" }
// ************************************************************************ //
// Namespace : http://www.onlineoperation.com/schemas/OnlineOperationRemoteInterface
// ************************************************************************ //
com_empire_webapp_util_Msg = class(TRemotable)
private
FmsgCode: Integer;
FmsgText: WideString;
published
property msgCode: Integer read FmsgCode write FmsgCode;
property msgText: WideString read FmsgText write FmsgText;
end;
// ************************************************************************ //
// Namespace : http://tempuri.org/com.empire.webapp.bean.OnlineOperation
// transport : http://schemas.xmlsoap.org/soap/http
// style : rpc
// binding : OnlineOperationBinding
// service : OnlineOperationService
// port : OnlineOperationPort
// URL : http://localhost:8080/servlet/rpcrouter
// ************************************************************************ //
OnlineOperationJavaPortType = interface(IInvokable)
['{36319D7C-0AAD-E1BC-3B54-B5D31AE899B9}']
function checkUser(const userid: WideString; const password: WideString): com_empire_webapp_util_Msg; stdcall;
function getRequestFileName(const userid: WideString; const cpsenos: WideString): com_empire_webapp_util_Msg; stdcall;
function uploadData(const userid: WideString; const pswgcase: WideString; const psagacct: WideString; const pspause: WideString; const htarch: WideString; const rtacct: WideString): com_empire_webapp_util_Msg; stdcall;
procedure deleteDataFile(const filename: WideString); stdcall;
end;
function GetOnlineOperationJavaPortType(UseWSDL: Boolean=System.False; Addr: string=''; HTTPRIO: THTTPRIO = nil): OnlineOperationJavaPortType;
implementation
function GetOnlineOperationJavaPortType(UseWSDL: Boolean; Addr: string; HTTPRIO: THTTPRIO): OnlineOperationJavaPortType;
const
defWSDL = 'http://localhost:8080/wsdl/OnlineOperation-service.wsdl';
defURL = 'http://localhost:8080/servlet/rpcrouter';
defSvc = 'OnlineOperationService';
defPrt = 'OnlineOperationPort';
var
RIO: THTTPRIO;
begin
Result := nil;
if (Addr = '') then
begin
if UseWSDL then
Addr := defWSDL
else
Addr := defURL;
end;
if HTTPRIO = nil then
RIO := THTTPRIO.Create(nil)
else
RIO := HTTPRIO;
try
Result := (RIO as OnlineOperationJavaPortType);
if UseWSDL then
begin
RIO.WSDLLocation := Addr;
RIO.Service := defSvc;
RIO.Port := defPrt;
end else
RIO.URL := Addr;
finally
if (Result = nil) and (HTTPRIO = nil) then
RIO.Free;
end;
end;
initialization
InvRegistry.RegisterInterface(TypeInfo(OnlineOperationJavaPortType), 'http://tempuri.org/com.empire.webapp.bean.OnlineOperation', 'UTF-8');
InvRegistry.RegisterDefaultSOAPAction(TypeInfo(OnlineOperationJavaPortType), '');
RemClassRegistry.RegisterXSClass(com_empire_webapp_util_Msg, 'http://www.onlineoperation.com/schemas/OnlineOperationRemoteInterface', 'com_empire_webapp_util_Msg', 'com.empire.webapp.util.Msg');
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -