cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice to XI Error

Former Member
0 Kudos

Hi Friends

I am doing this webservice to XI to SAP scenario and getting this error can any one help me in this(the 3rd party application is in .NET)

The error message while adding it’s a web reference in Visual studio :-

The document at the url http://localhost/dotNETXI/MSGI_Sender_v2.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 http://localhost/dotNETXI/MSGI_Sender_v2.wsdl could not be found.'.

- The document format is not recognized.

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

- 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'.'.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Can u clarify it a bit more.

Former Member
0 Kudos

Ishika,

Make sure you follow the steps in this guide to expose your outbound interface as web service.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a2202...

Regards,

Jai Shankar

Former Member
0 Kudos

ya i followed this document only.

Former Member
0 Kudos

Ishika,

The basic point is that there is an error in the XML document which can be checked and validated using lot of third party tools.

One among them is the Altova XML spy which can be used to create, validate XSD's and XML.

Try reading w3schools.com for knowledge of the same.

Former Member
0 Kudos

Hi

check for the validity of the wsdl in an xml editor like altova xmlspy/any other equivalent editor

regards

krishna