exposing orchestration as a web service
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server > exposing orchestration as a web service




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    exposing orchestration as a web service  
CK


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-27-04 07:46 AM

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, ParamIn
fo[]
outParamInfos, Int32 bodyPartIndex, String bodyType, ArrayList inHeaders,
ArrayList inoutHeaders, ArrayList& inoutHeaderResponses, ArrayList&
outHeaderResponses, Type[] outHeaderTypes, String[] outHeaderNamespa
ces,
SoapUnknownHeader[] unknownHeaders, SoapUnknownHeader[]&
unknownHeaderResponses, Boolean oneway, Boolean spsSsoEnabled, Object
cookie) at
Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Invoke(String
functionName, Object[] parameters, ParamInfo[] inParamInfos, ParamIn
fo[]
outParamInfos, Int32 bodyPartIndex, String bodyType, ArrayList inHeaders,
ArrayList inoutHeaders, ArrayList& inoutHeaderResponses, ArrayList&
outHeaderResponses, Type[] outHeaderTypes, String[] outHeaderNamespa
ces,
SoapUnknownHeader[] unknownHeaders, SoapUnknownHeader[]&
unknownHeaderResponses, Boolean oneway, Boolean spsSsoEnabled) at
ExposeWebService. Microsoft_Samples_BizTalk_ExposeWebServi
ce_ProcessClientReq
uest_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="htt
p://ExposeWebService.ClientRequest")]
ClientRequest ClientRequest) {
Line 40:             object[] results = this.Invoke("Operation_1", new
object[] {
Line 41:                         ClientRequest});
Line 42:             return ((CompanyRequest)(results[0]));







[ Post a follow-up to this message ]



    RE: exposing orchestration as a web service  
Jon Fancey


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-29-04 07: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 wa
y
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 th
e
> sdk
>
>
> System.Web.Services.Protocols.SoapException: Internal SOAP Processing
> Failure at
> Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Invoke(String
> functionName, Object[] parameters, ParamInfo[] inParamInfos, Param
Info[]
> outParamInfos, Int32 bodyPartIndex, String bodyType, ArrayList inHeaders,
> ArrayList inoutHeaders, ArrayList& inoutHeaderResponses, ArrayList&
> outHeaderResponses, Type[] outHeaderTypes, String[] outHeaderNames
paces,
> SoapUnknownHeader[] unknownHeaders, SoapUnknownHeader[]&
> unknownHeaderResponses, Boolean oneway, Boolean spsSsoEnabled, Object
> cookie) at
> Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Invoke(String
> functionName, Object[] parameters, ParamInfo[] inParamInfos, Param
Info[]
> outParamInfos, Int32 bodyPartIndex, String bodyType, ArrayList inHeaders,
> ArrayList inoutHeaders, ArrayList& inoutHeaderResponses, ArrayList&
> outHeaderResponses, Type[] outHeaderTypes, String[] outHeaderNames
paces,
> SoapUnknownHeader[] unknownHeaders, SoapUnknownHeader[]&
> unknownHeaderResponses, Boolean oneway, Boolean spsSsoEnabled) at
> ExposeWebService. Microsoft_Samples_BizTalk_ExposeWebServi
ce_ProcessClientR
equest_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="h
ttp://ExposeWebService.ClientRequest")]
> ClientRequest ClientRequest) {
> Line 40:             object[] results = this.Invoke("Operation_1", new
> object[] {
> Line 41:                         ClientRequest});
> Line 42:             return ((CompanyRequest)(results[0]));
>
>
>





[ Post a follow-up to this message ]



    Re: exposing orchestration as a web service  
CK


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-29-04 10:51 PM

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:
> 







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:05 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register