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 'http://www.w3.org/2001/XMLSchema'.'.

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

http://bdhp4320.na.pg.com:50100/XISOAPAdapter/MessageServlet?channel=:PG_FIN_GL_WS:PG_FIN_GL_BAPI_ACC_DOCUMENT_CHECK&version=3.0&Sender.Service=PG_FIN_GL_WS&Interface=http%3A%2F%2Fpg.com%2Fxi%2Ffin%2Fgl%2Fws%2FBAPI_ACC_DOCUMENT_CHECK%5EMIOB_BAPI_ACC_DOCUMENT_CHECK

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 com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/aii/30_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#16 $) bound to /MessageServlet

Classname ModuleProcessor: null

Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean

Lookupname for remoteModuleProcessorLookupName: null

ModuleProcessorClass not instantiated

ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0

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