• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Steve95
#1 Posted : Wednesday, May 25, 2016 8:12:17 AM(UTC)
Steve95

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

Aaron
#2 Posted : Wednesday, May 25, 2016 8:45:59 AM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
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
Steve95
#3 Posted : Wednesday, May 25, 2016 8:53:24 AM(UTC)
Steve95

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.
Steve95
#4 Posted : Wednesday, May 25, 2016 9:21:26 AM(UTC)
Steve95

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.
Steve95
#5 Posted : Wednesday, May 25, 2016 9:45:16 AM(UTC)
Steve95

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.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012