yes, text retrieved from websphere mq

remsy

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ruwan Linton
Sent: October 20, 2008 1:35 PM
To: [email protected]
Subject: Re: [esb-java-user] xslt transformation problem


Cool... I guess you are sending XML as a text...

Thanks,
Ruwan

Schmilinsky, Remsy wrote:
> Hi, The xsl worked when I declared a class mediator just before the xsl 
> mediator, which does the following:
>
> public boolean mediate(MessageContext mc) {
>    String msg = mc.getEnvelope().getBody().getFirstElement().getText();
>    OMElement payload = AXIOMUtil.stringToOM(msg);
>    PayloadHelper.setXMLPayload(mc, payload);
>    return true;
> }
>
> Remsy
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Ruwan Linton
> Sent: October 20, 2008 11:43 AM
> To: [email protected]
> Subject: Re: [esb-java-user] xslt transformation problem
>
>
> Hi Resmy,
>
> Can you please provide some more information about this?
>
>    1. Stack trace
>    2. XSLT that you are using
>    3. esb-log
>
> Thanks,
> Ruwan
>  
> Schmilinsky, Remsy wrote:
>   
>> Hi. is there a workaround for this error for the xslt mediator ? I noticed 
>> this has been reported.
>>
>> org.apache.axiom.om.OMException: 
>> com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '&' (code 
>> 38) in prolog; expected '<'
>>
>> thanks
>>
>> _______________________________________________
>> Esb-java-user mailing list
>> [email protected]
>> http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>>
>>   
>>     
>
>
> _______________________________________________
> Esb-java-user mailing list
> [email protected]
> http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>
> _______________________________________________
> Esb-java-user mailing list
> [email protected]
> http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>
>   


_______________________________________________
Esb-java-user mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user

_______________________________________________
Esb-java-user mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to