Skip to Content
avatar image
Former Member

How to do 2:1 transformation using XSLT in ccBPM?

Hi,

We have the following ccBPM defined:

      A    A    B   A/C   D    E    F
Start---R1---T1---S2---T2---S3---T3---S1---END 

R1: Receives Synch XML message A via plain HTTP adapter and opens S/A bridge.

T1: Transforms A into message B using XSLT

S2: Sends message B to a legacy system to do a lookup and gets response C

T2: Transforms A and C into D.

S3: Sends D to another legacy system synchronously and gets response E.

T3: Transforms E to the final response format F

S1: Sends F to the original requestor and close the S/A bridge.

We had created an XSLT style sheet which takes into

consideration of multi-mapping message structure (e.g.

ns0:Messages/ns0:Message1/A and Messages/Message2/C...)

For some reason, the integration process always fails at

Step T2. The only error message we got is:

<b>

Incorrect XML format after mapping: Message expected instead of Catalog

</b>

We went thru all the monitoring/trace tool and could not find any more info on the issue.

I'd really appreciate it if someone can explain the required steps

for designing and configuring n:1 XSLT transformation step.

Thanks in advance

-Simon

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jul 28, 2005 at 10:10 PM

    Hi,

    Did you test your Interface Map which contains your XSLT mapping in the IB test tool?Do you see any errors there?

    If yes, please post the full error message here.

    Regards,

    Sridhar

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 29, 2005 at 05:42 AM

    Hi Simon,

    probably ur XSL is producing a XML message what is not conform to the container. U should proof (for example with XML Spy) the result of ur local mapping result for validity. Use the XML-Schema (*.xsd) of ur container (abstr Interface resp Message-Type).

    Regards,

    Udo

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 29, 2005 at 07:47 AM

    Hi Simon,

    Check this link,

    Hope this helps

    Regards

    Vishnu

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 29, 2005 at 07:21 PM

    I tested the XSLT stylesheet successfully in both XMLSPY and IB.

    For some reason the stylesheet just does not work in ccBPM. I suspect it has something to do with namespace declaration.

    The transformation step keeps throwing the <b>

    CX_SY_RANGE_OUT_OF_BOUNDS </b> exception and produces no output.

    Does anyone have a sample stylesheet which does 2:1 transformation

    and works in ccBMP?

    -Simon

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Problem solved. Did not realize that the XSL has to generate <Messages/Message1> wrapping element even for a single output message.