community-content

Forum Replies Created

Viewing 15 posts - 5,011 through 5,025 (of 9,648 total)
  • Author
    Posts
  • in reply to: Using Process.Start in an expression shape #19054

    Yep you are right. That is not really what I am after. I need to be able to call an external program from an orchestration – for example I want to run a bat file.

     What do you think?

    in reply to: Using Process.Start in an expression shape #19053

     Launching a GUI application like Internet Explorer from an orchestration is a bad idea for many reasons, but I’m hoping that’s not really what yo’re after 🙂

    Anyway, the reason you won’t see the IE window popup is because your orchestration runs inside a windows service that has no access to the interactive session (in other words, it “pops up” in a different place from your actual desktop you see). What exactly are you trying to accomplish?

    in reply to: Adding system date time through an expression shape. #19051

    HI Greg,

    Thats worked, thanks for all your help.

    in reply to: failed to deploy #19050

    Also make sure that you do not have any breakpoints set in an orchestration. Even if there are no orchestration instances running anymore, assemblies may remain loaded making it impossible to unload the associated assembly from the GAC.  This is also true for dependent assemblies.  

    in reply to: Web Service issue #19048

    When you make a web refrerence, the utility builds multi-part message types.  So when you build your WSRequest message, point it to the multipart type.

    It should show up in the messages to map, but it might have a suffix on the end.

    Neal Walters
    http://Biztalk-Training.com

    in reply to: Adding system date time through an expression shape. #19046

    If you are ultimately trying to get this:

    OrderResponse.LoadXml(System.String.Format(“<cXML timestamp=”2008-03-11T13:45:12″ payloadID='[blocked out]’><Response>hello</Response></cXML>“);

    Try this instead:

    OrderResponse.LoadXml(System.String.Format(“<cXML timestamp=\”” + System.String.Format(“{0:s}”, System.DateTime.Now) + “\” payloadID='[blocked out]’><Response>hello</Response></cXML>”);

     

    When converted into a string the quotes for timstamp=”” were missing. In order for a double quote to show up in a string you need to escape them with a \

    Let me know if this works. 

    in reply to: Adding system date time through an expression shape. #19043

    Hi Greg, Thanks for the reply.

    I now have the following..

    OrderResponse.LoadXml(System.String.Format(“<cXML timestamp=”)+ System.String.Format(“{0:s}”, System.DateTime.Now)+” payloadID='[blocked out]’><Response>hello</Response></cXML>”);

    I had to add System to the front of System.String.Format(“{0:s}”, as Biztalk didn’t like it without it, but I get the same error.. re-built the solution, deployed, re-started host instances, IIS, even the machine!

    in reply to: Need Help with Trivial Orchestration #19042

    You want to look at a feature called “Delivery Notification”.  What happens is that the Orchestration will wait for an Acknowledgement(success) or Non-Acknowledgement(failure) flag from the Messaging engine.  You will be able to “trap” this error as a DeliveryFailureException.  So if you get beyond this exception, you know it was a success.

     Check out my blog post for more info:

     http://kentweare.blogspot.com/2007/11/biztalk-delivery-notification.html

    in reply to: Adding system date time through an expression shape. #19039

    OrderResponse.LoadXml(System.String.Format(“<cXML
    timestamp=”)+System.DateTime.Now.ToString(“yyyy-MM-ddThh:mm:ss”)+”
    payloadID='[blocked
    out]’><Response>hello</Response></cXML>”);

    Should be:

     OrderResponse.LoadXml(System.String.Format(“<cXML
    timestamp=”)+String.Format(“{0:s}”, System.DateTime.Now)+”
    payloadID='[blocked
    out]’><Response>hello</Response></cXML>”);

     

    Check these links too:

    http://blog.stevex.net/index.php/string-formatting-in-csharp/ 

     http://msdn2.microsoft.com/en-us/library/1ksz8yb7.aspx

    BizTalk 2006 Recipes A Problem Solution Approach[Apress] – Also my favorite

    Pro BizTalk Server 2006 [Apress] – Another great book

     

    This forum is also extremely helpful when trying to solve problems. If I can’t find it in one of the above books I come here; great community of very knowledgeable, friendly people. 

    in reply to: schema issue #19034

    Hi,

    I face same problem when I was trying webservices first time.
    I hope you already defile request, response messages in Orchestration as web
    message type.

    Then use Assign Message to assigning value to web request message
    and then send it.

    Let me inform if it helps

    MAX

    in reply to: Need Help with Trivial Orchestration #19033

    First of all, this hardly seems like a trivial orchestration. 🙂

    So the hard part sounds like being able to trap that the FTP failed and then be able to recover from it. Your FTP request will be sent as part of a port which can be difficult to recover from. You might try putting all of the logic to do with FTP in a separate orchestration (in this case the child one) so that you can call the child orchestration from the parent orchestration and catch if the child orchestration failed. Then you would handle the email logic.

    By the way, you can use the SMTP adapter to send an email message.

    Thanks, 

    in reply to: schema issue #19032

    Some web services will not refer explicitly to a schema that governs the exchange of data. For these webservices your best bet is to try to access the web service through IE and to do the request in IE and then look at what is returned in the response. If the web service you are integrating with is a .NET one then you should see the response Xml on the screen. Copy this Xml into an Xml file that is part of your BizTalk project. Then you need to open the Xml file open and in Visual Studio you will see a menu called Xml. From this menu you can generate an instance of an Xml schema. This schema you can use as the target schema for your map.

    Thanks,

    in reply to: Troubble in namespace land #19030

    Note: 

    <b:reference targetNamespace=”http://SomePlace” /> is supposed to be

    <b:reference targetNamespace=”http://Test2” />

    I just made a misstake when I posted. The error is still the same, just need to change to the second line if you need to test this yourself.

     

    Dan 

Viewing 15 posts - 5,011 through 5,025 (of 9,648 total)