community-content

Forum Replies Created

Viewing 15 posts - 2,956 through 2,970 (of 9,648 total)
  • Author
    Posts
  • in reply to: Passing username/password to published asmx orchestration #22130

    Did you get any answers of the questions you have put ? I am facing the same issue. I need to get the soap header user id and password to orchestration and pass it to calling another webservice from orchestration. Pls let me know if you find some solution of it.

     

    Thanks

    Jit

    in reply to: WSE Web service..Urgent #22127

    The certificate needs to exist in the certificate store for the user under which the BizTalk Host Instance running the Send Port is running as (I hope that makes sense!)

    I’ve blogged about some of the the confusing issues around certificates in BizTalk after receiving exactly the same error. See: http://www.modhul.com/2008/06/04/correctly-installing-a-certificate-for-two-factor-authentication-via-the-http-send-adapter/ and http://www.modhul.com/2008/07/30/soap-adapter-confusing-error-with-an-untrusted-root-certificate-authority/

    Rgds, Nick.

    in reply to: how to split file name #22126

    You will need to create a new Class Library project in your BizTalk solution and add a single public static class that is marked as Serializable. Within that class, create single public static method called ExtractFilename (or any other name you feel is suitable) passing in the filename you received. The method should return a string.

    Using either a string split, or substring methods extract the part of the filename you are looking for and return that from the method. You may also want to ‘ToUpper()’ the result before you return it from the method so your Decide shape only needs to check one case.

    Add a reference to the project created above in your BizTalk project (that contains the orchestration that needs to consume this method) and in your orchestration Decide shape, reference the method in the left handside of your compaison, e.g.:

    StaticClass.ExtractFilename(InputFilename) == “TELECOM”

    If you need to put the value into a variable, simply assign it as follows and use the variable in your Decide shape comparison.

    variable = StaticClass.ExtractFilename(InputFilename);

    This approach is also testable using your favourite testing framework, in that the static ExtractFilename method can be tested in isolation from the orchestration expression. I use a similar approach, using RegEx’s to check that the method returns the expected string format.

    Hope this helps, Nick.

    in reply to: Slowly installing VStudio 2008 on Windows Server 2008 #22125

    It sounds like VS2008 has hung – I’ve just installed it this morning on (VirtualBox VM) and it took about five minutes end to end.

    I would suggest quitting the installer, restarting your VM and re-installing.

    Rgds, Nick.

    in reply to: how to split file name #22123

    You can do that using C# Split Function.

    For Ex:

     

    har[] delimiterChars = { ' -'};
    String yrString  = "robert_telecom_wired_02102009";
    String[] parsedStrings = yrString.Split(delimiterChars);
    Now u can look for your string
    
    
    
    
    parsedStrings.values(); Depending on u r Requirement.
    
    

     

    Finally found a link which some kind soul posted that solves this problem.  Apparently, the BizTalk installer coples the WMI setup files (the MOF and MFL files) to one directory, then looks for them in another.  The fix is to create the directory beforehand, and populate it with the correct files, so they will be there at the proper time.  Here’s the link…http://groups.google.com/group/microsoft.public.biztalk.setup/browse_thread/thread/14f10a26ac842135

    in reply to: Calling a Async WCF service via Http from Orchestration #22119

    The BizTalk orchestration itself will not timeout.  Orchestrations can run for weeks or months.  

    Given that the WCF component may not respond for 30 minutes,  it may be best to implement using two calls.  One call for each direction.  The first call would be from BizTalk to the WCF component, the second would be from the WCF component back to BizTalk.  Both could use HTTP.  Note that the response in both calls would just return some ack.

    in reply to: Dehydrated Orchestrations BY THE THOUSANDS #22117

    I think we have a throttling scenario here – either message publishing or delivery throttling – as a result, the BizTalk engine is dehydrating your orchestrations in an attempts to resolve the throttling condition.

    Can I suggest that you review the MSDN Article at: http://msdn.microsoft.com/en-us/library/aa559893.aspx and let us know what the following performance counters are reporting:

    BizTalk: Message Agent: Message delivery throttling state

    BizTalk: Message Agent: Message publishing throttling state

    Rgds, Nick.

    in reply to: Biztalk Branch edition #22115

    [quote user="Anonymous"]Ok, but the ONLY thing i need from Biztalk is HWS and Rule Engine. Theese are not included then?

    [/quote]

    If you are just looking for HWS and the BRE, any version of BizTalk maybe overkill for your solution. Have you considered some of the open-source BRE tools such as NXBRE (http://nxbre.wiki.sourceforge.net/) or Drools.Net (http://droolsdotnet.codehaus.org/) and possibly K2 for the workflow aspect?

    Nick.

    in reply to: Flat File Schema creation eliminating the field names #22114

    Mit,

    Take a look at http://www.eggheadcafe.com/conversation.aspx?messageid=29969468&threadid=29969468 which seems to be along similar lines to your problem.

    You may also be able to do something with an envelope schema for your header line as I presume you don’t want to include this line in any data?

    Nick.

    in reply to: Biztalk Branch edition #22112

    Does BizTalk branch edition include WCF adapters ?

    in reply to: Map multi occuring node to single occuring node #22109

    Looping functoid can only be used with multi occuring nodes. is n’t it?

    in reply to: Event Viewer #22107

    Hi

    Thanks for the reply.

    I checked the SDK Samples provided for Error Handling. They use InfoPath and the example seems to be very complex. Is there a simple exception handling example provided for Biztalk?

    Thanks in Advance

    Shoba

    in reply to: Using Multiple Receive Shapes in an Orchestration #22106

    Hi, Greg –

    The first table (the intermediate table) contains only var char data types for the data elements.  This is so we can retain the customer’s data just as it is sent to us and error codes are assigned as appropriate when invalid data is sent.  The validation is handled in a stored procedure that is used to load data to the SQL server database table.  We do not want to split up the file the customer sends us according to good & bad records.  If just one record in the file contains invalid or incomplete data, we want to send the entire file back to the customer with the error codes.  If all records in the file contain complete and valid data, then the data needs to be loaded to another table where processing outside of BizTalk will occur.  This table has different data types (dates, numeric, etc…).

    Once the validation on the incoming file has been completed, I need to read this intermediate table to see if any records contain errors.  If any errors exists, the entire data on this table needs to be sent back to the customer.  If all records are free from errors, then the data needs to be sent to the other table.

    I have tried both promoting the error code element and making it a distinguished field, so that I can determine what to do with the data, but I receive the following message:  “This node can occur potentially multiple times in the instance document.  Only nodes which are guaranteed to be unique can be promoted.”

    The only thing I could think of to do next was to just count the number of records in the intermediate table that contained a value in the error code column.  If the value was greater than 0, then I want to send the file back to the customer with the error codes attached, otherwise, send the data to the other table.  This scenario requires me to have a receive shape to count the number of records with error codes, and then a second receive shape that reads the data from the intermediate table to either send data back to the customer if any of it is bad, or send the data on the another table.  This is where I get into trouble.  I can get the count of the number of records that contained errors, but I don’t know how to proceed from there without having a second receive shape.

    I have also tried starting a second orchestration that begins with a receive shape to read the data from the intermediate table, but BizTalk throws an error that the orchestration that is being called can’t begin with a receive shape.

    I’m pretty new to BizTalk, so I haven’t figured out all the best practices for getting BizTalk to do what I need it to do.   Thanks for your patience and your help!

    Linda

    in reply to: External Functoid Helper Library #22105

    I found that if you update a functoid on a map to call a different external assembly method and you don’t click the reset button first it doesn’t always do a good job of removing the previous call’s XML within the .btm file. You still may have references to the previous assembly and if that assembly is still deployed then you might experience undersirable results.

Viewing 15 posts - 2,956 through 2,970 (of 9,648 total)