R
Rohit
Hi Guys,
Trying to use Sharepoint Search Webservice. Keep getting the error
"Server did not recognize the value of HTTP Header SOAPAction"
Getting nowhere with this error, so any help would be appreciated.
Cheers,
Rohit
Stak Trace as follows:
[SoapException: Server did not recognize the value of HTTP Header
SOAPAction:
http://microsoft.com/webservices/SharePointPortalServer/WebQueryService/QueryEx.]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean
asyncCall) +1545
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters) +205
wss_search.QueryService.QueryEx(String queryXml) in
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\mysearchweb\f63621f5\4f629ffa\App_WebReferences.xxse2yhj.2.cs:270
Search.ExecuteSearch(String keywords) in c:\Documents and
Settings\rohits\My Documents\Visual Studio
2005\Projects\MySearchWeb\Search.aspx.cs:196
Search.btnSearch_Click(Object sender, EventArgs e) in c:\Documents
and Settings\rohits\My Documents\Visual Studio
2005\Projects\MySearchWeb\Search.aspx.cs:144
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +75
System.Web.UI.WebControls.Button.RaisePostBackEvent(String
eventArgument) +97
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
+33
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+4919
Trying to use Sharepoint Search Webservice. Keep getting the error
"Server did not recognize the value of HTTP Header SOAPAction"
Getting nowhere with this error, so any help would be appreciated.
Cheers,
Rohit
Stak Trace as follows:
[SoapException: Server did not recognize the value of HTTP Header
SOAPAction:
http://microsoft.com/webservices/SharePointPortalServer/WebQueryService/QueryEx.]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean
asyncCall) +1545
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters) +205
wss_search.QueryService.QueryEx(String queryXml) in
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\mysearchweb\f63621f5\4f629ffa\App_WebReferences.xxse2yhj.2.cs:270
Search.ExecuteSearch(String keywords) in c:\Documents and
Settings\rohits\My Documents\Visual Studio
2005\Projects\MySearchWeb\Search.aspx.cs:196
Search.btnSearch_Click(Object sender, EventArgs e) in c:\Documents
and Settings\rohits\My Documents\Visual Studio
2005\Projects\MySearchWeb\Search.aspx.cs:144
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +75
System.Web.UI.WebControls.Button.RaisePostBackEvent(String
eventArgument) +97
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
+33
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+4919