MSMVPS.COM
The Ultimate Destination for Blogs by Current and Former Microsoft Most Valuable Professionals.

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
Filed under:

Comments

Montaque wrote re:
on 01-31-2005 2:20
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
TrackBack wrote re:Sometimes, Hello world does not work;)
on 04-16-2005 2:36
^_~
Montaque wrote re: Sometimes, Hello world does not work;)
on 10-06-2005 1:20
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

Add a Comment

(required)  
(optional)
(required)  
Remember Me?


Copyright © is the original authors. Blog site is an independent site not sponsored by Microsoft. The Yoda blog server and the Brianna SQL server would like to thank www.ownwebnow.com and www.exchangedefender.com. They wouldn't be here and broadcasting without the generosity of Vlad Mazek and his companies.

Powered by Community Server (Commercial Edition), by Telligent Systems