Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

sap web service to use in .net

hi

I have created a web service in sap in which i have used Tables parameter,

I am using this web service in asp.net application , I have added it successfully in .net application,

but when I am trying to pass the table parameter from .net to sap , it is giving an error

String URL;

URL="http://.../sap/bc/srt/rfc/sap/ZSERVICETABLE?sap-client=301&wsdl=1.1";

ICredentials cred = new NetworkCredential(" ", " ");

WebReference.zservicetableService wsnew = new WebReference.zservicetableService();

wsnew.Url = URL;

wsnew.Credentials = cred;

WebReference.ZREQTABLE stable = new WebReference.ZREQTABLE();

wsnew.ZJ_REQUESTTABLE(ref stable);

this is giving an error , for the table that i have passed

Is there any solution?

Thanks

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question