IBM Support

Cannot Import ContentRepositoryURI wsdl file Into Visual Studio 2008

Troubleshooting


Problem

In Visual Studio 2008, customer is trying to add a 'Service Reference' with a URL pointing to http://:/cr-ws/services/ContentRepositoryURI?wsdl There is an error in the VS Error List stating that it was unable to import the wsdl file. There is 1 error and 3 warning messages. Get the following errors: Warning 1 Custom tool warning: Cannot import wsdl:portType Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Description.DataContractSerializerMessageContractImporter Error: Invalid 'name' attribute value 'ResourceSpecifier[0,unbounded]': 'The '[' character, hexadecimal value 0x5B, at position 17 within the name, cannot be included in a name.'. XPath to Error Source: //wsdl:definitions[@targetNamespace='http://xml.spss.com/contentRepositoryURI/wsdl']/wsdl:portType[@name='Co…'] C:\Documents and Settings\Administrator\Local Settings\Application Data\Temporary Projects\WindowsFormsApplication1\Service References\ServiceReference1\Reference.svcmap 1 1 WindowsFormsApplication1 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='http://xml.spss.com/contentRepositoryURI/wsdl']/wsdl:portType[@name='Co…'] XPath to Error Source: //wsdl:definitions[@targetNamespace='http://xml.spss.com/contentRepositoryURI/wsdl']/wsdl:binding[@name='Con…'] C:\Documents and Settings\Administrator\Local Settings\Application Data\Temporary Projects\WindowsFormsApplication1\Service References\ServiceReference1\Reference.svcmap 1 1 WindowsFormsApplication1 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='http://xml.spss.com/contentRepositoryURI/wsdl']/wsdl:binding[@name='Con…'] XPath to Error Source: //wsdl:definitions[@targetNamespace='http://xml.spss.com/contentRepositoryURI/wsdl']/wsdl:service[@name='Con…'] C:\Documents and Settings\Administrator\Local Settings\Application Data\Temporary Projects\WindowsFormsApplication1\Service References\ServiceReference1\Reference.svcmap 1 1 WindowsFormsApplication1 Error 4 Custom tool error: Failed to generate code for the service reference 'ServiceReference1'. Please check other error and warning messages for details. C:\Documents and Settings\Administrator\Local Settings\Application Data\Temporary Projects\WindowsFormsApplication1\Service References\ServiceReference1\Reference.svcmap 1 1 WindowsFormsApplication1

[{"Product":{"code":"SS69YH","label":"IBM SPSS Collaboration and Deployment Services"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF033","label":"Windows"}],"Version":"4.0","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

89549

Document Information

Modified date:
16 June 2018

UID

swg21486830