I have a wsdl file, in my visual studio 2012 I couldn't add it as a web reference because it is throwing security issues, I downloaded the file as xml in my server then added it as service reference with namespace newTradeService. The name of my project is eServices and I renamed the auto generated references.cs for the service to newTradeService because somewhere it was eService.newTradeService. in codeBehind I types using newTradeService; on top of my page and it is okay no syntax error, but when I ran my page in browser it is giving error "the type or namespace name 'newTradeService' couldn't be found, are you missing a using directive or assembly reference"
Aucun commentaire:
Enregistrer un commentaire