BizTalk Server - ExposeWebService sample - throwing error!

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > July 2004 > ExposeWebService sample - throwing error!





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 ExposeWebService sample - throwing error!
Raj

2004-07-28, 6:09 pm

Hi,
I have configured and installed as per the instruction and when I try to invoke I get an error as below.
Some of the discussions says that the URI of the receive location should match the namespace used when publishing it as the webservice as the wizard.I did that as well but no good!
Any help would be much appreciated.It doesnt throw any error in Event viewer but has a warning related to SSO Audit..Not sure whether its related..Anyhow I posted the Application error thrown in browser & the event viewer warning (separated by ***********
***** below)
Thanks
Raj

****************************************
********
Server Error in '/ExposeWebServiceDriver' Application.
****************************************
********
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 bodyPartInde
x, String bodyType, ArrayList inHeaders, ArrayList inoutHeaders, ArrayList& inoutHeaderResponses, ArrayList& outHeaderResponses, Type[] outHeaderTypes, String[] outHeaderNamespaces, SoapUnknownHeader[] unknownHeaders, SoapUnknownHeader[]& unknownHeaderRes
ponses, Boolean oneway, Boolean spsSsoEnabled, Object cookie) at Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Invoke(String functionName, Object[] parameters, ParamInfo[] inParamInfos, ParamInfo[] outParamInfos, Int32 bodyPartIndex, String bodyTy
pe, 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)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: 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, ParamIn
fo[] inParamInfos, ParamInfo[] outParamInfos, Int32 bodyPartIndex, String bodyType, ArrayList inHeaders, ArrayList inoutHeaders, ArrayList& inoutHeaderResponses, ArrayList& outHeaderResponses, Type[] outHeaderTypes, String[] outHeaderNamespaces, SoapUnkno
wnHeader[] unknownHeaders, SoapUnknownHeader[]& unknownHeaderResponses, Boolean oneway, Boolean spsSsoEnabled, Object cookie) at Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Invoke(String functionName, Object[] parameters, ParamInfo[] inParamInfo
s, ParamInfo[] outParamInfos, Int32 bodyPartIndex, String bodyType, ArrayList inHeaders, ArrayList inoutHeaders, ArrayList& inoutHeaderResponses, ArrayList& outHeaderResponses, Type[] outHeaderTypes, String[] outHeaderNamespaces, SoapUnknownHeader[] unkno
wnHeaders, SoapUnknownHeader[]& unknownHeaderResponses, Boolean oneway, Boolean spsSsoEnabled) at ExposeWebService. Microsoft_Samples_BizTalk_ExposeWebServi
ce_ProcessClientRequest_SOAPPort.Operation_1(ClientRequest MessagePart_1)

Source Error:


Line 42: [return: System.Xml.Serialization.XmlElementAttribute("CompanyRequest", Namespace="http://ExposeWebService.CompanyRequest")]
Line 43: public CompanyRequest Operation_1([System.Xml.Serialization.XmlElementAttribute(Namespace="http://ExposeWebService.ClientRequest")] ClientRequest ClientRequest) {
Line 44: object[] results = this.Invoke("Operation_1", new object[] {
Line 45: ClientRequest});
Line 46: return ((CompanyRequest)(results[0]));


Source File: C:\Program Files\Microsoft BizTalk Server 2004\SDK\Samples\Orchestrations\ExposeWe
bService\ExposeWebServiceDriver\Web References\localhost\Reference.cs Line: 44

Stack Trace:


[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 ExposeWebService. Microsoft_Samples_BizTalk_ExposeWebServi
ce_ProcessClientRequest_SOAPPort.Operation_1(ClientRequest MessagePart_1)]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1488
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +218
Microsoft.Samples.BizTalk.ExposeWebServiceDriver.localhost. Microsoft_Samples_BizTalk_ExposeWebServi
ce_ProcessClientRequest_SOAPPort.Operation_1(ClientRequest ClientRequest) in C:\Program Files\Microsoft BizTalk Server 2004\SDK\Samples\Orchestrations\Ex
poseWebService\ExposeWebServiceDriver\We
b References\localhost\Reference.cs:44
Microsoft.Samples.BizTalk.ExposeWebServiceDriver.WebForm1.Page_Load(Object sender, EventArgs e) in C:\Program Files\Microsoft BizTalk Server 2004\SDK\Samples\Orchestrations\ExposeWe
bService\ExposeWebServiceDriver\default.aspx.cs:66
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35

****************
Eventviewer warning:
****************
SSO AUDIT
Function: GetConfigInfo
Tracking ID: 6786bc52-5950-406d-a9be-9e3783dbbeb4
Client Computer: Joseph.oxlo.local (w3wp.exe:1004)
Client User: OXLO\JOSEPH$
Application Name: {5205434B-965F-427D-AC86-4875743201E6}
Error Code: 0x80070005, Access is denied.



Jack Blalock

2004-07-29, 8:07 am

System account is trying to access SSO through the asp.net worker process.
Check machine.config and go to the processmodel section, you should see
aspnet running under System. Changed this to a correct account.

Also, make sure that the isolation mode for ExposeWebService_Proxy is set
to High in IIS. Open the new component and change the account to to one
that has access to the Biztalk databases.

Hope this helps.

Jack Blalock [MSFT]
This posting is provided "AS IS", with no warranties, and confers no rights.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com