Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8319357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T22:18:04+00:00 2026-06-08T22:18:04+00:00

I am trying to call a web service from an metro application. I am

  • 0

I am trying to call a web service from an metro application. I am developing the app with javascript and the webservice is wcf-based.

I tried it like this:

function callWCF() {
WinJS.xhr({
    type: "GET",
    url: "http://lei-023880-ws.sinternal.de:8732/sdata/myApp/myContract/-/employees",
}).done(
function (result) {
    console.log(result.responseText)       
},
function (request) {
}
);}

or like this:

 var xhr = new XMLHttpRequest();
        xhr.open("GET", "http://lei-023880-ws.s.de:8732/sdata/myApp/myContract/-/$schema", true);
        xhr.responseType = "text";
        xhr.onreadystatechange = function () {
            if (xhr.readyState == xhr.DONE) {
                var blob = xhr.reponse;
                window.console.log(blob);
            }
        }
        xhr.send(); 

All im getting back is an network-error with code: 2efd. I googled it. Its an “Internet_cannot_connect”-error. When im changing the url to “microsoft.com” it works fine. So i guess the problem lies with the wcf-service?
When calling the URL in windows 8- browser it also works.
Why is the app not able to call the url?

Thanks in advance.

robidd

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T22:18:09+00:00Added an answer on June 8, 2026 at 10:18 pm

    Since microsoft.com works, it sounds like the internet connectivity option has been set in the manifest? (Not trying to be Captain Obvious :), but I’ve overlooked that a few times!)

    You might try Fiddler and see how far the request is going – if at all. Fiddler with Windows 8 is tricky, but this post should help you set it up: http://blogs.msdn.com/b/fiddler/archive/2011/09/14/fiddler-and-windows-8-metro-style-applications-https-and-private-network-capabilities.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to call a web service from asp.net 3.5 application. I have
Trying to call a SAP SOAP Web Service from a generated sudzc app shows
i'm trying to call a WCF service from my Silverlight 3 app. But... when
I am trying to call a SharePoint web service from Acrobat JavaScript, and I
I'm trying to call a RESTful web service from an Android application using the
I am trying to call a Sharepoint Web Service via WCF from inside a
I am trying to call a web service from an iOS app. I have
I'm trying to call a Java Web Service from an MVC3 .NET web app
I'm trying to call a web service from .NET 3.5 using WCF. The error
I am trying to call a web service from my app. If I invoke

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.