Hi,
I wrote an WCF service using Jan CTP which transfer the typed dataset to and from between client and service. It is working with Jan CTP and I am able to generate the proxy using the SVCUtil.exe. Recently I have updated my system to work with Feb CTP and provide the necessary chnages in the App.config file. when I tried to generate the new Proxy with SvcUtil.exe( WinSDK FEB version) I got the below error:
Error: Unable to obtain Metadata from net.tcp://localhost:8085/MyService
WS-MetadataExchange Error
Uri: net.tcp://c65:8084/BritNetService
Metadata contains a reference that cannot be resolved: 'netnet.tcp://localhost:8085/MyService'.
The socket connection was aborted. This could be caused by an error processi
ng your message or a receive timeout being exceeded by the remote host, or an un
derlying network resource issue.
An existing connection was forcibly closed by the remote host
I am usig the nettcpbinding. when I changed the binding to wshttp is it working fine but I want to generate it using nettcpbinding. The problem is only coming whenever I tried to return Typed dataset to client side.
Please let me know if there is any work around of this.
Thanks,
Dileep Agarwal

Not able to generate proxy with typed dataset using svcutil.exe and WCF Feb CTP (with Jan Ctp was working fine)
Adam Uebel
Interesting. Can you please attach a debugger to the server and catch the exception the server throws
Thanks
nkat2112
Inflame
After installing the Winfx beta 2, I am able to generate the proxy class for the typed dataset also with following message
"Attempting to download metadata from 'net.tcp://LocalHost:8090/MyServic' using W
S-Metadata Exchange. This url does not support DISCO." Is this message coming due to NetTcp instead of http
My problem is when I tried to receive a typed dataset from the service it is giving me time out problem. I increased the time out but it did not solve the problem.
Any idea
below is the stack trace:
Server stack trace:
at System.ServiceModel.Dispatcher.DuplexChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at IServiceMethods.GetMatchingCustomers(GetMatchingCustomersRequest request)
at ServiceMethodsProxy.IServiceMethods.GetMatchingCustomers(GetMatchingCustomersRequest request) in C:\Projects\Host\Proxy\Client.cs:line 25865
at ServiceMethodsProxy.GetMatchingCustomers(String sSearchString, Int32 PazeSize, Int32 nlastCustomerID) in C:\Projects\Host\Proxy\Client.cs:line 25875
at Client.form1.fetchData(String sSearch) in C:\Projects\Client\ClientTest\form1.cs:line 76
de_Stan
Well,
I think I have an explanation about what's going on in my previous error as I described above.
In my above scenario, I have two interfaces, one I set as a service contract and the other as a callback contract to the service contract.
I've just realized that I cannot have an operation contract in the callback contract that has the SAME name with any operations contract in the service contract.
It just simply prevents me from creating a service reference (in VS2005) because it won't generate the WSDL document.
So, my problem is solved after then.
BTW, is there any documentation that state so about operation contract limitations in a callback scenario
Can anyone point me where it is
I must be missed that one.
sandrop
Rob Ainscough
If you have repro for this problem,can you please send it to me,my email id is madhup@microsoft.com
-Thank you
Madhu
Ahmad Pirani
I have the same problem :(.
Saludos,
MazeGen
We have this reproduced in house and are looking into it now.
Thanks!
Scott
itfareed
Is this problem solved
I am not sure if MS released new svcutil.exe for Feb CTP (For Windows XP SP2) that can generate proxy with typed dataset.
I want to switch to Feb CTP but due to this problem it is not possible for me right now.
If anyone has any update on this issue, please let me know.
Thanks,
cville
Hi Scott,
Any updated on this post.
Dileep Agarwal
rich-75
Niall Baird
Read this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=400865&SiteID=1.
Saludos,
C Dionne
Me too.
I'm installing Windows SDK BETA 2 on Windows Vista BETA2 (5384.4) and results in the following error when creating a service reference:
J:\Program Files\Microsoft Visual Studio 8\Common7\IDE\svcutil.exe /noLogo /s /edb /rct:"System.Collections.ObjectModel.ObservableCollection`1,WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /r:"J:\Program Files\Reference Assemblies\Microsoft\WinFx\v3.0\WindowsBase.dll" /d:"J:\Users\mahara\AppData\Local\Temp\itdcwggf.rl0" /config:"J:\Users\mahara\AppData\Local\Temp\itdcwggf.rl0\oldapp.config",newapp.config /out:"MaxMessengerService.cs" /language:csharp /n:*,MaxMessenger.MaxMessengerService "net.tcp://aries.lsik.ti.itb.ac.id:9000/MaxMessengerService"
Attempting to download metadata from 'net.tcp://aries.lsik.ti.itb.ac.id:9000/MaxMessengerService' using WS-Metadata Exchange. This url does not support DISCO.
Error: Cannot obtain Metadata from net.tcp://aries.lsik.ti.itb.ac.id:9000/MaxMessengerService
WS-MetadataExchange Error
Uri: net.tcp://aries.lsik.ti.itb.ac.id:9000/MaxMessengerService
If you would like more help, type "svcutil / "
Metadata contains a reference that cannot be resolved: 'net.tcp://aries.lsik.ti.itb.ac.id:9000/MaxMessengerService'.
Do I miss something here