Click here to Skip to main content
15,910,009 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ASP Button not displaying on Windows 2012 Server Pin
pmcm22-Dec-16 23:47
pmcm22-Dec-16 23:47 
GeneralRe: ASP Button not displaying on Windows 2012 Server Pin
ZurdoDev23-Dec-16 2:12
professionalZurdoDev23-Dec-16 2:12 
QuestionConverting from XAML to HTML5 Pin
indian14320-Dec-16 11:24
indian14320-Dec-16 11:24 
AnswerRe: Converting from XAML to HTML5 Pin
koolprasad200320-Dec-16 22:39
professionalkoolprasad200320-Dec-16 22:39 
QuestionError: Server did not recognize the value of HTTP Header SOAPAction Pin
Scott5220-Dec-16 9:24
Scott5220-Dec-16 9:24 
AnswerRe: Error: Server did not recognize the value of HTTP Header SOAPAction Pin
jkirkerx20-Dec-16 10:35
professionaljkirkerx20-Dec-16 10:35 
GeneralRe: Error: Server did not recognize the value of HTTP Header SOAPAction Pin
Scott5221-Dec-16 1:50
Scott5221-Dec-16 1:50 
GeneralRe: Error: Server did not recognize the value of HTTP Header SOAPAction Pin
jkirkerx21-Dec-16 9:18
professionaljkirkerx21-Dec-16 9:18 
GeneralRe: Error: Server did not recognize the value of HTTP Header SOAPAction Pin
Scott5222-Dec-16 1:59
Scott5222-Dec-16 1:59 
QuestionNeed help populating fields from database to form in page load Pin
Bootzilla3320-Dec-16 8:51
Bootzilla3320-Dec-16 8:51 
AnswerRe: Need help populating fields from database to form in page load Pin
Richard Deeming20-Dec-16 10:18
mveRichard Deeming20-Dec-16 10:18 
QuestionViewData, Viewbag and tempdata not working Pin
Member 815484520-Dec-16 6:47
Member 815484520-Dec-16 6:47 
AnswerRe: ViewData, Viewbag and tempdata not working Pin
Richard Deeming20-Dec-16 8:09
mveRichard Deeming20-Dec-16 8:09 
GeneralRe: ViewData, Viewbag and tempdata not working Pin
Member 815484520-Dec-16 8:36
Member 815484520-Dec-16 8:36 
GeneralRe: ViewData, Viewbag and tempdata not working Pin
Richard Deeming20-Dec-16 10:11
mveRichard Deeming20-Dec-16 10:11 
QuestionASMX: Facing problem to send user credentails from client side to service end Pin
Tridip Bhattacharjee19-Dec-16 3:51
professionalTridip Bhattacharjee19-Dec-16 3:51 
AnswerRe: ASMX: Facing problem to send user credentails from client side to service end Pin
jkirkerx19-Dec-16 11:40
professionaljkirkerx19-Dec-16 11:40 
GeneralRe: ASMX: Facing problem to send user credentails from client side to service end Pin
Tridip Bhattacharjee20-Dec-16 21:17
professionalTridip Bhattacharjee20-Dec-16 21:17 
AnswerRe: ASMX: Facing problem to send user credentails from client side to service end Pin
jkirkerx21-Dec-16 9:49
professionaljkirkerx21-Dec-16 9:49 
In the demo code, there are 2 objects, 1 being the web service and the other being the authentication header
In your sample code, you made the authentication object, but I don't see the web service object to bind the header data to and transmit it.
private void Page_Load(object sender, System.EventArgs e)
{
    //simple client - Did you create a Webservice to transmit and receive?
    AuthWebService.WebService webService = new AuthWebService.WebService();
    AuthWebService.AuthHeader authentication = new AuthWebService.AuthHeader();

        //Package the header data
    authentication.Username = "test";
    authentication.Password = "test";

        //Take the header data and attach it to the request
    webService.AuthHeaderValue = authentication;

        // Transmit the request and wait for the response in the form of a dataset
    DataSet dsData = webService.SensitiveData();

        // This could be like this for your case
        response string = webService.SensitiveData();

        // Bind the returned DataSet to another object
    dgData.DataSource = dsData;
    dgData.DataBind();  

}

And I have no idea if your web service really works or not.

To test, you really need to run the web service in Debug, and when you call it, walk the code to make sure it works, and look at what is returned by the webservice before it sends the data back. If you can't walk the code, then perhaps your never really calling the web service and nothing is happening.
21st Century Globalism has become Socialism on a planetary scale, in which the unequal treaties of the past have come back into play.

GeneralRe: ASMX: Facing problem to send user credentails from client side to service end Pin
Tridip Bhattacharjee21-Dec-16 20:31
professionalTridip Bhattacharjee21-Dec-16 20:31 
GeneralRe: ASMX: Facing problem to send user credentails from client side to service end Pin
jkirkerx22-Dec-16 8:20
professionaljkirkerx22-Dec-16 8:20 
GeneralRe: ASMX: Facing problem to send user credentails from client side to service end Pin
Tridip Bhattacharjee22-Dec-16 21:28
professionalTridip Bhattacharjee22-Dec-16 21:28 
GeneralRe: ASMX: Facing problem to send user credentails from client side to service end Pin
jkirkerx23-Dec-16 7:02
professionaljkirkerx23-Dec-16 7:02 
QuestionASMX Web Service Soap Extension ProcessMessage function not calling Pin
Tridip Bhattacharjee19-Dec-16 2:09
professionalTridip Bhattacharjee19-Dec-16 2:09 
AnswerRe: ASMX Web Service Soap Extension ProcessMessage function not calling Pin
Tridip Bhattacharjee21-Dec-16 20:32
professionalTridip Bhattacharjee21-Dec-16 20:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.