RE: Character in WebService in SoapUI
This is my code in codeunit, i publish codeunit
codeunit 50302 "WS Transaction"
{
procedure TransactionResult(Myproc: XMLport "Transaction NZ0")
BEGIN
Myproc.Import();
end;
}
And code in XMLPort.
xmlport 50302 "Transaction NZ0"
{
Format = xml;
Encoding = UTF8;
Caption = 'Transaction';
UseRequestPage = False;
UseDefaultNamespace = TRUE;
schema
{
textelement(TransactionResult)
{
textelement(TransactionCode)
{
MinOccurs = Once;
MaxOccurs = Once;
}
textelement(TransactionMessage)
{
MinOccurs = Once;
MaxOccurs = Once;
}
}
}
procedure SetTransaction(vTransaction: Code[20]; textLastError: Text)
begin
TransactionCode := vTransaction;
TransactionMessage := textlastError;
end;
}
This is all.