camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elena Tatarintseva (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CAMEL-5471) Exception: Current state not START_ELEMENT, END_ELEMENT or ENTITY_REFERENCE
Date Tue, 14 Aug 2012 08:25:38 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-5471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433971#comment-13433971
] 

Elena Tatarintseva edited comment on CAMEL-5471 at 8/14/12 7:24 PM:
--------------------------------------------------------------------

    <camelContext xmlns="http://camel.apache.org/schema/blueprint">
        <route>
            <from uri="routerEndpointFrom"/>
            <convertBodyTo type="java.lang.String" />
            <multicast>
                <to uri="log:proxyLog?level=INFO"/>
                <to uri="routerEndpointTo"/>
            </multicast>
        </route>
    </camelContext>

works ok. Thank you. Will discuss to our team do we need to change codegeneration of our example.


                
      was (Author: etatarintseva):
    Only strange that the same example works ok on Camel 2.9.2 and Camel 2.10.0. And only
on Camel 2.9.3-SNAPSHOT we receive this exception.
But ok, I will try to make this changes.
                  
> Exception: Current state not START_ELEMENT, END_ELEMENT or ENTITY_REFERENCE 
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-5471
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5471
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-blueprint
>    Affects Versions: 2.9.3
>         Environment: Windows 7
>            Reporter: Elena Tatarintseva
>            Assignee: Christian Müller
>            Priority: Minor
>         Attachments: camel-example-cxf-blueprint-2.9.2.jar, camel-example-cxf-blueprint-2.9.3-SNAPSHOT.jar,
error.log.txt, example.xml
>
>
> Install apache-karaf-2.2.8.
> Start karaf container
> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.9.3-SNAPSHOT/xml/features
> features:install cxf
> features:install camel-cxf
> features:install camel-blueprint
> features:install camel-stream
> Copy to deploy folder camel-example-cxf-blueprint-2.9.2.jar and example.xml.
> In SoapUI : http://localhost:8182/cxf/camel-example-cxf-blueprint/webservices/incident
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> <soap:Header />
> <soap:Body>
> <ns2:inputReportIncident xmlns:ns2="http://reportincident.example.camel.apache.org">
> <incidentId>111</incidentId>
> <incidentDate>2011-03-05</incidentDate>
> <givenName>Christian</givenName>
> <familyName>Mueller</familyName>
> <summary>Bla</summary>
> <details>Bla bla</details>
> <email>cmueller@apache.org</email>
> <phone>0049 69 1234567</phone>
> </ns2:inputReportIncident>
> </soap:Body>
> </soap:Envelope>
> Response is:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> <soap:Body>
> <soap:Fault>
> <faultcode>soap:Server</faultcode>
> <faultstring>Current state not START_ELEMENT, END_ELEMENT or ENTITY_REFERENCE</faultstring>
> </soap:Fault>
> </soap:Body>
> </soap:Envelope>
> And the exception in karaf console.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message