Consuming WCFREST Service from Windows Phone 8 using WebClient - windows-phone-8

with the reference to the Link
I am getting an error while running the application.
I am unable to find the solution to the problem.

May be you getting error because you are trying to call web service from local host. Host your web service some where in Http(Url). Windows phone emulator doesn't allow to call service from local host.

Related

Desktop application proxy settings

I am trying the desktop application of IBM Connect Test and Monitor. Anyone knows whether it uses the system proxy? I am trying to call an internal URL, I know I can see thourough a browser, but I get "getaddrinfo ENOTFOUND xxxxx.yyyy.zz xxxxx.yyyy.zz:443".
It might be a problem with how the request is constructed or your local DNS service. What if you try to restart your DNS service?

Connect to openshift app via lwip embedded hardware

I have uploaded a simple Rest API application in Openshift (starter program).
I have also an STM32 based hardware running Lwip (TCP/IP) protocol and my goal is to connect it to the above openshift app.
LWIP uses a function (tcp_connect) which uses the external ip of the app.
However I am struggling to understand and find the external IP of the openshift service running in a pod
Any suggestions?

Deploy war file in apache-tomcat on google compute engine

I have created instance on google cloud platform (allowed http traffic). Used Ubuntu 14.04 OS. Installed oracle java8 and apache-tomcat.Placed war file in tomcat webapps and started server. Server started successfully.
Question is how to access my application, tried accessing external ip of instance from web browser but no response.
Can anyone tell me the process or missing things I have not done.
Thanks in advance.
I had the same issue and eventually solved it
In my case the solution was simple.Check the firewall rule is really tcp:8080 and not tcp:80 as created by default.
Changed this and finally saw my tomcat welcome page.
1)Added http port (8080) in firewall rules in Networking section
2)Refreshing VM instance by click refresh option before accessing with external ip followed by http server port(8080)
I hope after following first step, need to refresh VM instance to access web serve with external IP

StreamSocketListener and localhost

I'm using the following code to set up a StreamSocketListener on my universal 8.1 app:
_listener = new StreamSocketListener();
_listener.Control.QualityOfService = SocketQualityOfService.Normal;
_listener.ConnectionReceived += OnConnectionReceived;
await _listener.BindServiceNameAsync("8776");
This runs without any problems, however when I try & browse to http://localhost:8776 (or directly via ip address or machine name), the request times out.
In netstat I can see the 8776 port is open & listening, I've enabled loopback exemption, disabled my firewall, but I'm still not able to connect. This is true for both the Windows 8.1 and the Windows Phone 8.1 app.
When I try to connect from another machine, it works without problems. Is there any setting/configuration I can use so I'm able to connect from the same machine?
Windows RT blocks loopback access between two WinRT applications.
Network communications using an IP loopback address cannot be used for
interprocess communication (between two different apps) in a Windows
Runtime app since this is restricted by network isolation. Network
communication using an IP loopback address is allowed within an app
within the same process for communication purposes.
More info and workaround here

The authentication header received from the server was 'NTLM,Negotiate'. in windows store apps

I have developed an Windows Store App consumes WCF service deployed in another server(not mine) everything works fine until i have disabled the Anonymous Authentication to off getting an error message
"The HTTP request is unauthorized with client authentication scheme 'Anonymous'.
The authentication header received from the server was 'NTLM,Negotiate'."
I have googled and found some of the solutions applied but none of the solutions worked for me.The same WCF service accessing in another project it works fine no complains but when i'm using with windows 8 store apps i'm getting the above error.
Any Solution or Explanation is much appreciated.
[Hi Dinesh Haraveer,
Please try using Enterprise authentication.
Windows domain credentials enable a user to log into remote resources using their credentials, and act as if a user provided their user name and password. The enterprise Authentication capability is typically used in line-of-business apps that connect to servers within an enterprise.
You don't need this capability for generic communication across the internet.
Please try looking into http://msdn.microsoft.com/en-us/library/windows/apps/hh464936.aspx