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

UDDI Publish Wizard Object reference not to an instance of an object

$
0
0

I have created a web service using VS 2010 targeting framework 4.0. This service was not written using WCF.

When I try to register the service I get the error message: UDDI Publish Wizard : Object reference not to an instance of an object

Please let me know the fix.


BAM displaying excdatetime as 12/31/1899 and Pivot table not displaying data

$
0
0

ExcDatetime is defaulting to 12/31/1899 6:00:00 PM regardless of how I try to set it:

System.DateTime.Now.ToString() or System.DateTime.Now.ToString("MM/dd/yyyy h:mm tt") and even leaving it out altogether.

I have defined a multi-part message Type that has a body who's type propery is set to Microsoft.Practices.ESB.ExceptionHandling.Schemas.Faults.FaultMessage

xpath(msgDisconnectImmediateError.Body, "//Error[1]//FailureCategory") = msgFault.FailureCategory;                                            

xpath(msgDisconnectImmediateError.Body, "//Error[1]//FaultCode") = msgFault.FaultCode;

xpath(msgDisconnectImmediateError.Body, "//Error[1]//FaultDescription") = msgFault.FaultDescription;

xpath(msgDisconnectImmediateError.Body, "//Error[1]//FaultSeverity") = msgFault.FaultSeverity;

xpath(msgDisconnectImmediateError.Body, "//Error[1]//LogFilePath") = msgFault.Scope;

xpath(msgDisconnectImmediateError.Body, "//Error[1]//DateTime") = System.DateTime.Now.ToString("MM/dd/yyyy h:mm tt");

Any suggestions? Also, the PivitTable is not displaying any reqults.

I did find this (http://robboxman.wordpress.com/2008/03/12/exception-handling-with-the-biztalk-esb-guidance/)

WARNINGS:
The DateTime property is auto-populated with a string in the format of the servers regional date and time settings. If the format can not be mapped by the SQL server adapter, you will get a BizTalk error when the fault message is published to the Exception Management Database. My proposed solution can be found athttp://www.codeplex.com/esb/WorkItem/View.aspx?WorkItemId=4430.
If the auto-populated Description is larger than 256 characters BizTalk itself will give an error when the fault message is published to the message box, because promoted properties cannot be longer. This should be fixed in the source code of the ExceptionMgmt class.

Resubmission failed 500 internal server error.

$
0
0

Hello!

I am trying to resubmit the message via the ESB Portal.

I am trying to achieve the same using a HTTP port.
However i am getting the following error:
resubmission failed 500 internal server error.

When i debug, i get the response code as "The remote server returned an error: (405) Method Not Allowed."

Please. Any help would be much appreciated!

Thanks in advance
Sravanthi

Error at ItinerarySendPassthrough Pipeline.

$
0
0

We are using ItinerarySendPassthrough Pipeline to send message to subscribers. we have done small customization in the pipeline and deployed that pipeline after that we are getting the below exception. when we debbugged we are are not getting any exception.

System.NullReferenceException: Object reference not set to an instance of an object.

   at Microsoft.BizTalk.Streaming.ReadOnlySeekableStream.get_Position()

   at Microsoft.BizTalk.Streaming.CEventingReadStream.set_Position(Int64 value)

   at Microsoft.BizTalk.Streaming.BasicStreamWrapper.set_Position(Int64 value)

   at Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkBodyWriter.ValidateStreamContainsXml(Stream stream)

   at Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkBodyWriter..ctor(Stream stream, BodyReadCallback callback, Object state, Boolean validateStreamIsXml)

   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfMarshaller.CreateWcfMessage(CreateWcfMessageSettings settings)

   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.SendRequestMessage(IBaseMessage bizTalkMessage, IRequestChannel channel)

   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.SendMessage(IBaseMessage bizTalkMessage)


SenthilKumar R Please Mark as Answered if answers your question

ESB portal - The resubmission failed: 500 - InternalServerError

ESB Toolkit 2.1 Installation Issue on Denali CTP3

$
0
0

Hello,

I am trying to install ESB Toolkit 2.1 on Denali CTP3 and getting the following error:

Exception Calling "Create" with "0" argument(s):"Create Failed for Database 'EsbExceptionDb'."

The following is the stack trace:

EsbConfigurationTool.exe Information: 0 : Exception calling "Create" with "0" argument(s): "Create failed for Database 'EsbExceptionDb'. "
EsbConfigurationTool.exe Error: 0 : An error has occurred:
Exception calling "Create" with "0" argument(s): "Create failed for Database 'EsbExceptionDb'. "
Create failed for Database 'EsbExceptionDb'.
Cannot access property DatabaseSnapshotBaseName.This property is not available on SQL Server 7.0.
Stack Trace:
   at System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target, Object[] arguments, MethodInformation methodInformation, Object[] originalArguments)
   at System.Management.Automation.ParserOps.CallMethod(Token token, Object target, String methodName, Object[] paramArray, Boolean callStatic, Object valueToSet)
   at System.Management.Automation.MethodCallNode.InvokeMethod(Object target, Object[] arguments, Object value)
   at System.Management.Automation.MethodCallNode.Execute(Array input, Pipe outputPipe, ExecutionContext context)
   at System.Management.Automation.ParseTreeNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
   at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)

Any help would be appreciated!!!

 

Regards


Regards

BizTalk Application Deployment with ESB Tool Kit 2.0

$
0
0

Hello,

Could any one suggest me, what would be the best depolyment tool to deploy the BizTalk Application with ESB Tool Kit2.0. This deployment tool can help us to maintain the existing project easily with good standards.

Thank You,

When to use ESB Toolkit vs Orch

$
0
0

I've been studying ESB Toolkit, and still a little confused when it's a great fit.

I have a new small app to create this week. Here's how I would do it without ESB.

1. Receive from SQL database with polling (with "top 1" to just get one row)
2. Start Orchestration
    a. RcvLoc bound to orchestration
    b. Call existing Stored Proc (it has a lot of logic in it, don't want to rewrite) to extract data (representing one commercial flight and it's multiple fuel tanks)
    c. Map SProc Response to Web Service Request
    d. Call Vendor's Web Service (no response needed)

Would this be better to do with an Itinerary? 

Thanks,
Neal Walters

  





Creating a MessageBox On-Ramp for the ESB Toolkit in BizTalk

$
0
0

Hi,

With the ESB Toolkit you can use almost any location outside BizTalk as an on-ramp but what if you want to pick up a message from the MessageBox database and use an itinerary to process that message? You can’t use pipeline components once a message is picked up by BizTalk and is already in the MessageBox. Therefore I've created a custom .NET component that can be invoked in an orchestration to perform the steps that are normally made inside the pipeline.

The following steps are necessary to make it work:

- Create a custom component in .NET to set the context properties that are needed for the ESB Toolkit
  • In the custom component:
    • Resolve the itinerary from the Itinerary Store database
    • Determine the first Itinerary Service in the itinerary
    • Write the properties of the Itinerary Service as context properties on the message
    • Attach the itinerary to the message

For more information see:
http://www.ithero.nl/post/2013/02/09/Creating-a-MessageBox-On-Ramp-for-the-ESB-Toolkit-in-BizTalk-2013.aspx

You can download the example with the complete Visual Studio solution here:   
http://code.msdn.microsoft.com/Creating-a-MessageBox-On-7ef401fa

Greetings,

Tomasso Groenendijk

biztalk 2010: How to set Body Path Expression in Send Port

$
0
0

Hi, 

  I have a wcf service with 3 operations. The corresponding send port in my biztalk app has a Soap Action Header that looks like the following: 

   <BtsActionMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Operation Name="GetAllERGroupIds" Action="http://tempuri.org/IMapperService/GetAllERGroupIds" />
  <Operation Name="GetDestinationERGroupIdFromERGroupId" Action="http://tempuri.org/IMapperService/GetDestinationERGroupIdFromERGroupId" />
  <Operation Name="GetDestinationRateTypeFromERRateType" Action="http://tempuri.org/IMapperService/GetDestinationRateTypeFromERRateType" />
</BtsActionMapping>

  Then, I have read that in order to be able to catch the exceptions comming from that service in my orchestration i must set the "Body Path Expression" textbox from the "Message" tab. The problem is that it seems i´m not able to specify there all the possible messages comming from that service. How can i achieve this? The current  Expression taht i´m using there is:

/*[local-name()='MapperException' and namespace-uri()='http://schemas.datacontract.org/2004/07/Entities']/*|/*[local-name()='Fault']/*[local-name()='Detail' or local-name()='detail']/*|/*[local-name()='GetAllERGroupIdsResponse' and namespace-uri()='http://tempuri.org/']/*[local-name()='GetAllERGroupIdsResult' and namespace-uri()='http://tempuri.org/']/*|/*[local-name()='GetDestinationERGroupIdFromERGroupIdResponse' and namespace-uri()='http://tempuri.org/']/* | /*[local-name()='GetDestinationRateTypeFromERRateTypeResponse' and namespace-uri()='http://tempuri.org/']

That path contains the follwoing: 

   - xpath for the excpetions comming from the service

   - xpath for GetAllERGroupIdsResponse messages

   - xpath for GetDestinationERGroupIdFromERGroupIdResponse messages

   - xpath for GetDestinationRateTypeFromERRateTypeResponse messages

For some reason i´m not able to specify all of them there. How can i configure the port in order to be able to get all messages responses, including the exception comming from the service?

Basically, i have tried to follow the same idea as explained here: http://msdn.microsoft.com/en-us/library/bb246117(v=bts.20).aspx

but my WCF service exposes more than 1 response operation.

thanks in advance, 

  Paola

    


Viewing all 90 articles
Browse latest View live


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