I have corrected an error in a soap unit (Soap.OPToSOAPDomConv.pas
), but I don't know how to rebuild soaprtl170.bpl
(Delphi XE3).
I need to do this as I have a component to install in the ide that requires that bpl, and when dropping it in a form and activating it makes webservice calls in design mode.
In design mode it seems to use the soaprtl instead my modified Soap.OPToSOAPDomConv.dcu
.
In runtime it works as I'm not using runtime packages and my dcu is taking precedence.
Any help on how to recompile the bpl would be appreciated.
The concrete patch I want to apply in that file is the following:
function TOPToSoapDomConvert.InvContextToMsg(const IntfMD: TIntfMetaData; MethNum: Integer;
Con: TInvContext; Headers: THeaderList): TStream;
...
(line 1446)
if not IsBareLiteral then
MethNode := BodyNode.AddChild(ExtMethName, SoapMethNS,true)
else
MethNode := BodyNode;
...
The patch consists in adding the true to the addChild.