R
Richard
Hello, I meet some problem when i use the CH SP 2003 SE Emulator. I have
bulid a simple webservice that contains only the helloworld method. I alse
write a simple app to contact with the service.On the form i add a textbox
to get the return value of the webService.
code like this:
try
{
SEService.WebService.Service1 myService = new
SEService.WebService.Service1();
this.textBox1.Text = myService.HelloWorld();
}
catch( Exception ex )
{
MessageBox.Show(ex.Message, this.Text, MessageBoxButtons.OK,
MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1);
}
I get the exception "WebException" When i use the SP2003SE emulator to run
this code.
But it can be used in the SP2003 emulator and the return value is right.
Can anyone help me?
Thanks
bulid a simple webservice that contains only the helloworld method. I alse
write a simple app to contact with the service.On the form i add a textbox
to get the return value of the webService.
code like this:
try
{
SEService.WebService.Service1 myService = new
SEService.WebService.Service1();
this.textBox1.Text = myService.HelloWorld();
}
catch( Exception ex )
{
MessageBox.Show(ex.Message, this.Text, MessageBoxButtons.OK,
MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1);
}
I get the exception "WebException" When i use the SP2003SE emulator to run
this code.
But it can be used in the SP2003 emulator and the return value is right.
Can anyone help me?
Thanks