Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 01, 2013 03:59 PM by jobrien19
Member
4 Points
15 Posts
Dec 07, 2010 08:20 PM|LINK
I was just wanting to "cleanup" my WSDL for my .NET 4.0 WCF Web Service and I have most references to tempuri.org changed, except two.
I have added
[ServiceContract(Namespace="http://www.mysite.com/")]
But, my WSDL still has a reference to
<wsdl:definitions ... xmlns:i0="http://tempuri.org/" ...
and
<wsdl:import namespace="http://tempuri.org/" ...
Any suggestions on the proper way of cleaning these up?
Thanks, Jim
WCF WSDL tempuri.org
Contributor
2754 Points
414 Posts
Dec 07, 2010 09:47 PM|LINK
add this over the data contracts:
[DataContract(Namespace="http://www.mysite.com/")]
Dec 08, 2010 03:18 AM|LINK
Thanks for the reply, but, that did not get rid of the last two tempuri.org references either. Anything else to try?
2 Points
1 Post
Jan 01, 2013 03:59 PM|LINK
Please see http://www.c-sharpcorner.com/Forums/Thread/108822/get-rid-of-tempuri-in-wsdl.aspx
Jerry
JimFoster
Member
4 Points
15 Posts
Removing tempuri.org from WSDL for a WCF web service
Dec 07, 2010 08:20 PM|LINK
I was just wanting to "cleanup" my WSDL for my .NET 4.0 WCF Web Service and I have most references to tempuri.org changed, except two.
I have added
But, my WSDL still has a reference to
<wsdl:definitions ... xmlns:i0="http://tempuri.org/" ...
and
<wsdl:import namespace="http://tempuri.org/" ...
Any suggestions on the proper way of cleaning these up?
Thanks,
Jim
WCF WSDL tempuri.org
yaronn01
Contributor
2754 Points
414 Posts
Re: Removing tempuri.org from WSDL for a WCF web service
Dec 07, 2010 09:47 PM|LINK
add this over the data contracts:
[DataContract(Namespace="http://www.mysite.com/")]
Web Services Performance, Interoperability And Testing Blog
JimFoster
Member
4 Points
15 Posts
Re: Removing tempuri.org from WSDL for a WCF web service
Dec 08, 2010 03:18 AM|LINK
Thanks for the reply, but, that did not get rid of the last two tempuri.org references either. Anything else to try?
Thanks,
Jim
jobrien19
Member
2 Points
1 Post
Re: Removing tempuri.org from WSDL for a WCF web service
Jan 01, 2013 03:59 PM|LINK
Please see http://www.c-sharpcorner.com/Forums/Thread/108822/get-rid-of-tempuri-in-wsdl.aspx
Jerry