Server didnt recognize the HTTP Header SOAP Action.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




Hello I got this error when trying to consume a web service published with
the wizard. I looked at the HTA and event log and there is nothing according
to this.



System.Web.Services.Protocols.SoapException: El servidor no reconoció el
valor del encabezado HTTP SOAPAction:
http://que.orchestrations.webservices/BiztalkExposeWebServices_BizTalk_Orchestration1_WS/Operation_1.
at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at
System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type,
HttpContext context, HttpRequest request, HttpResponse response, Boolean&
abortProcessing)
Descripción: Excepción no controlada al ejecutar la solicitud Web actual.
Revise el seguimiento de la pila para obtener más información acerca del
error y dónde se originó en el código.

Detalles de la excepción: System.Web.Services.Protocols.SoapException:
System.Web.Services.Protocols.SoapException: El servidor no reconoció el
valor del encabezado HTTP SOAPAction:
http://que.orchestrations.webservices/BiztalkExposeWebServices_BizTalk_Orchestration1_WS/Operation_1.
at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at
System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type,
HttpContext context, HttpRequest request, HttpResponse response, Boolean&
abortProcessing)

Error de código fuente:

Línea 37: "ion1_WS/Operation_1",
RequestNamespace="http://que.orchestrations.webservices";,
ResponseNamespace="http://que.orchestrations.webservices";,
Use=System.Web.Services.Description.SoapBindingUse.Literal,
ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
Línea 38: public void
Operation_1([System.Xml.Serialization.XmlElementAttribute(Namespace="http://
BiztalkExposeWebServices.RFP")] ref RFP RFP) {
Línea 39: object[] results = this.Invoke("Operation_1", new
object[] {
Línea 40: RFP});
Línea 41: RFP = ((RFP)(results[0]));



The code is:

private void Button1_Click(object sender, System.EventArgs e)

{

localhost.BiztalkExposeWebServices_BizTalk_Orchestration1_WS ws = new
ConsumirOWS.localhost.BiztalkExposeWebServices_BizTalk_Orchestration1_WS();


localhost.RFP rfpdoc = new localhost.RFP();

rfpdoc.Cost = Convert.ToDecimal(TextBox1.Text);

rfpdoc.Hours = Convert.ToDecimal(TextBox2.Text);

rfpdoc.ID = TextBox3.Text;

rfpdoc.Services = TextBox4.Text;

rfpdoc.Status = TextBox5.Text;

ws.Operation_1(ref rfpdoc);




}


.