Quantcast
Channel: BizTalk ESB Toolkit Forum
Viewing all 90 articles
Browse latest View live

How to add HL7 multipart message to ESB fault message

$
0
0

Hi All,

Could you please tell me how to add Hl7 multipart message  to ESB fault message as following example

"msgESBFault=Microsoft.Practices.ESB.ExceptionHandling.ExceptionMgmt.CreateFaultMessage();
msgESBFault.FailureCategory="SampleHL7esbportal";
//msgESBFault.ESBFault.Scope="local";
msgESBFault.FaultCode="0202";
msgESBFault.FaultDescription=sysex.Message;
msgESBFault.FaultSeverity=Microsoft.Practices.ESB.ExceptionHandling.FaultSeverity.Severe;

// Add each message to the Fault Message

Microsoft.Practices.ESB.ExceptionHandling.ExceptionMgmt.AddMessage(msgESBFault,HL7msg);"

Is this correct or I need to add HL7Msg 3 parts separately



ESB Portal - Exception Handling

$
0
0

Hi - I am reasonably experienced in BizTalk but new to the ESB Tool kit.  We don't really have the need for an ESB solution as such but I would like to use the ESB Portal to display errors, modify messages and resubmit. 

  • I have successfully, as far as I can tell, installed and configured the ESB tool kit correctly on my dev machine.
  • I have managed to send errors to the portal by enabling routing for failed messages and from within an Orchestration by creating a message thus: `FaultMessage = Microsoft.Practices.ESB.ExceptionHandling.ExceptionMgmt.CreateFaultMessage();`

The messages display correctly in the portal and on selecting 'Edit' I am given the option to resubmit via WCF OnRamp, SOAP OnRamp and HTTPReceive.  This is where my problem starts.  I have been using the WCF OnRamp to resubmit and on doing so I get a message: 

 This message has been successfully resubmitted 

However on returning to the home screen of the portal I now have a new error for the Microsoft.Practices.ESB application:

    There was a failure executing the receive pipeline: "Microsoft.Practices.ESB.Itinerary.Pipelines.ItinerarySelectReceiveXml, Microsoft.Practices.ESB.Itinerary.Pipelines, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "ESB Itinerary Selector" Receive Port: "OnRamp.Itinerary" URI: "/ESB.ItineraryServices.WCF/ProcessItinerary.svc" Reason: Error 135008: The itinerary was not found in the repository. 

I presume I need to configure something here, a resolver perhaps for my message but I, so far, have not been able to find a guide that will help me through this issue.  Is there a walk through out there some where that shows the full end to end exception handling with ESB Portal?  I have managed to find plenty of help with getting messages into it but not for configuring for resubmit. Thanks.

How the fault message properties get promoted in orchestration?

$
0
0

Hi All,

       I was checking the ExcptionHandling sample code and had a question regarding the fault message publishing. In the orchestration, the fault message was created and published to message box through direct binding. Then all the properties got promoted magically. My understanding is that the only way to promote properties from Orchestration is through correlation set. Does anybody know how the fault message properties get promoted in the orchestration?

Thanks,

David


David

Assigning HL7 message to esb fault message

$
0
0

Hi All,

I am assigning hl7 message(Which is multipart message with Body,MSH,Zsegments)  as follows for "msgESBFault" message of type Microsoft.Practices.ESB.ExceptionHandling.Schemas.Faults.FaultMessage in Exception handler block

msgESBFault=Microsoft.Practices.ESB.ExceptionHandling.ExceptionMgmt.CreateFaultMessage();
msgESBFault.FailureCategory="SampleHL7esbportal";
//msgESBFault.ESBFault.Scope="local";
msgESBFault.FaultCode="0202";
msgESBFault.FaultDescription=sysex.Message;
msgESBFault.FaultSeverity=Microsoft.Practices.ESB.ExceptionHandling.FaultSeverity.Severe;

 // Add each message to the Fault Message

Microsoft.Practices.ESB.ExceptionHandling.ExceptionMgmt.AddMessage(msgESBFault,HL7msg);

But in ESB portal Faults I can able to view only MSHSegment part only. How to assign "HL7msg" to msgESBFault and view full hl7 message. Is this Possible or wehave to assign parts of hl7 message separately?

Thanks in Advance



Accessing ESB Portal from remote server in multi-server environment

$
0
0

Why am I getting access denied error when I try to access the portal from a remote server. I do not get this error with the same user from the local server?

What permissions or policy am i missing?

http://qa.social.msdn.microsoft.com/Forums/en-US/biztalkesb/thread/2a1519c1-bab3-40fb-a645-a7e54f606b22 describes a workaround where you put the username password into the web.config but thus is just hiding the problem.

I want to find out what permission or setting is missing.

Thank you in advance.


VK Macwana

ESB Fault Message resubmit Issue

$
0
0

Hi All,

Kindly help me out for resubmitting the fault messages from ESB Portal.

I have created orchestration and exposing it as WCF Service/Web Service . In the orchestration i m handling the exceptions using the ESB.

Im viewing the messages using ESB Portal.

I want to resubmit the message from the portal for the WCF Service and Web Service.

I tried through but getting the Itinery is Not Found.

Is it required for me to create a New itinery for doing this???

or Out of Biztalk ESB provides any thing

If biztalk doesnt provides , kindly let me know how to do that. Its Very Urgent



Muqeem

ESB All Exception port issue

$
0
0

We are getting the snap in error while opening the admin and at the event log the following is the error message got logged. But all other servers are woring.

There was a failure executing the send pipeline: "Microsoft.Practices.ESB.ExceptionHandling.Pipelines.ESBFaultProcessor, Microsoft.Practices.ESB.ExceptionHandling.Pipelines, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "ESB Transform" Send Port: "ALL.Exceptions" URI: "SQL://SQL\db1/EsbExceptionDb/" Reason: Error 175002: An unexpected error occurred while trying to execute the map, 'Microsoft.Practices.ESB.ExceptionHandling.Maps.FaultMessage_to_ExceptionSql, Microsoft.Practices.ESB.ExceptionHandling.Maps, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.


SenthilKumar R Please Mark as Answered if answers your question


Future of the ESB toolkit?

$
0
0

Can anyone shed some lights on the its future. I haven't seen that it's widely implemented and I am a little pessimistic.

Thank you,
Teddy


Teddy


Esb 2.1 one way routing scenerio

$
0
0

I am having problem with the following itinerary,

It seems like it complets the "ResolveTransformshape" but fails after that.

The itinerary is as follows,

====

<Itinerary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.biztalk.practices.esb.com/itinerary" uuid="" beginTime="" completeTime="" state="Pending" isRequestResponse="false" servicecount="4" name="BatchWithOrchestrationRouting" version="1.0">
  <BizTalkSegment xmlns="" interchangeId="" epmRRCorrelationToken="" receiveInstanceId="" messageId="" />
  <ServiceInstance xmlns="" name="Microsoft.Practices.ESB.Services.Transform" type="Messaging" state="Pending" position="0" isRequestResponse="false" />
  <Services xmlns="">
    <Service uuid="cfbe36c5-d85c-44e9-9549-4a7abf2106c5" beginTime="" completeTime="" name="Microsoft.Practices.ESB.Services.Transform" type="Messaging" state="Pending" isRequestResponse="false" position="0" serviceInstanceId="" stage="receiveInbound" id="f17feb9881134375b19b9d69437f9bb3" nextId="7d4ba38d00bb48009124410787ff4b16" businessName="ResolveTransform" />
  </Services>
  <Services xmlns="">
    <Service uuid="D530E6AD-B7FC-4BF9-A721-F98E1B83960D" beginTime="" completeTime="" name="Esb.Test1.orchWorkOrder" type="Orchestration" state="Pending" isRequestResponse="false" position="1" serviceInstanceId="" id="7d4ba38d00bb48009124410787ff4b16" nextId="f1023209f2d9443c90f80bdfab117942" businessName="OrchTransform" />
  </Services>
  <Services xmlns="">
    <Service uuid="774488bc-e5b9-4a4e-9ae7-d25cdf23fd1c" beginTime="" completeTime="" name="Microsoft.Practices.ESB.Services.Routing" type="Orchestration" state="Pending" isRequestResponse="false" position="2" serviceInstanceId="" id="f1023209f2d9443c90f80bdfab117942" nextId="39768bdcf6c34598a635f65cd01c5335" businessName="ResolveOrchRouting2" />
  </Services>
  <Services xmlns="">
    <Service uuid="629ea460b15841d28fac93f369190a00" beginTime="" completeTime="" name="BatchWithRouting" type="Messaging" state="Pending" isRequestResponse="false" position="3" serviceInstanceId="" stage="sendTransmit" id="39768bdcf6c34598a635f65cd01c5335" nextId="00000000000000000000000000000000" businessName="ResolveEndPoint" />
  </Services>
  <ResolverGroups xmlns="">
    <Resolvers serviceId="Microsoft.Practices.ESB.Services.Transform0">&lt;![CDATA[BRE:\\policy=TestEsbTransform;version=1.0;useMsg=false;messageFile=;recognizeMessageFormat=false;]]&gt;</Resolvers>
    <Resolvers serviceId="Esb.Test1.orchWorkOrder1" />
    <Resolvers serviceId="Microsoft.Practices.ESB.Services.Routing2">&lt;![CDATA[BRE:\\policy=TestEsbRouting;version=1.0;useMsg=false;messageFile=;recognizeMessageFormat=false;]]&gt;</Resolvers>
    <Resolvers serviceId="BatchWithRouting3" />
  </ResolverGroups>
</Itinerary>

====

Following the orchestration info,

========

The following info is added to the esb.config,

<itineraryService id="D530E6AD-B7FC-4BF9-A721-F98E1B83960D" name="Esb.Test1.orchWorkOrder" type="Esb.Test1.orchWorkOrder, Esb.Test1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a14fd2b6ab493c8" scope="Orchestration"  stage="None" />

When a drop a file in the receive location, I get subscription not found error.
I ran the tracing on ESB and the last trace event I get is, "Adding Itinerary Services 7d4ba38d00bb48009124410787ff4b16".
After the above trace I get the subscription not found error.

I am not sure if I did not specify the itinerary properly or if I missed anything to specify in orchestration??

All I am trying to test is that that I drop a file --> perform transform (via messaging) --> perform transform (via orchestration) --> route out the file (via bre resolver)...

Need help thanks in advance... Rick

BizTalk HIPAA Architecture scenario

$
0
0

Hi Gurus,

             

              I would like to get suggestions from you gurus regarding my new biztalk esb implementation...

 

we have few different types of flat file  fixed length schemas and we have around 400-500 different vendors who sends these flat files.

most of vendors around 80% has got same schema as well as mapping logic, so I wanted to build maps (i will map from vendor schema to internal canonical schema)  for all vendors and most of the maps  going to be common across the vendors, after mapping i will send these canonical message to my separate debatching engine which will debatch and submit the message in to the message box.

So first part – I’m thinking about creating new intinery  which will receive flat file message and depends on the vendor name ( that I will read from filename or content) it will dynamically get the map name and execute it and send canonical mapped message to messagebox.

So my question is can I use the same itinerary for different input schema from some different vendor then map it and send it to messagebox ? is there any better approach of doing it.

Once more question – is there any quick way of replicating all these hundreds of maps without manually crating all of them, any patterns/practices?

Is there any other best practices of doing above process.

Custom Resolver

$
0
0

I just want to check that I am not fundamentally misunderstanding something.

I have a message that is coming in that is encrypted, it could be one of a number of types of message.  I need to decrypt it using a custom service so that I can see what type of message it is to chose the correct itinerary.

I've written a custom resolver that extracts the message and decrypts it, works out the type and returns the itinerary name in the resolution.MessageType dictionary property.

In the itineraryselectreceivexml I've got the itineraryfactname set to Resolution.MessageType.

I get an error sayying that data at Row 1 Line 1 is invalid.  From that I assume it is expecting xml but I expected it to just get the itinerary name and then invoke it for the message.

Am I completely misunderstanding something here?

Thanks,

Neil

routing failure error with ESB samples example

$
0
0

i'm getting routing failure error when i'm trying to implement dynamic routing sample, i checked previous posts about this error but there is not help.



The published message could not be routed because no subscribers were found. This error occurs if the subscribing orchestration or send port has not been enlisted, or if some of the message properties necessary for subscription evaluation have not been promoted. Please use the Biztalk Administration console to troubleshoot this failure.

The Messaging engine failed to process a message submitted by adapter:FILE Source URL:C:\BizTalkESBSample\Input\*.x Details:The published message could not be routed because no subscribers were found. This error occurs if the subscribing orchestration or send port has not been enlisted, or if some of the message properties necessary for subscription evaluation have not been promoted. Please use the Biztalk Administration console to troubleshoot this failure. 

Accessing the PartyName context property

$
0
0

Hi,

We have a requirement where we have to apply the transformation based on the PartyName and the MessageType of the incoming EDI message. We have a business rule that will compare the PartyName and the MessageType in the context property with that in the database and get the corresponding map name.

 

The Business rule is called in the itinerary and the transformation applied accordingly.

 

How can we access the PartyName context property in the BRE while using it in ESB toolkit 2.0? The MessageType context property is accessible using the ESB.ContextInfo vocabulary.

Thanks,
Sumana.

uddi configuration problem

$
0
0

hi, while trying to configure uddi 3 on windows server 2008R2  for ESB toolkit, 

on configuration screen, I am getting this error. 
Note: Firewall is totally off, unchecked require ssl for publication. 

thanks for help.

Dynamically executing map based on received filename

$
0
0

Hi all,

         I'm working on a project in which I will be receiving different kinds of flat files, once biztalk receives flat files from some share folder using custom flat file pipeline component i will convert into xml and then I will have to execute map ( flat file xml format to canonical schema - depends on vendor ) dynamically based on received filename.

i have created one itinerary to dynamically execute map using BRE , the issue here is based on filename context property i will be able to execute map but bydefault filename context property is not available to BRE rules engine. what is the best way to handle this scenario? any thouts?


Testing ESB Toolkit Business Rules

$
0
0

Hi,

In the ESB toolkit for BizTalk Business Rules can be used in the following scenarios:

  • Dynamic routing
    • Dynamically routes a message, based on the content of a known message type
  • Dynamic transformation
    • Dynamically transform a message from one type to another, based on the content of a known message type
  • Specifying Itineraries
    • Select an itinerary based on the content of a received message

It is not very difficult to create business rules policies in the Business Rule Composer that can be used for one of these scenarios but is not so easy to test the created policies because it’s not documented how to do it. You have to find out which specific classes, properties and methods are used and in which DLL libraries they are located. So I made ​​a sample tool with which these ESB Toolkit classes can be tested! ( –;

In the sample project is a Windows Forms Application located that calls the Business Rules Engine to test the business rules.

With the sample tool policies can be tested that have one of the following vocabularies from the ESB toolkit:

  • ESB.EndPointInfo
    • Set End Point Outbound Transport Location
  • ESB.TransformInfo
    • Set Transform Transform Type
  • ESB.Itinerary
    • Set Itinerary Name

You can download the sample tool with the source code here:

http://code.msdn.microsoft.com/Testing-Business-Rules-in-28396b66

greetings,

Tomasso Groenendijk

how to test Itinerary

$
0
0

How do we test ESB Itinerary.

Is there any tools like Bizunit..

or can we test Itinerary using BizUnit 


Is there any way for automate testing of itinerary..

automate testing of itinerary

$
0
0

How do we test ESB Itinerary.

Is there any tools like Bizunit..

or can we test Itinerary using BizUnit


Is there any way for automate testing of itinerary..

need to set end point config in BRE for custom binding containing 2 elements http transport and text encoding

$
0
0

Hi,

I have a send port/offramp to be configured for WCF-custom binding. I have done it as a static port and it is working fine. now I need to do it as a dynamic port with BRE resolver.

here is the exported config 

<configuration>
  <enterpriseLibrary.ConfigurationSource selectedSource="ESB File Configuration Source" />
  <system.serviceModel>
    <client>
      <endpoint address="http://localhost/Multiplier/Multiplier.aspx" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="customBinding" contract="BizTalk" name="HTTPCustom" />
    </client>
    <behaviors>
      <endpointBehaviors>
        <behavior name="EndpointBehavior" />
      </endpointBehaviors>
    </behaviors>
    <bindings>
      <customBinding>
        <binding name="customBinding">
          <textMessageEncoding messageVersion="None" />
          <httpTransport />
        </binding>
      </customBinding>
    </bindings>
  </system.serviceModel>
</configuration>

now I need to form the string for "set end point config" vocabulary in BRE for ESB. 

does anyone know how to do it.

any ideas

please help

Thanks in advance

surya



how to Set End Point Config for WCF custom adapter using TextMessageEncoding and httpTransport binding element

$
0
0

Hi,

I need to configure a dynamic port (offramp) for WCF-Custom adapter with 2 binding element in it, namely TextMessageEncoding and httpTransport with manualaddressing=false.

This is an ESB application and i am using BRE resolver for routing resolution to this offramp. 

can anybody tell me how to set the "Set End Point Config to" vocabulary in the actions pane ?

here is the config file I have exported from a static WCF-Custom adapter which is working fine.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <enterpriseLibrary.ConfigurationSource selectedSource="ESB File Configuration Source" />
  <system.serviceModel>
    <client>
      <endpoint address="http://localhost/Multiplier/Multiplier.aspx" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="customBinding" contract="BizTalk" name="HTTPCustom" />
    </client>
    <behaviors>
      <endpointBehaviors>
        <behavior name="EndpointBehavior" />
      </endpointBehaviors>
    </behaviors>
    <bindings>
      <customBinding>
        <binding name="customBinding">
          <textMessageEncoding messageVersion="None" />
          <httpTransport manualAddressing="False" />
        </binding>
      </customBinding>
    </bindings>
  </system.serviceModel>
</configuration>

any ideas ? 

PLEASE HELP

Thanks in advance

surya


Viewing all 90 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>