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. WPF
  4. Problem with WPF and calling a WCF Web Service

Problem with WPF and calling a WCF Web Service

Scheduled Pinned Locked Moved WPF
csharpwpfarchitecturehelpwcf
2 Posts 2 Posters 0 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.
  • A Offline
    A Offline
    AndyCSharp
    wrote on last edited by
    #1

    Hi I have a major problem that is causing me a headache for the last couple of days! For some reason beyond me my web service isn't working and I am getting the classic error message: "Could not find default endpoint element". My WCF and WPF are in the same solution folder and I am referencing my web service through Service Reference, which generates my app.config. In my WPF I call my web service and pass in via the constructor the name of the end point address. Further, I have copied my app.config to the view layer of my WPF, because my WPF uses MVVM design pattern. Despite all of this it won't work! Any ideas anyone???

    T 1 Reply Last reply
    0
    • A AndyCSharp

      Hi I have a major problem that is causing me a headache for the last couple of days! For some reason beyond me my web service isn't working and I am getting the classic error message: "Could not find default endpoint element". My WCF and WPF are in the same solution folder and I am referencing my web service through Service Reference, which generates my app.config. In my WPF I call my web service and pass in via the constructor the name of the end point address. Further, I have copied my app.config to the view layer of my WPF, because my WPF uses MVVM design pattern. Despite all of this it won't work! Any ideas anyone???

      T Offline
      T Offline
      ToddHileHoffer
      wrote on last edited by
      #2

      I had fought with this many times my self. Get firefox. Install firefox and firebug. Use the net tab in firebug to see what is going on. Did you check the config file of your wpf application? Are the endpoints correct? Sorry FF may only work with silverlight, not sure about wpf.

      I didn't get any requirements for the signature

      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