|
Home > Archive > BizTalk Server General > July 2005 > Server didnt recognize the HTTP Header SOAP Action.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Server didnt recognize the HTTP Header SOAP Action.
|
|
| Luis Esteban Valencia 2005-07-26, 5:53 pm |
|
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.webservic...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.webservic...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_Orchest
ration1_WS ws = new
ConsumirOWS.localhost. BiztalkExposeWebServices_BizTalk_Orchest
ration1_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);
}
| |
| Luis Esteban Valencia 2005-07-26, 5:53 pm |
| I saw the event log and I see this error.
The Messaging Engine failed to register the adapter for "SOAP" for the
receive location
"/BTSDG_BusCards_Proxy/ BTSDG_BusCards_BusinessCardRequisition_B
usinessCardRe
quisitionPort.asmx". Please verify that the receive location is valid, and
that the isolated adapter runs under an account that has access to the
BizTalk databases.
I checked the database and my user has permissions to all databases. and the
receive location seems to be fine. Do I have to add something on the public
adress field of the location?. It was empty.
The virtual directoy plus webservice .asm file textbox was:
/BTSDG_BusCards_Proxy/ BTSDG_BusCards_BusinessCardRequisition_B
usinessCardReq
uisitionPort.asmx
but the public adress was empty.
"Luis Esteban Valencia" <levalencia@avansoft.com> escribió en el mensaje
news:#jMwS5ekFHA.3960@TK2MSFTNGP12.phx.gbl...
>
> 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.webservic...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.webservic...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_Orchest
ration1_WS ws = new
>
ConsumirOWS.localhost. BiztalkExposeWebServices_BizTalk_Orchest
ration1_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);
>
>
>
>
> }
>
>
|
|
|
|
|