Click here to Skip to main content
15,892,927 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
We have a WSDL. We need to create a WCF service which should gives same WSDL we have.

Is there any process/way to create WCF service from WSDL ?

I have followed this but this is not giving correct details.
Posted
Updated 21-May-15 17:52pm
v2
Comments
Sergey Alexandrovich Kryukov 22-May-15 1:22am    
It make certain sense but looks somewhat weird. Normally, people create WSDL out of some service.
—SA
Pradip Kumar Sen 22-May-15 1:46am    
It's may weird but it's a requirement for us to create a WCF service from the existing WSDL, where we don't have access to actual service and we need some similar WSDL generated from our service which can deal with fake data instead of actual service data(for which we have WSDL).

If you see the link I provided for stack overflow, there are many others who need the similar things. It's not very uncommon.

If you don't know the answer/way, just go away from this, It's okay. Please don't down vote just because you don't know the answer or don't like the question or just meaningless for you.

I am looking for a solution. Thanks in advance.

1 solution

You could use Svcutil tool
svcutil your.wsdl /l:vb (if you want Visual Basic)


For any reference https://msdn.microsoft.com/en-us/library/aa347733(v=vs.100).aspx[^]
 
Share this answer
 
Comments
Pradip Kumar Sen 1-Jun-15 3:02am    
Thanks. I have tried this option before. This doesn't give everthing I was looking for. I have added FLATWSDL option with it. Still It was not giving exact service from which I can have a exactly similar WSDL output.

Anyhow thanks for your help. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900