cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Generating a proxy class for the Enterprise Service

Former Member
0 Kudos

Hi ,

I am trying to consuming an SAP XI Web

Service in Visual Studio 2005. I followd this document <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3057b5a7-99d0-2910-8f8f-f357dc4b70b5">Consume ES Workplace Enterprise Services with Microsoft .Net 2.0 and Visual Studio .Net 2005:</a>.

While try to create a Proxy Class for the WSDL file(XI) using wsdl.exe tool it shows the error like this "There is an error in XML document -Value cannot be null Parameter name:name".

If there any way to pass the parameter through wsdl.exe tool .

Regards,

Malini.V

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I have successfully used this web service from SOAP UI. I do not suspect that there is a problem with the WSDL.

Former Member
0 Kudos

I too am having this problem with my XI web service.

Does anyone know of a way to get around logging in as the admin to make this work? I cannot use admin access on my PC.

My WS is also not published to a UDDI yet, does this pose a problem when trying to create the web reference? or should I be able to create the reference direct from my WSDL file obtained in XI (and curently on my C:\) ?

VijayKonam
Active Contributor
0 Kudos

Sometimes it is possible that, due to some problems on the WSDL producer side.. the WSDL is not fully describes. Test is using some Web Service test applications like XML Spy or SOAP Sonar. They will tell you if the WSDL is not full. In that case the problem is on the service provider side.

VJ

Former Member
0 Kudos

Hi Malini !

Try to log as administrator instead of normal user to this PC, also check you have enough privileges to access the wsdl file from the wsdl.exe application

Regards,

Matias

ps: please award points if helpful

Former Member
0 Kudos

Check for unnecessary spaces in the WSDL file. Especially in xsd:union tags.

I had the following problem:

<xsd:union memberTypes=" xsd:time genericTime" ...

Correct:

<xsd:union memberTypes="xsd:time genericTime" ...

and WSDL.exe was able to generate the proxy class code.

Kind regards

Holger