Biztalk send to WCF-service that is behind a NLB

A while ago a WCF-service that biztalk 2006 r2 sends to was put behind a NLB.
I find that since than I sometimes get timeouts although biztalk was able to reach the service.
Also in my new test-environment using Bts2013 r2 I find that I sometimes get following response back (although the request was handled ok by the service)
I've been told that this is caused by the load-balancer...any ideas on how to solve this/what could be causing this
A message sent to adapter "WCF-Custom" on send port "aa" with URI "https://test.svc" is suspended.
Error details: System.ServiceModel.CommunicationException: An error occurred while receiving the HTTP response to
https://test.svc. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server
logs for more details. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed
by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.Socket.BeginReceive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback callback, Object state)
   at System.Net.Sockets.NetworkStream.BeginRead(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
   --- End of inner exception stack trace ---
   at System.Net.Security._SslStream.EndRead(IAsyncResult asyncResult)
   at System.Net.TlsStream.EndRead(IAsyncResult asyncResult)
   at System.Net.PooledStream.EndRead(IAsyncResult asyncResult)
   at System.Net.Connection.ReadCallback(IAsyncResult asyncResult)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
   --- End of inner exception stack trace ---
Server stack trace:
   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)
Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result)
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result)
Kind regards Isabelledc

actually this is the exception I catch in my console-app (soap-fault)
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:encodingStyle="<SOAP:Body><SOAP:Fault><faultcode>Microsoft">http://schemas.xmlsoap.org/soap/encoding/"><SOAP:Body><SOAP:Fault><faultcode>Microsoft
BizTalk Server Negative Acknowledgment </faultcode><faultstring>An error occurred while processing the message, refer to the details section for more information </faultstring><faultactor>https://IntegrationServices.svc</faultactor><detail><ns0:NACK
Type="NACK" xmlns:ns0="<NAckID>{899D3BE7-A92A-49D2-8785-4394B35E5D19}</NAckID><ErrorCode>0xc0c0167a</ErrorCode><ErrorCategory>0</ErrorCategory><ErrorDescription>System.ServiceModel.CommunicationException">http://schema.microsoft.com/BizTalk/2003/NACKMessage.xsd"><NAckID>{899D3BE7-A92A-49D2-8785-4394B35E5D19}</NAckID><ErrorCode>0xc0c0167a</ErrorCode><ErrorCategory>0</ErrorCategory><ErrorDescription>System.ServiceModel.CommunicationException:
The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---&gt; System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
---&gt; System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---&gt; System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.Socket.BeginReceive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback callback, Object state)
   at System.Net.Sockets.NetworkStream.BeginRead(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
   --- End of inner exception stack trace ---
   at System.Net.Security._SslStream.EndRead(IAsyncResult asyncResult)
   at System.Net.TlsStream.EndRead(IAsyncResult asyncResult)
   at System.Net.PooledStream.EndRead(IAsyncResult asyncResult)
   at System.Net.Connection.ReadCallback(IAsyncResult asyncResult)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
   --- End of inner exception stack trace ---
Server stack trace:
   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)
Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
   at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result)
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result)</ErrorDescription></ns0:NACK></detail></SOAP:Fault></SOAP:Body></SOAP:Envelope>
Kind regards Isabelledc

Similar Messages

  • Custom wcf service that uses SharePoint Object Model.

    Hi All,
    I am writing a custom service on SharePoint. I have noticed most of the people do deploy the custom wcf service in layout folder in 12/14/15 hive. I am wondering is it mandatory? Can’t we deploy the custom wcf service that uses SharePoint Object Model as
    virtual directory on a specific port?
    Regards Restless Spirit

    It is suggested to use WCF in 12/14/15 hive folder due to security and eas in use. Check below
    http://www.dotnetcurry.com/showarticle.aspx?ID=760
    http://msdn.microsoft.com/en-us/library/office/ff521584%28v=office.14%29.aspx
    http://stackoverflow.com/questions/16008593/where-should-custom-wcf-service-for-sharepoint-2010-resides
    If you want to use the server object model you have to host your WCF service on the same server as your SharePoint is installed on.
    If the WCF service has to be on a different server you can use the client object model or the SharePoint webservices to communicate to SharePoint.
    (link to a question about using server object model on different server
    http://nikpatel.net/2012/02/29/step-by-step-building-custom-wcf-services-hosted-in-sharepoint-part-i/

  • Problem in run Wcf service that published with Wizard

    hi
    i published my orchestration as wcf service with biztalk wcf service publishing wizard .it located in my IIS . but  any time  i try to access to tis wcfservice with my browser i just recive this error .
    where is the problem?
    Error:
    Server Error in '/BizTalk_Server_Project5' Application.
    Login failed for user 'IIS APPPOOL\DefaultAppPool'.
    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.Data.SqlClient.SqlException: Login failed for user 'IIS APPPOOL\DefaultAppPool'.
    Source Error: 
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace: 
    [SqlException (0x80131904): Login failed for user 'IIS APPPOOL\DefaultAppPool'.]
    [TargetInvocationException: Exception has been thrown by the target of an invocation.]
    Microsoft.BizTalk.TransportProxy.Interop.IBTTransportProxy.RegisterIsolatedReceiver(String url, IBTTransportConfig callback) +0
    Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfIsolatedReceiver`2.RegisterIsolatedReceiver(Uri uri) +675
    Microsoft.BizTalk.Adapter.Wcf.Runtime.WebServiceHostFactory`3.CreateServiceHost(String constructorString, Uri[] baseAddresses) +231
    System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath) +1440
    System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +44
    System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +615
    [ServiceActivationException: The service '/BizTalk_Server_Project5/WcfService_BizTalk_x0020_Server_x0020_Project5.svc' cannot be activated due to an exception during compilation. The exception message is: Exception has been thrown by the target of an invocation..]
    System.Runtime.AsyncResult.End(IAsyncResult result) +679246
    System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +190
    System.ServiceModel.Activation.ServiceHttpModule.EndProcessRequest(IAsyncResult ar) +300622
    System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +8837348
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

    You get this error because your published orchestration (WCF service) is running in an application pool (IIS) which security user is not a member of the BizTalk Isolated Host Users group.
    To solve this issue create an application pool with a security user that is part of the BizTalk Isolated Host Users Group or check the current application pool and add the user to the BizTalk Isolated Host Users.
    Glenn Colpaert - MCTS BizTalk Server - Blog : http://blog.codit.eu

  • Biztalk: Publish as WCF Service

    Hello Experts,
    In Biztalk, i want to publish a WCF Service
    As i understand it can be done in two way
    1. Schemas as a Webservice
    2. Orchestration as a webservice
    i want a string as input for that webservice, it is just a string
    can you please advise how we can publish a webservice which will take string as input.
    Thanks for help

    A quick way I can think of is,
    create an Orchestration, create a message of type "System.String" from .NET classes.
    Create a receive port and in Select a Port Type, change
    Access Restrictions from Internal (default) to
    Public-no limits. This will enable you to expose the Orchestration as WCF service
    Create the rest of the orchestration with your business process that you want to do with the received message.
    Now publish the Orchestration as WCF service, now this will access only string as the input.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • BizTalk published WCF service throwing HTTP 404 error using ISA reverse proxy settings

    I have published my schemas as a WCF service from BizTalk 2010 "Publish WCF Service" wizard. I used Wcf-basicHTTP adapter in receive port. I am able to run the service successfully on localhost IIS and I tested my biztalk solution by sending request using SOAP UI and got response successfully.... Now: Actually, I need to give this service endpoint to my vendor who will send request from outside my company's network i.e. internet. In my infrastrucrue BizTalk is behind the firewall so, we setup a REVERSE proxy server at DMZ layer and it is configured properly. I have tested a simple WCF service by replacing the localhost with Proxy server configured address <DNSName> and it worked absolutely fine. But when I change localhost in my BizTalk schema based published WCF service it is not working and I am getting following error. Really strugling to get it resolved. I wasted a whole 3 days....very upset. Please help me out by giving the detailed step solution. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested URL: /BizTalkServiceInstance/MyService.svc I am surprized why other c# code based WCF services are working fine with reverse proxy settings. Server Error in '/' Application. The resource cannot be found.Is there any special things to consider Biztalk exposed wcf servcie over ssl in IIS cluster with ISA

    Hi Singam :)
    First I would start by browsing any other files (files other than the one from WCF) just to ensure that the reverse-proxy’s redirection rules are set correctly. If you get the same 404 error when you try to access other service/files “through reverse-proxy”,
    then it’s an issue in the redirection rule(s) in reverse-proxy.
    If others are fine i.e. no issue in reverse-proxy setup as such, then try the following for WCF service's web.config file. I have seen this issue in WCF service (not just BizTalk’s artifacts exposed as service in reverse-proxy). Add serviceHostingEnvironment
    config as show with in serviceModel section.
    <system.serviceModel>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
    </system.serviceModel>
    Regards,
    M.R.Ashwin Prabhu
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • How to send EDI from WCF adapter to WCF service

    Hi,
    1. I have created an orchestration which is published as WCF service.
    2. I have created an orchestration which receives an XML from WCF client and process it.
    3. I have created a WCF dynamic send port.
    Problem: From this dynamic send port, I want to send EDI file to a WCF service that will receive this EDI file. How can I achieve this. Below are my concerns:
    -> For creating this WCF service, I need to know the contract of Biztalk WCF adapter which sends EDI file.
    Thanks ...

    Hi,
    How can we create WCF service to receive the EDI sent by the BTS. What contract should be used for receiving this EDI file in WCF service.
    What changes have to be made in the orchestrations to send the EDI file to the WCF send Dynamic port. Below is the code i am using.
    EDIOutboundPort(Microsoft.XLANGs.BaseTypes.Address)="URL Address";
    EDIOutboundPort(Microsoft.XLANGs.BaseTypes.TransportType)="WCF-basicHttp";
    Please correct me if i am wrong
    Thanks 
    "How can we create WCF service to receive the EDI sent by the BTS. What contract should be used for receiving this EDI file in WCF service" - This is two different questions.
    "How can we create WCF service to receive the EDI sent by the BTS"  - Using BizTalk WCF Services Publishing Wizard, the wizard would ask for the "Create BizTalk receive locations in the following application " for creating
    the receive location for the message published to the exposed WCF service. Through this receive port/location, the service would receive the message.
    In this case, I am not sure why do you want to expose the Orchestration as WCF Service when you want to send message to this Orchestration/WCF service (which after converting from Orch) through another orchestration. You could either use call/start orchestration
    to send message from one to another.
    "What contract should be used for receiving this EDI file in WCF service" - may be this question is not correct. You have created a Orchestration which you exposed as WCF service. So while creating the Orch you know the type of message this Orchestration
    is bound to, so use the same contract. Or as mentioned in my earlier reply, use "Consume WCF wizard" to consume the WCF service which would create the web message for you.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Questions regarding deploying Biztalk WCF service to higher environments.

    Here is my situation:
    I have published BizTalk schema as WCF service in my local.
    I need to move this to higher environments, is there any way I can move this to upper environments without again using WCF service publishing wizard in respective environments.

    Hi,
    These are the more common options that I have used for this task:
    Use the IIS Web Deploy: with this tool, you can export the WCF Service as a ZIP package that can be imported in the target environment manually or using the command line.
    http://www.iis.net/downloads/microsoft/web-deploy
    http://jpsmit.bloggingabout.net/2012/06/04/deploying-wcf-services-using-web-deploy/
    Include the WCF service inside the BizTalk deployment package: I don't recommend this approach because it doesn't allow almost any customization when deployed in the target environment.
    Generate a Web Setup Project: other option can be creating a web setup Project in visual studio that will deploy the WCF service.It allows some customization when deploying in the target enviorment.
    http://jpsmit.bloggingabout.net/2010/03/29/deploying-a-wcf-service-using-a-web-setup-project/
    Using a custom tool: as Rachid Sikrosia said in the previous post, you can use BizTalk Deployment Framework o BizTalk powershell addin to do this task.
    https://psbiztalk.codeplex.com/
    In my last Project, I have used a combination of both Web Setup Project and some powershell scripts to configure correctly the web site, application pool, enabled bindings, etc...
    Best regards.

  • Provide WCF service caller to a SQL server that is access by a technical user account

    Hi,
    we have a WCF Service that is hosted in a windows service and access a SQL Server database. The database is accessed with the technical user the windows service runs with. That means nevertheless of the WCF service caller, the database is always
    accessed in context of the technical user. Furthermore some company users access the database via the SQL Management Studio and sign in via Windows Authentication.
    The management now wants us to provide a change log functionality. In case data is changed by the WCF service the caller should be logged. In case of using the SQL Management Studio the domain-user's account should be logged.
    Because both ways must be supported we want to use a table trigge to monitor insert/update/delete ddl events, but we got struggled by passing the WCF service caller to the SQL server database.
    Does anyone have a good idea for the issue? Any advice is appreciated.
    Kind regards,
    Christian

    Do you know a way to use the 'SET CONTEXT_INFO' expression wth LINQ2SQL?
    This is a T-SQL forum. There are other forms for LINQ.
    No, I don't know LINQ. Then again, why on earth would you? This would be a command you would submit when the WCF connects. Ah, of course, you are only connecting when you submit a query. Which you do through LINQ. Oh well. Could be an incitement to move
    away from LINQ maybe? :-)
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Best Solution for Busy WCF Service to Database

    I have a WCF service that writes log records to a database for several applications. It logs sometimes 200K+ an hour. I am using entity framework currently to create the records and each is created independently (per call). That means a connection
    is getting created for each one. I've found that because of the heavy amount of connections (this database is shared with another application), that I'm having max connection issues. Since this application is consistently writing to the database, I didn't
    know if there was a better way of limiting its connections (maybe sharing them) as the inserts are done asynchronously so the requestor is not held up, and they don't have to be immediately inserted. Since immediately having them isn't a must have, I've also
    considered writing the logs to a file then building a batch insert to occur every so often so that only one connection is open when that occurs. Just wondering what may be some suggestions on the best way to go about the creation and handling of the database
    connections for a system like this? Thanks.

    Hello acfalcon2001,
    From my experience, in your case, it is not recommended to call SaveChange() for every record because as you also mentions, it would cause a the heavy amount of connections.
    >>I've also considered writing the logs to a file then building a batch insert to occur every so often so that only one connection is open when that occurs
    This is the way I would suggest you could do for your case, for using the batch insert in Entity Framework, you could set a static variable to count added the number of entities, if it reaches a limit number(you could set it to 100 or 1000 or others) and
    then call the SaveChange() method(this method actually perform a batch insert operation even for one record). For this way, you could refer to the link below to check a detail usage and there is 
    detail test information:
    http://stackoverflow.com/a/5942176
    Or you could use another method:EntityFramework.BulkInsert
    https://efbulkinsert.codeplex.com/
    And from your description, it seems that your service would only perform an insert operation, if so, you could set:
    yourContext.Configuration.AutoDetectChangesEnabled = false;
    yourContext.Configuration.ValidateOnSaveEnabled = false;
    This coudl improve performance of insertion.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SSIS Web Service Task Error with WCF Service

    I have read all the other posts on this site and have not been able to resolve my issue.
    For testing purposes i created a very simple WCF service that takes no arguments and returns true.  That is all it does.
    When i create a winform client and instantiate the service i can run my service method and get true back so i know the service works.
    I then create a test SSIS package with 1 task, a web service task. 
    I set the web service tasks properties as follows:
    http connection: http://localhost/WCF_SSIS_Prototype/Service1.svc
    wsdl file: C:\...\SSIS_WCF_Prototype\Service1.wsdl  (I know this is not a valid path, i changed it for posting to forum)
    Service: Service1
    Method: GetData
    Variable: User::BResult
    When i run the package i get the following error:
    [Web Service Task] Error: An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: Could not execute the Web method. The error is: Method 'ProxyNamespace.Service1.GetData' not found..    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection)    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()".
    I'm not sure why it is saying "Method 'ProxyNamespace.Service1.GetData' not found.  It the web service task trying to create a proxy class and naming the proxy class namespace ProxyNamespace? 
    Any help is greatly appreciated.

    Hi,
    How  do you get around the same issue if your string type is based on a client token ?  I downloaded the .wsdl file, was able to see the service name, method and when selecting a method type, I am required to provide a client token which was given
    to me.  (Name column = clienttoken, Type = string, Value = 2227656 - ec8922 (client token numbers goes there)?  I am new to use ssis and need your help please
    error message:  Web Service Task] Error: An error occurred with the following error message:
    "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: The web serrvice threw an error during method execution. The error is: An error occurred
    when verifying security fro the message..   
    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)   
    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection) 
     at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()"
    Thank you and regards,
    Bili

  • How to communicate with different system on different network using WCF service

    Hi,
    I am using a WCF service that is accessed by different systems on same network. But systems on different networks are not able to access my WCF service. I have enabled tcp port also. But i can not resolve this issue. Please give the solution to the issue.
    Regards,
    Shanmugam M

    Hi Vilas,
    How you may communicate with you AIX server may very greatly depending on what is running on your server.  Here is a link to another thread where Java calls and AppletView were discussed.  It contains a link to the company that makes AppletView, so it may have some good information for you. 
    Also, if your customer suggested you use AppletView and they developed it, they would probably be your best bet for explaining it to you.
    Hope this helps!
    Spex
    National Instruments
    To the pessimist, the glass is half empty; to the optimist, the glass is half full; to the engineer, the glass is twice as big as it needs to be...

  • How we can limit the number of concurrent calls to a WCF service without use the Singleton pattern or without do the change in BizTalk Configuration file?

    How can we send only one message to a WCF service at a time? How we can limit the number of concurrent calls to a WCF service without use the Singleton pattern or without do the change in BizTalk Configuration file? Can we do it by Host throttling?

    Hi Pawan,
    You need to use WCF-Custom adapter and add the ServiceThrottlingBehavior service behavior to a WCF-Custom Locations.
    ServiceThrottlingBehavior.MaxConcurrentCalls - Gets or sets a value that specifies the maximum number of messages actively processing across a ServiceHost. The MaxConcurrentCalls property specifies the maximum number of messages actively
    processing across a ServiceHost object. Each channel can have one pending message that does not count against the value of MaxConcurrentCalls until WCF begins to process it.
    Follow MSDN-
    http://msdn.microsoft.com/en-us/library/ee377035%28BTS.10%29.aspx
    http://msdn.microsoft.com/en-us/library/system.servicemodel.description.servicethrottlingbehavior.maxconcurrentcalls.aspx
    I hope this helps.
    Rachit
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • BizTalk Tracking Profile Editor not tracking the data and how to implement the Orchestration as wcf service over SSL

    Hi Ashwinprabhu,
    thank you very much for your answer.
    i have one more query, I have orchestration published as wcf service in IIS and internally orchestration calling one more service , it means orchestration sending a request and getting response back from the service.
    actually we are implementing the copy of that called service through biztalk orchestration for system automatic and tracking failed messages and n/w failures.
    But tracking profiler not tracking the Data.
    And we need to develop the http service as https(Over SSL), we implemented in iis using self 
    signed certificate, it is working just browser for wsdl(in browser), we are not able to test the service in wcf test client, it is giving wsdl error, in wsdl schema reference showing with HTTP only,
    please help me how to resolve the issue.
    Teegala

    First things first, I think it's best to publish only schemas as WCF service for dependency management reasons. That said - WSDL availability is covered in the WCF adapter under the behaviors. If you're using HTTPBasic this may be hard to modify, but using
    WCFCustom allows you to add the WSDL behavior and specify that it should be available via HTTPS.
    As to the BAM, are you using TPE within the orchestration or at the port level?  I'd imagine your TPE tracks the start and end events of your orchestration using the Orchestration Schedule.  If you're fairly confident that the TPE is correct and
    yet don't see BAM data 1) make sure your SQL Agent is running healthy and all jobs look OK and 2) check the TDDS tables in both the message box and the BAMPrimaryImport databases.  These will show you if there has been some sort of sync issue. There's
    even a TDDS errors tables - so check that out.
    Kind Regards,
    -Dan
    If this answers your question, please Mark as Answer

  • Biztalk schema exposing as WCF service with multiple operations

    Hi,
    I am working on a design pattern to expose the BizTalk schema as a WCF service and thought of taking expert’s advice. I have a single schema with 30 different nodes and each one is a different message type. For this 30 message types we need to expose WCF
    endpoints to customer for consuming from their application.
    When I exposed this schema as WCF service, a single receive location got created in BizTalk application and in IIS there is one .svc file. I defined 30 operations for this while exposing the endpoint with wizard.
    Currently I came up with the below 2 approaches but I did not like them as there is more redundancy
    Create 30 different orchestrations and each orchestration subscribes to Message Box direct binding with message type as filter.
    Create a single orchestration that binds to single receive location( this location got created by wizard..) and access the operation/message type in the expression shape. Based on this value create 30 IF conditions for each message type. For this the
    single orchestration receive shape should have a message type of xml document and then access the type. Is it possible?
    I don’t like the above approaches as it is very difficult to maintain and also difficult to add for any new message type.
    Does anyone has good ideas for doing this?
    Thanks
    JB

    "Canonical Schemas" are used where multiple source messages need to be addressed by a SINGLE Operation !!!
    Every operation anyway translates to a separate process. Forget that we're dealing with BizTalk for a minute, when you're writing plain we services, you introduce new service contracts (operations) when you deal with different data contracts. To come back,
    in BizTalk your data contracts are your schemas. So when you have multiple schemas, each requiring different processing then you need different orchestrations.
    Let us for a minute assume you've defined a single service schema (very possible with a service header and a service details where the service data contract could differ). Now you use this schema to expose ONE service endpoint (good till now). In that service
    you're suggesting to ADD decisions (something like a switch statement where you'll do 'x' set of activities is the message is of 'x' type and so on... How is this sustainable? Every time you introduce an new operation, you'll have to tear down and redeploy
    the new orchestration which will affect all other operations. During the introduction of ONE op you may touch other parts of the orchestration (multiple branches in a parallel shape anyways make the orchestration very unwieldy from a code management/support
    standpoint) and introduce errors in existing ops.
    Regards. 

  • BIzTalk schema exposed as wcf service deployment in WIndows server which dont have bizTalk installed

     Hi All,
    I am deploying my Biztalk wcf service (exposed from Schema) in SIT environment which dont have BizTAlk installed. But BizTalk is installed in One server and Webservices are there in another server.
    When I browse the service, it is throwing errors as below.
    Retrieving the COM class factory for component with CLSID {9D0E435E-4CCE-4536-83FA-4A5040674AD6} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
    [COMException (0x80040154): Retrieving the COM class factory for component with CLSID {9D0E435E-4CCE-4536-83FA-4A5040674AD6} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).]
       Microsoft.BizTalk.Adapter.Wcf.Runtime.TransportProxySingleton..cctor() +23
    So please advise me on this. Am I going in correct way? Is it possible like this or do we need to install BizTalk for BizTAlk wcf services also in that environment?
    Thanks in Advance

    Hi,
    If you wish to deploy BizTalk WCF services onto another server, you can do so but you need to install BizTalk
    there. This is needed because some dlls are needed for the BizTalk WCF services such that it can point effieciently to the receive location in another server (where actual BizTalk application is running). Also the BizTalk runtime is needed in the other server
    and hence you need to just install BizTalk on the other server.
    Now if your other server is in the DMZ, then you might not go with the above option of installing BizTalk
    over there. In that case you need to install Microsoft ISA server (Internet Security and Application Server) and configure your DMZ with that. In that case you can host your BizTalk WCF services over there and make it point to the actual receive locations
    on your BizTalk server.
    Rachit
    Please mark as answer or vote as helpful if my reply does

Maybe you are looking for

  • Not able to convert string attribute to number and date please help me out

    not able to convert string attribute to number and date attribute. While using string to date conversion it shows result as failure.As I am reading from a text file. please help me out

  • Re: ERROR while trying to synchronize Audio and MIDI

    Hi Guys/Gals A bit of a strange one. Yes, I have posted a similar question concerning my trusted 2.7ghz G5 PPC and my Digidesign 003R which it turned out that the Digi's FW ports were to blame. New issue. I have just completed an install on a client'

  • Portlet event link to pass parameter between portlets

    Ok list, I followed the documentation Adding Parameters and Events to Portlets PDK Release 2 (9.0.2 and later) and tried to make a portlet that pass parameter to another portlet using event link. I created the supposed parameter in the page and made

  • Gradient as a Table Background Works, but Color is Wrong

    Hi: I've created gradients in Web pages as well as in tables in Web pages, but I can't seem to get it to work properly in WebHelp. I can get the gradient to display in a table, but the colors are not right--it is dark blue to black (close to my skin

  • VAT number duplicate

    Hi experts... I would like to validate duplicates vendors with same VAT number. In BUPA_TAXNUMTYPE transaction is activated Duplicated Check (ON). Additionally, we have implemented the note 1172339, but is not working this validation. Does anyone to