最近用到delphi開發webservice客戶端,于是做了個測驗程式,但運行時提示namespace mismatch require http://***.com found http://****.com 請問這個提示是什么意思?
uj5u.com熱心網友回復:
有人知道嗎,有人知道嗎?uj5u.com熱心網友回復:
命名空間不匹配,可能是生成WSDL importer的環境和測驗的環境不一致,檢查對比一下wsdl和生成單元的代碼。另外如果是用D7呼叫axis2的話,似乎是會有點問題的。
uj5u.com熱心網友回復:
importer我用的是wsdl檔案引入的,跟這有關系嗎?uj5u.com熱心網友回復:
那你應該檢查wsdl檔案和測驗環境發布地址的wsdl,看看當中的namespace是否一致uj5u.com熱心網友回復:
我的wsdl檔案就是從測驗環境地址拷貝來的,應該一樣吧?uj5u.com熱心網友回復:
XE6沒問題,我做的是用XE6呼叫SAP端的WEBSERVICE 以下是我做的其中一個介面的實體procedure TFrmMain.MM001Click(Sender: TObject);
var
v_MT_MM_001_GenGoodsMvt:MT_MM_001_GenGoodsMvt;
service:MI_LES_MM_001_GenGoodsMvt;
v_Info:array of MI_LES_MM_001_GenGoodsMvt_DEV.Info;
v_DT_COMMON_HEADER:MI_LES_MM_001_GenGoodsMvt_DEV.DT_COMMON_HEADER;
a:TXSDecimal;
i,k:integer;
ADOCON:TADOConnection;
ADOQUE:TADOQuery;
DSP: TDataSetProvider;
CDS: TClientDataSet;
sql,msgid:string;
begin
try
ADOCON:=TADOConnection.Create(self);
ADOCON.ConnectionString:=DBLink.Text;
ADOCON.Provider:='OraOLEDB.Oracle.1';
ADOCON.LoginPrompt:=false;
ADOCON.KeepConnection:=true;
ADOQUE:=TADOQuery.Create(self);
ADOQUE.Connection:=ADOCON;
DSP:= TDataSetProvider.Create(self);
DSP.DataSet:=ADOQUE;
CDS:= TClientDataSet.Create(self);
sql:='select * from ZXIT_MM001 a where a.msgid = '''+mm001msgid.Text+''' ';
ADOQUE.Close;
ADOQUE.SQL.Clear;
ADOQUE.SQL.Add(sql);
ADOQUE.Open;
CDS.Close;
CDS.Data:=DSP.Data;
CDS.Open;
i:=CDS.RecordCount;
if i>=1 then
begin
v_MT_MM_001_GenGoodsMvt:=MT_MM_001_GenGoodsMvt.Create;
v_DT_COMMON_HEADER:=MI_LES_MM_001_GenGoodsMvt_DEV.DT_COMMON_HEADER.Create;
v_DT_COMMON_HEADER.INTERID:='MM001';
v_DT_COMMON_HEADER.DTSEND:=FormatDateTime('yyyymmddHHMMss',now);
v_DT_COMMON_HEADER.SENDER:='FGSLES';
v_DT_COMMON_HEADER.RECEIVER:='ERP';
SetLength(v_Info,i);
CDS.First;
k:=0;
while not CDS.Eof do
begin
v_Info[k]:=MI_LES_MM_001_GenGoodsMvt_DEV.Info.Create;
msgid:=CDS.FieldByName('MSGID').AsString;
v_Info[k].MSGID:=CDS.FieldByName('MSGID').AsString;
v_Info[k].BUDAT:=CDS.FieldByName('BUDAT').AsString;
v_Info[k].BLDAT:=CDS.FieldByName('BLDAT').AsString;
v_Info[k].XBLNR:=CDS.FieldByName('XBLNR').AsString;
v_Info[k].BKTXT:=CDS.FieldByName('BKTXT').AsString;
v_Info[k].MATNR:=CDS.FieldByName('MATNR').AsString;
v_Info[k].ITEM :=CDS.FieldByName('ITEM').AsString;
v_Info[k].BWART:=CDS.FieldByName('BWART').AsString;
v_Info[k].WERKS:=CDS.FieldByName('WERKS').AsString;
v_Info[k].LGORT:=CDS.FieldByName('LGORT').AsString;
v_Info[k].BWTAR:=CDS.FieldByName('BWTAR').AsString;
v_Info[k].CHARG:=CDS.FieldByName('CHARG').AsString;
v_Info[k].SOBKZ:=CDS.FieldByName('SOBKZ').AsString;
v_Info[k].STOCK_TYP:=CDS.FieldByName('STOCK_TYP').AsString;
a:=TXSDecimal.Create;
a.AsBcd:=TBcd(CDS.FieldByName('MENGE').AsFloat);
v_Info[k].MENGE:=MENGE(a);
v_Info[k].ERFME:=CDS.FieldByName('ERFME').AsString;
v_Info[k].UMMAT:=CDS.FieldByName('UMMAT').AsString;
v_Info[k].UMWRK:=CDS.FieldByName('UMWRK').AsString;
v_Info[k].UMLGO:=CDS.FieldByName('UMLGO').AsString;
v_Info[k].UMBAR:=CDS.FieldByName('UMBAR').AsString;
v_Info[k].UMCHA:=CDS.FieldByName('UMCHA').AsString;
v_Info[k].GSBER:=CDS.FieldByName('GSBER').AsString;
v_Info[k].KOKRS:=CDS.FieldByName('KOKRS').AsString;
v_Info[k].SALES_ORD:=CDS.FieldByName('SALES_ORD').AsString;
v_Info[k].KOSTL:=CDS.FieldByName('KOSTL').AsString;
v_Info[k].AUFNR:=CDS.FieldByName('AUFNR').AsString;
v_Info[k].COST_OBJ:=CDS.FieldByName('COST_OBJ').AsString;
v_Info[k].LIFNR:=CDS.FieldByName('LIFNR').AsString;
v_Info[k].SGTXT:=CDS.FieldByName('SGTXT').AsString;
v_Info[k].GRUND:=CDS.FieldByName('GRUND').AsString;
v_Info[k].ADP1 :=CDS.FieldByName('ADP1').AsString;
v_Info[k].ADP2 :=CDS.FieldByName('ADP2').AsString;
k:=k+1;
CDS.Next;
end;
v_MT_MM_001_GenGoodsMvt.header:=v_DT_COMMON_HEADER;
v_MT_MM_001_GenGoodsMvt.Info:=MI_LES_MM_001_GenGoodsMvt_DEV.Array_Of_Info(v_Info);
try
service:=MI_LES_MM_001_GenGoodsMvt_DEV.GetMI_LES_MM_001_GenGoodsMvt(true,'',nil);
service.MI_LES_MM_001_GenGoodsMvt(v_MT_MM_001_GenGoodsMvt);
log4info('Send ZXIT_MM001 MSGID = '+msgid+' sucess');
Memo1.Lines.Append(FormatDateTime('yyyy-mm-dd HH:MM:ss',now)
+' Send ZXIT_MM001 MSGID = '+msgid+' sucess');
sql:='update ZXIT_MM001 a set a.op_flag=''1'',a.dattim=to_char(sysdate,''yyyy-MM-dd HH24:mi:ss'') where a.msgid='''
+msgid+'''';
ADOQUE.Close;
ADOQUE.SQL.Clear;
ADOQUE.SQL.Add(sql);
ADOQUE.ExecSQL;
except
on e:exception do
begin
log4error('Send ZXIT_MM001 MSGID = '+msgid+' error : '+e.Message);
Memo1.Lines.Append(FormatDateTime('yyyy-mm-dd HH:MM:ss',now)
+'Send ZXIT_MM001 MSGID = '+msgid+' error : '+e.Message);
exit;
end;
end;
end
else exit;
finally
if Memo1.Lines.Count>500 then
begin
Memo1.Lines.Clear;
end;
ADOCON.Close;
ADOQUE.Close;
ADOCON.FreeOnRelease;
ADOQUE.FreeOnRelease;
DSP.FreeOnRelease;
CDS.FreeOnRelease;
if Assigned(a) then a.Free;
if Assigned(v_DT_COMMON_HEADER) then v_DT_COMMON_HEADER.Free;
if Assigned(v_Info) then
begin
for I := High(v_Info) downto low(v_Info) do
begin
v_Info[i].FreeInstance;
end;
end;
if Assigned(v_MT_MM_001_GenGoodsMvt) then v_MT_MM_001_GenGoodsMvt.FreeInstance;
end;
end;
uj5u.com熱心網友回復:
這個檔案是WSDL決議出來的,比較大分2頁// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : E:\瑞泰馬鋼ERP呼叫PMS的Webservice測驗\MI_LES_MM_001_GenGoodsMvt_DEV.wsdl
// >Import : E:\瑞泰馬鋼ERP呼叫PMS的Webservice測驗\MI_LES_MM_001_GenGoodsMvt_DEV.wsdl>0
// >Import : E:\瑞泰馬鋼ERP呼叫PMS的Webservice測驗\MI_LES_MM_001_GenGoodsMvt_DEV.wsdl>1
// Encoding : UTF-8
// Codegen : [wfForceSOAP11+]
// Version : 1.0
// (2018/8/30 16:51:26 - - $Rev: 68735 $)
// ************************************************************************ //
unit MI_LES_MM_001_GenGoodsMvt_DEV;
interface
uses Soap.InvokeRegistry, Soap.SOAPHTTPClient, System.Types, Soap.XSBuiltIns;
const
IS_UNBD = $0002;
IS_UNQL = $0008;
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 Embarcadero types; however, they could also
// indicate incorrect WSDL documents that failed to declare or import a schema type.
// ************************************************************************ //
// !:string - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:decimal - "http://www.w3.org/2001/XMLSchema"[Gbl]
DT_MM_001_GenGoodsMvt = class; { "http://masteel.com/xi/les/system/mm"[Lit][GblCplx] }
MT_MM_001_GenGoodsMvt = class; { "http://masteel.com/xi/les/system/mm"[Lit][GblElm] }
DT_COMMON_HEADER = class; { "http://masteel.com/xi/les/system/common"[GblCplx] }
Info = class; { "http://masteel.com/xi/les/system/mm"[Cplx] }
Array_Of_Info = array of Info; { "http://masteel.com/xi/les/system/mm"[Ubnd] }
// ************************************************************************ //
// XML : DT_MM_001_GenGoodsMvt, global, <complexType>
// Namespace : http://masteel.com/xi/les/system/mm
// Serializtn: [xoLiteralParam]
// Info : Wrapper
// ************************************************************************ //
DT_MM_001_GenGoodsMvt = class(TRemotable)
private
Fheader: DT_COMMON_HEADER;
FInfo: Array_Of_Info;
public
constructor Create; override;
destructor Destroy; override;
published
property header: DT_COMMON_HEADER Index (IS_UNQL) read Fheader write Fheader;
property Info: Array_Of_Info Index (IS_UNBD or IS_UNQL) read FInfo write FInfo;
end;
// ************************************************************************ //
// XML : MT_MM_001_GenGoodsMvt, global, <element>
// Namespace : http://masteel.com/xi/les/system/mm
// Info : Wrapper
// ************************************************************************ //
MT_MM_001_GenGoodsMvt = class(DT_MM_001_GenGoodsMvt)
private
published
end;
BUDAT = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
MATNR = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
ITEM = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
BKTXT = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
BLDAT = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
XBLNR = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
UMWRK = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
ADP1 = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
ADP2 = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
GRUND = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
KUNNR = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
SGTXT = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
RECEIVER = type string; { "http://masteel.com/xi/les/system/common"[Smpl] }
SENDER = type string; { "http://masteel.com/xi/les/system/common"[Smpl] }
INTERID = type string; { "http://masteel.com/xi/les/system/common"[Smpl] }
DTSEND = type string; { "http://masteel.com/xi/les/system/common"[Smpl] }
// ************************************************************************ //
// XML : DT_COMMON_HEADER, global, <complexType>
// Namespace : http://masteel.com/xi/les/system/common
// ************************************************************************ //
DT_COMMON_HEADER = class(TRemotable)
private
FINTERID: INTERID;
FDTSEND: DTSEND;
FSENDER: SENDER;
FRECEIVER: RECEIVER;
published
property INTERID: INTERID Index (IS_UNQL) read FINTERID write FINTERID;
property DTSEND: DTSEND Index (IS_UNQL) read FDTSEND write FDTSEND;
property SENDER: SENDER Index (IS_UNQL) read FSENDER write FSENDER;
property RECEIVER: RECEIVER Index (IS_UNQL) read FRECEIVER write FRECEIVER;
end;
GSBER = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
KOKRS = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
UMCHA = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
UMLGO = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
UMBAR = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
SALES_ORD = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
COST_OBJ = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
LIFNR = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
AUFNR = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
S_ORD_ITEM = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
KOSTL = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
MSGID = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
STOCK_TYP = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
MENGE = class(TXSDecimal) end; { "http://masteel.com/xi/les/system/mm"[Smpl] }
UMMAT = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
ERFME = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
SOBKZ = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
WERKS = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
BWART = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
LGORT = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
CHARG = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
BWTAR = type string; { "http://masteel.com/xi/les/system/mm"[Smpl] }
// ************************************************************************ //
// XML : Info, <complexType>
// Namespace : http://masteel.com/xi/les/system/mm
// ************************************************************************ //
Info = class(TRemotable)
private
FMSGID: MSGID;
FBUDAT: BUDAT;
FBLDAT: BLDAT;
FXBLNR: XBLNR;
FBKTXT: BKTXT;
FMATNR: MATNR;
FITEM: ITEM;
FBWART: BWART;
FWERKS: WERKS;
FLGORT: LGORT;
FBWTAR: BWTAR;
FCHARG: CHARG;
FSOBKZ: SOBKZ;
FSTOCK_TYP: STOCK_TYP;
FMENGE: MENGE;
FERFME: ERFME;
FUMMAT: UMMAT;
FUMWRK: UMWRK;
FUMLGO: UMLGO;
FUMBAR: UMBAR;
FUMCHA: UMCHA;
FGSBER: GSBER;
FKOKRS: KOKRS;
FSALES_ORD: SALES_ORD;
FS_ORD_ITEM: S_ORD_ITEM;
FKOSTL: KOSTL;
FAUFNR: AUFNR;
FCOST_OBJ: COST_OBJ;
FLIFNR: LIFNR;
FKUNNR: KUNNR;
FSGTXT: SGTXT;
FGRUND: GRUND;
FADP1: ADP1;
FADP2: ADP2;
public
destructor Destroy; override;
published
property MSGID: MSGID Index (IS_UNQL) read FMSGID write FMSGID;
property BUDAT: BUDAT Index (IS_UNQL) read FBUDAT write FBUDAT;
property BLDAT: BLDAT Index (IS_UNQL) read FBLDAT write FBLDAT;
property XBLNR: XBLNR Index (IS_UNQL) read FXBLNR write FXBLNR;
property BKTXT: BKTXT Index (IS_UNQL) read FBKTXT write FBKTXT;
property MATNR: MATNR Index (IS_UNQL) read FMATNR write FMATNR;
property ITEM: ITEM Index (IS_UNQL) read FITEM write FITEM;
property BWART: BWART Index (IS_UNQL) read FBWART write FBWART;
property WERKS: WERKS Index (IS_UNQL) read FWERKS write FWERKS;
property LGORT: LGORT Index (IS_UNQL) read FLGORT write FLGORT;
property BWTAR: BWTAR Index (IS_UNQL) read FBWTAR write FBWTAR;
property CHARG: CHARG Index (IS_UNQL) read FCHARG write FCHARG;
property SOBKZ: SOBKZ Index (IS_UNQL) read FSOBKZ write FSOBKZ;
property STOCK_TYP: STOCK_TYP Index (IS_UNQL) read FSTOCK_TYP write FSTOCK_TYP;
property MENGE: MENGE Index (IS_UNQL) read FMENGE write FMENGE;
property ERFME: ERFME Index (IS_UNQL) read FERFME write FERFME;
property UMMAT: UMMAT Index (IS_UNQL) read FUMMAT write FUMMAT;
property UMWRK: UMWRK Index (IS_UNQL) read FUMWRK write FUMWRK;
property UMLGO: UMLGO Index (IS_UNQL) read FUMLGO write FUMLGO;
property UMBAR: UMBAR Index (IS_UNQL) read FUMBAR write FUMBAR;
property UMCHA: UMCHA Index (IS_UNQL) read FUMCHA write FUMCHA;
property GSBER: GSBER Index (IS_UNQL) read FGSBER write FGSBER;
uj5u.com熱心網友回復:
property KOKRS: KOKRS Index (IS_UNQL) read FKOKRS write FKOKRS;property SALES_ORD: SALES_ORD Index (IS_UNQL) read FSALES_ORD write FSALES_ORD;
property S_ORD_ITEM: S_ORD_ITEM Index (IS_UNQL) read FS_ORD_ITEM write FS_ORD_ITEM;
property KOSTL: KOSTL Index (IS_UNQL) read FKOSTL write FKOSTL;
property AUFNR: AUFNR Index (IS_UNQL) read FAUFNR write FAUFNR;
property COST_OBJ: COST_OBJ Index (IS_UNQL) read FCOST_OBJ write FCOST_OBJ;
property LIFNR: LIFNR Index (IS_UNQL) read FLIFNR write FLIFNR;
property KUNNR: KUNNR Index (IS_UNQL) read FKUNNR write FKUNNR;
property SGTXT: SGTXT Index (IS_UNQL) read FSGTXT write FSGTXT;
property GRUND: GRUND Index (IS_UNQL) read FGRUND write FGRUND;
property ADP1: ADP1 Index (IS_UNQL) read FADP1 write FADP1;
property ADP2: ADP2 Index (IS_UNQL) read FADP2 write FADP2;
end;
// ************************************************************************ //
// Namespace : http://masteel.com/xi/les/system/mm
// soapAction: http://sap.com/xi/WebService/soap1.1
// transport : http://schemas.xmlsoap.org/soap/http
// style : document
// use : literal
// binding : MI_LES_MM_001_GenGoodsMvtBinding
// service : MI_LES_MM_001_GenGoodsMvtService
// port : MI_LES_MM_001_GenGoodsMvtPort
// URL : http://xidev:50000/XISOAPAdapter/MessageServlet?channel=:BS_DEV_LES_JAVA:CC_SENDING_SOAP_MM_001_GenGoodsMvt&version=3.0&Sender.Service=BS_DEV_LES_JAVA&Interface=http%3A%2F%2Fmasteel.com%2Fxi%2Fles%2Fsystem%2Fmm%5EMI_LES_MM_001_GenGoodsMvt
// ************************************************************************ //
MI_LES_MM_001_GenGoodsMvt = interface(IInvokable)
['{6D460762-6F92-F1AB-18D5-714274B3A012}']
// Cannot unwrap:
// - Input element wrapper name does not match operation's name
procedure MI_LES_MM_001_GenGoodsMvt(const MT_MM_001_GenGoodsMvt: MT_MM_001_GenGoodsMvt); stdcall;
end;
function GetMI_LES_MM_001_GenGoodsMvt(UseWSDL: Boolean=System.False; Addr: string=''; HTTPRIO: THTTPRIO = nil): MI_LES_MM_001_GenGoodsMvt;
implementation
uses System.SysUtils;
function GetMI_LES_MM_001_GenGoodsMvt(UseWSDL: Boolean; Addr: string; HTTPRIO: THTTPRIO): MI_LES_MM_001_GenGoodsMvt;
const
defWSDL = 'E:\瑞泰馬鋼ERP呼叫PMS的Webservice測驗\MI_LES_MM_001_GenGoodsMvt_DEV.wsdl';
defURL = 'http://172.27.16.228:50000/XISOAPAdapter/MessageServlet?channel=:BS_DEV_LES_JAVA:CC_SENDING_SOAP_MM_001_GenGoodsMvt&version=3.0&Sender.Service=BS_DEV_LES_JAVA&Interface=http%3A%2F%2Fmasteel.com%2Fxi%2Fles%2Fsystem%2Fmm%5EMI_LES_MM_001_GenGoodsMvt';
defSvc = 'MI_LES_MM_001_GenGoodsMvtService';
defPrt = 'MI_LES_MM_001_GenGoodsMvtPort';
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 MI_LES_MM_001_GenGoodsMvt);
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;
constructor DT_MM_001_GenGoodsMvt.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor DT_MM_001_GenGoodsMvt.Destroy;
var
I: Integer;
begin
for I := 0 to System.Length(FInfo)-1 do
System.SysUtils.FreeAndNil(FInfo[I]);
System.SetLength(FInfo, 0);
System.SysUtils.FreeAndNil(Fheader);
inherited Destroy;
end;
destructor Info.Destroy;
begin
System.SysUtils.FreeAndNil(FMENGE);
inherited Destroy;
end;
initialization
{ MI_LES_MM_001_GenGoodsMvt }
InvRegistry.RegisterInterface(TypeInfo(MI_LES_MM_001_GenGoodsMvt), 'http://masteel.com/xi/les/system/mm', 'UTF-8');
InvRegistry.RegisterDefaultSOAPAction(TypeInfo(MI_LES_MM_001_GenGoodsMvt), 'http://sap.com/xi/WebService/soap1.1');
InvRegistry.RegisterInvokeOptions(TypeInfo(MI_LES_MM_001_GenGoodsMvt), ioDocument);
InvRegistry.RegisterInvokeOptions(TypeInfo(MI_LES_MM_001_GenGoodsMvt), ioLiteral);
RemClassRegistry.RegisterXSInfo(TypeInfo(Array_Of_Info), 'http://masteel.com/xi/les/system/mm', 'Array_Of_Info');
RemClassRegistry.RegisterXSClass(DT_MM_001_GenGoodsMvt, 'http://masteel.com/xi/les/system/mm', 'DT_MM_001_GenGoodsMvt');
RemClassRegistry.RegisterSerializeOptions(DT_MM_001_GenGoodsMvt, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(MT_MM_001_GenGoodsMvt, 'http://masteel.com/xi/les/system/mm', 'MT_MM_001_GenGoodsMvt');
RemClassRegistry.RegisterXSInfo(TypeInfo(BUDAT), 'http://masteel.com/xi/les/system/mm', 'BUDAT');
RemClassRegistry.RegisterXSInfo(TypeInfo(MATNR), 'http://masteel.com/xi/les/system/mm', 'MATNR');
RemClassRegistry.RegisterXSInfo(TypeInfo(ITEM), 'http://masteel.com/xi/les/system/mm', 'ITEM');
RemClassRegistry.RegisterXSInfo(TypeInfo(BKTXT), 'http://masteel.com/xi/les/system/mm', 'BKTXT');
RemClassRegistry.RegisterXSInfo(TypeInfo(BLDAT), 'http://masteel.com/xi/les/system/mm', 'BLDAT');
RemClassRegistry.RegisterXSInfo(TypeInfo(XBLNR), 'http://masteel.com/xi/les/system/mm', 'XBLNR');
RemClassRegistry.RegisterXSInfo(TypeInfo(UMWRK), 'http://masteel.com/xi/les/system/mm', 'UMWRK');
RemClassRegistry.RegisterXSInfo(TypeInfo(ADP1), 'http://masteel.com/xi/les/system/mm', 'ADP1');
RemClassRegistry.RegisterXSInfo(TypeInfo(ADP2), 'http://masteel.com/xi/les/system/mm', 'ADP2');
RemClassRegistry.RegisterXSInfo(TypeInfo(GRUND), 'http://masteel.com/xi/les/system/mm', 'GRUND');
RemClassRegistry.RegisterXSInfo(TypeInfo(KUNNR), 'http://masteel.com/xi/les/system/mm', 'KUNNR');
RemClassRegistry.RegisterXSInfo(TypeInfo(SGTXT), 'http://masteel.com/xi/les/system/mm', 'SGTXT');
RemClassRegistry.RegisterXSInfo(TypeInfo(RECEIVER), 'http://masteel.com/xi/les/system/common', 'RECEIVER');
RemClassRegistry.RegisterXSInfo(TypeInfo(SENDER), 'http://masteel.com/xi/les/system/common', 'SENDER');
RemClassRegistry.RegisterXSInfo(TypeInfo(INTERID), 'http://masteel.com/xi/les/system/common', 'INTERID');
RemClassRegistry.RegisterXSInfo(TypeInfo(DTSEND), 'http://masteel.com/xi/les/system/common', 'DTSEND');
RemClassRegistry.RegisterXSClass(DT_COMMON_HEADER, 'http://masteel.com/xi/les/system/common', 'DT_COMMON_HEADER');
RemClassRegistry.RegisterXSInfo(TypeInfo(GSBER), 'http://masteel.com/xi/les/system/mm', 'GSBER');
RemClassRegistry.RegisterXSInfo(TypeInfo(KOKRS), 'http://masteel.com/xi/les/system/mm', 'KOKRS');
RemClassRegistry.RegisterXSInfo(TypeInfo(UMCHA), 'http://masteel.com/xi/les/system/mm', 'UMCHA');
RemClassRegistry.RegisterXSInfo(TypeInfo(UMLGO), 'http://masteel.com/xi/les/system/mm', 'UMLGO');
RemClassRegistry.RegisterXSInfo(TypeInfo(UMBAR), 'http://masteel.com/xi/les/system/mm', 'UMBAR');
RemClassRegistry.RegisterXSInfo(TypeInfo(SALES_ORD), 'http://masteel.com/xi/les/system/mm', 'SALES_ORD');
RemClassRegistry.RegisterXSInfo(TypeInfo(COST_OBJ), 'http://masteel.com/xi/les/system/mm', 'COST_OBJ');
RemClassRegistry.RegisterXSInfo(TypeInfo(LIFNR), 'http://masteel.com/xi/les/system/mm', 'LIFNR');
RemClassRegistry.RegisterXSInfo(TypeInfo(AUFNR), 'http://masteel.com/xi/les/system/mm', 'AUFNR');
RemClassRegistry.RegisterXSInfo(TypeInfo(S_ORD_ITEM), 'http://masteel.com/xi/les/system/mm', 'S_ORD_ITEM');
RemClassRegistry.RegisterXSInfo(TypeInfo(KOSTL), 'http://masteel.com/xi/les/system/mm', 'KOSTL');
RemClassRegistry.RegisterXSInfo(TypeInfo(MSGID), 'http://masteel.com/xi/les/system/mm', 'MSGID');
RemClassRegistry.RegisterXSInfo(TypeInfo(STOCK_TYP), 'http://masteel.com/xi/les/system/mm', 'STOCK_TYP');
RemClassRegistry.RegisterXSInfo(TypeInfo(MENGE), 'http://masteel.com/xi/les/system/mm', 'MENGE');
RemClassRegistry.RegisterXSInfo(TypeInfo(UMMAT), 'http://masteel.com/xi/les/system/mm', 'UMMAT');
RemClassRegistry.RegisterXSInfo(TypeInfo(ERFME), 'http://masteel.com/xi/les/system/mm', 'ERFME');
RemClassRegistry.RegisterXSInfo(TypeInfo(SOBKZ), 'http://masteel.com/xi/les/system/mm', 'SOBKZ');
RemClassRegistry.RegisterXSInfo(TypeInfo(WERKS), 'http://masteel.com/xi/les/system/mm', 'WERKS');
RemClassRegistry.RegisterXSInfo(TypeInfo(BWART), 'http://masteel.com/xi/les/system/mm', 'BWART');
RemClassRegistry.RegisterXSInfo(TypeInfo(LGORT), 'http://masteel.com/xi/les/system/mm', 'LGORT');
RemClassRegistry.RegisterXSInfo(TypeInfo(CHARG), 'http://masteel.com/xi/les/system/mm', 'CHARG');
RemClassRegistry.RegisterXSInfo(TypeInfo(BWTAR), 'http://masteel.com/xi/les/system/mm', 'BWTAR');
RemClassRegistry.RegisterXSClass(Info, 'http://masteel.com/xi/les/system/mm', 'Info');
end.
uj5u.com熱心網友回復:
這些都是標準,不管什么語言做,都可以使用的。uj5u.com熱心網友回復:
可以。但是delphi wsdl importer生成的pas要稍微改動一下轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/12699.html
標籤:網絡通信/分布式開發
下一篇:win10下怎么獲取硬碟序列號
