Showing posts with label requirement. Show all posts
Showing posts with label requirement. Show all posts

Wednesday, March 21, 2012

A quesiton regarding soapheader

Dear all,

I am making a webservice client program and need to consume the service which is devleoped by java. The requirement is I need to send a soapheader which contains user and password. Is anybody can help me to do that?Thank you !!

localhost.IWSMessageService mservice = new localhost.IWSMessageService();
AuthenticationToken AuthenticationToken = new AuthenticationToken(); //this is class extended by Soapheader.

// I need pass AuthenticationToken to mservice

Response.write(mservice.getmessage());

Since you are using Java WebService you will not be able to use the builtin WebServiceProxy of Asp.net Ajax. Instead you have to use Sys.Net.WebRequest object directly to call the web methods the following link may help you to learn how to invoke the WebRequest object of Asp.net Ajax.

http://geekswithblogs.net/rashid/archive/2007/07/21/Asp.net-Ajax-and-VS2003.aspx

A good performance Treeview using ajax

I have a requirement of a tree view with a very performance.i decided to build it with ajax so

What approach is better ie use a .net treeview control in updatepanel

OR


make a ajax call on clicking on each node

i know the 2nd oneis good but i need some more facts like if i used ist one and when anode clicked event is generated then whole tree view is posted but insecond one there is on demand loading

please send some more views

thanks

I have had some trouble with the treeview holding state inside an update panel, so if you can impliment it using ajax calls would be my recommendation.

-Alan