firehawk1010
05-28-2006, 06:40 PM
Hi.
I am using .NET 1.1 C#
I have written web services before, and works well.
This is a NEW webservice I have written.
It works fine on the local machine but as soon as I upload it to my server on axwebhost, it seems to return me null everytime I try to get any value returning to me from the webservice.
no doubt I have contacted the support desk but until then this will really keep me awake all night long.
even the simplistic code which should always return "hi" returns null to the caller!!!!
public string[] DoReturnSomething()
{
string[] someStuff = new string[1];
someStuff[0] = "hi there";
return someStuff;
}
that is the webservice code, now it should return me the someStuff variable. that variable ALWAYS has "hi there" as ive hardcoded it.
That works fine on my local box. But when I upload and call it, i get returned "null"
no errors, no nothing.
any ideas what the hell is going on?
:)
I am using .NET 1.1 C#
I have written web services before, and works well.
This is a NEW webservice I have written.
It works fine on the local machine but as soon as I upload it to my server on axwebhost, it seems to return me null everytime I try to get any value returning to me from the webservice.
no doubt I have contacted the support desk but until then this will really keep me awake all night long.
even the simplistic code which should always return "hi" returns null to the caller!!!!
public string[] DoReturnSomething()
{
string[] someStuff = new string[1];
someStuff[0] = "hi there";
return someStuff;
}
that is the webservice code, now it should return me the someStuff variable. that variable ALWAYS has "hi there" as ive hardcoded it.
That works fine on my local box. But when I upload and call it, i get returned "null"
no errors, no nothing.
any ideas what the hell is going on?
:)
