function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
KaityKaity 

Where to provide the USERNAME and PASSWORD after consuming 3rd party WSDL.

Hi,
I consumed the WSDL of a 3rd party. And I am calling the methods provided in the WSDL.
However, my query is- Where should I placed the USERNAME and PASSWORD provided by the 3rd system? I am getting the ERROR:
failed:Requestor authentication failed due to missing credentials faultcode=soap:Server faultactor

Thanks,
Kaity
partha_cegpartha_ceg
You need to provide it in request header. This link might help you
http://salesforce.stackexchange.com/questions/11015/basic-http-authentication
KaityKaity
Hi Partha,
Thabnks for replying.

Can you please elaborate on this.
 Where shall I write this snippet???

Thanks,
Kaity