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

Reply
Developer
araskin
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?
Please use plain text.
BlackBerry Development Advisor
oros
Posts: 1,556
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.
Please use plain text.
Developer
araskin
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?
Please use plain text.
BlackBerry Development Advisor
oros
Posts: 1,556
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.
Please use plain text.
New Developer
dpeacock
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?

Please use plain text.
Developer
araskin
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.

Please use plain text.