camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5471) Exception: Current state not START_ELEMENT, END_ELEMENT or ENTITY_REFERENCE
Date Wed, 01 Aug 2012 21:26:02 GMT

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

Christian Müller commented on CAMEL-5471:
-----------------------------------------

I build Camel 2.9.3-SNAPSHOT (rev 1366594) on my machine:

{noformat}
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: /Applications/apache-maven-3.0.4
Java version: 1.6.0_33, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.8", arch: "x86_64", family: "mac"
{noformat}

Afterwards I started Karaf 2.2.8 and executed the following commands:
{noformat}
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
{noformat}

Then I copied camel-example-cxf-blueprint-2.9.3-SNAPSHOT.jar into the Karaf's deploy folder
(attached).
Than I stopped and started Karaf (I found some ClassNotFoundExceptions).

I used SOAPUI to send your request to the incident service and got the following result:

{code:xml}
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns2:outputReportIncident xmlns:ns2="http://reportincident.example.camel.apache.org">
         <code>Accepted</code>
      </ns2:outputReportIncident>
   </soap:Body>
</soap:Envelope>
{code}

Looks good to me so far...

Best,
Christian
                
> 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