Rank: Member
Joined: 4/29/2010(UTC) Posts: 256
Thanks: 4 times Was thanked: 11 time(s) in 10 post(s)
|
Having a bit of a moment, I am trying to use the Webservices3 (and it been a while since i have used this functionality) e.g. <mysitename>/WebServices3.asmx/Membership_UserAccount_CheckLock however I keep getting the error Membership_UserAccount_CheckLock Web Service method name is not valid. I can access the login part and get the token without an issues. I know this is something very simple. Is <mysitename>/WebServices3.asmx/Membership_UserAccount_CheckLock the correct path? I have been unable to find it in the BV Documentation and currently dont have access to the core dll to check. Edited by user Wednesday, May 25, 2016 8:49:24 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Steve, Whenever I use web services I'm always using it with the auto-generated classes that Visual Studio creates from the WSDL. So, the technical details are abstracted away. Anyway, I believe that only the /WebServices3.asmx URL is used and the SOAP XML is used to map things internally. For example, here is the SOAP request for a login call: Code:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Login xmlns="http://www.bvsoftware.com/Schemas/Bvc5/2006/01/WebServices3">
<username>USERNAME</username>
<password>PASSWORD</password>
</Login></s:Body>
</s:Envelope>
|
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 4/29/2010(UTC) Posts: 256
Thanks: 4 times Was thanked: 11 time(s) in 10 post(s)
|
Hi Aaron,
The login is working fine with no issues, I can get the auth token back etc.
I am trying to call the check lock from a MVC controller as another external app needs to be able to check to ensure the the accounts are not locked.
|
|
|
|
Rank: Member
Joined: 4/29/2010(UTC) Posts: 256
Thanks: 4 times Was thanked: 11 time(s) in 10 post(s)
|
Also http://www.bvsoftware.co...vc5/2006/01/WebServices3 returns The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
|
|
|
|
Rank: Member
Joined: 4/29/2010(UTC) Posts: 256
Thanks: 4 times Was thanked: 11 time(s) in 10 post(s)
|
All sorted now turns out there was an optimisation within the web.config causing the WebServices3.asmx to disallow documentation, as web services were never going to be used with this store originally. <system.web> <webServices> <protocols> <add name="HttpGet"/> <add name="HttpPost"/> <remove name="Documentation"/> </protocols> </webServices> .... </system.web> Edited by user Wednesday, May 25, 2016 10:24:37 AM(UTC)
| Reason: Not specified
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.