Forum Replies Created
-
AuthorPosts
-
Hi Pavel,
You can get this error if the xml message you send to the webservice isn’t matching the xsd schema in the webservice.
It can also be a problem with security. This occurs when the account in which the webservice runs doesn’t have access to the BizTalk database.That you don’t see anything in the HAT means it didn’t get from the service to the MessageBox database, which won’t happen in the above scenarios. I’ve never met a situation where I got a message in BizTalk after getting a SOAP exception.
Hope this helps
EliGood to hear you got it working.
Also, you might want to check out the MSDN labs (http://www.biztalkgurus.com/forums/viewtopic.php?t=2). They can be helpful.
The tool needs to be run on a computer with Biztalk 2004 (may require SP1) and with SQL on the same server. Sorry for the trouble with it
Hi Shaik,
If I look at the webservice and click on the method [i:235a83cff6]SearchHotelsByID[/i:235a83cff6] I see the following:
[code:1:235a83cff6] <soap:Body>
<SearchHotelsByID xmlns=\"http://tourico.com/webservices/\">
<clHotelIdInfo>
<HotelIdInfo id=\"string\" />
<HotelIdInfo id=\"string\" />
</clHotelIdInfo>
<dtCheckIn>date</dtCheckIn>
<dtCheckOut>date</dtCheckOut>
….
[/code:1:235a83cff6]In this xml the tags [i:235a83cff6]clHotelIdInfo[/i:235a83cff6], [i:235a83cff6]dtCheckIn[/i:235a83cff6] and [i:235a83cff6]dtCheckOut[/i:235a83cff6] are the parameters of the method. [i:235a83cff6]clHotelIdInfo[/i:235a83cff6] contains 2 tags [i:235a83cff6]HotelIdInfo[/i:235a83cff6], which means that parameter [i:235a83cff6]clHotelIdInfo[/i:235a83cff6] is a parameter of type [b:235a83cff6]array of [i:235a83cff6]HotelIdInfo[/i:235a83cff6]’s[/b:235a83cff6]
From what I have seen, Biztalk 2006 does have basic support for Arrays.
You could also look at using the WSE Adapter. I think that supports Arrays.
Hope this helps.
I had seen this before. I think it was the host that runs tracking was not turned on.
I also had the SQL Agent jobs error and not start back up again.
See if that helps.
I find it easy to just keep all the versions the same and then just redeploy overtop of itself.
To do this in your .net class, you need to set the version in the Assembly file to 1.0.0.0. The default it 1.0.*.
This is definitely what I’d suggest for development work.
Hi Eli,
Thanks for the reply.
How did you find out that the webservice has arrays ??And one more thing, is the same problem persist even in Biztalk2006 ??
Once again Thanks
Hi Shaik Nagul,
The Webservices containt in the parameters of some of the methods and BizTalk can’t handle them. You can put these arrays in a property in a class and use the class as parameter and then it will work.
It is documented somewhere in the msdn library, but at this moment I can’t find it back 🙁Hope this helps,
Elihai friends,
I have a problem in undeployment
I have done a projet Biztalk in .NET and deployed it in biztalk server.I configured the ports .For every small changes I make in the projet,I create a new Biztalk Projet and do the manipulations (configuration of send and receive ports)manually in which I waste lot of time repeating the same thing .If i do the changes in the same projet ,it does not work.I want to do changes in the same biztalk projet and deploy it .
Does anybody knows what I should do when I make small changes in my projet existant?Hi,
I’ve added some comments. I was cocnfused with this at first, so I created an oirchestraiton, and added a bunch of transactions and compensations in a hirarchy. I added expression shapes with System.Debug.WriteLine (\”T1 Compensated\”); etc, then ran the orchestration with DebugView (you can also use VisualStudio). If you play about with this for a while you get a great idea of how it all hangs together.
1. When a long running transaction can’t commit, all of the compensation blocks of its nested transaction will be called automatically. right? There will be No automatice rollback with the current transaction. Right?
Hmm, maybe not correct…
2. in Biztalk documentation, there is a line \”If you choose to compensate the current transaction, that means that the default handler will be invoked, and not an explicit compensation block (if there is one).\” This got me really confused. Is there really a way you can choose to compensate the current transaction? How?
In an exception handler, you add a compensate shape, and specify the transaction you want to compensate. This can either be the current transaction, or one of it’s imediate child transactions. The default handler of a transaction will call the compensation blocks in it’s cheld transactionss in the reverse order that they were committed. This will run through the transaction hirarchy.
3. In BizTalk documentation, \”you can add a Compensate shape in the compensation block or an exception block of a transaction scope. \” So, if compensation blocks of the nested transactions will be called automaticlly if an exception occurs (if I undersatnd it correctly), I can’t think of any situation where a compensate shape needs to added in an exception block.
Compensation does not happen automatically, you need to call it explicitly (i think, sorry, don’t have time to check this…)
Regards,
Alan
November 10, 2005 at 2:19 PM in reply to: How to Process unknown number of messages in a specific orde #12186Hi,
>>How can i accomplish this, and is there a messaging pattern named after this scenario?
The pattern you are looking for is the resequencer:
http://www.eaipatterns.com/Resequencer.htmlI’d agree with Stephen’s comments about implementing this in BizTalk, it may be a bit trickey.
If you’r pretty advanced with C# or .net, you may want to look at building a file adpater that can read in the files in the specified order, and get them processed through the mesage box in that order (you may also need to build a sequential convoy to achieve this (check Stephen’s \”Convoy Deep Dive\” article on MSDN for info on this)).
To get started with a custom adapter, there’s a FileAdapter sample in the SDK, and also an adpater wizard available on gotdotnet to get you started with a new adapter project. Be aware that builsing adapters is a pretty advanced topic in BizTalk, be prepered to sink some time into it if you try…
Regards,
Alan
Hi,
I’ve used Virtual PC for a lot og my BizTalk installs (2004, and 2006), and it works a treat. A few tips:
Go for min 512 meg ram.
Maintain your DBs, and delete the backup files (if you can) to keep the image size down.
Watch out for fragmentation as you work with the image for a while.Sometimes the performance suffers a bit, it’s not a good way to work if you like to stress test things a log.
One other great feature is the \”Undo Disks\” that allow you to install you pre-reqs, then enable undo disks, then go for the BizTalk install. If it goes bad, you can abandon all the changes.
/Alan
Hi,
the problem was not very hard, but for somebody like me, because it’s the first time that I work with Biztalk (few weeks), it’s not very easy!
So,
you should go to the Biztalk explorer, and to Send Ports, and there you can remove manually the send ports who give problems !!!!
then you can undeploy with the wizard !!
Now I’m doing a new Solution, and I follow your tips : I create [b:957ba7d524]3 projects[/b:957ba7d524], for pipelines, maps/schemas and orchestrations !!!
Thank everybody – A.C.
😕
Hi Stephen W. Thomas, I’m sorry, but I can’t run this tool !!
I have problems!
I’m not used to work with .net, I’m new, so maybe I do some ridiculous mistakes !!When I try to debug the solution that I’ve downloaded, there are errors in BTHelper.cs
——–
using Microsoft.BizTalk.ExplorerOM;–> the type or namespace BizTalk does not exist
and in the references, the ‘Microsoft.BizTalk.ExplorerOM’ reference could not be found…
—–
could you help me please ???
thank you in advance!
A.C.OK,
thank you !
I’ll try to do it and I let you know ……
regards
A.C. -
AuthorPosts