Yes, i have given the name space like MyWS, but i am not able to access it like MyWS.ClassName even after application Re Build. this is the problem.
ashish bhakhar
Posts
-
How to call Java Web service using Asp.Net? -
performing cms in asp.netsimple, bind your data value to fck editor's value, it will automatically displays it without html tags. & in general fck editor always display the text form without html tags. If you want to see html then you have to press source button on top left of fck tool menu.
-
How to call Java Web service using Asp.Net?I have done, all you have written. but after adding a web reference with some name, i can't add the namespace using my given name, bcoz it can't found!
-
How to call Java Web service using Asp.Net?You have given good solution, but i can not add the reference of a web reference in my C# page. where you have write "using JSimpCalcWebServiceService;", i can't get my added web reference at this position. so, anything required for this?
-
How to call Java Web service using Asp.Net? -
What's the solution of this error message: Unable to cast object of type 'System.Xml.XmlElement' to type 'System.Web.Services.Description.ServiceDescriptionFormatExtension'.This is a simple process of generating proxy class from outside(client) WSDL file to access their web methods using asp.net. In general, client has provided WSDL files, so using that we have to call their web services. so to use web service or to call them we need to add web reference of that wsdl files to our application and need to generate a proxy class so that we can call client methods for requesting the data and get response from their side. But when i am trying to generate proxy class from the url of WSDL given by client at that time in command prompt of framework sdk using the command "wsdl /l:cs /http://a.com/b.wsdl", i got this error.
-
What's the solution of this error message: Unable to cast object of type 'System.Xml.XmlElement' to type 'System.Web.Services.Description.ServiceDescriptionFormatExtension'.Hello I am using client WSDL file, i want to generate proxy class from it. I am using WSDL.exe to generate that proxy class. But i am getting this error: Unable to cast object of type 'System.Xml.XmlElement' to type 'System.Web.Services.Description.ServiceDescriptionFormatExtension'. So, is there any perfect solution?
-
What's the solution of this error message: Unable to cast object of type 'System.Xml.XmlElement' to type 'System.Web.Services.Description.ServiceDescriptionFormatExtension'.Hello I am using client WSDL file, i want to generate proxy class from it. I am using WSDL.exe to generate that proxy class. But i am getting this error: Unable to cast object of type 'System.Xml.XmlElement' to type 'System.Web.Services.Description.ServiceDescriptionFormatExtension'. So, is there any perfect solution?
-
How to call other server's WSDL file methods using Asp.Net?i have already try making object using that web service's name, but it doesn't supports. & also if i am adding same application asmx file as a web reference then it allows me to see & test web methods, But if i am adding it from URL then it displays me web methods but in read only form. Have you ever try using other server's WSDL link?
modified on Monday, June 1, 2009 8:04 AM
-
How to call other server's WSDL file methods using Asp.Net?sorry, when i have added that wsdl link, no any class file is created. it has only create .wsdl, .xsd & .map files. It crates class but the condition is that if i have added it from same application.
-
How to call other server's WSDL file methods using Asp.Net?Hello, I have a link of a WSDL file, i want to access methods of that wsdl file. I have already added it as a web reference but i can't make object of that web reference. If i am adding a web refernce from same application then it works properly but if i am add web reference by giving other server's url, then i am not able to create an object of that web reference. So, any idea how i can call other server's WSDL file using my asp.net page?
-
How to call other server's WSDL file methods using Asp.NetHello, I have a link of a WSDL file, i want to access methods of that wsdl file. I have already added it as a web reference but i can't make object of that web reference. If i am adding a web refernce from same application then it works properly but if i am add web reference by giving other server's url, then i am not able to create an object of that web reference. So, any idea how i can call other server's WSDL file using my asp.net page?
-
window.close() for mozilla for single window without popupHello, I want to close the web page using window.close(),self.close() etc. they all works in IE but not works in Mozilla. Note: The page is not a pop up window. So, if guys you have any idea, give reply asap, because it's a developer issue, which was created by tester.
-
window.close() for mozilla for single window without popupHello, I want to close the web page using window.close(),self.close() etc. they all works in IE but not works in Mozilla. Note: The page is not a pop up window. So, if guys you have any idea, give reply asap, because it's a developer issue, which was created by tester.
-
How to pass parameters into sql jobs?nothing find from google. that's why i put my question here. i have more expectations from codeproject than google. This is my sql job: USE [master] GO declare @file as varchar(500) declare @dbName as varchar(50) declare @LogicalName as varchar(50) declare @ToServer as varchar(50) exec('ALTER DATABASE ['+@dbName+'] SET SINGLE_USER WITH ROLLBACK IMMEDIATE') exec('RESTORE DATABASE ['+@dbName+'] FROM DISK = N''F:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Backup\'+@file+''' WITH FILE = 1, MOVE N'''+@LogicalName+''' TO N''F:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Data\'+@dbName+'.mdf'', MOVE N'''+@LogicalName+'_log'' TO N''F:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Data\'+@dbName+'_log.ldf'', NOUNLOAD, REPLACE, STATS = 10') GO I want to pass above four parameters like @file,@dbName,@LogicalName,@ToServer from my stored procedure to above job. so, what i have to do for this? this is my stored procedure: ALTER PROCEDURE runjob AS Declare @backupfile varchar(500),@databasename varchar(50), @logicaldatabasename varchar(50), @toservername varchar(50) set @backupfile = 'test1.bak'; set @databasename = 'test1'; set @logicaldatabasename = 'test1'; set @toservername = 'Live'; BEGIN --exec sp_who2 EXEC msdb.dbo.sp_add_job @job_name = 'k', @file = @backupfile, @dbName = @databasename, @LogicalName = @logicaldatabasename, @ToServer = @toservername EXEC msdb.dbo.sp_start_job k END so, what i have to do for this? and i m receiving an error @file is not a parameter for procedure sp_add_job.
-
How to pass parameters into sql jobs?hello Christian Graus i cant find reply of this question in sql forum, that's why for fast reply i put it here.
-
How to pass parameters into sql jobs?How to pass the parameters of @dbName, @LogicalName, @ToServer to job dynamically using stored procedure?
-
How to pass parameters into sql jobs using a stored procedure?what can i do using documentation of the System.Data namespace?
-
auto size of gridview columnyou can not do this because in any column the records in each row has not fixed size. some contains 5 characters and some contains 55 characters. so if you want to auto size the columns then your column will be expands more worthless, for ex: there are 10 rows in grid. 9 columns have 20 characters & 10th column has 90 characters than the layout of grid will not shows in regular manner. so, instead of these you have to set wrap property to the columns and give some fixed width by approximation of column name. for column of id there is no need to give size as same as other columns like details column.
-
How to re-use one SqlDataSource for mutiple grids with different parametersyou can use stored procedure and bind one sqldatasource to that stored procedure. you can write down all the four queries with different parameters into your stored procedure using if loop instead of using four sqldatasources. for that you have to add one more parameter for identify the query from the loop. for example: @count int, @a varchar(50), @b varchar(50), @c varchar(50), @d varchar(50) if(@count=1) begin Query1 with parameter @a end if(@count=2) begin Query2 with parameter @b end if (@count=3) begin Query3 with parameter @c end if (@count=4) begin Query4 with parameter @d end