Forum Replies Created
-
AuthorPosts
-
March 13, 2006 at 4:59 AM in reply to: Problem: The Messaging Engine failed to add a receive URL #13119
I am not sure why you would get a Invalid cast exception. What type of message are you submitting to Biztalk?
There is no effective difference between the way you are implementing Web Services and the way Biztalk publishes an orchestration or schema as a Web Service.
You have had to write an ASP.Net Web Service that calls an unsupported adapter – SubmitDirect. You have to specify the Web Service message in two places one as a Biztalk schema and the a .Net object in your ASP.NET application.
With Biztalk, a wizard creates the ASP.NET Web Service and it uses the supported SOAP adapter. The interchange message is declared once within Biztalk and you also get access to SOAP properties within Biztalk. You can even customise the web service code if you are careful.
Publishing the web service using Biztalk does not make the Orchestration transparent to users, they will see the the same interface as your custom web service.
All the web service interfaces I have created in Biztalk have used the wizard to publish an orchestration or schema.
March 13, 2006 at 3:14 AM in reply to: Problem: The Messaging Engine failed to add a receive URL #13116Hi Greg,
I tried the installer that I made and I still got the same error.
\”There was a failure executing the receive pipeline: \”Microsoft.BizTalk.DefaultPipelines.XMLReceive\” Source: \”Microsoft.BizTalk.Messaging\” Receive Location: \”Submit://ProcessRequest\” Reason: Specified cast is not valid.\”
When you suggested to me to stop and restart the BiztalkServerApplication, at first it worked but when I re-installed the application again. It now has the error. Somehow I can’t understand what is the cause of the problem.
I just tried the installer in an XP Machine and it works just fine.
Why is it not working well on Windows Server 2003??
Thanks in advance,
FredSeldon,
I am not sure if you know this already but the EventLog in control panel is usually the place where you would get the error message. Mostlike the permission error was posted to there.
Gino
March 12, 2006 at 8:25 AM in reply to: can we install biztalk server on windows 2000 professional #13107http://www.microsoft.com/biztalk/evaluation/sysreqs/default_2004.mspx
^^ this page lists all the requirements
basically,
Windows 2000 Server, Windows 2003 or Windows XP Pro
March 11, 2006 at 7:39 PM in reply to: Anyone know of good but cheap Biztalk training in UK ? #14404That was a cool reply, thank you. I didnt even know they existed, they’re pretty good, especially being free. They are there on a number of subjects as well, shame only 2004, but for free they are cool – thanks for letting me know about them Stephen, Bill
I’m new to BizTalk and messaging systems, so sorry in advance for his newbie post.
I’d like to build an integration environment on BTS where systems that hold the master record, say for an employee, can publish adds, updates and deletes to various consumer/subscriber systems that care about records of that sort.
Now, part of the problem I’m having is that I’m not sure how to deal with cases where the record contains information whose constituent elements come from different systems. For example, our SAP system has an HR master record with say, first name, last name etc. It \”owns\” that information. However, Active Directory/Exchange owns the employee’s email address. Both of these information elements are part of the employee record, they just originate from different systems.
So, what happens when an AD/Exchange account is created [u:2ffe1899cf]before[/u:2ffe1899cf] the SAP HR master record even exists? A message flows from AD to BTS, and since SAP is subscribing to that message it gets a copy; but when it goes to update, there is no corresponding master record (based on some foreign key, like employee number.) How would I handle this? I don’t want to just ignore the message, because eventually, when the SAP record [url]is[/url] created, I want it to be updated with the email address from AD. But where do I put it and how would I resend it? From AD’s perspective the update occurred and it sent its message. To be loosely coupled, it should only care about sending out the changes: fire and forget. So I can’t have AD deal with the problem. And I really don’t want to create a separate holding area for these kinds of messages: it seems to me that this is a common enough problem that BTS must offer some kind of solution.
Thanks for the help.
That error means your message is not recognized and by default you can not send un recognized messages using the Xml Transmit Pipeline.
Have you tried it with the pass through pipeline rather than the XML Transmit?
Interesting.
I bet when you run through VS your are running under your user id. Then, running though BizTalk you’ll be running under the host account.
Good to know.
Maybe it’s a problem with the XPath.
Did you try using String rather than number in the XPath?
Is the value right in the message?Just a thought.
March 10, 2006 at 10:10 PM in reply to: Error encountered as BizTalk attempts to retrive a message f #13101Does the host you are running the adapter under have the correct permissions?
March 10, 2006 at 9:09 PM in reply to: Anyone know of good but cheap Biztalk training in UK ? #14403Hello.
Probably the best place to start is the BizTalk Virtual Labs on MSDN. Then, they have 2 e-learning classes for 2006. I have a link to them in my recent newsletter if you can not find them.
Best thing is, these are all free!
Hi greg.forsythe
Thanks for u reply, but while building the Map,by using the two XSD’S, I am getting the Errors like:
1. The attribute targetNamespace does not match the designated namespace URI. An error occurred at \” Drive:../Employee.xsd, (2, 2).\” the same error will be getting in the Source and Destination Schemas.
2. Exception Caught: Cannot use a prefix with an empty namespace. At
\”Drive:.. \\emp2exec.btm\”I was trying the sample provided on biztalkgurs.com for XPath Debatching I have used the following xml file as input.
[color=darkblue:3b9b7ad349]<SomeRoot>
<Body>
<anything>A</anything>
</Body>
<Body>
<anything>B</anything></Body>
<Body>
<anything>C</anything>
</Body>
</SomeRoot>[/color:3b9b7ad349]But i doesn’t get any output.
The error in event viewer is:[color=brown:3b9b7ad349]There was a failure executing the send pipeline: \”Microsoft.BizTalk.DefaultPipelines.XMLTransmit\” Source: \”XML assembler\” Send Port: \”C:\\BizTalk Sample\\SampleDebatching\\Out\\Output%MessageID%.xml\” Reason: This Assembler cannot retrieve document specification by using this type: \”Body\”. [/color:3b9b7ad349]
regards,
March 10, 2006 at 11:23 AM in reply to: Problem: The Messaging Engine failed to add a receive URL #13115Hi Greg,
Thanks again for another quick response. I tried restarting the BiztalkServerApplication and it kinda worked. I mean it was able to submit an XMLDocument and get a response.
But I still have to make sure that that is the only reason because I am thinking of creating an batch file to handle the setup for my orchestration. I’ll let you know if restarting the Biztalk Service is the only cause of the problem.
Anyway, the reason why I decide to use submit adapter is because I don’t want to expose my orchestration to everyone, instead I have a web service that will pass an xmlDoc to a Submit URL. That way, Orchestration will be not be transparent to the users. What you do think of my idea. Do you think the idea is wrong?
Thank you again. Thank you very much
Finally, I know what was the problem.
I forgot to give the right permissions to the table (in the SQL Server).
So the BizTalk Mapper’s Test Map function doesn’t watch the permissions, but the running Orchestration does. Strange, but true.
-
AuthorPosts