community-content

Forum Replies Created

Viewing 15 posts - 2,491 through 2,505 (of 9,648 total)
  • Author
    Posts
  • in reply to: Consume Adapter Service Add-in #22903

    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

    in reply to: Routing Failed Messages #22901

    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

     

    in reply to: BizTalk Pipelines #22898
    in reply to: Deploy gives no errors but no orchestration is created. #22896

    I 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.

    in reply to: Invoke web service method from orchestration #22893

    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. [:$]

    in reply to: Invoke web service method from orchestration #22891

    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);

     

    in reply to: BTS Admin Console issue #22890

    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.

    in reply to: Problem with Mapping Message Schema #22884

    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)
    { ….
    }

     

    in reply to: Repeating element to flat schema #22882

    did you try setting the maxoccurs to unbounded for typedate

    I 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.

    I 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

    in reply to: Can’t get rid of an old schema reference #22875

    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 Lindsey

    in reply to: Problem with call orchestration shape #22874

    Hi Dino,

     

    You can use the type System.Xml.XmlDocument to receive any Xml document, this will accept all XML documents

    in reply to: BTS Admin Console issue #22873

    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

     

    in reply to: BTS Admin Console issue #22872

    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

Viewing 15 posts - 2,491 through 2,505 (of 9,648 total)