R
Rodrigo Zaparolli
Hi all,
Starting from a COM+ I created the service using Integrate - COM+ of the
tool Service publishing configuration, and the integration generated 2 files
web.config and bus_SLZ.ClienteQ.svc.
Now I am trying to use the tool svcutil.exe to consume in the customer, but
this giving the mistake below:
-------------------------------------- begin
Microsoft (R) Service Model Metadata Tool
[Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.30]
Copyright (c) Microsoft Corporation. All rights reserved.
Attempting to download metadata from
'http://localhost/vbComSLZ/bus_SLZ.ClienteQ
..svc' using WS-Metadata Exchange or DISCO.
Microsoft (R) Service Model Metadata Tool
[Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.30]
Copyright (c) Microsoft Corporation. All rights reserved.
Error: Cannot obtain Metadata from
http://localhost/vbComSLZ/bus_SLZ.ClienteQ.sv
c
If this is a Windows (R) Communication Foundation service to which you have
acce
ss, please check that you have enabled metadata publishing at the specified
addr
ess. For help enabling metadata publishing, please refer to the MSDN
documentat
ion at http://go.microsoft.com/fwlink/?LinkId=65455.
WS-Metadata Exchange Error
URI: http://localhost/vbComSLZ/bus_SLZ.ClienteQ.svc
Metadata contains a reference that cannot be resolved:
'http://localhost/vbC
omSLZ/bus_SLZ.ClienteQ.svc'.
The remote server returned an unexpected response: (405) Method not
allowed.
The remote server returned an error: (405) Method Not Allowed.
HTTP GET Error
URI: http://localhost/vbComSLZ/bus_SLZ.ClienteQ.svc
The document at the url http://localhost/vbComSLZ/bus_SLZ.ClienteQ.svc
was n
ot recognized as a known document type.
The error message from each known type may help you fix the problem:
- Report from 'DISCO Document' is 'Name cannot begin with the '%' character,
hex
adecimal value 0x25. Line 1, position 2.'.
- Report from 'WSDL Document' is 'There is an error in XML document (1,
2).'.
- Name cannot begin with the '%' character, hexadecimal value 0x25. Line
1, po
sition 2.
- Report from 'XML Schema' is 'Name cannot begin with the '%' character,
hexadec
imal value 0x25. Line 1, position 2.'.
If you would like more help, type "svcutil /?"
C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin>
---------------------------------- end
Starting from a COM+ I created the service using Integrate - COM+ of the
tool Service publishing configuration, and the integration generated 2 files
web.config and bus_SLZ.ClienteQ.svc.
Now I am trying to use the tool svcutil.exe to consume in the customer, but
this giving the mistake below:
-------------------------------------- begin
Microsoft (R) Service Model Metadata Tool
[Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.30]
Copyright (c) Microsoft Corporation. All rights reserved.
Attempting to download metadata from
'http://localhost/vbComSLZ/bus_SLZ.ClienteQ
..svc' using WS-Metadata Exchange or DISCO.
Microsoft (R) Service Model Metadata Tool
[Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.30]
Copyright (c) Microsoft Corporation. All rights reserved.
Error: Cannot obtain Metadata from
http://localhost/vbComSLZ/bus_SLZ.ClienteQ.sv
c
If this is a Windows (R) Communication Foundation service to which you have
acce
ss, please check that you have enabled metadata publishing at the specified
addr
ess. For help enabling metadata publishing, please refer to the MSDN
documentat
ion at http://go.microsoft.com/fwlink/?LinkId=65455.
WS-Metadata Exchange Error
URI: http://localhost/vbComSLZ/bus_SLZ.ClienteQ.svc
Metadata contains a reference that cannot be resolved:
'http://localhost/vbC
omSLZ/bus_SLZ.ClienteQ.svc'.
The remote server returned an unexpected response: (405) Method not
allowed.
The remote server returned an error: (405) Method Not Allowed.
HTTP GET Error
URI: http://localhost/vbComSLZ/bus_SLZ.ClienteQ.svc
The document at the url http://localhost/vbComSLZ/bus_SLZ.ClienteQ.svc
was n
ot recognized as a known document type.
The error message from each known type may help you fix the problem:
- Report from 'DISCO Document' is 'Name cannot begin with the '%' character,
hex
adecimal value 0x25. Line 1, position 2.'.
- Report from 'WSDL Document' is 'There is an error in XML document (1,
2).'.
- Name cannot begin with the '%' character, hexadecimal value 0x25. Line
1, po
sition 2.
- Report from 'XML Schema' is 'Name cannot begin with the '%' character,
hexadec
imal value 0x25. Line 1, position 2.'.
If you would like more help, type "svcutil /?"
C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin>
---------------------------------- end