Hi, I am trying to implement usertoken authentication for my webservice using WSE. My client and webservices already have soapextension incorporated at either ends. The problem is my SOAPOutputFilter is not getting called at the client and the call is not going to the server itself. I get the following error message "The input was not a valid SOAP message." The code works fine with SOAPExtension alone and WSE alone. But combining these two gives the above error. Can anyone please help me with this. Thanks, R.Sundar
Sundar_R
Posts
-
SOAPOutputFilter with SOAPExtension -
Unable to pass values through soapcontextI am trying to pass values through soapcontext to my webservice I am implementing my own customfilters (SoapInputFilter,SoapOutputFilter) I am adding values to the soapcontext in the SoapOutputFilter of my application and i am trying to read them in the SoapInputFilter of my webservice, but it return null I have made all necessary configuration in my web.config file <microsoft.web.services> <filters> <!-- note that you can add custom filters asymmetrically, that is, just for output or just for input --> <input> <add type="InPutFilters,CustomFilters"/> </input> <output> <add type="OutPutFilters,CustomFilters"/> </output> </filters> </microsoft.web.services> What may be the problem ?
-
loading parent window using javascript -
loading parent window using javascriptCaching may be the solution for your problem
-
loading parent window using javascriptWhat are the controls that are getting cleared ?
-
Adding Textbox dynamically when the value of Drop down list changesThink textbox doesnt use viewstate for maintaining the text across postbacks Even if the viewstate is false,text will be still maintained during postbacks Correct me if i am wrong.
-
Call a server function from javascriptdocument.forms[0].submit() isn't this a simplier way ?
-
I have doubt regarding MasterPages & Content Pages...you can either read it this way document.getElementById("<%=Button1.ClientID%>") or set the master page id in page load of master page like this this.ID = "MyID"; then your control id will be MyID_contentplaceholderid_controlid also keep in mind that clientid wont work in js files
-
Set Input Radio to Checked in GridViewyou need to replace your html radio button with asp radio button <asp:RadioButton ID="gvradio1" runat="server" />
-
Tooltip on gridview, how to ?Did you try setting the tooltip of the labels in rowdatabound method ?
-
create that aspx page in the runtimeCheck out codedom compiler namespace http://msdn.microsoft.com/en-us/library/y2k85ax6.aspx[^] You can dynamically create and compile assemblies at runtime.
-
how to know when mouse is clicked on gridview's column header.Gridview column headers are nothing but THs in the html generated. In the body load you have to put that code which will loop through the list of Ths in the document and associate onclick event for all of them.
-
RequiredFieldValidator is not firing?Is the CausesValidation property for the textbox set to true ?
-
disabling back button,Sorry, i am not getting you. Can you paste the code here ?
-
How the UpdateProgress controls should not fire when the list index is -1?Give an id for the span say "spanProgress" Add handlers for beginrequest and endrequest Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(onBeginRequest); Sys.WebForms.PageRequestManager.getInstance().add_endRequest(onEndRequest); function onBeginRequest() { //add your logic for checking SelectedIndex == -1 and then hide the span //by setting document.getElementById("spanProgress").style.display="none"; } function onEndRequest() { //enable the span here }
-
disabling back button,Hope you are talking about the browser back button. You cannot disable the back button if the browser instance is opened and your URL is typed in the address bar. However you have control over the window which you are opening from your code. So the only way to solve your problem is to have a default startup page in which you have to do a opendialog for your homepage and pass the arguments disbaling the menu bars and titlebars.
-
how to know when mouse is clicked on gridview's column header.Simpler work around for this is var vTh = document.getElementsByTagName("th"); for(var i=0;i<vTh.length;i++) { vTh[i].onclick=yourmethod; } But make sure that your html doesn't contain anyother THs, if so add your own logic to restrict it inside the for loop.
-
Protect a webpageYou can disable the menubars and tool bars using opendialog method. If i were you, i would create a new startup page and use opendialog to launch the home page diabling the menu and tool bars.
-
Porblem In Retrieving Label TextWhich property did you check ? Is the changed text getting reflected in UI ?
-
cache aspx page per user