on 09-30-2008 3:07 PM
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):
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.