xsl transfromation using cxf transport protocol

View: New views
3 Messages — Rating Filter:   Alert me  

xsl transfromation using cxf transport protocol

by srimori :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi
 i am doing xsl transfromation using cxf outboundend point in mule2.2
my mule config file is:

<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.2"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:spring="http://www.springframework.org/schema/beans"
       xmlns:soap="http://www.mulesource.org/schema/mule/soap/2.2"
       xmlns:cxf="http://www.mulesource.org/schema/mule/cxf/2.2"
       xmlns:stdio="http://www.mulesource.org/schema/mule/stdio/2.2"
       xmlns:mulexml="http://www.mulesource.org/schema/mule/xml/2.2"
       xmlns:vm="http://www.mulesource.org/schema/mule/vm/2.2"
       xmlns:file="http://www.mulesource.org/schema/mule/file/2.2"
       xmlns:http="http://www.mulesource.org/schema/mule/http/2.2"
    xsi:schemaLocation="
       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
       http://www.mulesource.org/schema/mule/core/2.2 http://www.mulesource.org/schema/mule/core/2.2/mule.xsd
       http://www.mulesource.org/schema/mule/soap/2.2 http://www.mulesource.org/schema/mule/soap/2.2/mule-soap.xsd
       http://www.mulesource.org/schema/mule/stdio/2.2 http://www.mulesource.org/schema/mule/stdio/2.2/mule-stdio.xsd
       http://www.mulesource.org/schema/mule/xml/2.2 http://www.mulesource.org/schema/mule/xml/2.2/mule-xml.xsd
       http://www.mulesource.org/schema/mule/vm/2.2 http://www.mulesource.org/schema/mule/vm/2.2/mule-vm.xsd
       http://www.mulesource.org/schema/mule/file/2.2 http://www.mulesource.org/schema/mule/file/2.2/mule-file.xsd
       http://www.mulesource.org/schema/mule/http/2.2 http://www.mulesource.org/schema/mule/http/2.2/mule-http.xsd
       http://www.mulesource.org/schema/mule/cxf/2.2 http://www.mulesource.org/schema/mule/cxf/2.2/mule-cxf.xsd">

    <description>
        This config builds a JAX-WS service with CXF.
       
        We use a "serviceClass" which is a JAX-WS interface we've defined. It allows us
        to ensure that the WSDL is only generated for the "echo" method (as opposed
        to all the other methods on the EchoComponent). This keeps our WSDL nice
        in clean - but it is not required.

        To invoke the EchoUMO hit the following URL -
            http://localhost:65082/services/EchoUMO/echo/text/hello
       
        To view the WSDL for the EchoUMO service go to -
            http://localhost:65082/services/EchoUMO?wsdl
    </description>

<file:connector name="FileConnector"
                    streaming="false"
                    autoDelete="false"
                    pollingFrequency="1000">
         <file:expression-filename-parser/>
    </file:connector>



<mulexml:xslt-transformer name="xslt" >
 <mulexml:xslt-text>
       <xsl:stylesheet version="1.0" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
                xmlns:ns9="http://www.tcs.com/SoFT/CDM/1.0/Product"
                xmlns:ns10="http://www.tcs.com/SoFT/CDM/1.0/Custom"
                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
                xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
                xmlns:ns0="http://www.w3.org/2001/XMLSchema"
                xmlns:ns2="http://www.tcs.com/Telecom//SoFT_MsgModels_v1.0"
                xmlns:tns="BRMCUSTOMERSERVICE"
                xmlns:ns8="http://www.tcs.com/SoFT/CDM/1.0/Service"
                xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
                xmlns:ns7="http://www.tcs.com/SoFT/CDM/1.0/Enterprise"
                xmlns:ora="http://schemas.oracle.com/xpath/extension"
                xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
                xmlns:ns4="http://www.tcs.com/SoFT/CDM/1.0/Resource"
                xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
                xmlns:ns1="http://www.tcs.com/SoFT/CDM/1.0/Customer"
                xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
                xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
                xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:ns3="http://SoFT_Services_v1.0/ManageBillingCustomerAccount"
                xmlns:ns5="http://www.tcs.com/SoFT/CDM/1.0/Common"
                xmlns:ns6="http://www.tcs.com/SoFT/CDM/1.0/MarketSales"
                xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
                xmlns:ns="http://xmlns.oracle.com/BRM/schemas/BusinessOpcodes"
                exclude-result-prefixes="xsl ns9 ns10 wsdl ns0 ns2 ns8 ns7 ns4 ns1 ns3 ns5 ns6 mime soap12 tns soap ns ehdr xp20 ora orcl bpws hwf xref ids">
  <xsl:template match="/">
   <xsl:element name="ns:PCM_OP_CUST_SET_STATUS_inputFlist">
            <xsl:element name="ns:POID">
                <xsl:value-of select="/ns2:BillingCustomerAccountRequestMessage/ns1:CustomerAccountConfigurationOrderItem/ns1:CustomerAccount/ns1:CustomerId"/>
            </xsl:element>
            <xsl:element name="ns:PROGRAM_NAME">
               <xsl:text disable-output-escaping="no">Customer Center</xsl:text>
            </xsl:element>
            <xsl:element name="ns:STATUSES">
                <xsl:element name="ns:STATUS">
                    <xsl:text disable-output-escaping="no">10100</xsl:text>
                </xsl:element>
                <xsl:element name="ns:STATUS_FLAGS">
                    <xsl:text disable-output-escaping="no">0</xsl:text>
                </xsl:element>
            </xsl:element>
        </xsl:element>
   </xsl:template>
  </xsl:stylesheet>
       
 </mulexml:xslt-text>
</mulexml:xslt-transformer>



<model name="myModel">
<service name="CxfTransformationService">
    <inbound>
       <file:inbound-endpoint path="./xml" transformer-refs="xslt" />
    </inbound>
    <outbound>
        <pass-through-router>
        <cxf:outbound-endpoint address="http://localhost:63081/services/CxfTransformationService"
        proxy="true"
       
        />
           </pass-through-router>
    </outbound>
</service>


</model>
   
</mule>



and i am getting the following exception:
ERROR 2009-10-20 15:12:23,428 [CxfTransformationService.5] org.mule.DefaultExceptionStrategy:
********************************************************************************
Message               : Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=http://localhost:63081/services/CxfTransformationService, connector=HttpConnector{this=40d611, started=true, initialised=true, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[http], serviceOverrides=null}, transformer=[ObjectToHttpClientMethodRequest{this=11b50a1, name='ObjectToHttpMethod', ignoreBadInput=false, returnClass=interface org.apache.commons.httpclient.HttpMethod, sourceTypes=[interface org.mule.api.MuleMessage, class [B, class java.lang.String, class java.io.InputStream, interface org.mule.api.transport.OutputHandler, class org.mule.transport.NullPayload]}], name='endpoint.http.localhost.63081.services.CxfTransformationService', properties={}, transactionConfig=Transaction{factory=null, action=NEVER, timeout=0}, filter=null, deleteUnacceptedMessages=false, securityFilter=null, synchronous=false, initialState=started, responseTimeout=10000, endpointEncoding=UTF-8}. Message payload is of type: PostMethod
Type                  : org.mule.api.transport.DispatchException
Code                  : MULE_ERROR-42999
Payload               : org.apache.commons.httpclient.methods.PostMethod@1bab2c3
JavaDoc               : http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transport/DispatchException.html
********************************************************************************
Exception stack is:
1. Connection refused: connect (java.net.ConnectException)
  java.net.PlainSocketImpl:-2 (null)
2. Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=http://localhost:63081/services/CxfTransformationService, connector=HttpConnector{this=40d611, started=true, initialised=true, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[http], serviceOverrides=null}, transformer=[ObjectToHttpClientMethodRequest{this=11b50a1, name='ObjectToHttpMethod', ignoreBadInput=false, returnClass=interface org.apache.commons.httpclient.HttpMethod, sourceTypes=[interface org.mule.api.MuleMessage, class [B, class java.lang.String, class java.io.InputStream, interface org.mule.api.transport.OutputHandler, class org.mule.transport.NullPayload]}], name='endpoint.http.localhost.63081.services.CxfTransformationService', properties={}, transactionConfig=Transaction{factory=null, action=NEVER, timeout=0}, filter=null, deleteUnacceptedMessages=false, securityFilter=null, synchronous=false, initialState=started, responseTimeout=10000, endpointEncoding=UTF-8}. Message payload is of type: PostMethod (org.mule.api.transport.DispatchException)
  org.mule.transport.http.HttpClientMessageDispatcher:127 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transport/DispatchException.html)
********************************************************************************
Root Exception stack trace:
java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)

can anybody please help me to resolve this issuse
thanksin advance
Srikanth Morishetti

 

Re: xsl transfromation using cxf transport protocol

by Mike Carr-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Your exception is says it all:

"Connection refused: connect (java.net.ConnectException) java.net.PlainSocketImpl:-2 (null) Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=http://localhost:63081/services/CxfTransformationService"

Is the service at URL http://localhost:63081/services/CxfTransformationService running? How have you implemented the above service?

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: xsl transfromation using cxf transport protocol

by srimori :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Pace,
thanks for your replay for this issuse.
I have chnage my config file to do this transformation and
getting exception while converting payload on cxf end point like:
Unable to convert class org.mule.transport.cxf.transport.MuleUniversalConduit$2 to XMLStreamReader. (org.mule.api.transformer.TransformerException)

this is very urgent please give me any suggestion to resolve this issues
my config file is:-
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:spring="http://www.springframework.org/schema/beans"
xmlns:soap="http://www.mulesource.org/schema/mule/soap/2.2"
xmlns:cxf="http://www.mulesource.org/schema/mule/cxf/2.2"
xmlns:stdio="http://www.mulesource.org/schema/mule/stdio/2.2"
xmlns:mulexml="http://www.mulesource.org/schema/mule/xml/2.2"
xmlns:vm="http://www.mulesource.org/schema/mule/vm/2.2"
xmlns:file="http://www.mulesource.org/schema/mule/file/2.2"
xmlns:http="http://www.mulesource.org/schema/mule/http/2.2"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.mulesource.org/schema/mule/core/2.2 http://www.mulesource.org/schema/mule/core/2.2/mule.xsd
http://www.mulesource.org/schema/mule/soap/2.2 http://www.mulesource.org/schema/mule/soap/2.2/mule-soap.xsd
http://www.mulesource.org/schema/mule/stdio/2.2 http://www.mulesource.org/schema/mule/stdio/2.2/mule-stdio.xsd
http://www.mulesource.org/schema/mule/xml/2.2 http://www.mulesource.org/schema/mule/xml/2.2/mule-xml.xsd
http://www.mulesource.org/schema/mule/vm/2.2 http://www.mulesource.org/schema/mule/vm/2.2/mule-vm.xsd
http://www.mulesource.org/schema/mule/file/2.2 http://www.mulesource.org/schema/mule/file/2.2/mule-file.xsd
http://www.mulesource.org/schema/mule/http/2.2 http://www.mulesource.org/schema/mule/http/2.2/mule-http.xsd
http://www.mulesource.org/schema/mule/cxf/2.2 http://www.mulesource.org/schema/mule/cxf/2.2/mule-cxf.xsd">

<description>
This config builds a JAX-WS service with CXF.

We use a "serviceClass" which is a JAX-WS interface we've defined. It allows us
to ensure that the WSDL is only generated for the "echo" method (as opposed
to all the other methods on the EchoComponent). This keeps our WSDL nice
in clean - but it is not required.

To invoke the EchoUMO hit the following URL -
http://localhost:65082/services/EchoUMO/echo/text/hello


To view the WSDL for the EchoUMO service go to -
http://localhost:65082/services/EchoUMO?wsdl
</description>

<file:connector name="FileConnector"
streaming="false"
autoDelete="false"
moveToPattern="${SYSTIME}.xml"


<file:expression-filename-parser/>
</file:connector>


<mulexml:xslt-transformer name="xslt" returnClass="org.w3c.dom.Document">
<mulexml:xslt-text>
<xsl:stylesheet version="1.0" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:ns9="http://www.tcs.com/SoFT/CDM/1.0/Product"
xmlns:ns10="http://www.tcs.com/SoFT/CDM/1.0/Custom"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:ns0="http://www.w3.org/2001/XMLSchema"
xmlns:ns2="http://www.tcs.com/Telecom//SoFT_MsgModels_v1.0"
xmlns:tns="BRMCUSTOMERSERVICE"
xmlns:ns8="http://www.tcs.com/SoFT/CDM/1.0/Service"
xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:ns7="http://www.tcs.com/SoFT/CDM/1.0/Enterprise"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
xmlns:ns4="http://www.tcs.com/SoFT/CDM/1.0/Resource"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:ns1="http://www.tcs.com/SoFT/CDM/1.0/Customer"
xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ns3="http://SoFT_Services_v1.0/ManageBillingCustomerAccount"
xmlns:ns5="http://www.tcs.com/SoFT/CDM/1.0/Common"
xmlns:ns6="http://www.tcs.com/SoFT/CDM/1.0/MarketSales"
xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
xmlns:ns="http://xmlns.oracle.com/BRM/schemas/BusinessOpcodes"
exclude-result-prefixes="xsl ns9 ns10 wsdl ns0 ns2 ns8 ns7 ns4 ns1 ns3 ns5 ns6 mime soap12 tns soap ns ehdr xp20 ora orcl bpws hwf xref ids">
<xsl:template match="/">
<xsl:element name="ns:PCM_OP_CUST_SET_STATUS_inputFlist">
<xsl:element name="ns:POID">
<xsl:value-of select="/ns2:BillingCustomerAccountRequestMessage/ns1:CustomerAccountConfigurationOrderItem/ns1:CustomerAccount/ns1:CustomerId"/>
</xsl:element>
<xsl:element name="ns:PROGRAM_NAME">
<xsl:text disable-output-escaping="no">Customer Center</xsl:text>
</xsl:element>
<xsl:element name="ns:STATUSES">
<xsl:element name="ns:STATUS">
<xsl:text disable-output-escaping="no">10100</xsl:text>
</xsl:element>
<xsl:element name="ns:STATUS_FLAGS">
<xsl:text disable-output-escaping="no">0</xsl:text>
</xsl:element>
</xsl:element>
</xsl:element>
</xsl:template>
</xsl:stylesheet>


</mulexml:xslt-text>
</mulexml:xslt-transformer>
<mulexml:xml-to-dom-transformer name="xmlToDom" returnClass="org.w3c.dom.Document" />
<mulexml:xml-to-object-transformer name="XmlToObject" />
<mulexml:dom-to-xml-transformer name="DomtoXml" returnClass="java.lang.String"/>
<custom-transformer name="XmlToXSR" class="org.mule.module.xml.transformer.XmlToXMLStreamReader"/>
<byte-array-to-string-transformer name="byteArrayToString" />
<string-to-byte-array-transformer name="StringArrayToByte" />
<model name="myModel">
<service name="CxfTransformationService">
<inbound>
<file:inbound-endpoint path="./xml" transformer-refs="xslt" />
<forwarding-router/>
</inbound>
<outbound>
<pass-through-router>
<cxf:outbound-endpoint address="http://localhost:63081/services/CxfTransformationService"
proxy="true"
synchronous="false"
transformer-refs="XmlToXSR"
/>
</pass-through-router>

</outbound>
</service>


</model>


</mule>

and my exception is as follows:

INFO 2009-10-27 12:48:19,134 http://FileConnector.receiver.1 org.mule.transport.file.FileMessageReceiver: Lock obtained on file: C:\Mule\examples\CxfTransformation\xml\mysample.xml
Oct 27, 2009 12:48:19 PM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
INFO: Creating Service {http://support.cxf.transport.mule.org/}ProxyService from class org.mule.transport.cxf.support.ProxyService
INFO 2009-10-27 12:48:19,665 http://connector.cxf.0.dispatcher.1 org.mule.transport.cxf.CxfMessageDispatcher: Connected: endpoint.outbound.http://localhost:63081/services/CxfTransformationService
Warning: at xsl:stylesheet on line 1 of :
Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
Oct 27, 2009 12:48:19 PM org.mule.transport.cxf.transport.MuleUniversalConduit dispatchMuleMessage
INFO: Sending message to http://localhost:63081/services/CxfTransformationService
INFO 2009-10-27 12:48:19,806 http://connector.cxf.0.dispatcher.1 org.mule.transport.http.HttpConnector: Initialising: HttpConnector{this=15291cd, started=false, initialised=false, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=false, supportedProtocols=http, serviceOverrides=null}
INFO 2009-10-27 12:48:19,852 http://connector.cxf.0.dispatcher.1 org.mule.DefaultExceptionStrategy: Initialising exception listener: org.mule.DefaultExceptionStrategy@c954e
INFO 2009-10-27 12:48:19,852 http://connector.cxf.0.dispatcher.1 org.mule.transport.http.HttpConnector: Connected: HttpConnector{this=15291cd, started=false, initialised=true, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=http, serviceOverrides=null}
INFO 2009-10-27 12:48:19,852 http://connector.cxf.0.dispatcher.1 org.mule.transport.http.HttpConnector: Starting: HttpConnector{this=15291cd, started=false, initialised=true, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=http, serviceOverrides=null}
INFO 2009-10-27 12:48:19,852 http://connector.cxf.0.dispatcher.1 org.mule.transport.http.HttpConnector: Started: HttpConnector{this=15291cd, started=true, initialised=true, name='connector.http.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=http, serviceOverrides=null}
INFO 2009-10-27 12:48:19,852 http://connector.cxf.0.dispatcher.1 org.mule.transport.service.DefaultTransportServiceDescriptor: Loading default outbound transformer: org.mule.transport.http.transformers.ObjectToHttpClientMethodRequest
Oct 27, 2009 12:48:19 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not send message to Mule.
at org.mule.transport.cxf.transport.MuleUniversalConduit$1.handleMessage(MuleUniversalConduit.java:189)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:296)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:242)
at org.mule.transport.cxf.CxfMessageDispatcher.doSendWithClient(CxfMessageDispatcher.java:220)
at org.mule.transport.cxf.CxfMessageDispatcher.doSend(CxfMessageDispatcher.java:146)
at org.mule.transport.cxf.CxfMessageDispatcher.doDispatch(CxfMessageDispatcher.java:252)
at org.mule.transport.AbstractMessageDispatcher$Worker.run(AbstractMessageDispatcher.java:262)
at org.mule.work.WorkerContext.run(WorkerContext.java:310)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Could not send message to Mule.
at org.mule.transport.cxf.transport.MuleUniversalConduit.dispatchMuleMessage(MuleUniversalConduit.java:265)
at org.mule.transport.cxf.transport.MuleUniversalConduit$1.handleMessage(MuleUniversalConduit.java:185)
... 11 more
Caused by: org.mule.api.transformer.TransformerException: Unable to convert class org.mule.transport.cxf.transport.MuleUniversalConduit$2 to XMLStreamReader.
at org.mule.module.xml.transformer.XmlToXMLStreamReader.doTransform(XmlToXMLStreamReader.java:53)
at org.mule.transformer.AbstractTransformer.transform(AbstractTransformer.java:254)
at org.mule.DefaultMuleMessage.applyAllTransformers(DefaultMuleMessage.java:621)
at org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:582)
at org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:575)
at org.mule.transport.cxf.transport.MuleUniversalConduit.sendStream(MuleUniversalConduit.java:413)
at org.mule.transport.cxf.transport.MuleUniversalConduit.dispatchMuleMessage(MuleUniversalConduit.java:235)
... 12 more
ERROR 2009-10-27 12:48:19,915 http://connector.cxf.0.dispatcher.1 org.mule.DefaultExceptionStrategy:
********************************************************************************
Message : Unable to convert class org.mule.transport.cxf.transport.MuleUniversalConduit$2 to XMLStreamReader.
Type : org.mule.api.transformer.TransformerException
Code : MULE_ERROR-64999
JavaDoc : http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transformer/TransformerException.html
********************************************************************************
Exception stack is:
1. Unable to convert class org.mule.transport.cxf.transport.MuleUniversalConduit$2 to XMLStreamReader. (org.mule.api.transformer.TransformerException)
org.mule.module.xml.transformer.XmlToXMLStreamReader:53 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transformer/TransformerException.html)
********************************************************************************
Root Exception stack trace:
org.mule.api.transformer.TransformerException: Unable to convert class org.mule.transport.cxf.transport.MuleUniversalConduit$2 to XMLStreamReader.
at org.mule.module.xml.transformer.XmlToXMLStreamReader.doTransform(XmlToXMLStreamReader.java:53)
at org.mule.transformer.AbstractTransformer.transform(AbstractTransformer.java:254)
at org.mule.DefaultMuleMessage.applyAllTransformers(DefaultMuleMessage.java:621)
at org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:582)
at org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:575)
at org.mule.transport.cxf.transport.MuleUniversalConduit.sendStream(MuleUniversalConduit.java:413)
at org.mule.transport.cxf.transport.MuleUniversalConduit.dispatchMuleMessage(MuleUniversalConduit.java:235)
at org.mule.transport.cxf.transport.MuleUniversalConduit$1.handleMessage(MuleUniversalConduit.java:185)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:296)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:242)
at org.mule.transport.cxf.CxfMessageDispatcher.doSendWithClient(CxfMessageDispatcher.java:220)
at org.mule.transport.cxf.CxfMessageDispatcher.doSend(CxfMessageDispatcher.java:146)
at org.mule.transport.cxf.CxfMessageDispatcher.doDispatch(CxfMessageDispatcher.java:252)
at org.mule.transport.AbstractMessageDispatcher$Worker.run(AbstractMessageDispatcher.java:262)
at org.mule.work.WorkerContext.run(WorkerContext.java:310)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
at java.lang.Thread.run(Unknown Source)

********************************************************************************