Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error importing XI Web Service into VS2005

I have created an XI Web Service and generated its WSDL file on my local PC. When I test this WS in SOAPUI I get a successful response. The problem occurs when I try to import this into Visual Studio 2005 using "Add Web Reference". If I provide the C:\ location of my WSDL file it gives me this error:

The document at the url file:///C:/MIOB_BAPI_ACC_DOCUMENT_CHECK2.wsdl was not recognized as a known document type.

The error message from each known type may help you fix the problem:

- Report from 'DISCO Document' is 'Discovery document at the URL file:///C:/MIOB_BAPI_ACC_DOCUMENT_CHECK2.wsdl could not be found.'.

- The document format is not recognized.

- Report from 'WSDL Document' is 'There is an error in XML document (2, 78497).'.

- Value cannot be null.

Parameter name: name

- Report from 'XML Schema' is 'The root element of a W3C XML Schema should be <schema> and its namespace should be ''.'.

If I try to import using the endpoint URL (found in my WSDL):

I get the message "The HTML document does not contain Web service discovery information." and the following is displayed:

Message Servlet is in Status OK

Status information:

Servlet (Version $Id: //tc/aii/30_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/ $) bound to /MessageServlet

Classname ModuleProcessor: null

Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean

Lookupname for remoteModuleProcessorLookupName: null

ModuleProcessorClass not instantiated

ModuleProcessorLocal is Instance of

ModuleProcessorRemote not instantiated

I'm not sure how to import this into VS2005...please help.

Former Member
Not what you were looking for? View more on this topic or Ask a question