Montaque

Nothing is impossible for MS .NET

Sometimes, Hello world does not work;)

I add a web method to existing web service, which return array of arraylist as the result.

then everything workes worse, the client can not invoke either of the web method

here is a simple code

 

public service1: WebService
{
 
public service1()
{
}
        [WebMethod]
        public string HelloWorld()
        {
            return "Hello World, I am running in montaque notebook .NET";
        }
 
        [WebMethod]
        public ArrayList [] TestArrayList()
        {
            ArrayList [] ar=new ArrayList[1];
            ar[0].Add(1);
            ar[0].Add(2);
            return ar;
        }
 
 
}

 

when I test the code in the .net latest build ,40903, get the same result

 

Posted: Dec 30 2004, 09:40 AM by Montaque | with 3 comment(s)
Filed under:

Comments

Montaque said:

sorry but this is comment spam from a fellow MVP.
it was posted by an automated bot i wrote.
it uses AI to beat the CAPTCHA test.
i have written an article about it here.
http://www.brains-N-brawn.com/aiCAPTCHA
# January 31, 2005 2:20 AM

TrackBack said:

^_~
# April 16, 2005 2:36 AM

Montaque said:

Thank you I am learning of new things all day! And it is good to know of my RSS already

work. I think I need add button of RSS to make this thing clear.
But more work to do!
http://www.52z.com
http://www.k198.com
http://www.yxdown.com
http://www.itcnw.com
# October 6, 2005 1:20 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)