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 web service with no asmx file

Calling web service with no asmx file

Scheduled Pinned Locked Moved WCF and WF
wcfquestioncomsysadminxml
5 Posts 3 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.
  • M Offline
    M Offline
    MacOwl
    wrote on last edited by
    #1

    I have been supplied a URL from a web service I want to use. The URL is a directory and not an asmx file as the endpoint. When I try to create a service reference to the service I get the following error: There was an error downloading 'https://www.mlc.com.au/epi/episervices'. The request failed with HTTP status 404: Not Found. Metadata contains a reference that cannot be resolved: 'https://www.mlc.com.au/epi/episervices'. There was no endpoint listening at https://www.mlc.com.au/epi/episervices that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. The remote server returned an error: (404) Not Found. If the service is defined in the current solution, try building the solution and adding the service reference again. The owners of the service insist that this is the address/endpoint. The WSDL file supplied to me has some localhost address. ie. useless. I have been given .xsd files as well as the .wsdl files. The service address is https://www.mlc.com.au/epi/episervices/ How do I create a service reference to this service?

    J 1 Reply Last reply
    0
    • M MacOwl

      I have been supplied a URL from a web service I want to use. The URL is a directory and not an asmx file as the endpoint. When I try to create a service reference to the service I get the following error: There was an error downloading 'https://www.mlc.com.au/epi/episervices'. The request failed with HTTP status 404: Not Found. Metadata contains a reference that cannot be resolved: 'https://www.mlc.com.au/epi/episervices'. There was no endpoint listening at https://www.mlc.com.au/epi/episervices that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. The remote server returned an error: (404) Not Found. If the service is defined in the current solution, try building the solution and adding the service reference again. The owners of the service insist that this is the address/endpoint. The WSDL file supplied to me has some localhost address. ie. useless. I have been given .xsd files as well as the .wsdl files. The service address is https://www.mlc.com.au/epi/episervices/ How do I create a service reference to this service?

      J Offline
      J Offline
      jschell
      wrote on last edited by
      #2

      What happens when you use exactly the url in a browser?

      M B 2 Replies Last reply
      0
      • J jschell

        What happens when you use exactly the url in a browser?

        M Offline
        M Offline
        MacOwl
        wrote on last edited by
        #3

        I get a SOAP envelope with the following: - - - soapenv:Server Unsupported Request + - 7 Unsupported Request

        J 1 Reply Last reply
        0
        • J jschell

          What happens when you use exactly the url in a browser?

          B Offline
          B Offline
          Bernhard Hiller
          wrote on last edited by
          #4

          Also I tried that URL in Firefox. In contrast to the OP, I receive nice stack traces of errors showing a very defective configuration of the server. Could be a nice point to start an attack on National Australia Bank (if their web site wasn't such slow - do they still use analog modems in Australia? - Or is a good line already blocked by bad guys downloading tons of Australian Dollars?).

          1 Reply Last reply
          0
          • M MacOwl

            I get a SOAP envelope with the following: - - - soapenv:Server Unsupported Request + - 7 Unsupported Request

            J Offline
            J Offline
            jschell
            wrote on last edited by
            #5

            That response suggests that a web service is running and you need to provide more information. It wouldn't seem to match the http response you got with your code. It could be a mapping problem (inappropriate mapping) with some layer you are using or your code is just wrong.

            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