BizTalk Utilities Xselerator XSLT IDE


Forum main page

Most active member

Login page
Register
Log out

Search page


View our event calendar
Add general event such as an upcoming software release or conference
View all birthdays

Public image gallery
Upload your images in your profile

Profile editing page
Subscription list page
Address book page

Member list page
View the most active member
User groups listing

Private message page

TopXML Discussion Forum TopXML Discussion Forum

Forums  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

Naming the file in mesaging port...

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [BizTalk Utilities] >> BizTalk 2002 Utilities and Adapters >> Naming the file in mesaging port... Page: [1]
Login
Message << Older Topic   Newer Topic >>
Naming the file in mesaging port... - 5 November 2004   
P_Presland

 

Posts: 8
Score: 0
Joined: 5 November 2004
Status: offline
I am just getting ready to use the Biztalk 2002 utilities so that I am able to send email messages via Biztalk.
I need to name the file created through Biztalk with a field value from the document.

Taking the following path: -
Messaging port properties
Destination Organisation
Primary Transport
Address
I am able to set what I want to call the file as it is created i.e.
file://C:\Documents and setting\%document_name%%tracking_Id%.xml

I know that this %document_name% refers to the header of the document specification
But what I need to do is refer to a particular field within the document.
Does anyone know how to do this?
Post #: 1
RE: Naming the file in mesaging port... - 6 November 2004   
Pieter

 

Posts: 615
Score: 2
Joined: 8 March 2004
Status: offline
Hallo. Have a look at the BizTalk Utilities Help File BizTalk Utilities/Application Integration Components/Standard Features.

There is a section discussing the usage of the document function.

Cheers

_____________________________

Need a BizTalk Adapter? Visit http://www.topxml.com/biztalkutilities and check out the latest BizTalk Adapters.

(in reply to P_Presland)
Post #: 2
RE: Naming the file in mesaging port... - 8 November 2004   
P_Presland

 

Posts: 8
Score: 0
Joined: 5 November 2004
Status: offline
Thanks very much for your quick reply.
I will take a look in the help files

(in reply to Pieter)
Post #: 3
RE: Naming the file in mesaging port... - 26 November 2004   
P_Presland

 

Posts: 8
Score: 0
Joined: 5 November 2004
Status: offline
Firstly, thank you very much with all the help via email to resolve the installation problem of Biztalk Utilities.
I have now installed biztalk utilities and i am setting up the Document Parameter Replacement.
I have a Messaging port which i need to enter the xpath expression into. From this messaging port i have 3 channels all which use there own map. The maps have differnet Source specification on them but the same Destination Specification.
Could you give me an example of what i should be entering into the Primary Transport Address.
Thanks again for all you help so far

(in reply to P_Presland)
Post #: 4
RE: Naming the file in mesaging port... - 28 November 2004   
Pieter

 

Posts: 615
Score: 2
Joined: 8 March 2004
Status: offline
You would have to select Application Integration Component as the Primary Transport and then select BTSUtils.FileAIC from the list.

_____________________________

Need a BizTalk Adapter? Visit http://www.topxml.com/biztalkutilities and check out the latest BizTalk Adapters.

(in reply to P_Presland)
Post #: 5
RE: Naming the file in mesaging port... - 29 November 2004   
P_Presland

 

Posts: 8
Score: 0
Joined: 5 November 2004
Status: offline
How do i go about registering the custom components. I have read the help files but i dont really understand what they are saying.

(in reply to Pieter)
Post #: 6
RE: Naming the file in mesaging port... - 29 November 2004   
Pieter

 

Posts: 615
Score: 2
Joined: 8 March 2004
Status: offline
The AICs are installed with the product installation. Do you see them within the Application Integration List?

_____________________________

Need a BizTalk Adapter? Visit http://www.topxml.com/biztalkutilities and check out the latest BizTalk Adapters.

(in reply to Pieter)
Post #: 7
RE: Naming the file in mesaging port... - 29 November 2004   
P_Presland

 

Posts: 8
Score: 0
Joined: 5 November 2004
Status: offline
I have now selected the Application Integration Component as the Primary Transport and then select BTSUtils.FileAIC from the list.
I am now trying to set the location and file name.
I have gone into the Advanced Configuration of the Channel Properties, and the properties of the primary transport component.


I am entering in the destination file name as: -
d:\temp\%document("StartOfFile/Header/HeaderInfo[CustOrdRef]")%.csv

But this is erroring:-
Event Type: Warning
Event Source: BizTalk Server
Event Category: Document Processing
Event ID: 324
Date: 29/11/2004
Time: 14:51:16
User: N/A
Computer: ROSCO
Description:
An error occurred in BizTalk Server.

Details:
------------------------------
[0x80131500] Illegal characters in path.
at System.IO.Path.GetFileName(String path)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.IO.StreamWriter.CreateFile(String path, Boolean append)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path)
at BTSUtils.FileAIC.Execute(IDictionary Dictionary)
at BTSUtils.Core.Base.AICBase.Microsoft.CommerceServer.Interop.IPipelineComponent.Execute(Object pdispOrder, Object pdispContext, Int32 lFlags)
[0x0159] The server encountered a transport error while processing the messaging port "Port To PAT@ts1", which uses a transport component with a ProgID of "BTSUtils.FileAIC".

[0x012b] A transmission attempt failed

Also should i be using a path from my source definition or the destination definition?

< Message edited by P_Presland -- 29 November 2004 >

(in reply to Pieter)
Post #: 8
RE: Naming the file in mesaging port... - 1 December 2004   
Pieter

 

Posts: 615
Score: 2
Joined: 8 March 2004
Status: offline
You should be using the path for your destination Definition. Can you maybe mail us a sample of the document so that we can check your XPath Expression?

_____________________________

Need a BizTalk Adapter? Visit http://www.topxml.com/biztalkutilities and check out the latest BizTalk Adapters.

(in reply to P_Presland)
Post #: 9
Page:   [1]
All Forums >> [BizTalk Utilities] >> BizTalk 2002 Utilities and Adapters >> Naming the file in mesaging port... Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



Email TopXML

Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.203