Recently, I implemented a WCF Service:
The service has a method called GetDetails
which requires one argument. To access this method using REST, the url structure would be:
{ItemID}
In this case, the ItemID
serves as a parameter.
Recently, I made changes to move the endpoint from SOAP to wsHttpBinding and also introduced custom authentication along with a certificate for security measures. Now, my goal is to find a solution to invoke the WCF Service through JavaScript, passing not just parameters but also incorporating username and password information into the request.
I am seeking assistance on how to achieve this task since it's an unfamiliar territory for me. My attempts to search for relevant information on Google or Stack Overflow haven't yielded much useful results so far.