Hi,
I tried to generate a proxy class for GettingStarted service yesterday with FEB CTP svcutil.exe on FEB CTP Vista.
But svcutil failed after reporting a few warning messages.
The GettingStarted Service was running OK and I didn't modify it in any way.
Does anyone know what is it
I've read some known issues concerning FEB CTP svcutil. They do not seem to be relevant to the case.

can't generate proxy classes for WCF SDK samples with svcutil
macv3x
Hi,
Me too facing the same problem. Can you share the solution to this.
TIA.
Sukh
Are you able to access the wsdl from a browser
http://localhost/servicemodelsamples/service.svc wsdl
Thanks,
Scott
WS_progger_starter
Hello,
It looks like svcutil can't find the XML Schema with target namespace http://Microsoft.ServiceModel.Samples.
Could you please take a look at the WSDL and see if there is a XML schema import statement for the missing target namespace The import should include a location. Try hitting that location with a browser and see if you can retrieve the schema.
Daniel Roth
mdelatonow
Hi, Scott.
Thanks for reply.
I think I understood why that warnings (see below) appeared.
I observed them on Vista FEB and Win2003 as well.
The thing is that I installed the winfx runtime first. Tried WPF. Then decided to try WCF.
I uninstalled the winfx runtime and installed IIS. Then installed the winfx runtime again and winfx sdk.
And svcutil didn't generate a proxy.
D:\Program Files\Microsoft SDKs\Windows\v1.0>svcutil.exe http://localhost/servic
emodelsamples/service.svc wsdl
Microsoft (R) Service Model Metadata Tool
[MicrosoftR .NET Framework, Version 3.0.50727.357]
Copyright (c) Microsoft Corporation. All rights reserved.
Warning: Unable to import wsdl:portType
Detail: An exception was thrown while running a WSDL import extension: System.Se
rviceModel.Description.DataContractSerializerMessageContractConverter
Error: Schema with target namespace http://Microsoft.ServiceModel.Samples could
not be found.
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://Microsoft.Ser
viceModel.Samples']/wsdl:portType[@name='ICalculator']
Warning: Unable to import wsdl:binding
Detail: There was an error importing a wsdl:portType that the wsdl:binding is de
pendent on.
XPath to wsdl:portType: //wsdl:definitions[@targetNamespace='http://Microsoft.Se
rviceModel.Samples']/wsdl:portType[@name='ICalculator']
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/'
]/wsdl:binding[@name='WSHttpBinding_ICalculator']
Warning: Unable to import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is depend
ent on.
XPath to wsdl:binding: //wsdl:definitions[@targetNamespace='http://tempuri.org/'
]/wsdl:binding[@name='WSHttpBinding_ICalculator']
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/'
]/wsdl:service[@name='CalculatorService']/wsdl:port[@name='WSHttpBinding_ICalcul
ator']
Generating files...
Warning: No code was generated.
If you were trying to generate a proxy, this could be because the metadata docum
ents did not contain any valid contracts/services
or because all contracts/services were discovered to exist in /reference assembl
ies. Verify that you passed all the metadata documents to the tool.
Warning: If you would like to generate DataContract types from schemas please ma
ke sure to include the /dataContractOnly option.
Geraint Davies
Hi Tim,
This issue appears to be a bug that was fixed in our more recent builds.
Daniel Roth
AlSoft
Hello, Daniel.
Sorry, couldn't respond earlier.
I see a blank page when trying http://localhost/servicemodelsamples/service.svc xsd=xsd0
and http://xp_oracle.rmstest3.itsecurity/servicemodelsamples/service.svc wsdl=wsdl1 returns
< xml version="1.0" encoding="utf-8" >
MikeBarta411
Justin Is Learning
Bob Briggs
Hi,
I've sent the metadata requested.
1Pierre1
Can you send the error message/warnings etc
Thanks!
Scott
Kay2live
Ok.
Can you run this to get me the metadata:
svcutil <your service address> wsdl /target:metadata
and send the output to me (smason@microsoft.com)
We can take this offline from there.
Thanks!
Scott
Glenno
Shall I understand this as I need to send the metadata to you.
TIA.
CsharpDotnetDeveloper
Hello again,
Scott sent me the metadata files.
Did you try going to http://xp_oracle.rmstest3.itsecurity/servicemodelsamples/service.svc xsd=xsd0 in the browser This should be the location of the missing schema file.
Daniel Roth