Hi,
I'm trying to use a public webservice, which I have been using for years with other programming environment where you have to prepare everything at a lower level of coding, placing everything with hand( soap header, body, authantication etc). In VS2008 I have succeded referencing and accessing the web service. But I don't know how to invoke the request by sending the requested complex and simple elements and invoking the response and getting the return values. This is my code;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Web;
using System.Web.Services;
namespace HowTo
{
public partial class WEBSERVICE : Form
{
HowTo.tr.gov.sgk.medula.ProvizyonGirisDVO oProvizyon=new HowTo.tr.gov.sgk.medula.ProvizyonGirisDVO();
//HowTo.tr.gov.sgk.medula.HastaKabulIslemleriService "This is the servise I like to use
//HowTo.tr.gov.sgk.medula.ProvizyonGirisDVO "This is the complex type that includes data to be sent
//HowTo.tr.gov.sgk.medula.ProvizyonCevapDVO "This complex element contains list of elements with return data elements
public WEBSERVICE()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
//this is where I like to use web service. Send request and get response
}
}
}
I appreciate any help
Thanks in advance
snky