SOAP : the "Body" element must be namespace qualified.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4247 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
inoussa
2015-08-04 13:14:54 +00:00
parent 4bea59601f
commit 9af4fbd355

View File

@ -76,13 +76,18 @@ end;
{ TSOAPFormatter }
procedure TSOAPFormatter.BeginCallResponse(Const AProcName,ATarget:string);
var
locOldStyle : TSOAPDocumentStyle;
begin
if ( FCallContext = nil ) then
FCallContext := TSimpleCallContext.Create();
Clear();
Prepare();
WriteHeaders(FCallContext);
BeginScope('Body',sSOAP_ENV,'',stObject,asNone);
locOldStyle := Style;
Style := Document;
BeginScope('Body',sSOAP_ENV,'',stObject,asNone);
Style := locOldStyle;
BeginScope(AProcName + 'Response',ATarget,'',stObject,asNone);
end;