BizTalk Server General - Trying to consume a published orchestration

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > July 2005 > Trying to consume a published orchestration





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 Trying to consume a published orchestration
Luis Esteban Valencia

2005-07-25, 6:04 pm

Hello, I tried to consume a web service published with the wizard and I got
this very strange error.
Here´s the code.
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);




}

Error de servidor en la aplicación '/ConsumirOWS'.
----------------------------------------------------------------------------
----

System.Web.Services.Protocols.SoapException: Internal SOAP Processing
Failure at
Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Invoke(String
functionName, Object[] parameters, ParamInfo[] inParamInfos, ParamInfo[]
outParamInfos, Int32 bodyPartIndex, String bodyType, ArrayList inHeaders,
ArrayList inoutHeaders, ArrayList& inoutHeaderResponses, ArrayList&
outHeaderResponses, Type[] outHeaderTypes, String[] outHeaderNamespaces,
SoapUnknownHeader[] unknownHeaders, SoapUnknownHeader[]&
unknownHeaderResponses, Boolean oneway, Boolean spsSsoEnabled, Object
cookie) at
Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Invoke(String
functionName, Object[] parameters, ParamInfo[] inParamInfos, ParamInfo[]
outParamInfos, Int32 bodyPartIndex, String bodyType, ArrayList inHeaders,
ArrayList inoutHeaders, ArrayList& inoutHeaderResponses, ArrayList&
outHeaderResponses, Type[] outHeaderTypes, String[] outHeaderNamespaces,
SoapUnknownHeader[] unknownHeaders, SoapUnknownHeader[]&
unknownHeaderResponses, Boolean oneway, Boolean spsSsoEnabled) at
BiztalkExposeWebServices. BiztalkExposeWebServices_BizTalk_Orchest
ration1_WS.
Operation_1(RFP part)
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: Internal SOAP Processing
Failure at
Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Invoke(String
functionName, Object[] parameters, ParamInfo[] inParamInfos, ParamInfo[]
outParamInfos, Int32 bodyPartIndex, String bodyType, ArrayList inHeaders,
ArrayList inoutHeaders, ArrayList& inoutHeaderResponses, ArrayList&
outHeaderResponses, Type[] outHeaderTypes, String[] outHeaderNamespaces,
SoapUnknownHeader[] unknownHeaders, SoapUnknownHeader[]&
unknownHeaderResponses, Boolean oneway, Boolean spsSsoEnabled, Object
cookie) at
Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Invoke(String
functionName, Object[] parameters, ParamInfo[] inParamInfos, ParamInfo[]
outParamInfos, Int32 bodyPartIndex, String bodyType, ArrayList inHeaders,
ArrayList inoutHeaders, ArrayList& inoutHeaderResponses, ArrayList&
outHeaderResponses, Type[] outHeaderTypes, String[] outHeaderNamespaces,
SoapUnknownHeader[] unknownHeaders, SoapUnknownHeader[]&
unknownHeaderResponses, Boolean oneway, Boolean spsSsoEnabled) at
BiztalkExposeWebServices. BiztalkExposeWebServices_BizTalk_Orchest
ration1_WS.
Operation_1(RFP part)

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]));


Archivo de origen: c:\inetpub\wwwroot\ConsumirOWS\Referenci
as
Web\localhost\Reference.cs Línea: 39

Seguimiento de la pila:


[SoapException: System.Web.Services.Protocols.SoapException: Internal SOAP
Processing Failure
at Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Invoke(String
functionName, Object[] parameters, ParamInfo[] inParamInfos, ParamInfo[]
outParamInfos, Int32 bodyPartIndex, String bodyType, ArrayList inHeaders,
ArrayList inoutHeaders, ArrayList& inoutHeaderResponses, ArrayList&
outHeaderResponses, Type[] outHeaderTypes, String[] outHeaderNamespaces,
SoapUnknownHeader[] unknownHeaders, SoapUnknownHeader[]&
unknownHeaderResponses, Boolean oneway, Boolean spsSsoEnabled, Object
cookie)
at Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Invoke(String
functionName, Object[] parameters, ParamInfo[] inParamInfos, ParamInfo[]
outParamInfos, Int32 bodyPartIndex, String bodyType, ArrayList inHeaders,
ArrayList inoutHeaders, ArrayList& inoutHeaderResponses, ArrayList&
outHeaderResponses, Type[] outHeaderTypes, String[] outHeaderNamespaces,
SoapUnknownHeader[] unknownHeaders, SoapUnknownHeader[]&
unknownHeaderResponses, Boolean oneway, Boolean spsSsoEnabled)
at
BiztalkExposeWebServices. BiztalkExposeWebServices_BizTalk_Orchest
ration1_WS.
Operation_1(RFP part)]

System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClient
Message message, WebResponse response, Stream responseStream, Boolean
asyncCall)
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)

ConsumirOWS.localhost. BiztalkExposeWebServices_BizTalk_Orchest
ration1_WS.Ope
ration_1(RFP& RFP) in c:\inetpub\wwwroot\ConsumirOWS\Referenci
as
Web\localhost\Reference.cs:39
ConsumirOWS.WebForm1.Button1_Click(Object sender, EventArgs e) in
c:\inetpub\wwwroot\consumirows\webform1.aspx.cs:64
System.Web.UI.WebControls.Button.OnClick(EventArgs e)

System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePo
stBackEvent(String eventArgument)
System.Web.UI.Page. RaisePostBackEvent(IPostBackEventHandler

sourceControl, String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
System.Web.UI.Page.ProcessRequestMain()



Tomas Restrepo \(MVP\)

2005-07-26, 7:56 am

Luis Esteban,

> Hello, I tried to consume a web service published with the wizard and I
> got
> this very strange error.


Not strange at all; the soap adapter will return that for any error it gets
while submitting the message. You need to look at the event log or HAT to
see what the real error was.


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com