4 มีนาคม 2555 23:45
I have a project at work that requires me to create a web service that an outside vendor will interact with to accessdata on our systems. I have never had to create a web service from scratch, and don't much to go on in terms of coming up with a WSDL that I can use. Does anyone know of a quick resource that I can use to help me understand what's needed to create a WSDL document? Oh...buy the way the web service will be developed in asp.net 2.0, because the data being referenced on our system are in a SQL 2000 database. Would anyone know if the WCF 4.0 is compatible with SQL 2000?
Da Chosen One
5 มีนาคม 2555 6:02
WCF 4 is not separate and it is one of the core part of .NET Framework 4. So it has all capabilities to connect to SQL Server same as your asp.net application.
To start with in .NET WSDL Cannot be started first you need to write a minimum code related to Message and Operations to get your WSDL.
Here are are the few links to get started in WCF.
As the web services will allow distributed computing there is not need to club it with your asp.net application for deployment. It can be deployed in another virtual directory with .NET 4 app pool.
Welcome to MSDN Forums. Feel free to ask your questions and Please Note to Vote helpful topics and Mark answering posts. Sudhakar
5 มีนาคม 2555 6:18
On which version of Visual studio are you working?
If you are working on VS2005/.net 2.0 then you need to create web services bcoz WCF are not present with .Net 2.0.
To create WSDL for webservices, first write a webservice and then go to VS command prompt.
give there a command
wsdl.exe/Sharetypes /out:sharedProxy.cs http://api.abcs.com/
tboapi_v6ss/service.asmxis URL of your service.
This will generatw a WSDL file in your C:/
Hope this helps!
Every day its a new learning. Keep Learning!!
If this post answers your question, please click Mark As Answer . If this post is helpful please click Mark as Helpful