|
Home > Archive > BizTalk Server > November 2004 > exposing orchestration as a web service
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 |
exposing orchestration as a web service
|
|
|
| some one please help....i expose the orchestration as a web service which
goes well and I can see the operation in the IE.
Then I try to call it from a web page and i get this error: this is in the
sdk
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
ExposeWebService. Microsoft_Samples_BizTalk_ExposeWebServi
ce_ProcessClientRequest_SOAPPort.Operation_1(ClientRequest
MessagePart_1)
Line 38: [return:
System.Xml.Serialization.XmlElementAttribute("CompanyRequest",
Namespace="http://ExposeWebService.CompanyRequest")]
Line 39: public CompanyRequest
Operation_1([System.Xml.Serialization.XmlElementAttribute(Namespace="http://ExposeWebService.ClientRequest")]
ClientRequest ClientRequest) {
Line 40: object[] results = this.Invoke("Operation_1", new
object[] {
Line 41: ClientRequest});
Line 42: return ((CompanyRequest)(results[0]));
| |
| Jon Fancey 2004-11-29, 2:46 am |
| How are you trying to call it? You must POST in a message in the expected
format which you can't do from IE. It would appear the SOAP processing is
throwing an exception because there is no message to work on. The easiest way
to test your orchestration exposed like this is to create a test client and
use HttpWebRequest etc to make the call.
"CK" wrote:
> some one please help....i expose the orchestration as a web service which
> goes well and I can see the operation in the IE.
> Then I try to call it from a web page and i get this error: this is in the
> sdk
>
>
> 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
> ExposeWebService. Microsoft_Samples_BizTalk_ExposeWebServi
ce_ProcessClientRequest_SOAPPort.Operation_1(ClientRequest
> MessagePart_1)
>
>
> Line 38: [return:
> System.Xml.Serialization.XmlElementAttribute("CompanyRequest",
> Namespace="http://ExposeWebService.CompanyRequest")]
> Line 39: public CompanyRequest
> Operation_1([System.Xml.Serialization.XmlElementAttribute(Namespace="http://ExposeWebService.ClientRequest")]
> ClientRequest ClientRequest) {
> Line 40: object[] results = this.Invoke("Operation_1", new
> object[] {
> Line 41: ClientRequest});
> Line 42: return ((CompanyRequest)(results[0]));
>
>
>
| |
|
| Hi Jon,
I am using the sample that comes with the SDK : C:\Program Files\Microsoft
BizTalk Server 2004\SDK\Samples\Orchestrations\ExposeWe
bService
Thanks
"Jon Fancey" <JonFancey@discussions.microsoft.com> wrote in message
news:E9ADA6FD-AF23-4A1F-8348-F94F5177F39E@microsoft.com...[vbcol=seagreen]
> How are you trying to call it? You must POST in a message in the expected
> format which you can't do from IE. It would appear the SOAP processing is
> throwing an exception because there is no message to work on. The easiest
> way
> to test your orchestration exposed like this is to create a test client
> and
> use HttpWebRequest etc to make the call.
>
> "CK" wrote:
>
|
|
|
|
|