none
Schema exposed as a web service RRS feed

  • Question

  • I have a Biz talk schema that I have exposed as a web service . When I am trying to consume it from a windows application I am getting the following error :-

    An exception of type 'System.Web.Services.Protocols.SoapException' occurred in Microsoft.BizTalk.WebServices.ServerProxy.dll but was not handled in user code

    System.Web.Services.Protocols.SoapException was unhandled by user code
      Actor=""
      HResult=-2146233087
      Lang=""
      Message=Internal SOAP Processing Failure
      Node=""
      Role=""
      Source=Microsoft.BizTalk.WebServices.ServerProxy
      StackTrace:
           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 BizTalkWebService.WsOrderFood.PlaceOrder(Order part) in c:\inetpub\wwwroot\FoodOrder\App_Code\WsOrderFood.asmx.cs:line 49
      InnerException: 

     Any idea , why am getting this error ? 

    Tuesday, June 26, 2018 3:21 PM

All replies

  • please refer this and enable the detailed error to investigate;

    https://docs.microsoft.com/en-us/biztalk/core/troubleshooting-biztalk-web-services

    Update the web.config and restart the web app and recycle the app pool. 

    <appSettings>  
      <add key="ThrowDetailedError" value="True" />  
    <appSettings/>

     
    Tuesday, June 26, 2018 5:44 PM
  • Hi,

    The error description says there is some error in Line no.49 of your WsOrderFood web service, which probably will inside  PlaceOrder method call.

    Rather calling directly from Windows Application i would request you to do the mock test with tools such as SOAP UI, WcfTestClient.exe, POSTMAN etc.

    HTH


    Hope this Helps!!!! Regards, Note: Please Mark As Answered if you satisfy with Reply.

    Tuesday, July 17, 2018 9:24 AM