Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development


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.


Reply
Developer
Posts: 128
Registered: ‎08-01-2008
My Device: Bold 9900, 9810, 9780, 9650 and so many others
My Carrier: T-Mobile

Re: XHR fails with NETWORK_ERR: XMLHttpRequest Exception 101 in Ripple

Hi Eric,

I am not sure I understand. The config.xml, contacts.xml, index.html and the CSS/JS files are all in the same directory.

Is that what you are asking me to confirm?
Retired
Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: XHR fails with NETWORK_ERR: XMLHttpRequest Exception 101 in Ripple

Right, just for reference what is the path to those files, or which folder are they in? Are they all inthe ToolkitTest folder or the http_handler folder?

 

Also,  instead of the path "contacts.xml" can you please try "./contacts.xml"


Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.
Developer
Posts: 128
Registered: ‎08-01-2008
My Device: Bold 9900, 9810, 9780, 9650 and so many others
My Carrier: T-Mobile

Re: XHR fails with NETWORK_ERR: XMLHttpRequest Exception 101 in Ripple

Yes all the files (config, contacts.xml as well as HTML, JS and CSS) are in one folder. They are in the http_handler folder. I tried "./contacts.xml" and it did not work (same error as above).

Any other thoughts? Want me to zip up the project and send it to you?
Highlighted
Retired
Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: XHR fails with NETWORK_ERR: XMLHttpRequest Exception 101 in Ripple

Sure that'd be great. Please fire it along to eoros@rim.com and I'll give it a look.


Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.
New Developer
Posts: 3
Registered: ‎09-04-2009
My Device: Not Specified

Re: XHR fails with NETWORK_ERR: XMLHttpRequest Exception 101 in Ripple

Hate to dig up an old topic, but did you ever resolve this?

Developer
Posts: 128
Registered: ‎08-01-2008
My Device: Bold 9900, 9810, 9780, 9650 and so many others
My Carrier: T-Mobile

Re: XHR fails with NETWORK_ERR: XMLHttpRequest Exception 101 in Ripple

Hi,


This was quite a while ago so I am not entirely sure how i solved it. I remember something about using a GET instead of a POST. 

 

Or perhaps I ended up installing some sort of local web server and using it to field the XML calls.


Sorry for being so vague but it was a while ago.