Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WCF and WF
  4. calling WCF Service from Windows store app via Surface fails, but...

calling WCF Service from Windows store app via Surface fails, but...

Scheduled Pinned Locked Moved WCF and WF
helpwcfsysadmincsharpmobile
2 Posts 2 Posters 5 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Clodetta del Mar
    wrote on last edited by
    #1

    Hi@all :) I again have some trouble with my windows store app, when it comes to calling a wcf service... :(( if i´m debugging either with the Local Machine and the simulator everything works fine; the service gets called and then updates a table in the database... if I change to Debug|ARM & Remote Machine (namely the Surface) my app starts as expected but when it comes to the update process in my wcf service I get the following err message: Message: There was no endpoint listening at http://localhost:8733/Design\_Time\_Addresses/Survey\_Service/Service1/ that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. Inner Exception: Unable to connect to remote server, no connection could be made because the target machine actively refused it Source:System.ServiceModel.Internals I checked my firewall settings, turned it off, set filter to allow the port 8733. nothing helped... earlier this morning I got a similar error message, because I tried to pass an XDocument to the service. lessons learned, that error occurred simply because an XDocument is not serializable... but now I completely ran out of ideas... :sigh: any help is highly appreciated... thanks in advance & kind regards, clodetta edit: WCF Test Client.exe loads the service flawlessly... edit 2: maybe it´s a network-related problem?´ the tablet is connected via WiFi, all I know is that in order to use a remote machine for debugging purposes it is essentially necessary that both the surface and the dev pc must reside in the same subnet... maybe the router is blocking requests? Any experiences with that? kind regards

    D 1 Reply Last reply
    0
    • C Clodetta del Mar

      Hi@all :) I again have some trouble with my windows store app, when it comes to calling a wcf service... :(( if i´m debugging either with the Local Machine and the simulator everything works fine; the service gets called and then updates a table in the database... if I change to Debug|ARM & Remote Machine (namely the Surface) my app starts as expected but when it comes to the update process in my wcf service I get the following err message: Message: There was no endpoint listening at http://localhost:8733/Design\_Time\_Addresses/Survey\_Service/Service1/ that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. Inner Exception: Unable to connect to remote server, no connection could be made because the target machine actively refused it Source:System.ServiceModel.Internals I checked my firewall settings, turned it off, set filter to allow the port 8733. nothing helped... earlier this morning I got a similar error message, because I tried to pass an XDocument to the service. lessons learned, that error occurred simply because an XDocument is not serializable... but now I completely ran out of ideas... :sigh: any help is highly appreciated... thanks in advance & kind regards, clodetta edit: WCF Test Client.exe loads the service flawlessly... edit 2: maybe it´s a network-related problem?´ the tablet is connected via WiFi, all I know is that in order to use a remote machine for debugging purposes it is essentially necessary that both the surface and the dev pc must reside in the same subnet... maybe the router is blocking requests? Any experiences with that? kind regards

      D Offline
      D Offline
      David C Hobbyist
      wrote on last edited by
      #2

      When you run on the local machine it is localhost. When on a different device it is no longer localhost Hope this helps.

      Frazzle the name say's it all

      Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

      John F. Woods

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups