Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
03-26-2013 08:06 AM - edited 03-26-2013 08:15 AM
I'm having trouble getting my HTML5 WebWorks application to connect to some data services that my application requires to progress. I have a 'registration' screen which is where you point the application to for the web services. But whenever I connect, I receive the error: 'Access to "https://mycompany.mywebservices.com/WcfDataService
<access uri="*" subdomains="true" />
I know there are a few posts floating around on this issue, but following them all seems to have landed me in no better position that what I was before reading them - and I'm getting a bit stuck. I read that the wildcard character doens't work on BlackBerry, thus tried the following:
1.svc" subdomains="true" />
But even that did not work unfortunately. The 'mycompany' part of the URL is what can change, so I attempted:
<access uri="https://*.mywebservices.com/WcfDataService1.svc" subdomains="true" />
But even that wasn't successful! I've tried a lot of combinations but they seem to be getting me no where. Is there a limitation on what I can/can't connect to that's not allowing my WebWorks application to connect? Am I doing something obviously wrong as I cannot seem to get any combination to work.
If someone could help me, it would be a huge assistance! Many thanks.
Edit: modified my last access rule.
03-26-2013 08:43 AM
Resolved it now
It required the following snippet in the config.xml:
<feature id="blackberry.app" required="true" > <param name="websecurity" value="disable" version="126.96.36.199" /> </feature>
03-26-2013 09:54 AM
I wouldn't recommend disabling all web security unless it's absolutely necessary.
You should be able to whitelist that domain with the following
<access uri="https://mywebservices.com" subdomains="true" />
03-26-2013 10:18 AM
Great - thank you! That certainly did help. It's weird why "https://*.mywebservices.com" didn't work - are wildcards completely disallowed in BlackBerry's config files?