Skip to Content
Former Member
May 15, 2007 at 07:39 PM

SAP Web Services from .NET problems


I am trying to execute a SAP web service from the ES workplace via Visual Studio. I incorporate the web service into my .NET project by doing an Add Reference in Visual Studio. The following WSDL is generated with Visual studio flagging the highlighted lines below as undeclared. Does anyone know why this is occurring? When I try to execute the project I get reflection errors which I am sure is a byproduct of the undeclared issue. Any Help would be much appreciated. Here is a partial view of the generated WSDL:

<?xml version="1.0" encoding="utf-8"?>" xmlns:n0="" xmlns:xsd="" xmlns:http="" xmlns:soap="" targetNamespace="" xmlns:wsdl="">

<wsdl:types>" xmlns:wsdl="" xmlns:xi1="" xmlns="" targetNamespace="">" />

<b><xsd:element name="SalesOrderByIDQuery_sync" type="xi1:SalesOrderByIDQueryMessage_sync" />

<xsd:element name="SalesOrderByIDResponse_sync" type="xi1:SalesOrderByIDResponseMessage_sync" /></b>

<xsd:element name="StandardMessageFault">



<b> <xsd:element name="standard" type="xi1:ExchangeFaultData" /></b>




</xsd:schema>" xmlns:wsdl="" xmlns:xi1="" xmlns="" targetNamespace="">

<xsd:complexType name="Amount">


<xsd:extension base="xi1:AmountContent">

<xsd:attribute name="currencyCode" use="required">