I have the following code to consume a service that can not offer a suggestion What can I do to reduce what is going wrong? I know this is unclear, please tell me why you need to give a suggestion.
Address:
When I travel directly I 've created a service ... message'
The code that is wrong is here is. This causes the following error:
_url = "http: // localhost: 57667 / ExampleService.svc"; TextReader textReader = New String Reader (HTTP Post Client.Post (new uriy_URL), bodydata.tostring (), _explorement service request, encoding, attribute.default.HTPPix clientexample timeout); Error message: While visiting this URL directly:
Exception Message 'is not a component for a significant example. ExternalWebServiceStubs.Example.ExampleService found '. A lot of thanks, "Post-text" itemprop = "text"> Troubleshooting wcf services will be much easier when you provide the web.config element in the service side.
My general idea is here, all by default WCF services use wsHttpBinding which will not allow direct calling of service like an ASMX service.
You can replace wsHttpBinding with the original HttpBinding and disable security for your service in your service. Are hoping.
Please add some more details about the ExampleService.svc binding and it will help you resolve it shortly
Hope this will help
Comments
Post a Comment