Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BasicHttps #4082

Closed
paulosiquiero opened this issue Dec 13, 2019 · 1 comment
Closed

BasicHttps #4082

paulosiquiero opened this issue Dec 13, 2019 · 1 comment
Assignees
Labels
tooling An issues related to any tool shipped from this repo.

Comments

@paulosiquiero
Copy link

Describe the bug
When I try to use dotnet-svcutil to create the service files I am getting a warning that wsdl:binding and wsdl:port could not be imported.
The service has two endpoints and I need to consume endpint basic but the import does not occur.

To Reproduce
Steps to reproduce the behavior:

  1. Open Package Manager Console
  2. Navigate to project directory
  3. Execute the command: dotnet-svcutil https://www.jucesp.sp.gov.br/Jucesp.Services/Viabilidades/Viabilidade.svc?wsdl

Expected behavior
The following message will appear:

Attempting to download metadata from 'https://www.jucesp.sp.gov.br/Jucesp.Services/Viabilidades/Viabilidade.svc?wsdl' using WS-Metadata Exchange and HttpGet.
Warning: Cannot import wsdl:binding
Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Channels.StandardBindingImporter
Error: The method or operation is not implemented.
XPath to Error Source: //wsdl:definitions[@targetNamespace='Jucesp.Services.Viabilidades.Viabilidade']/wsdl:binding[@name='Jucesp_BasicHttpBinding']
Warning: Cannot import wsdl:port
Detail:
XPath to Error Source: //wsdl:definitions[@targetNamespace='Jucesp.Services.Viabilidades.Viabilidade']/wsdl:service[@name='Viabilidade']/wsdl:port[@name='Jucesp_BasicHttpBinding']
Generating files...

@StephenBonikowsky StephenBonikowsky added the tooling An issues related to any tool shipped from this repo. label Jan 6, 2020
@StephenBonikowsky
Copy link
Member

Based on the WSDL it looks like you are using transport security with message credential which is supported in the runtime but the dotnet-svcutil tool does not yet support it but it is planned, you can track #3969.

Let us know if you have any other questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tooling An issues related to any tool shipped from this repo.
Projects
None yet
Development

No branches or pull requests

3 participants