community-content

Forum Replies Created

Viewing 15 posts - 4,216 through 4,230 (of 9,648 total)
  • Author
    Posts
  • in reply to: Best way to handle exception #20158

     Hi Nick,

    Thanks for ur kind support now its working fine

    I just redeploy my whole application and now its working fine.

    I need one suggestion. My client want some report. In that they want get whole file transformation information. Like:

    Biztalk file pickup date and time,  Is file successfully send or not , FTP Uploaded time , file size , file name  etc..

    can you please suggest me how can i achive this reports.

    Regards,

    – Dhaval M.

    in reply to: Best way to handle exception #20157

     In HAT i used Orchesration Debugger to show the original execution flow of orchestration and i was stunned to see this flow.

    could you plz help me to figure out this problem.

    Regards,

    Dhaval M.

    in reply to: Best way to handle exception #20156

     Hi Nick,

    Thank you very much to take intrest in my problem.

    I have put tarminate shape in CATCH EXCEPTION block itself. Following is the design my orchestration.

    1. Receive file from local (Get XML) 

    2. Map some other schema 

    3. Start scope -> (withing scope ) send FTP

    4. CATCH EXCEPTION -> Send to local folder using SEND shape not expression shape -> trerminate shape

    5. catch exception and scope block is over 

    6 send that file to Local Processed folder. ( Only execute if file uploaded on FTP successfully )

    7. Rename one local file Using Expression shape. (If file not exist then catch exception and terminate instance successfully)

    I need above flow.

    but i just show the message execution flow in HAT report. Below is the flow.

    1. Receive file from local (Get XML) 

    2. Map some other schema 

    3. Start scope -> (withing scope ) send FTP

    4 send that file to Local “Processed” folder. ( Only execute if file uploaded on FTP successfully )

    5. CATCH EXCEPTION -> Send to local folder using SEND shape -> trerminate shape

    6. catch exception and scope block is over 

    I dont know why the flow execute unorderly while my “PROCESSED” Folder is after  scope and catch exception block.

    but it execute first and then flow goes to catch block.

    Regards,

    – Dhaval M

    in reply to: BizTalk Namespace Issue #20155

    That’s just living too dangerously for me!!

    😉

    in reply to: Best way to handle exception #20154

    Dhava,

    Your terminate shape should be within the Exception Handler for your Delivery Notification exception.

    As for the saving of the local file, I would suggest using a Send Port and a FILE adapter to save the file locally, rather than trying to save it using C# in an Expression Shape.

    If this doesn’t answer your question, could you elaborate on the points you’re struggling with?

    Nick.

    in reply to: CreateXMLInstance for generating wcf message #20153

    Jeff,

    From what I remember, DocumentSpec basically wraps a compiled schema, which is one or more types. When you compile a schema with multiple root nodes, each root_node becomes an actual type (a nested class, actually). You should be able to make this work by specifying as the schema name the right name: Full Namespace.SchemaTypeName+RootTypeName.

    Seems to work fine for me in a simple test I just ran.

    in reply to: Best way to handle exception #20152

    Hi Nick,

    I appreciate your suggestion and its work fine but stil i face one problem.

    Modified orchestration:

    1. receive message

    2. Start scope -> Send to FTP -> Catch Exception -> send to local -> terminate shape

    3. If file send successfully to FTP then flowcome out from scope and send to other FTP server.

    But Currente flow: if first FTP is down then flow go to catch exception shape and send file to local folder but flow dont get terminate from terminate shape while orchestration upload file to other FTP server.

    I want that process completed from terminate shape. Flow should not go ahead.

    One more help i need, i have one expression shape (within i rename my local file ) if file is not there then which kind of exception ll be genereate.

    Regards,

    – Dhaval M.

    in reply to: BizTalk Namespace Issue #20151

    This kind of thing happens all the time, unfortunately. The odx compiler (which really translates the code into C# and passes it to csc.exe) isn’t very smart sometimes about how the generated code references namespace, so it ends up with ambiguous references to types. If you want to see it get really in trouble, name something with a namespace containing “System” 🙂

    in reply to: BizTAlk WCF-Net.Tcp Adapter Consumption issue #20150

    Thanks Russell

    The techniques you told me it is really useful I applied all.

    Response message is coming fine in the File. But again showing null at the client with no exception.

     

    After enable the WCF Tracing I found exception in the tracing data i.e.

     

    The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was ‘10675199.02:48:05.4775807’

     

    System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

     

     

     

    Even I tried after increasing the timeouts at the client and server side but same exception in the tracing.

     

    //timeouts

    TimeSpan ts = new TimeSpan(0, 5, 0);

    binding.CloseTimeout = ts;

    binding.OpenTimeout = ts;

    binding.PortSharingEnabled = true;

    binding.ReceiveTimeout = ts;

    binding.SendTimeout = ts;

     

    //my uri is

    net.tcp://localhost:8899/myservice

     

     

    But I am not getting why client and biztalk both remain calm doesn’t throw any exception or suspended the message.

     

    Kindly can u tell me what steps I have to take to resolve this exception.

     

    Thanks

    Atif Suleman

     

     

    in reply to: Integrating SAP with BizTalk #20149

     You have a few options, but part of it depends upon your version of SAP as well.  If you are running ECC 6.0 then it is possible to start using some of SAP’s provided web services over SOAP 1.1 Basic profile.  From what I have been told by SAP, if you need to get into reliable messaging (or the WSE stack) then you should look into connecting to SAP via SAP XI(PI).

    Other options include the SAP adapter(s).  With BizTalk 2006 R1 you have an adapter based upon the .Net Connector where as with BizTalk Server 2006 R2 (and above) you can use the WCF based SAP LOB Adapter.  Within these adapters you can call BAPIs, RFCs or IDocs.

    At my shop we integrate primarily using IDocs, but every organization is different.

    in reply to: BizTalk Server 2004 Installation Woes!! #20148

    And SQL Server is running?

    Seems like a bit of an odd error if you have installed the correct SP. Its a bit difficult remembering back to the good old days of 2004!

    Nick.

    in reply to: Best way to handle exception #20147

    Dhaval,

    I think you should be using Delivery Notification on your Send Ports here; catch a NACK when the FTP send fails and go to your exception block, then save the message locally.

    HTH, Nick.

    in reply to: What is the best place to define constants in biztalk #20146

    Sidhu,

    There are a number of places to store your config to use in a map (see Mike Stephensons blog post on the subject – Where do I store my custom configuration for a BizTalk solution).

    If you’re after a map only solution I would suggest looking at using some inline C# or calling an external assembly to get your config data.

    I personally don’t like going externally in maps (unless I absolutely have to), so I would suggest populating a config Xml message in your orchestration (presuming you’re using an orchestration) via a C# Helper function and passing that config message into your map, along with the message to be mapped. If you’re calling the map several times in the same orchestration this approach will be much quicker as it will only read the config from your config store once – a sort of poor-man’s cache 😉

    Hope this helps, Nick,

     

    in reply to: Issue with AS2 Communication #20144

    Thanks for your response

    I used the same filter to not consider 0kb file for my actual payload process. The problem with that is, I ended up with so many suspended(resumable) messages and full of event logs saying there no port subscribed for these messages.

    Finally, I had to create a send port subscribing to the 0kb files and routing them to a folder in the server.

    Do we have an option in BizTalk with which we can simply delete messages matching with a particular subscription, without storing any where?

    in reply to: BizTalk Server 2004 Installation Woes!! #20142

    Yep.

Viewing 15 posts - 4,216 through 4,230 (of 9,648 total)