You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to generate code for a WCF service in a .Net 8.0 project, either using VS2022 or the dotnet-svcutil I get the following error:
Warning: Cannot import wsdl:portType
Detail: The '/' character, hexadecimal value 0x2F, cannot be included in a name. (Parameter 'name')
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://xmlns.oracle.com/Enterprise/FSCM/service/pcProject/Activities.1']/wsdl:portType[@name='pcProject/Activities_PortType']
Warning: Cannot import wsdl:binding
Detail: There was an error importing a wsdl:portType that the wsdl:binding is dependent on.
XPath to wsdl:portType: //wsdl:definitions[@targetNamespace='http://xmlns.oracle.com/Enterprise/FSCM/service/pcProject/Activities.1']/wsdl:portType[@name='pcProject/Activities_PortType']
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://xmlns.oracle.com/Enterprise/FSCM/service/pcProject/Activities.1']/wsdl:binding[@name='pcProject/Activities_Binding']
Warning: Cannot import wsdl:port
Detail:
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://xmlns.oracle.com/Enterprise/FSCM/service/pcProject/Activities.1']/wsdl:service[@name='pcProject/Activities']/wsdl:port[@name='pcProject/Activities_Port']
Warning: No endpoints compatible with .Net Core apps were found.
To Reproduce
Steps to reproduce the behavior:
Unfortunately the WSDL URL is located internally.
Expected behavior
Should be able to generate the code.
Additional context
I do not have any control over the WSDL. If I create a traditional class library project (not the new project format) and target .Net Framework 4.7.2 I am able to successfully generate the code in VS2022.
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to generate code for a WCF service in a .Net 8.0 project, either using VS2022 or the dotnet-svcutil I get the following error:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should be able to generate the code.
Additional context
I do not have any control over the WSDL. If I create a traditional class library project (not the new project format) and target .Net Framework 4.7.2 I am able to successfully generate the code in VS2022.
The text was updated successfully, but these errors were encountered: