Click here to Skip to main content
15,935,728 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: ASP Button not displaying on Windows 2012 Server Pin
Afzaal Ahmad Zeeshan22-Dec-16 3:57
professionalAfzaal Ahmad Zeeshan22-Dec-16 3:57 
GeneralRe: ASP Button not displaying on Windows 2012 Server Pin
pmcm22-Dec-16 4:02
pmcm22-Dec-16 4:02 
AnswerRe: ASP Button not displaying on Windows 2012 Server Pin
ZurdoDev22-Dec-16 5:15
professionalZurdoDev22-Dec-16 5:15 
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 
Hello,

I know that ASMX technology is considered legacy stuff. There's no need to lecture me on that point.

I am jumping in on an existing project that uses web services. (Editorial statement: Yuck!) When I test the webservice, I call up a similar URL to this:
https://OurServerVisibleToThePublic.com/FolderWithASMXFile/TheASMXFile.asmx

When I do this I get a page that contains all of the webservices we have defined. When testing, I click on one of them, a new page opens with parameters, I give it credentials and the XML that I am expecting is returned.

Now, I am attempting to call one or more web services from an ASP.NET application. The code looks like:
DIM WS as new CompanyWebServices.WebServicesClassName
GetData.DataSource = WS.MyWebServiceName(param1, param2, param3)

Unfortunately, the second line bombs, producing this fun error to solve:
Error: Server did not recognize the value of HTTP Header SOAPAction

At the top of the WSDL file, I have an attribute with a TargetNameSpace. The current setting is similar to this:
targetNamespace="https://OurServerVisibleToThePublic.com/FolderWithASMXFile"

When the app encounters the second line (i.e., WS.MyWebServiceName) I generate this error:
Message=System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: https://OurServerVisibleToThePublic.com/FolderWithASMXFile/MyWebServiceName.
at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response)
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)

* * * *

Does anyone know what I should specify in my TargetNameSpace? Does anyone actually like to troubleshoot web services? Thanks.

-- modified 20-Dec-16 16:11pm.
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 
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 

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.