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. Call Web Service From Silverlight Application

Call Web Service From Silverlight Application

Scheduled Pinned Locked Moved WPF
helpsysadmin
8 Posts 5 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.
  • Y Offline
    Y Offline
    youness
    wrote on last edited by
    #1

    Hello, I have a problem I do a lot of research on the net but no solution. I have a web service deployed in a server and an application in silverlight 4 on my machine, I call the web service from my application but I get an exception here is the exception: CommunicationException was unhandled by user code: The remote server returned an error: NotFound Thank you in advance for your help.

    P A V 3 Replies Last reply
    0
    • Y youness

      Hello, I have a problem I do a lot of research on the net but no solution. I have a web service deployed in a server and an application in silverlight 4 on my machine, I call the web service from my application but I get an exception here is the exception: CommunicationException was unhandled by user code: The remote server returned an error: NotFound Thank you in advance for your help.

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      Have you checked to see that your web service is directly accessible? To do this, open it up in IE using the address you are using in your Silverlight application.

      *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

      "Mind bleach! Send me mind bleach!" - Nagy Vilmos

      CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

      Y 1 Reply Last reply
      0
      • P Pete OHanlon

        Have you checked to see that your web service is directly accessible? To do this, open it up in IE using the address you are using in your Silverlight application.

        *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

        "Mind bleach! Send me mind bleach!" - Nagy Vilmos

        CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

        Y Offline
        Y Offline
        youness
        wrote on last edited by
        #3

        yes , the web service is directly accessible from IE

        P 1 Reply Last reply
        0
        • Y youness

          yes , the web service is directly accessible from IE

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          If you are still having this issue, I would recommend trying the techniques talked about here[^].

          *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

          "Mind bleach! Send me mind bleach!" - Nagy Vilmos

          CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

          M 1 Reply Last reply
          0
          • Y youness

            Hello, I have a problem I do a lot of research on the net but no solution. I have a web service deployed in a server and an application in silverlight 4 on my machine, I call the web service from my application but I get an exception here is the exception: CommunicationException was unhandled by user code: The remote server returned an error: NotFound Thank you in advance for your help.

            A Offline
            A Offline
            Anumeha Shukla
            wrote on last edited by
            #5

            Message size limit could also be the reason for this kind of error, try to increase the MessageSize in your service.

            1 Reply Last reply
            0
            • P Pete OHanlon

              If you are still having this issue, I would recommend trying the techniques talked about here[^].

              *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

              "Mind bleach! Send me mind bleach!" - Nagy Vilmos

              CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

              M Offline
              M Offline
              Mycroft Holmes
              wrote on last edited by
              #6

              It does irritate me when some dipstik downvotes a helpful response - overbalanced!

              Never underestimate the power of human stupidity RAH

              P 1 Reply Last reply
              0
              • M Mycroft Holmes

                It does irritate me when some dipstik downvotes a helpful response - overbalanced!

                Never underestimate the power of human stupidity RAH

                P Offline
                P Offline
                Pete OHanlon
                wrote on last edited by
                #7

                I can only assume it's because I didn't wave the magic code wand.

                *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                1 Reply Last reply
                0
                • Y youness

                  Hello, I have a problem I do a lot of research on the net but no solution. I have a web service deployed in a server and an application in silverlight 4 on my machine, I call the web service from my application but I get an exception here is the exception: CommunicationException was unhandled by user code: The remote server returned an error: NotFound Thank you in advance for your help.

                  V Offline
                  V Offline
                  vinodkrebc
                  wrote on last edited by
                  #8

                  You could diagnose wcf service in that case to find out what exactly is happening. To diagnose plz check the below link http://www.exploresilverlight.com/2012/06/remote-server-return-and-error-from-wcf.html[^]

                  http://www.exploresilverlight.com Cheers! Vinod

                  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