Hi , We are trying to implement Java WebService in .Net . But getting error like An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. We registerd the security certificate everything but still getting this issue . The issue what we found is we are getting X509IssuerSerial alias: null in xml request generated by .Net application Can any one please guide how to sort out this issue. the app.config is as follows <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.serviceModel> <client> <endpoint address="http://localhost:1919/testWs/services/HelloWorld" behaviorConfiguration="ClientCertBehavior" binding="customBinding" bindingConfiguration="JavaInterop" contract="localhost.HelloWorldPortType" name="HelloWorldHttpSoap12Endpoint"> <identity> <dns value="YALAMANCHILI" /> </identity> </endpoint> </client> <bindings> <customBinding> <binding name="JavaInterop"> <security defaultAlgorithmSuite="Basic128Rsa15" allowSerializedSigningTokenOnReply="true" authenticationMode="MutualCertificate" requireDerivedKeys="false" securityHeaderLayout="Lax" includeTimestamp="true" messageProtectionOrder="EncryptBeforeSign" messageSecurityVersion="WSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10"> <issuedTokenParameters keyType="AsymmetricKey"> <issuer address="" binding="customBinding" bindingConfiguration="JavaInterop" /> <issuerMetadata address=""> <identity> <certificateReference x509FindType="FindByIssuerName" isChainIncluded="false" /> </identity> </issuerMetadata> </issuedTokenParameters> <localClientSettings detectReplays="false" /> <secureConversationBootstrap defaultAlgorithmSuite="Basic128Rsa15" allowSerializedSigningTokenOnReply="true" authenticationMode="MutualCertificate" requireDerivedKeys="false" securityHeaderLayout="Lax" messageProtectionOrder="EncryptBeforeSign"> <is
ravindradonkada
Posts
-
Urgent Help required to fix this error "An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail." -
Urgent help req.How to close an Oracle connection when network gets disconnectedHi all, In one of our project(Windows Servcice) we are facing an issue like After opening an Oracle Connection ,networks get disconnected before executing the finally block So not able to close the Oracle Session and the connection is in inactive state for long time untill we are killing it manually. Like this we have an inactive sessions of around 165. This makes the remaining applications getting down. So please any one kindly guide me to resolve this issue Thanks in advance try { OracleConnection con = new OracleConnection(); con.ConnectionString = "User Id=scb;Password=scb;Data Source=137;" con.Open(); } catch(Exception e) { } finally { con.Close(); OracleConnection.ClearPool(con); con.Dispose(); }
-
Please Help !Query executing in oracle but not executing through code<>Hi, This is ravindra ,I created the following function and able to execute the followed query successfully in sql plus but when i try to execute the same query through code,getting error like Unspecified error Oracle error occurred, but error message could not be retrieved from Oracle. Data type is not supported. Create or Replace Function convert_time(datetime in timestamp, tz1 in varchar2, tz2 in varchar2) Return timestamp with time zone as retval timestamp with time zone; Begin retval := from_tz(datetime, tz1) at time zone tz2; return retval; End; select convert_time(to_timestamp('01/01/2006 23:45','mm/dd/yyyy hh24:mi'),'US/Eastern','Turkey') from dual; the .net code as follows string conn = "Provider=MSDAORA.1;Password=;User ID=;Data Source=naradaon;Extended Properties=Server=naradaon"; OleDbConnection con = new OleDbConnection(conn); con.Open(); DataSet ds = new DataSet(); OleDbDataAdapter da = new OleDbDataAdapter("select from_tz(to_timestamp('01/01/2006 23:45','mm/dd/yyyy hh24:mi'),'-05:00') as hio from dual", con); da.Fill(ds); Please help me thank you <>
-
How to call notepad from windows serviceHi , This is ravindra,currently working on Windows Service. I implemented the following two methods to call notepad.exe from windows service,but its not working.So,please anybody help to complete my task. Method1: ======= STARTUPINFO si = new STARTUPINFO(); PROCESS_INFORMATION pi = new PROCESS_INFORMATION(); CreateProcess("C:\\WINDOWS\\SYSTEM32\\notepad.exe", null, IntPtr.Zero, IntPtr.Zero, false, 0, IntPtr.Zero, null, ref si, out pi); EventLog.WriteEntry("After notepad"); } [DllImport("kernel32.dll")] static extern bool CreateProcess(string lpApplicationName, string lpCommandLine, IntPtr lpProcessAttributes, IntPtr lpThreadAttributes, bool bInheritHandles, uint dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory, ref STARTUPINFO lpStartupInfo, out PROCESS_INFORMATION lpProcessInformation); } } Method2: ======== EventLog.WriteEntry("In the notepad"); ProcessStartInfo psi = new ProcessStartInfo(); psi.FileName = "notepad.exe"; psi.UseShellExecute = false; psi.Domain = "sys43."; psi.UserName = "Acer OEM User"; SecureString secure = new SecureString(); string password = "nopassword"; foreach (char c in password) { secure.AppendChar(c); } psi.Password = secure; Process process = new Process(); process.StartInfo = psi; process.Start();
-
How to open notepad from windows serviceHi , This is ravindra,currently working on Windows Service. I implemented the following two methods to call notepad.exe from windows service,but its not working.So,please anybody help to complete my task. Method1: ======= STARTUPINFO si = new STARTUPINFO(); PROCESS_INFORMATION pi = new PROCESS_INFORMATION(); CreateProcess("C:\\WINDOWS\\SYSTEM32\\notepad.exe", null, IntPtr.Zero, IntPtr.Zero, false, 0, IntPtr.Zero, null, ref si, out pi); EventLog.WriteEntry("After notepad"); } [DllImport("kernel32.dll")] static extern bool CreateProcess(string lpApplicationName, string lpCommandLine, IntPtr lpProcessAttributes, IntPtr lpThreadAttributes, bool bInheritHandles, uint dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory, ref STARTUPINFO lpStartupInfo, out PROCESS_INFORMATION lpProcessInformation); } } Method2: ======== EventLog.WriteEntry("In the notepad"); ProcessStartInfo psi = new ProcessStartInfo(); psi.FileName = "notepad.exe"; psi.UseShellExecute = false; psi.Domain = "sys43."; psi.UserName = "Acer OEM User"; SecureString secure = new SecureString(); string password = "nopassword"; foreach (char c in password) { secure.AppendChar(c); } psi.Password = secure; Process process = new Process(); process.StartInfo = psi; process.Start();
-
How to delete a row from datagrid using check boxHi , I am Ravindra, presently working with DataGrid control. I added a checkbox column to my Datagrid control and like to delete rows which are checked. So please help , how to get a particular row when the datagrid checkbox is checked. This is the code I implemented foreach(DataGridItem dgi in DataGrid1.Items) { CheckBox cb=(CheckBox)dgi.FindControl("CheckBox1"); if(cb.Checked==true) { } } thanks in advance... -- Ravindra
-
url rewriting in asp.netHi, I am Ravindra, presently trying to implement url rewriting in ASP.NET. I found the articles in msdn.com,15seconds.com . But not able to understand clearly, as I am at Begginer stage in ASP.net. So,please help....................... Ravindra
-
How to send auto emails from Windows serviceHi, I am Ravindra.Presently doing a project in asp.net. I want to implement the process of sending auto email alerts using windows service. So,please help me. thanks in advance. Ravindra
-
How to preserve values in a web pageHi, I am Ravindra ,currently doing a project in asp.net. I was given a task of "registration form for new users in a matrimonal site". In the Regform there is dropdownlist in which when we select OTHER , the Regform.aspx is redirected to Subcaste.aspx there the user enters the values and presses submit button the page is again redirected to Regform.aspx. My problem is the values which are previously entered by the user in RegForm are getting cleared. So, please say how to preserve the values. thanks in advance... -Ravindra
-
TextBox which does not allow its text to select and copyHi, I am Ravindra.Currently learning ASP.net. In my project I came across to develop a Registration form, It contains two textboxes: one for :To enter Email addr, other to: confirm the Email addr. I want to make the First textBox property to set in such a way that it does not allow "the user to copy the entered email address (ie in textBox1)to another textbox(textBox2)". If anybody know please help................ Ravindra
-
How to move web user control on a web formHi, I am Ravindra,learning ASP.net. I created a webusercontrol and made a drag and drop on a webform but I dont know how to move the webusercontrol(.ascx) on a webform to place it correctly.So,if anybody knows please help... thanks in advance. Ravindra
-
How to get Focus on one Button,if two buttons exists on the same formHi, I am Ravindra,presently doing a project in asp.net. The Login page of my Web Project consists of two Buttons. If user enters his username and password and clicks on enter button of keyboard, the Signin button is to be submitted not the other button. So,please specify how to get focus on the specified Button Thanks in advance. Ravindra
-
how to get back the focus on submit button when using validation summaryHi, I am Ravindra,Currently doing a project in ASP.net. My problem is: I want to get back the focus on submit button ,when Validation summary control displays " The required fields are to be entered". If anybody know please help. thanks in advance............Ravindra
-
Personal Chat MessengerHi, I am Ravindra,developing a chat messenger using C#.net. I want to implement personal chatting between two persons . If anybody knows please send me the algorithm,how to implement this private chatting thanks in advance............... Ravindra
-
Raising Events in .NetHai , I am Ravindra at present I am learning .net. When I am working with .net controls ,I am not getting all the events loaded . (ie) for suppose if i used button control,i am not getting all the events of that respective control loaded in code page. Please help.... thanx in advance.
-
Where can i find AJAX TutorialsHi KariemAj, http://www.ajaxtopics.com/[^] if u need further u can find nice links in ajax.net(in google groups) -Ravindra(Vizag)
-
Working with DataListHi, I am Ravindra currently doing a project in ASP.net, I want to work with DataList or Repeater. Even after googling I dint found any better results about this topics, if anybody know these links, please specify. Thanks in advance-- Ravindra
-
Is Sql server proficient needed for .net programmersHi, I am Ravindra,currently applying for jobs based on .net. I want to know how much boom is there for .net ? and whether a deep knowledge in SQL server is must for a .net programmer? please send me the details ---Ravindra
-
rotating images in AdrotatorHi , I am Ravindra.Currently doing a project in ASP.net. I want to place rotating adds in my website. if any body know pls help me(if possible send me the code) Ravindra Ravindra
-
Doubt regarding AJAXHello Sir/Madam, I am Ravindra learning ASP.net and very much interested in AJAX. I am trying to implement AJAX. But not able to get the output. I implemented the following steps: 1.Adding the reference AjaxPro.dll. 2.Configuring the web.config 3.implemented the code and method private void Page_Load(object sender, System.EventArgs e) { AjaxPro.Utility.RegisterTypeForAjax(typeof(Ajaxajax.WebForm1)); } [AjaxPro.AjaxMethod()] public string GetServerTime() { return "Hi I am Ajax"; } 4.Placing the code in HTMLDesigner 5.I also added a javascript file(WebForm1.js) as a new item and I was confusing to edit which code. please help me......... thank you, Ravindra