Forum Replies Created
-
AuthorPosts
-
Hi,
I’ve got the same problem except when trying to connect to SQL Server 2005.
I create a BizTalk solution in Visual Studio 2008 but when I select add…. Add Generated Items there is no Consume Adapter Service Add-in
I’ve installed (several times) everything on the list.
I have VS 2008 and SQL 2005 (with the latest service packs). I’ve tried the full installation of the BizTalk Adapter Pack 2.0 and the custom installation. When installing with the custom installation it doesn’t give me an option to install the add-in
I’m using BizTalk 2009 Enterprise 120 day Evaluation edition for development as it could be sometime before the production environments are set up and available for development
Everything is installed on my laptop running Windows XP
I think that the problem comes actually from the way i construct the message. In the assignment shape i have only
Message_2.query=Message_1.Root_Child2;
Message_2.conect=Message_1.Root_Child1;because i’ve inserted into the orch another send shape to drop the message into a folder before i send it to the web service and the message contains only the conect field.
But the web service receives the second param
July 21, 2009 at 12:08 PM in reply to: Deploy gives no errors but no orchestration is created. #22896I have been able to resolve this problem. I figured out that removing the code as directed by the article
http://biztalkia.blogspot.com/2005/12/solving-biztalk-error-x2044.html
does solve the issue in my case as to successfully building but causes deployment to not function correctly. If I go back and change the orchestration as mention in the article it recreates the code that would allow deployment to work but I am back to the original error.
What I did:
I just deleted the web reference, changed the name of the assembly name and default namespace and then added the web reference back. Fixed my ports and messages in the orchestration and built and deployed and all was well. I am not sure what got twisted up but this fixed it in my case.
This turned out to be a problem between my seat and my keyboard. A second set of eyes spotted an incorrect variable assignment … thus rendering the Address null. [:$]
I think I found the real problem. I’m trying to set the address dynamically on the send port as I want to be able to send to different versions of this web service running on different servers. It appears that after this lione of code the Address is still null. Any ideas?
CRMSendPort(Microsoft.XLANGs.BaseTypes.Address) = System.Configuration.ConfigurationManager.AppSettings.Get(webServiceUrl);
Thank you Phil,
Our sever has .NET 2.0 with SP2. Still we are getting this issue once in a while.
Do you use Biztalk Oracle adaptar? I noticed that oracle connections are still open even after jobs are done. This consumes some memory too. If I have 6 different send port to connect to oracle then there will be 6 open connections. Have to restart the host to close them. There is a hot fix on ms website. However it didnt help in my case.
The problem here is the method signature, because you are pssing a number of primitive types a schema is not created. Your Biztalk message is a multipart message with 4 simple parts. You cannot use a map to construct the message. In a message assignment shape use this code:
Message.peopleid = stringVariable;
Message.fname = stringFname;
Message.lname = stringLname;
Message.age = intAge;Althernatively you can construct a complex object in your web service
e.g.class Person
{
public string id;
public string fname;
public string lname;
public int age;
}class Response
{
public string responsetype;
}public Response send_info_to(Person person)
{ ….
}did you try setting the maxoccurs to unbounded for typedate
July 18, 2009 at 8:26 PM in reply to: How to read context properties from pipeline to orchestration #22881I am assuming you have to know the total number of messages in a batch to make sure you have processed them all? You could just add two properties to each message MessageNumber and TotalMessages. Where MessageNumber is the number of the message in the batch, while TotalMessages is the total number of messages in the batch. Maybe a bit hokey but it gets the job done.
Your other option if you are just interested in if you have received the last item in a batch is to test each message for the IsLastMessage context property. This is assigned to the last item out of the batch.
July 18, 2009 at 9:38 AM in reply to: How to read context properties from pipeline to orchestration #22878I don’t know if it’s possible but you can use xpath,
there is a method for counting node. In biztalk orchestration you write it xpath(message,”count(nodename)”), you can use it in .NET but I don’t know how
Well I found the solution to this, which was to restart the BizTalk Service. So it was retaining something in cache. Thought we’d moved beyond having to restart servers, and I’d hate to see this happen on a production box where it would take us days to schedule a restart.
Still, if anybody has any thoughts on a way to clean out this kind of caching without a restart I’d love to hear it.
Thanks,
Randy LindseyHi Dino,
You can use the type System.Xml.XmlDocument to receive any Xml document, this will accept all XML documents
Hi
Deadend on that KB – hotfix was for .NET 2.
We have .Net 2 SP1 (hotfix included in SP1)
Back to the batcave! (google)
Phil
Hi
Sorry for delay reply – busy here on other work. Sorry to say no progress here yet.
Have found a KB (KB923028) about a hotfix – might try that.
Phil
-
AuthorPosts