[SOAP Extensibility Samples] [SOAP Extensibility Samples] ChangeEndpoint yield "Object reference not set to an ins

Forge Component
(6)
Published on 3 Feb (4 weeks ago) by Pedro Guimarães
6 votes
Published on 3 Feb (4 weeks ago) by Pedro Guimarães

Hey guys,

The method ChangeEndpoint yields "Object reference not set to an instance of an object".

I'm using p11.

Can you help ?

Kind regards

Hi Filipe,


To overcome that error you must call the RegisterInspectHeaders inside the OnBeforeRequestAdvanced callback before the ChangeEndpoint method.


With regards,