BizTalk Server General - Problem with EDI X12 Envelope

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > February 2004 > Problem with EDI X12 Envelope





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problem with EDI X12 Envelope
Guess Nospam

2004-02-08, 8:38 am

I am having a problem generating a x12 997 functional acknowledgement using
a receipt channel in BizTalk2002. I would really appreciate any insight
into how I might resolve the problem. Below is a description of my problem:

I used the "EDI and Receipts" example from online help as a guide. I don't
think I have missed any steps.

If I set my receipt port to no envelope I don't get an error. If I use my
X12 envelope on my outgoing receipt port I get an error in the application
event log and the document sticks in the suspended queue.

The event log displays the following:
============
Event Type: Error
Event Source: BizTalk Server
Event Category: Document Processing
Event ID: 324
Date: 1/27/2004
Time: 12:12:10 PM
User: N/A
Computer: RTPI
Description:
An error occurred in BizTalk Server.

Details:
------------------------------
[0x1807] The "EQS997" document is missing the entire property set that is
required for this serializer to run.

[0x0156] The server could not finish processing messaging port
"ReceiptPortToXYZ".

[0x1730] Suspended Queue ID: "{E8F4380C-32E2-4E65-8674-77B18B37B594}"

[0x180b] The serializer could not finish processing. See the following
messages for details.
============

If I use no envelope I get the following document:
<?xml version="1.0" encoding="UTF-16"?>
<X12_4010_997><AK1 AK101="IN" AK102="1"/><AK2Loop1><AK2 AK201="810"
AK202="0005"/><AK5 AK501="A" AK502="" AK503="" AK504="" AK505=""
AK506=""/></AK2Loop1><AK2Loop1><AK2 AK201="810" AK202="0004"/><AK5 AK501="A"
AK502="" AK503="" AK504="" AK505="" AK506=""/></AK2Loop1><AK2Loop1><AK2
AK201="810" AK202="0003"/><AK5 AK501="A" AK502="" AK503="" AK504="" AK505=""
AK506=""/></AK2Loop1><AK2Loop1><AK2 AK201="810" AK202="0002"/><AK5 AK501="A"
AK502="" AK503="" AK504="" AK505="" AK506=""/></AK2Loop1><AK9 AK901="A"
AK902="4" AK903="4" AK904="4" AK905="" AK906="" AK907="" AK908=""
AK909=""/></X12_4010_997>

Any assistance would be greatly appreciated.






Guess Nospam

2004-02-08, 8:38 am

The XML is of the 997. It was mapped from the CanonicalReciept to the
X12-4010-997 using the CanonicalReceiptTo4010-997 map by the reciept channel
with the port envelope set to (none).

"Michael Krok" <anonymous@discussions.microsoft.com> wrote in message
news:4e7001c3e519$b7b85580$a301280a@phx.gbl...[color=blue]
> What does the document look loke when you don't specify
> an envelope? Is it the XML of the 997 or the BTS
> Connonical?
>
> Michael Krok
> acknowledgement using
> appreciate any insight
> description of my problem:
> as a guide. I don't
> error. If I use my
> in the application
> property set that is
> messaging port
> 77B18B37B594}"
> See the following
> AK201="810"
> AK505=""
> AK202="0004"/><AK5 AK501="A"
> AK506=""/></AK2Loop1><AK2Loop1><AK2
> AK503="" AK504="" AK505=""
> AK202="0002"/><AK5 AK501="A"
> AK506=""/></AK2Loop1><AK9 AK901="A"
> AK908=""


Guess Nospam

2004-02-08, 8:38 am

I found the following information in the online help that seems to have
resolved my problem:

Using Selection Criteria with Outbound Documents
To process an outbound X12 or EDIFACT document, BizTalk Server 2002 places
each document into a valid envelope of the appropriate format. To create the
envelope, the server inserts the value data of the selection criteria into
the corresponding fields of the group and message headers. To build the
headers, the server uses the selection criteria values contained in the
outbound document definition for the channel.

For example, suppose that you create a document definition that has the
name-value pair of functional_identifier/ORDERS as one of its selection
criteria. If you then use this as the outbound document definition in a
channel, the value of the group header field that corresponds with the
selection criteria named functional_identifier is set to ORDERS in the
envelope header.

For BizTalk Server 2002 to insert selection criteria values to the
corresponding header elements, you must type the selection criteria names
exactly as shown in the following tables.

X12 header elements

Name Requirement GS element
functional_identifier Mandatory GS01
application_sender_code Mandatory GS02
application_receiver_code Mandatory GS03
standards_version Mandatory GS08



"Guess Nospam" <guess@nospam.ha> wrote in message
news:%23I2CL2R5DHA.1592@TK2MSFTNGP10.phx.gbl...
> The XML is of the 997. It was mapped from the CanonicalReciept to the
> X12-4010-997 using the CanonicalReceiptTo4010-997 map by the reciept

channel
> with the port envelope set to (none).
>
> "Michael Krok" <anonymous@discussions.microsoft.com> wrote in message
> news:4e7001c3e519$b7b85580$a301280a@phx.gbl...
>
>



Michael Krok

2004-02-08, 8:38 am

Good work,

That was actually going to be my first suggestion - set
the selection criteria. Always stick with your gut
reaction.

Mike
>-----Original Message-----
>I found the following information in the online help

that seems to have
>resolved my problem:
>
>Using Selection Criteria with Outbound Documents
>To process an outbound X12 or EDIFACT document, BizTalk

Server 2002 places
>each document into a valid envelope of the appropriate

format. To create the
>envelope, the server inserts the value data of the

selection criteria into
>the corresponding fields of the group and message

headers. To build the
>headers, the server uses the selection criteria values

contained in the
>outbound document definition for the channel.
>
>For example, suppose that you create a document

definition that has the
>name-value pair of functional_identifier/ORDERS as one

of its selection
>criteria. If you then use this as the outbound document

definition in a
>channel, the value of the group header field that

corresponds with the
>selection criteria named functional_identifier is set to

ORDERS in the
>envelope header.
>
>For BizTalk Server 2002 to insert selection criteria

values to the
>corresponding header elements, you must type the

selection criteria names
>exactly as shown in the following tables.
>
>X12 header elements
>
> Name Requirement GS element
> functional_identifier Mandatory GS01
> application_sender_code Mandatory GS02
> application_receiver_code Mandatory GS03
> standards_version Mandatory GS08
>
>
>
>"Guess Nospam" <guess@nospam.ha> wrote in message
>news:%23I2CL2R5DHA.1592@TK2MSFTNGP10.phx.gbl...
CanonicalReciept to the[color=blue]
by the reciept[color=blue]
>channel
wrote in message[color=blue]
specify[color=blue]
functional[color=blue]
help[color=blue]
an[color=blue]
error[color=blue]
queue.[color=blue]
entire[color=blue]
8674-[color=blue]
processing.[color=blue]
AK102="1"/><AK2Loop1><AK2[color=blue]
AK504=""[color=blue]
AK907=""[color=blue]
>
>
>.
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com