I had implemented code to get a token, but was unable to get it working. Your video was a big help. I typed the code in from what I could read in the video (could not find it in Github). After implementing it I had minor issues with setting up proper bindings, but now it works like a charm.
Hi Erik My life definitely got better after watching this video 🙂 I made another solution that worked as intended, but your method is significantly better. Have a nice day and thanks for all the great videos 🙂
How about Erick, thank you very much, I had been looking for a long time how to connect the token. I only knew how to use the web services token, until I stopped using soap. But with this it helps a lot. Excellent work. You are big. Greetings from Mexico.
@@Hougaard Thanks. I am missing the disconnect between the port client example and what I already have in Web References. I was using Basic before to refresh my services. That's not possible now with new BC. Assuming the wsdl are not changing which is bad idea, how would I convert the example below to use the token? I really appreciate your time if you could advise. var service = new Sales_Order_Service.Sales_Order_Service(); service.UseDefaultCredentials = false; service.Credentials = new System.Net.NetworkCredential(_BCNetworkCredentialUserName, _BCNetworkCredentialPassword, _BCNetworkCredentialDomain); var result = (from items in service.ReadMultiple(filterArray.ToArray(), null, 750) select items).ToList(); foreach (var item in result) { blah blah blah }
We have a vendor who sends data in soap and rest and our security wants to have this vendor implement oauth instead of basic authentication. I saw this video and can be used for oauth authentication for soap APIs. Can u let me know the github location where I can see the 2 custom c# classes (eg, AddAuthTokenEndPointBehaviour) that you created.