Calling web service with no asmx file
-
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?
-
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?
-
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?).
-
I get a SOAP envelope with the following: - - - soapenv:Server Unsupported Request + - 7 Unsupported Request
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.