I can not use ServiceReference
after successfully importing.
After executing the import, writing the class and using its methods in the compilation occurs the Warnings:
Warning 1
Custom tool warning: Cannot import wsdl:portType
Detail: The ' ' character, hexadecimal value 0x20, cannot be included in a name.
Parameter name: name
XPath to Error Source: //wsdl:definitions[@targetNamespace='urn:sigiss_ws']/wsdl:portType[@name='WebService SigISSPortType'] C:\ProjetosVS\ClientWBAws\ClientWBAws\ClientWBAws\Service References\ServiceReferenceSigISS\Reference.svcmap 1 1 ClientWBAws
Warning 2
Custom tool 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='urn:sigiss_ws']/wsdl:portType[@name='WebService SigISSPortType']
XPath to Error Source: //wsdl:definitions[@targetNamespace='urn:sigiss_ws']/wsdl:binding[@name='WebService SigISSBinding'] C:\ProjetosVS\ClientWBAws\ClientWBAws\ClientWBAws\Service References\ServiceReferenceSigISS\Reference.svcmap 1 1 ClientWBAws
Warning 3
Custom tool warning: Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is dependent on.
XPath to wsdl:binding: //wsdl:definitions[@targetNamespace='urn:sigiss_ws']/wsdl:binding[@name='WebService SigISSBinding']
XPath to Error Source: //wsdl:definitions[@targetNamespace='urn:sigiss_ws']/wsdl:service[@name='WebService SigISS']/wsdl:port[@name='WebService SigISSPort'] C:\ProjetosVS\ClientWBAws\ClientWBAws\ClientWBAws\Service References\ServiceReferenceSigISS\Reference.svcmap 1 1 ClientWBAws
Error:
Error 4 Custom tool error: Failed to generate code for the service reference 'ServiceReferenceSigISS'. Please check other error and warning messages for details. C:\ProjetosVS\ClientWBAws\ClientWBAws\ClientWBAws\Service References\ServiceReferenceSigISS\Reference.svcmap 1 1 ClientWBAws
What should I do to fix this?