in

CodeSmith Community

Your Code. Your Way. Faster!

Using generated webservices in webpage without web reference

Last post 05-12-2008 3:44 PM by haarisabbasi. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-12-2008 1:37 PM

    Using generated webservices in webpage without web reference

    Hi. I am new to using code smith, but have developed web applications from scratch. I am trying to figure out what is necessary for me to be able to use the web services generated by Code Smith and .NetTiers. I have placed the services in my localhost. I thought for sure that I would be able to use the methods directly after modifying the web.config by the means of adding the line:

     

    <add
                        name="WsNetTiersProvider"
                        type="<Proivername HERE>.DAL.WebServiceClient.WsNetTiersProvider, <Proivername HERE>.DAL.WebServiceClient"
                        url="http://localhost/dataServices.asmx" />

     

    But this does not seem so. I can use some of the local DLL methods that are generated by nettiers but I cannot use the ASMX file. Maybe I missed something. Let me know whats I am missing in terms of being able to use the dataServices.asmx file. 

    • Post Points: 5
  • 05-12-2008 3:44 PM In reply to

    Re: Using generated webservices in webpage without web reference

    Answer

     I fixed it now. It seems that simply by recreating the project from scratch, everything now magically works. :)

    • Post Points: 5
Page 1 of 1 (2 items)
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems