SAP CRM 2007 connectivity using VB and .net

.net , vb , sapcrm2007 Şalālah, Oman
  • 12 years ago
    Hi experts, Here in our project we choose ASP.NET web application and added Web Reference VLCQTNAPPRLSERVICE using URL http://sapcrm02.otegroup.com:8000/sap/bc/srt/wsdl/bndg_DDE12E6AC2301FF1A8AE0018FE30F03A/wsdl11/allinone/standard/document?sap-client=222. Above web service is created in SAP CRM 2007 for function module ZSM_SMS_FOR_REQUEST_APPROVAL. In this project we wrote a code in Default.aspx.cs to pass parameter in web service, but when building the project we are getting an error Error 1 No overload for method 'ZSM_SMS_FOR_REQUEST_APPROVAL' takes '2' arguments \\otegroup.com\oteho\IT\tarapadad\My Documents\VLCapprovalSMS\VLCQTNAPPRL\VLCQTNAPPRL\Default.aspx.cs 27 13 VLCQTNAPPRL Below the code written in Default.aspx.cs. using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using VLCQTNAPPRL.VLCQTNAPPRLSERVICE; using System.Net; namespace VLCQTNAPPRL { public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { string zgsm, xgsm; string zline, xline; string zmesg; service VLCQTNAPPRLSERVICE = new service(); zgsm = Request.QueryString["xgsm"]; zline = Request.QueryString["xline"]; VLCQTNAPPRLSERVICE.ZSM_SMS_FOR_REQUEST_APPROVAL(zgsm, zline); } } }

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The trouble with programmers is that you can never tell what a programmer is doing until it's too late.” - Seymour Cray