BizTalk Server Setup - URGENT ****How to get customized SOAP exception

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Setup > February 2004 > URGENT ****How to get customized SOAP exception





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 URGENT ****How to get customized SOAP exception
Bibbin

2004-02-08, 8:40 am

Hi All,
I am using BT2004 and build 4712. I am trying to publish
an orchestration as a web service and using a client to
call the web service. However i am trying to catch any
exception given from orchestration. I am succesfull in
getting the desired error in the client but along with the
error message i am getting lot of junk which i do not
need. Is there any way i can get the specific error
message and not all the junk as error in the client ?????

Any help will be appreciated

The exception currently being returned is as follows :


System.Web.Services.Protocols.SoapException: An exception
is thrown by the Orchestration schedule --->
Microsoft.BizTalk.WebServices.ServerProxy.ApplicationSpecif
icException: An exception is thrown by the Orchestration
schedule, Date Dump: <Error
xmlns="http://DemoWSProject.ErrorSchema"><ErrorDesc>Test
Error MEss</ErrorDesc></Error>
at
Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Inter
nalInvoke(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.Invok
e(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)
--- End of inner exception stack trace ---
at
Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Invok
e(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.Invok
e(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
DemoWSProject. DemoWSProject_DemoWSOrchestration_SendSO
APPor
t.Operation_1(String part)

Regards
Bibbin


Jan Eliasen

2004-02-08, 8:40 am

On Wed, 14 Jan 2004 08:27:59 -0800, "Bibbin"
<anonymous@discussions.microsoft.com> wrote:

For BizTalk 2004 questions, please use the Beta-newsgroup. Find it at
microsoft.com/biztalk/beta

>Hi All,
> I am using BT2004 and build 4712. I am trying to publish
>an orchestration as a web service and using a client to
>call the web service. However i am trying to catch any
>exception given from orchestration. I am succesfull in
>getting the desired error in the client but along with the
>error message i am getting lot of junk which i do not
>need. Is there any way i can get the specific error
>message and not all the junk as error in the client ?????
>
>Any help will be appreciated
>
>The exception currently being returned is as follows :
>
>
>System.Web.Services.Protocols.SoapException: An exception
>is thrown by the Orchestration schedule --->
>Microsoft.BizTalk.WebServices.ServerProxy.ApplicationSpecif
>icException: An exception is thrown by the Orchestration
>schedule, Date Dump: <Error
>xmlns="http://DemoWSProject.ErrorSchema"><ErrorDesc>Test
>Error MEss</ErrorDesc></Error>
> at
>Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Inter
>nalInvoke(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.Invok
>e(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)
> --- End of inner exception stack trace ---
> at
>Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Invok
>e(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.Invok
>e(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
>DemoWSProject. DemoWSProject_DemoWSOrchestration_SendSO
APPor
>t.Operation_1(String part)
>
>Regards
>Bibbin
>


--
Jan Eliasen, representing himself and not the company he works for.
MCP in Microsoft BizTalk Server
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com