6
I can’t use the ServiceReference
after successfully importing.
After performing the import, write the class and use your methods in the build occur 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 must I do to correct this problem?
You can make calls work with
WCFTestClient.exe
?– Vitor Canova