You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Joseph Kampf <jo...@gmail.com> on 2016/03/18 21:45:17 UTC

Problem with CXF Payload Dataformat and Camel 2.16.1

First I would like to say that the same bundle works just fine with Camel 2.13.1 and 2.15.4.  This problem is occurring on 2.16.1 with Java 8

After making a CXF call using the PAYLOAD method we run into an XML parsing issue.  It appears that an extra Namespace definition is sneaking into the XML once Camel gets its hands on it from CXF.  What makes it worse is the extra namespace doesn’t a have a namespace prefix but does have a colon and that causes an XML parsing issue.

This is the offending XML that gets parsed:
 <retrieveAccountResponse xmlns="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount”>

Note the xmlns:=  should be xmlns=  But we already have one of those.

Here is my route Definition:

from(directVMName).routeId("directvm." + id).marshal(dataFormat)

                .enrich(toSessionIdEndpoint, aggregationStrategy).to(toEndpoint)

                .unmarshal(dataFormat);


Here is my bean definition for the toEndpoint:

<cxf:cxfEndpoint id="retAccToEndpoint"
address="${salesforce.services.soap.proxy.retacc.topath}"
        endpointName="s:xxxx_ws_RetrieveAccount" serviceName="s:xxxx_ws_RetrieveAccountService"
wsdlURL="wsdl/RetrieveAccount.wsdl"
        xmlns:s="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount" 
        loggingFeatureEnabled="true">
<cxf:properties>
<entry key="dataFormat" value="PAYLOAD" />
</cxf:properties>
<cxf:inInterceptors>
<bean class="org.apache.cxf.transport.common.gzip.GZIPInInterceptor">
</bean>
</cxf:inInterceptors>
</cxf:cxfEndpoint>




Here are my logs:

2016-03-18 16:16:06,562 | INFO  | te.provisioning] | xxxx_ws_RetrieveAccountPortType  | 173 - org.apache.cxf.cxf-core - 3.1.4 | Outbound Message
---------------------------
ID: 2
Address: https://xxxx--CONFIG03.cs15.my.salesforce.com/services/Soap/class/xxxx_ws_RetrieveAccount
Encoding: UTF-8
Http-Method: POST
Content-Type: text/xml
Headers: {Accept=[*/*], breadcrumbId=[ID-USMACC02M20HXFD59-49927-1458332073282-29-2], SOAPAction=[""]}
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><SessionHeader xmlns="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount"><sessionId>00De0000005P6NA!AQkAQDS6pDwsiKaMYIQcRZPRnfUE6j2gcC3f9_KYpM2Gnci0YiglsA6faASFHV9xmvmcQYwAF7lm5otoXwEDD3ydk_l4nvWB</sessionId></SessionHeader></soap:Header><soap:Body><retrieveAccount xmlns="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount">
    <request>
        <accountId>1717116</accountId>
        <caseId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
        <diadAccountId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
        <diadRegion xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
        <opportunityId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
        <retrieveContacts>true</retrieveContacts>
    </request>
</retrieveAccount></soap:Body></soap:Envelope>
--------------------------------------
2016-03-18 16:16:07,722 | INFO  | ault-workqueue-2 | xxxx_ws_RetrieveAccountPortType  | 173 - org.apache.cxf.cxf-core - 3.1.4 | Inbound Message
----------------------------
ID: 2
Response-Code: 200
Encoding: UTF-8
Content-Type: text/xml;charset=UTF-8
Headers: {Content-Security-Policy-Report-Only=[default-src https:; script-src https: 'unsafe-inline' 'unsafe-eval'; style-src https: 'unsafe-inline'; img-src https: data:; font-src https: data:; report-uri /_/ContentDomainCSPNoAuth?type=mydomain], content-type=[text/xml;charset=UTF-8], Date=[Fri, 18 Mar 2016 20:16:06 GMT], Expires=[Thu, 01 Jan 1970 00:00:00 GMT], Set-Cookie=[BrowserId=zgp7b7HuTqWjSTYBothgFA;Path=/;Domain=.salesforce.com;Expires=Tue, 17-May-2016 20:16:06 GMT], transfer-encoding=[chunked]}
Payload: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><retrieveAccountResponse><result><account><accountName>A &amp; C Lending</accountName><accountOwnerEmpId>UNK</accountOwnerEmpId><accountOwnerFirstName xsi:nil="true"/><accountOwnerLastName>Unknown</accountOwnerLastName><ariaAccountNumber>1397276</ariaAccountNumber><billingAddress><address>3900 FIRST Blvd Ste 3</address><city>Fort Myers</city><country>US</country><diadCityCode xsi:nil="true"/><latitude xsi:nil="true"/><longitude xsi:nil="true"/><postalCode>33912-1014</postalCode><state>FL</state></billingAddress><billingEmail>aclending@qatesting.com</billingEmail><billingFax xsi:nil="true"/><billingPhone>(239) 337 5363</billingPhone><bookKey xsi:nil="true"/><businessId>1717116</businessId><cityCode xsi:nil="true"/><contacts><contact><address>3900 FIRST Blvd Ste 3</address><billingContact>true</billingContact><birthDate xsi:nil="true"/><city>Fort Myers</city><contactSuffix xsi:nil="true"/><country>US</country><doNotCall>false</doNotCall><doNotFax>false</doNotFax><email>aclending@qatesting.com</email><emailOptOut>false</emailOptOut><fax xsi:nil="true"/><firstName>xxxx</firstName><lastName>xxxxtest</lastName><mobile xsi:nil="true"/><phone>1234567890</phone><postalCode>33912-1014</postalCode><primaryContact>true</primaryContact><state>FL</state><type>Decision Maker</type></contact></contacts><customerKey xsi:nil="true"/><diadId>421355</diadId><diadPaymentSourceCode xsi:nil="true"/><diadPrimaryBook xsi:nil="true"/><diadRegionKey>YBWEST</diadRegionKey><displayName>yyyyyyyy53635484</displayName><eProofingEmail xsi:nil="true"/><publicEmail xsi:nil="true"/><publicWebsite xsi:nil="true"/><regionKey xsi:nil="true"/><seenAtAddress><address>3900 FIRST Blvd Ste 3</address><city>Fort Myers</city><country>US</country><diadCityCode xsi:nil="true"/><latitude xsi:nil="true"/><longitude xsi:nil="true"/><postalCode>33912-1014</postalCode><state>FL</state></seenAtAddress><sfdcAccountId>xxxxxxxxxxxxxxxxxx</sfdcAccountId><siebelIntegrationId>1234567</siebelIntegrationId><taxExemptIndicator>false</taxExemptIndicator><taxExemptionLevel xsi:nil="true"/><taxIdentifier xsi:nil="true"/><taxpayerId xsi:nil="true"/></account><caseInfo xsi:nil="true"/><opportunity xsi:nil="true"/><svcMessage>The service call was successful.</svcMessage><svcStatusCode>SUCCESS</svcStatusCode><svcTrace xsi:nil="true"/></result></retrieveAccountResponse></soapenv:Body></soapenv:Envelope>
--------------------------------------
2016-03-18 16:16:07,731 | ERROR | ault-workqueue-2 | DefaultErrorHandler              | 136 - org.apache.camel.camel-core - 2.16.1 | Failed delivery for (MessageId: ID-USMACC02M20HXFD59-49927-1458332073282-4-12 on ExchangeId: ID-USMACC02M20HXFD59-49927-1458332073282-4-9). Exhausted after delivery attempt: 1 caught: java.io.IOException: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]

Message History
---------------------------------------------------------------------------------------------------------------------------------------
RouteId              ProcessorId          Processor                                                                        Elapsed (ms)
[directvm.salesforc] [directvm.salesforc] [direct-vm://retrieveaccount                                                   ] [      1419]
[sitemakerwebsite.p] [log40             ] [log                                                                           ] [         1]
[sitemakerwebsite.p] [unmarshal59       ] [unmarshal[org.apache.camel.model.dataformat.JaxbDataFormat@462b23c0]          ] [         8]
[sitemakerwebsite.p] [setHeader170      ] [setHeader[accountPrefix]                                                      ] [         6]
[sitemakerwebsite.p] [enrich39          ] [enrich[constant{direct-vm:retrieve_opportuninty_orchestrator}]                ] [      1404]
[retrieve_opportuni] [log32             ] [log                                                                           ] [        43]
[retrieve_opportuni] [choice39          ] [when[{com.xxxx.esb.services.salesforce.routes.GetOpportunityRouteBuilder$1@7b1] [      1360]
[retrieve_opportuni] [to121             ] [direct:process_parameters                                                     ] [         3]
[process_parameters] [log34             ] [log                                                                           ] [         3]
[process_parameters] [process144        ] [Processor@0x1baf61bb                                                          ] [         0]
[retrieve_opportuni] [choice38          ] [when[{com.xxxx.esb.services.salesforce.routes.GetOpportunityRouteBuilder$6@464] [      1357]
[retrieve_opportuni] [to122             ] [direct-vm:salesforce-retrieve-opportunity                                     ] [      1357]
[salesforce-retriev] [log35             ] [log                                                                           ] [         2]
[salesforce-retriev] [process145        ] [Processor@0x3fe66d15                                                          ] [         1]
[salesforce-retriev] [salesforce.retriev] [direct-vm:retrieveaccount                                                     ] [      1353]
[directvm.salesforc] [marshal18         ] [marshal[org.apache.camel.model.dataformat.JaxbDataFormat@44705872]            ] [         0]
[directvm.salesforc] [enrich8           ] [enrich[constant{direct-vm:getSalesforceSessionId}]                            ] [       181]
[directvm.salesforc] [to48              ] [cxf:bean:retAccToEndpoint                                                     ] [      1166]
[directvm.salesforc] [process53         ] [Processor@0x5b5a561f                                                          ] [         2]
[directvm.salesforc] [unmarshal15       ] [unmarshal[org.apache.camel.model.dataformat.JaxbDataFormat@44705872]          ] [         4]

Exchange
---------------------------------------------------------------------------------------------------------------------------------------
Exchange[
Id                  ID-USMACC02M20HXFD59-49927-1458332073282-4-9
ExchangePattern     InOut
Headers             {breadcrumbId=ID-USMACC02M20HXFD59-49927-1458332073282-29-2, CamelCxfMessage={org.apache.cxf.message.Message.PROTOCOL_HEADERS={Content-Security-Policy-Report-Only=[default-src https:; script-src https: 'unsafe-inline' 'unsafe-eval'; style-src https: 'unsafe-inline'; img-src https: data:; font-src https: data:; report-uri /_/ContentDomainCSPNoAuth?type=mydomain], content-type=[text/xml;charset=UTF-8], Date=[Fri, 18 Mar 2016 20:16:06 GMT], Expires=[Thu, 01 Jan 1970 00:00:00 GMT], Set-Cookie=[BrowserId=zgp7b7HuTqWjSTYBothgFA;Path=/;Domain=.salesforce.com;Expires=Tue, 17-May-2016 20:16:06 GMT], transfer-encoding=[chunked]}, org.apache.cxf.interceptor.DocLiteralInInterceptor.DocLiteralInInterceptor.keep-parameters-wrapper=true, org.apache.cxf.transport.Conduit=conduit: class org.apache.cxf.transport.http.URLConnectionHTTPConduit991450742target: https://xxxx--CONFIG03.cs15.my.salesforce.com/services/Soap/class/xxxx_ws_RetrieveAccount, org.apache.cxf.service.model.MessageInfo=[MessageInfo OUTPUT: {http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}retrieveAccountResponse], org.apache.cxf.binding.soap.SoapVersion=org.apache.cxf.binding.soap.Soap11@5140b63b, javax.xml.ws.wsdl.operation={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}retrieveAccount, javax.xml.ws.wsdl.service={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccountService, envelope.events=[xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/', xmlns:='http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount', xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'], soap.body.ns.context={=http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount, soapenv=http://schemas.xmlsoap.org/soap/envelope/, xsi=http://www.w3.org/2001/XMLSchema-instance}, org.apache.cxf.headers.Header.list=[], org.apache.cxf.wsdl.interceptors.DocLiteralInInterceptor.DocLiteralInInterceptor.keep-parameters-wrapper=true, schema-validation-enabled=NONE, body.events=[], org.apache.cxf.ws.policy.AssertionInfoMap={}, org.apache.cxf.client=true, javax.xml.ws.wsdl.port={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccount, javax.xml.ws.wsdl.interface={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccountPortType, javax.xml.ws.wsdl.description=https://cs15.salesforce.com:443/services/Soap/class/xxxx_ws_RetrieveAccount?wsdl, org.apache.cxf.message.Message.ENCODING=UTF-8, org.apache.cxf.message.inbound=true, org.apache.cxf.message.Message.RESPONSE_CODE=200, Content-Type=text/xml;charset=UTF-8, org.apache.cxf.interceptor.LoggingMessage.ID=2}, CamelHttpCharacterEncoding=UTF-8, CamelRedelivered=false, CamelRedeliveryCounter=0, Content-Security-Policy-Report-Only=default-src https:; script-src https: 'unsafe-inline' 'unsafe-eval'; style-src https: 'unsafe-inline'; img-src https: data:; font-src https: data:; report-uri /_/ContentDomainCSPNoAuth?type=mydomain, Content-Type=text/xml;charset=UTF-8, Date=Fri, 18 Mar 2016 20:16:06 GMT, Expires=Thu, 01 Jan 1970 00:00:00 GMT, org.apache.cxf.headers.Header.list=[], RequestContext={org.apache.cxf.message.Message.ENDPOINT_ADDRESS=https://xxxx--CONFIG03.cs15.my.salesforce.com/services/Soap/class/xxxx_ws_RetrieveAccount}, ResponseContext={org.apache.cxf.message.Message.PROTOCOL_HEADERS={Content-Security-Policy-Report-Only=[default-src https:; script-src https: 'unsafe-inline' 'unsafe-eval'; style-src https: 'unsafe-inline'; img-src https: data:; font-src https: data:; report-uri /_/ContentDomainCSPNoAuth?type=mydomain], content-type=[text/xml;charset=UTF-8], Date=[Fri, 18 Mar 2016 20:16:06 GMT], Expires=[Thu, 01 Jan 1970 00:00:00 GMT], Set-Cookie=[BrowserId=zgp7b7HuTqWjSTYBothgFA;Path=/;Domain=.salesforce.com;Expires=Tue, 17-May-2016 20:16:06 GMT], transfer-encoding=[chunked]}, org.apache.cxf.interceptor.DocLiteralInInterceptor.DocLiteralInInterceptor.keep-parameters-wrapper=true, org.apache.cxf.transport.Conduit=conduit: class org.apache.cxf.transport.http.URLConnectionHTTPConduit991450742target: https://xxxx--CONFIG03.cs15.my.salesforce.com/services/Soap/class/xxxx_ws_RetrieveAccount, org.apache.cxf.service.model.MessageInfo=[MessageInfo OUTPUT: {http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}retrieveAccountResponse], org.apache.cxf.binding.soap.SoapVersion=org.apache.cxf.binding.soap.Soap11@5140b63b, javax.xml.ws.wsdl.operation={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}retrieveAccount, javax.xml.ws.wsdl.service={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccountService, envelope.events=[xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/', xmlns:='http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount', xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'], soap.body.ns.context={=http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount, soapenv=http://schemas.xmlsoap.org/soap/envelope/, xsi=http://www.w3.org/2001/XMLSchema-instance}, org.apache.cxf.headers.Header.list=[], org.apache.cxf.wsdl.interceptors.DocLiteralInInterceptor.DocLiteralInInterceptor.keep-parameters-wrapper=true, schema-validation-enabled=NONE, body.events=[], org.apache.cxf.ws.policy.AssertionInfoMap={}, org.apache.cxf.client=true, javax.xml.ws.wsdl.port={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccount, javax.xml.ws.wsdl.interface={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccountPortType, javax.xml.ws.wsdl.description=https://cs15.salesforce.com:443/services/Soap/class/xxxx_ws_RetrieveAccount?wsdl, org.apache.cxf.message.Message.ENCODING=UTF-8, org.apache.cxf.message.inbound=true, org.apache.cxf.message.Message.RESPONSE_CODE=200, Content-Type=text/xml;charset=UTF-8, org.apache.cxf.interceptor.LoggingMessage.ID=2}, Set-Cookie=BrowserId=zgp7b7HuTqWjSTYBothgFA;Path=/;Domain=.salesforce.com;Expires=Tue, 17-May-2016 20:16:06 GMT, transfer-encoding=chunked}
BodyType            org.apache.camel.component.cxf.CxfPayload
Body                <retrieveAccountResponse xmlns="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount"><result><account><accountName>A &amp; C Lending</accountName><accountOwnerEmpId>UNK</accountOwnerEmpId><accountOwnerFirstName xsi:nil="true"/><accountOwnerLastName>Unknown</accountOwnerLastName><ariaAccountNumber>1397276</ariaAccountNumber><billingAddress><address>3900 FIRST Blvd Ste 3</address><city>Fort Myers</city><country>US</country><diadCityCode xsi:nil="true"/><latitude xsi:nil="true"/><longitude xsi:nil="true"/><postalCode>33912-1014</postalCode><state>FL</state></billingAddress><billingEmail>aclending@qatesting.com</billingEmail><billingFax xsi:nil="true"/><billingPhone>(239) 337 5363</billingPhone><bookKey xsi:nil="true"/><businessId>1717116</businessId><cityCode xsi:nil="true"/><contacts><contact><address>3900 FIRST Blvd Ste 3</address><billingContact>true</billingContact><birthDate xsi:nil="true"/><city>Fort Myers</city><contactSuffix xsi:nil="true"/><country>US</country><doNotCall>false</doNotCall><doNotFax>false</doNotFax><email>aclending@qatesting.com</email><emailOptOut>false</emailOptOut><fax xsi:nil="true"/><firstName>xxxx</firstName><lastName>xxxxtest</lastName><mobile xsi:nil="true"/><phone>1234567890</phone><postalCode>33912-1014</postalCode><primaryContact>true</primaryContact><state>FL</state><type>Decision Maker</type></contact></contacts><customerKey xsi:nil="true"/><diadId>421355</diadId><diadPaymentSourceCode xsi:nil="true"/><diadPrimaryBook xsi:nil="true"/><diadRegionKey>YBWEST</diadRegionKey><displayName>yyyyyyyy53635484</displayName><eProofingEmail xsi:nil="true"/><publicEmail xsi:nil="true"/><publicWebsite xsi:nil="true"/><regionKey xsi:nil="true"/><seenAtAddress><address>3900 FIRST Blvd Ste 3</address><city>Fort Myers</city><country>US</country><diadCityCode xsi:nil="true"/><latitude xsi:nil="true"/><longitude xsi:nil="true"/><postalCode>33912-1014</postalCode><state>FL</state></seenAtAddress><sfdcAccountId>xxxxxxxxxxxxxxxxxx</sfdcAccountId><siebelIntegrationId>1234567</siebelIntegrationId><taxExemptIndicator>false</taxExemptIndicator><taxExemptionLevel xsi:nil="true"/><taxIdentifier xsi:nil="true"/><taxpayerId xsi:nil="true"/></account><caseInfo xsi:nil="true"/><opportunity xsi:nil="true"/><svcMessage>The service call was successful.</svcMessage><svcStatusCode>SUCCESS</svcStatusCode><svcTrace xsi:nil="true"/></result></retrieveAccountResponse>
]

Stacktrace
---------------------------------------------------------------------------------------------------------------------------------------
java.io.IOException: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]
at org.apache.camel.converter.jaxb.JaxbDataFormat.unmarshal(JaxbDataFormat.java:212)[267:org.apache.camel.camel-jaxb:2.16.1]
at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline.access$100(Pipeline.java:44)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline$1.done(Pipeline.java:139)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.CamelInternalProcessor$InternalCallback.done(CamelInternalProcessor.java:250)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.RedeliveryErrorHandler$1.done(RedeliveryErrorHandler.java:472)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.management.InstrumentationProcessor$1.done(InstrumentationProcessor.java:86)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.SendProcessor$1.done(SendProcessor.java:151)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.component.cxf.CxfClientCallback.handleResponse(CxfClientCallback.java:61)[235:org.apache.camel.camel-cxf:2.16.1]
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:819)[173:org.apache.cxf.cxf-core:3.1.4]
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)[180:org.apache.cxf.cxf-rt-transports-http:3.1.4]
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:1167)[180:org.apache.cxf.cxf-rt-transports-http:3.1.4]
at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:428)[173:org.apache.cxf.cxf-core:3.1.4]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_45]
at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:353)[173:org.apache.cxf.cxf-core:3.1.4]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_45]
Caused by: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:485)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:417)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:386)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at org.apache.camel.converter.jaxb.JaxbDataFormat.unmarshal(JaxbDataFormat.java:204)[267:org.apache.camel.camel-jaxb:2.16.1]
... 20 more
Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]
at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:647)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.StreamScanner.parseLocalName(StreamScanner.java:1811)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleNsAttrs(BasicStreamReader.java:3019)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2963)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleRootElem(BasicStreamReader.java:2100)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2080)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1131)[134:woodstox-core-asl:4.4.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:164)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:415)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
... 22 more
2016-03-18 16:16:07,741 | WARN  | te.provisioning] | EndpointMessageListener          | 136 - org.apache.camel.camel-core - 2.16.1 | Execution of JMS message listener failed. Caused by: [org.apache.camel.RuntimeCamelException - java.io.IOException: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]]
org.apache.camel.RuntimeCamelException: java.io.IOException: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]
at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1642)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.component.jms.EndpointMessageListener$EndpointMessageListenerAsyncCallback.done(EndpointMessageListener.java:195)[139:org.apache.camel.camel-jms:2.16.1]
at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:116)[139:org.apache.camel.camel-jms:2.16.1]
at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:544)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:504)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:474)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1103)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1095)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:992)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_45]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_45]
Caused by: java.io.IOException: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]
at org.apache.camel.converter.jaxb.JaxbDataFormat.unmarshal(JaxbDataFormat.java:212)[267:org.apache.camel.camel-jaxb:2.16.1]
at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline.access$100(Pipeline.java:44)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline$1.done(Pipeline.java:139)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.CamelInternalProcessor$InternalCallback.done(CamelInternalProcessor.java:250)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.RedeliveryErrorHandler$1.done(RedeliveryErrorHandler.java:472)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.management.InstrumentationProcessor$1.done(InstrumentationProcessor.java:86)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.SendProcessor$1.done(SendProcessor.java:151)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.component.cxf.CxfClientCallback.handleResponse(CxfClientCallback.java:61)[235:org.apache.camel.camel-cxf:2.16.1]
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:819)[173:org.apache.cxf.cxf-core:3.1.4]
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)[180:org.apache.cxf.cxf-rt-transports-http:3.1.4]
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:1167)[180:org.apache.cxf.cxf-rt-transports-http:3.1.4]
at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:428)[173:org.apache.cxf.cxf-core:3.1.4]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_45]
at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:353)[173:org.apache.cxf.cxf-core:3.1.4]
... 1 more
Caused by: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:485)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:417)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:386)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at org.apache.camel.converter.jaxb.JaxbDataFormat.unmarshal(JaxbDataFormat.java:204)[267:org.apache.camel.camel-jaxb:2.16.1]
... 20 more
Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]
at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:647)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.StreamScanner.parseLocalName(StreamScanner.java:1811)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleNsAttrs(BasicStreamReader.java:3019)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2963)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleRootElem(BasicStreamReader.java:2100)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2080)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1131)[134:woodstox-core-asl:4.4.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:164)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:415)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
... 22 more



Re: Problem with CXF Payload Dataformat and Camel 2.16.1

Posted by Joseph Kampf <jo...@gmail.com>.
Can someone acknowledge that this is a problem or that I am missing something?

Thanks,

Joe

From:  "joseph.kampf@gmail.com" <jo...@gmail.com>
Date:  Monday, March 21, 2016 at 11:17 AM
To:  <us...@camel.apache.org>
Subject:  Re: Problem with CXF Payload Dataformat and Camel 2.16.1

Another look at this, the problem might have been introduced by CAMEL-8663.  Before the commit to solve this issue there did not seem that nsMap was populated by the Cxf Message Part “soap.body.ns.context”.


Joe



From:  "joseph.kampf@gmail.com" <jo...@gmail.com>
Date:  Monday, March 21, 2016 at 11:02 AM
To:  <us...@camel.apache.org>
Subject:  Re: Problem with CXF Payload Dataformat and Camel 2.16.1

I did a little bit more digging and stepping through the camel-cxf code.

I think I tracked down the issue to this method in DefaultCxfBinding.java

    protected static void addNamespace(Element element, Map<String, String> nsMap) {

        for (String ns : nsMap.keySet()) {

            // We should not override the namespace setting of the element

            if (XMLConstants.XMLNS_ATTRIBUTE.equals(ns)) {

                if (ObjectHelper.isEmpty(element.getAttribute(XMLConstants.XMLNS_ATTRIBUTE))) {

                    element.setAttribute(ns, nsMap.get(ns));

                }

            } else {

                if (ObjectHelper.isEmpty(element.getAttribute(XMLConstants.XMLNS_ATTRIBUTE + ":" + ns))) {

                    element.setAttribute(XMLConstants.XMLNS_ATTRIBUTE + ":" + ns, nsMap.get(ns));

                }

            }

        }

                     

    }



What seems to be happing in the nsMap has the following values:
{=http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount, soapenv=http://schemas.xmlsoap.org/soap/envelope/, xsi=http://www.w3.org/2001/XMLSchema-instance}


Note the key on my namespace is an empty string.

The first If statement is looking for the XMLNS_ATTRIBUTE which is “xmlns”.  That of course is evaluating to false.  So the the next If asks if the element is empty, it is not, so it is adding the attribute to the element to be  "xmlns:” .

So my guess is that the Map nsMap is being populated by Cxf, not Camel.  I can’t find any other references to the constant “soap.body.ns.context” in the camel-cxf code base.   Also the map is being extracted from the Cxf Message in the method org.apache.camel.component.cxf.DefaultCxfBinding.getPayloadBodyElements(Message, Map<String, String>)

At this point I am not sure what to do.  

Here is a list of all my Cxf Bundles:

karaf@root>list -t 0 | grep -i cxf
173 | Active   |  40 | 3.1.4                              | Apache CXF Core
174 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Management
176 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Core for WSDL
177 | Active   |  40 | 3.1.4                              | Apache CXF Runtime JAXB DataBinding
178 | Active   |  40 | 3.1.4                              | Apache CXF Runtime XML Binding
179 | Active   |  40 | 3.1.4                              | Apache CXF Runtime SOAP Binding
180 | Active   |  40 | 3.1.4                              | Apache CXF Runtime HTTP Transport
181 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Simple Frontend
182 | Active   |  40 | 3.1.4                              | Apache CXF Runtime JAX-WS Frontend
183 | Active   |  40 | 3.1.4                              | Apache CXF JAX-RS Extensions: Providers
184 | Active   |  40 | 3.1.4                              | Apache CXF JAX-RS Extensions: Search
185 | Active   |  40 | 3.1.4                              | Apache CXF JAX-RS Service Description
186 | Active   |  40 | 3.1.4                              | Apache CXF Runtime JAX-RS Frontend
187 | Active   |  40 | 3.1.4                              | Apache CXF JAX-RS Client
188 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Aegis Databinding
190 | Active   |  40 | 3.1.4                              | Apache CXF Runtime XmlBeans DataBinding
191 | Active   |  40 | 3.1.4                              | Apache CXF Runtime CORBA Binding
192 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Colocated Binding
193 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Local Transport
194 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Object Binding
195 | Active   |  40 | 3.1.4                              | Apache CXF Runtime HTTP Jetty Transport
196 | Active   |  40 | 3.1.4                              | Apache CXF Runtime JMS Transport
198 | Active   |  40 | 3.1.4                              | Apache CXF Runtime UDP Transport
199 | Active   |  40 | 3.0.5                              | Apache CXF XJC Runtime
200 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Security functionality
202 | Active   |  40 | 3.1.4                              | Apache CXF Runtime WS Policy
220 | Active   |  40 | 3.1.4                              | Apache CXF Runtime WS Addressing
222 | Active   |  40 | 3.1.4                              | Apache CXF Runtime WS Security
223 | Active   |  40 | 3.1.4                              | Apache CXF Runtime SAML Security functionality
224 | Active   |  40 | 3.1.4                              | Apache CXF Runtime WS Reliable Messaging
225 | Active   |  40 | 3.1.4                              | Apache CXF Runtime WS MetadataExchange
226 | Active   |  40 | 3.1.4                              | Apache CXF Runtime JavaScript Client Generator
228 | Active   |  40 | 3.1.4                              | Apache CXF Runtime JavaScript Frontend
229 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Clustering
231 | Active   |  40 | 3.1.4                              | Apache CXF Metrics Feature
232 | Active   |  40 | 3.1.4                              | Apache CXF Throttling Feature
233 | Active   |  40 | 3.1.4                              | Apache CXF Advanced Logging Feature
234 | Active   |  50 | 2.16.1                             | camel-cxf-transport
235 | Active   |  50 | 2.16.1                             | camel-cxf




From:  "joseph.kampf@gmail.com" <jo...@gmail.com>
Date:  Friday, March 18, 2016 at 4:45 PM
To:  <us...@camel.apache.org>
Subject:  Problem with CXF Payload Dataformat and Camel 2.16.1

First I would like to say that the same bundle works just fine with Camel 2.13.1 and 2.15.4.  This problem is occurring on 2.16.1 with Java 8

After making a CXF call using the PAYLOAD method we run into an XML parsing issue.  It appears that an extra Namespace definition is sneaking into the XML once Camel gets its hands on it from CXF.  What makes it worse is the extra namespace doesn’t a have a namespace prefix but does have a colon and that causes an XML parsing issue.

This is the offending XML that gets parsed:
 <retrieveAccountResponse xmlns="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount”>

Note the xmlns:=  should be xmlns=  But we already have one of those.

Here is my route Definition:

from(directVMName).routeId("directvm." + id).marshal(dataFormat)

                .enrich(toSessionIdEndpoint, aggregationStrategy).to(toEndpoint)

                .unmarshal(dataFormat);


Here is my bean definition for the toEndpoint:

<cxf:cxfEndpoint id="retAccToEndpoint"
address="${salesforce.services.soap.proxy.retacc.topath}"
        endpointName="s:xxxx_ws_RetrieveAccount" serviceName="s:xxxx_ws_RetrieveAccountService"
wsdlURL="wsdl/RetrieveAccount.wsdl"
        xmlns:s="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount" 
        loggingFeatureEnabled="true">
<cxf:properties>
<entry key="dataFormat" value="PAYLOAD" />
</cxf:properties>
<cxf:inInterceptors>
<bean class="org.apache.cxf.transport.common.gzip.GZIPInInterceptor">
</bean>
</cxf:inInterceptors>
</cxf:cxfEndpoint>




Here are my logs:

2016-03-18 16:16:06,562 | INFO  | te.provisioning] | xxxx_ws_RetrieveAccountPortType  | 173 - org.apache.cxf.cxf-core - 3.1.4 | Outbound Message
---------------------------
ID: 2
Address: https://xxxx--CONFIG03.cs15.my.salesforce.com/services/Soap/class/xxxx_ws_RetrieveAccount
Encoding: UTF-8
Http-Method: POST
Content-Type: text/xml
Headers: {Accept=[*/*], breadcrumbId=[ID-USMACC02M20HXFD59-49927-1458332073282-29-2], SOAPAction=[""]}
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><SessionHeader xmlns="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount"><sessionId>00De0000005P6NA!AQkAQDS6pDwsiKaMYIQcRZPRnfUE6j2gcC3f9_KYpM2Gnci0YiglsA6faASFHV9xmvmcQYwAF7lm5otoXwEDD3ydk_l4nvWB</sessionId></SessionHeader></soap:Header><soap:Body><retrieveAccount xmlns="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount">
    <request>
        <accountId>1717116</accountId>
        <caseId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
        <diadAccountId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
        <diadRegion xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
        <opportunityId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
        <retrieveContacts>true</retrieveContacts>
    </request>
</retrieveAccount></soap:Body></soap:Envelope>
--------------------------------------
2016-03-18 16:16:07,722 | INFO  | ault-workqueue-2 | xxxx_ws_RetrieveAccountPortType  | 173 - org.apache.cxf.cxf-core - 3.1.4 | Inbound Message
----------------------------
ID: 2
Response-Code: 200
Encoding: UTF-8
Content-Type: text/xml;charset=UTF-8
Headers: {Content-Security-Policy-Report-Only=[default-src https:; script-src https: 'unsafe-inline' 'unsafe-eval'; style-src https: 'unsafe-inline'; img-src https: data:; font-src https: data:; report-uri /_/ContentDomainCSPNoAuth?type=mydomain], content-type=[text/xml;charset=UTF-8], Date=[Fri, 18 Mar 2016 20:16:06 GMT], Expires=[Thu, 01 Jan 1970 00:00:00 GMT], Set-Cookie=[BrowserId=zgp7b7HuTqWjSTYBothgFA;Path=/;Domain=.salesforce.com;Expires=Tue, 17-May-2016 20:16:06 GMT], transfer-encoding=[chunked]}
Payload: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><retrieveAccountResponse><result><account><accountName>A &amp; C Lending</accountName><accountOwnerEmpId>UNK</accountOwnerEmpId><accountOwnerFirstName xsi:nil="true"/><accountOwnerLastName>Unknown</accountOwnerLastName><ariaAccountNumber>1397276</ariaAccountNumber><billingAddress><address>3900 FIRST Blvd Ste 3</address><city>Fort Myers</city><country>US</country><diadCityCode xsi:nil="true"/><latitude xsi:nil="true"/><longitude xsi:nil="true"/><postalCode>33912-1014</postalCode><state>FL</state></billingAddress><billingEmail>aclending@qatesting.com</billingEmail><billingFax xsi:nil="true"/><billingPhone>(239) 337 5363</billingPhone><bookKey xsi:nil="true"/><businessId>1717116</businessId><cityCode xsi:nil="true"/><contacts><contact><address>3900 FIRST Blvd Ste 3</address><billingContact>true</billingContact><birthDate xsi:nil="true"/><city>Fort Myers</city><contactSuffix xsi:nil="true"/><country>US</country><doNotCall>false</doNotCall><doNotFax>false</doNotFax><email>aclending@qatesting.com</email><emailOptOut>false</emailOptOut><fax xsi:nil="true"/><firstName>xxxx</firstName><lastName>xxxxtest</lastName><mobile xsi:nil="true"/><phone>1234567890</phone><postalCode>33912-1014</postalCode><primaryContact>true</primaryContact><state>FL</state><type>Decision Maker</type></contact></contacts><customerKey xsi:nil="true"/><diadId>421355</diadId><diadPaymentSourceCode xsi:nil="true"/><diadPrimaryBook xsi:nil="true"/><diadRegionKey>YBWEST</diadRegionKey><displayName>yyyyyyyy53635484</displayName><eProofingEmail xsi:nil="true"/><publicEmail xsi:nil="true"/><publicWebsite xsi:nil="true"/><regionKey xsi:nil="true"/><seenAtAddress><address>3900 FIRST Blvd Ste 3</address><city>Fort Myers</city><country>US</country><diadCityCode xsi:nil="true"/><latitude xsi:nil="true"/><longitude xsi:nil="true"/><postalCode>33912-1014</postalCode><state>FL</state></seenAtAddress><sfdcAccountId>xxxxxxxxxxxxxxxxxx</sfdcAccountId><siebelIntegrationId>1234567</siebelIntegrationId><taxExemptIndicator>false</taxExemptIndicator><taxExemptionLevel xsi:nil="true"/><taxIdentifier xsi:nil="true"/><taxpayerId xsi:nil="true"/></account><caseInfo xsi:nil="true"/><opportunity xsi:nil="true"/><svcMessage>The service call was successful.</svcMessage><svcStatusCode>SUCCESS</svcStatusCode><svcTrace xsi:nil="true"/></result></retrieveAccountResponse></soapenv:Body></soapenv:Envelope>
--------------------------------------
2016-03-18 16:16:07,731 | ERROR | ault-workqueue-2 | DefaultErrorHandler              | 136 - org.apache.camel.camel-core - 2.16.1 | Failed delivery for (MessageId: ID-USMACC02M20HXFD59-49927-1458332073282-4-12 on ExchangeId: ID-USMACC02M20HXFD59-49927-1458332073282-4-9). Exhausted after delivery attempt: 1 caught: java.io.IOException: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]

Message History
---------------------------------------------------------------------------------------------------------------------------------------
RouteId              ProcessorId          Processor                                                                        Elapsed (ms)
[directvm.salesforc] [directvm.salesforc] [direct-vm://retrieveaccount                                                   ] [      1419]
[sitemakerwebsite.p] [log40             ] [log                                                                           ] [         1]
[sitemakerwebsite.p] [unmarshal59       ] [unmarshal[org.apache.camel.model.dataformat.JaxbDataFormat@462b23c0]          ] [         8]
[sitemakerwebsite.p] [setHeader170      ] [setHeader[accountPrefix]                                                      ] [         6]
[sitemakerwebsite.p] [enrich39          ] [enrich[constant{direct-vm:retrieve_opportuninty_orchestrator}]                ] [      1404]
[retrieve_opportuni] [log32             ] [log                                                                           ] [        43]
[retrieve_opportuni] [choice39          ] [when[{com.xxxx.esb.services.salesforce.routes.GetOpportunityRouteBuilder$1@7b1] [      1360]
[retrieve_opportuni] [to121             ] [direct:process_parameters                                                     ] [         3]
[process_parameters] [log34             ] [log                                                                           ] [         3]
[process_parameters] [process144        ] [Processor@0x1baf61bb                                                          ] [         0]
[retrieve_opportuni] [choice38          ] [when[{com.xxxx.esb.services.salesforce.routes.GetOpportunityRouteBuilder$6@464] [      1357]
[retrieve_opportuni] [to122             ] [direct-vm:salesforce-retrieve-opportunity                                     ] [      1357]
[salesforce-retriev] [log35             ] [log                                                                           ] [         2]
[salesforce-retriev] [process145        ] [Processor@0x3fe66d15                                                          ] [         1]
[salesforce-retriev] [salesforce.retriev] [direct-vm:retrieveaccount                                                     ] [      1353]
[directvm.salesforc] [marshal18         ] [marshal[org.apache.camel.model.dataformat.JaxbDataFormat@44705872]            ] [         0]
[directvm.salesforc] [enrich8           ] [enrich[constant{direct-vm:getSalesforceSessionId}]                            ] [       181]
[directvm.salesforc] [to48              ] [cxf:bean:retAccToEndpoint                                                     ] [      1166]
[directvm.salesforc] [process53         ] [Processor@0x5b5a561f                                                          ] [         2]
[directvm.salesforc] [unmarshal15       ] [unmarshal[org.apache.camel.model.dataformat.JaxbDataFormat@44705872]          ] [         4]

Exchange
---------------------------------------------------------------------------------------------------------------------------------------
Exchange[
Id                  ID-USMACC02M20HXFD59-49927-1458332073282-4-9
ExchangePattern     InOut
Headers             {breadcrumbId=ID-USMACC02M20HXFD59-49927-1458332073282-29-2, CamelCxfMessage={org.apache.cxf.message.Message.PROTOCOL_HEADERS={Content-Security-Policy-Report-Only=[default-src https:; script-src https: 'unsafe-inline' 'unsafe-eval'; style-src https: 'unsafe-inline'; img-src https: data:; font-src https: data:; report-uri /_/ContentDomainCSPNoAuth?type=mydomain], content-type=[text/xml;charset=UTF-8], Date=[Fri, 18 Mar 2016 20:16:06 GMT], Expires=[Thu, 01 Jan 1970 00:00:00 GMT], Set-Cookie=[BrowserId=zgp7b7HuTqWjSTYBothgFA;Path=/;Domain=.salesforce.com;Expires=Tue, 17-May-2016 20:16:06 GMT], transfer-encoding=[chunked]}, org.apache.cxf.interceptor.DocLiteralInInterceptor.DocLiteralInInterceptor.keep-parameters-wrapper=true, org.apache.cxf.transport.Conduit=conduit: class org.apache.cxf.transport.http.URLConnectionHTTPConduit991450742target: https://xxxx--CONFIG03.cs15.my.salesforce.com/services/Soap/class/xxxx_ws_RetrieveAccount, org.apache.cxf.service.model.MessageInfo=[MessageInfo OUTPUT: {http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}retrieveAccountResponse], org.apache.cxf.binding.soap.SoapVersion=org.apache.cxf.binding.soap.Soap11@5140b63b, javax.xml.ws.wsdl.operation={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}retrieveAccount, javax.xml.ws.wsdl.service={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccountService, envelope.events=[xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/', xmlns:='http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount', xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'], soap.body.ns.context={=http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount, soapenv=http://schemas.xmlsoap.org/soap/envelope/, xsi=http://www.w3.org/2001/XMLSchema-instance}, org.apache.cxf.headers.Header.list=[], org.apache.cxf.wsdl.interceptors.DocLiteralInInterceptor.DocLiteralInInterceptor.keep-parameters-wrapper=true, schema-validation-enabled=NONE, body.events=[], org.apache.cxf.ws.policy.AssertionInfoMap={}, org.apache.cxf.client=true, javax.xml.ws.wsdl.port={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccount, javax.xml.ws.wsdl.interface={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccountPortType, javax.xml.ws.wsdl.description=https://cs15.salesforce.com:443/services/Soap/class/xxxx_ws_RetrieveAccount?wsdl, org.apache.cxf.message.Message.ENCODING=UTF-8, org.apache.cxf.message.inbound=true, org.apache.cxf.message.Message.RESPONSE_CODE=200, Content-Type=text/xml;charset=UTF-8, org.apache.cxf.interceptor.LoggingMessage.ID=2}, CamelHttpCharacterEncoding=UTF-8, CamelRedelivered=false, CamelRedeliveryCounter=0, Content-Security-Policy-Report-Only=default-src https:; script-src https: 'unsafe-inline' 'unsafe-eval'; style-src https: 'unsafe-inline'; img-src https: data:; font-src https: data:; report-uri /_/ContentDomainCSPNoAuth?type=mydomain, Content-Type=text/xml;charset=UTF-8, Date=Fri, 18 Mar 2016 20:16:06 GMT, Expires=Thu, 01 Jan 1970 00:00:00 GMT, org.apache.cxf.headers.Header.list=[], RequestContext={org.apache.cxf.message.Message.ENDPOINT_ADDRESS=https://xxxx--CONFIG03.cs15.my.salesforce.com/services/Soap/class/xxxx_ws_RetrieveAccount}, ResponseContext={org.apache.cxf.message.Message.PROTOCOL_HEADERS={Content-Security-Policy-Report-Only=[default-src https:; script-src https: 'unsafe-inline' 'unsafe-eval'; style-src https: 'unsafe-inline'; img-src https: data:; font-src https: data:; report-uri /_/ContentDomainCSPNoAuth?type=mydomain], content-type=[text/xml;charset=UTF-8], Date=[Fri, 18 Mar 2016 20:16:06 GMT], Expires=[Thu, 01 Jan 1970 00:00:00 GMT], Set-Cookie=[BrowserId=zgp7b7HuTqWjSTYBothgFA;Path=/;Domain=.salesforce.com;Expires=Tue, 17-May-2016 20:16:06 GMT], transfer-encoding=[chunked]}, org.apache.cxf.interceptor.DocLiteralInInterceptor.DocLiteralInInterceptor.keep-parameters-wrapper=true, org.apache.cxf.transport.Conduit=conduit: class org.apache.cxf.transport.http.URLConnectionHTTPConduit991450742target: https://xxxx--CONFIG03.cs15.my.salesforce.com/services/Soap/class/xxxx_ws_RetrieveAccount, org.apache.cxf.service.model.MessageInfo=[MessageInfo OUTPUT: {http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}retrieveAccountResponse], org.apache.cxf.binding.soap.SoapVersion=org.apache.cxf.binding.soap.Soap11@5140b63b, javax.xml.ws.wsdl.operation={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}retrieveAccount, javax.xml.ws.wsdl.service={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccountService, envelope.events=[xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/', xmlns:='http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount', xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'], soap.body.ns.context={=http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount, soapenv=http://schemas.xmlsoap.org/soap/envelope/, xsi=http://www.w3.org/2001/XMLSchema-instance}, org.apache.cxf.headers.Header.list=[], org.apache.cxf.wsdl.interceptors.DocLiteralInInterceptor.DocLiteralInInterceptor.keep-parameters-wrapper=true, schema-validation-enabled=NONE, body.events=[], org.apache.cxf.ws.policy.AssertionInfoMap={}, org.apache.cxf.client=true, javax.xml.ws.wsdl.port={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccount, javax.xml.ws.wsdl.interface={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccountPortType, javax.xml.ws.wsdl.description=https://cs15.salesforce.com:443/services/Soap/class/xxxx_ws_RetrieveAccount?wsdl, org.apache.cxf.message.Message.ENCODING=UTF-8, org.apache.cxf.message.inbound=true, org.apache.cxf.message.Message.RESPONSE_CODE=200, Content-Type=text/xml;charset=UTF-8, org.apache.cxf.interceptor.LoggingMessage.ID=2}, Set-Cookie=BrowserId=zgp7b7HuTqWjSTYBothgFA;Path=/;Domain=.salesforce.com;Expires=Tue, 17-May-2016 20:16:06 GMT, transfer-encoding=chunked}
BodyType            org.apache.camel.component.cxf.CxfPayload
Body                <retrieveAccountResponse xmlns="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount"><result><account><accountName>A &amp; C Lending</accountName><accountOwnerEmpId>UNK</accountOwnerEmpId><accountOwnerFirstName xsi:nil="true"/><accountOwnerLastName>Unknown</accountOwnerLastName><ariaAccountNumber>1397276</ariaAccountNumber><billingAddress><address>3900 FIRST Blvd Ste 3</address><city>Fort Myers</city><country>US</country><diadCityCode xsi:nil="true"/><latitude xsi:nil="true"/><longitude xsi:nil="true"/><postalCode>33912-1014</postalCode><state>FL</state></billingAddress><billingEmail>aclending@qatesting.com</billingEmail><billingFax xsi:nil="true"/><billingPhone>(239) 337 5363</billingPhone><bookKey xsi:nil="true"/><businessId>1717116</businessId><cityCode xsi:nil="true"/><contacts><contact><address>3900 FIRST Blvd Ste 3</address><billingContact>true</billingContact><birthDate xsi:nil="true"/><city>Fort Myers</city><contactSuffix xsi:nil="true"/><country>US</country><doNotCall>false</doNotCall><doNotFax>false</doNotFax><email>aclending@qatesting.com</email><emailOptOut>false</emailOptOut><fax xsi:nil="true"/><firstName>xxxx</firstName><lastName>xxxxtest</lastName><mobile xsi:nil="true"/><phone>1234567890</phone><postalCode>33912-1014</postalCode><primaryContact>true</primaryContact><state>FL</state><type>Decision Maker</type></contact></contacts><customerKey xsi:nil="true"/><diadId>421355</diadId><diadPaymentSourceCode xsi:nil="true"/><diadPrimaryBook xsi:nil="true"/><diadRegionKey>YBWEST</diadRegionKey><displayName>yyyyyyyy53635484</displayName><eProofingEmail xsi:nil="true"/><publicEmail xsi:nil="true"/><publicWebsite xsi:nil="true"/><regionKey xsi:nil="true"/><seenAtAddress><address>3900 FIRST Blvd Ste 3</address><city>Fort Myers</city><country>US</country><diadCityCode xsi:nil="true"/><latitude xsi:nil="true"/><longitude xsi:nil="true"/><postalCode>33912-1014</postalCode><state>FL</state></seenAtAddress><sfdcAccountId>xxxxxxxxxxxxxxxxxx</sfdcAccountId><siebelIntegrationId>1234567</siebelIntegrationId><taxExemptIndicator>false</taxExemptIndicator><taxExemptionLevel xsi:nil="true"/><taxIdentifier xsi:nil="true"/><taxpayerId xsi:nil="true"/></account><caseInfo xsi:nil="true"/><opportunity xsi:nil="true"/><svcMessage>The service call was successful.</svcMessage><svcStatusCode>SUCCESS</svcStatusCode><svcTrace xsi:nil="true"/></result></retrieveAccountResponse>
]

Stacktrace
---------------------------------------------------------------------------------------------------------------------------------------
java.io.IOException: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]
at org.apache.camel.converter.jaxb.JaxbDataFormat.unmarshal(JaxbDataFormat.java:212)[267:org.apache.camel.camel-jaxb:2.16.1]
at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline.access$100(Pipeline.java:44)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline$1.done(Pipeline.java:139)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.CamelInternalProcessor$InternalCallback.done(CamelInternalProcessor.java:250)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.RedeliveryErrorHandler$1.done(RedeliveryErrorHandler.java:472)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.management.InstrumentationProcessor$1.done(InstrumentationProcessor.java:86)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.SendProcessor$1.done(SendProcessor.java:151)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.component.cxf.CxfClientCallback.handleResponse(CxfClientCallback.java:61)[235:org.apache.camel.camel-cxf:2.16.1]
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:819)[173:org.apache.cxf.cxf-core:3.1.4]
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)[180:org.apache.cxf.cxf-rt-transports-http:3.1.4]
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:1167)[180:org.apache.cxf.cxf-rt-transports-http:3.1.4]
at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:428)[173:org.apache.cxf.cxf-core:3.1.4]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_45]
at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:353)[173:org.apache.cxf.cxf-core:3.1.4]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_45]
Caused by: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:485)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:417)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:386)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at org.apache.camel.converter.jaxb.JaxbDataFormat.unmarshal(JaxbDataFormat.java:204)[267:org.apache.camel.camel-jaxb:2.16.1]
... 20 more
Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]
at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:647)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.StreamScanner.parseLocalName(StreamScanner.java:1811)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleNsAttrs(BasicStreamReader.java:3019)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2963)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleRootElem(BasicStreamReader.java:2100)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2080)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1131)[134:woodstox-core-asl:4.4.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:164)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:415)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
... 22 more
2016-03-18 16:16:07,741 | WARN  | te.provisioning] | EndpointMessageListener          | 136 - org.apache.camel.camel-core - 2.16.1 | Execution of JMS message listener failed. Caused by: [org.apache.camel.RuntimeCamelException - java.io.IOException: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]]
org.apache.camel.RuntimeCamelException: java.io.IOException: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]
at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1642)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.component.jms.EndpointMessageListener$EndpointMessageListenerAsyncCallback.done(EndpointMessageListener.java:195)[139:org.apache.camel.camel-jms:2.16.1]
at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:116)[139:org.apache.camel.camel-jms:2.16.1]
at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:544)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:504)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:474)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1103)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1095)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:992)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_45]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_45]
Caused by: java.io.IOException: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]
at org.apache.camel.converter.jaxb.JaxbDataFormat.unmarshal(JaxbDataFormat.java:212)[267:org.apache.camel.camel-jaxb:2.16.1]
at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline.access$100(Pipeline.java:44)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline$1.done(Pipeline.java:139)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.CamelInternalProcessor$InternalCallback.done(CamelInternalProcessor.java:250)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.RedeliveryErrorHandler$1.done(RedeliveryErrorHandler.java:472)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.management.InstrumentationProcessor$1.done(InstrumentationProcessor.java:86)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.SendProcessor$1.done(SendProcessor.java:151)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.component.cxf.CxfClientCallback.handleResponse(CxfClientCallback.java:61)[235:org.apache.camel.camel-cxf:2.16.1]
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:819)[173:org.apache.cxf.cxf-core:3.1.4]
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)[180:org.apache.cxf.cxf-rt-transports-http:3.1.4]
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:1167)[180:org.apache.cxf.cxf-rt-transports-http:3.1.4]
at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:428)[173:org.apache.cxf.cxf-core:3.1.4]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_45]
at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:353)[173:org.apache.cxf.cxf-core:3.1.4]
... 1 more
Caused by: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:485)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:417)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:386)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at org.apache.camel.converter.jaxb.JaxbDataFormat.unmarshal(JaxbDataFormat.java:204)[267:org.apache.camel.camel-jaxb:2.16.1]
... 20 more
Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]
at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:647)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.StreamScanner.parseLocalName(StreamScanner.java:1811)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleNsAttrs(BasicStreamReader.java:3019)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2963)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleRootElem(BasicStreamReader.java:2100)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2080)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1131)[134:woodstox-core-asl:4.4.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:164)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:415)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
... 22 more



Re: Problem with CXF Payload Dataformat and Camel 2.16.1

Posted by Joseph Kampf <jo...@gmail.com>.
Another look at this, the problem might have been introduced by CAMEL-8663.  Before the commit to solve this issue there did not seem that nsMap was populated by the Cxf Message Part “soap.body.ns.context”.


Joe



From:  "joseph.kampf@gmail.com" <jo...@gmail.com>
Date:  Monday, March 21, 2016 at 11:02 AM
To:  <us...@camel.apache.org>
Subject:  Re: Problem with CXF Payload Dataformat and Camel 2.16.1

I did a little bit more digging and stepping through the camel-cxf code.

I think I tracked down the issue to this method in DefaultCxfBinding.java

    protected static void addNamespace(Element element, Map<String, String> nsMap) {

        for (String ns : nsMap.keySet()) {

            // We should not override the namespace setting of the element

            if (XMLConstants.XMLNS_ATTRIBUTE.equals(ns)) {

                if (ObjectHelper.isEmpty(element.getAttribute(XMLConstants.XMLNS_ATTRIBUTE))) {

                    element.setAttribute(ns, nsMap.get(ns));

                }

            } else {

                if (ObjectHelper.isEmpty(element.getAttribute(XMLConstants.XMLNS_ATTRIBUTE + ":" + ns))) {

                    element.setAttribute(XMLConstants.XMLNS_ATTRIBUTE + ":" + ns, nsMap.get(ns));

                }

            }

        }

                     

    }



What seems to be happing in the nsMap has the following values:
{=http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount, soapenv=http://schemas.xmlsoap.org/soap/envelope/, xsi=http://www.w3.org/2001/XMLSchema-instance}


Note the key on my namespace is an empty string.

The first If statement is looking for the XMLNS_ATTRIBUTE which is “xmlns”.  That of course is evaluating to false.  So the the next If asks if the element is empty, it is not, so it is adding the attribute to the element to be  "xmlns:” .

So my guess is that the Map nsMap is being populated by Cxf, not Camel.  I can’t find any other references to the constant “soap.body.ns.context” in the camel-cxf code base.   Also the map is being extracted from the Cxf Message in the method org.apache.camel.component.cxf.DefaultCxfBinding.getPayloadBodyElements(Message, Map<String, String>)

At this point I am not sure what to do.  

Here is a list of all my Cxf Bundles:

karaf@root>list -t 0 | grep -i cxf
173 | Active   |  40 | 3.1.4                              | Apache CXF Core
174 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Management
176 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Core for WSDL
177 | Active   |  40 | 3.1.4                              | Apache CXF Runtime JAXB DataBinding
178 | Active   |  40 | 3.1.4                              | Apache CXF Runtime XML Binding
179 | Active   |  40 | 3.1.4                              | Apache CXF Runtime SOAP Binding
180 | Active   |  40 | 3.1.4                              | Apache CXF Runtime HTTP Transport
181 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Simple Frontend
182 | Active   |  40 | 3.1.4                              | Apache CXF Runtime JAX-WS Frontend
183 | Active   |  40 | 3.1.4                              | Apache CXF JAX-RS Extensions: Providers
184 | Active   |  40 | 3.1.4                              | Apache CXF JAX-RS Extensions: Search
185 | Active   |  40 | 3.1.4                              | Apache CXF JAX-RS Service Description
186 | Active   |  40 | 3.1.4                              | Apache CXF Runtime JAX-RS Frontend
187 | Active   |  40 | 3.1.4                              | Apache CXF JAX-RS Client
188 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Aegis Databinding
190 | Active   |  40 | 3.1.4                              | Apache CXF Runtime XmlBeans DataBinding
191 | Active   |  40 | 3.1.4                              | Apache CXF Runtime CORBA Binding
192 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Colocated Binding
193 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Local Transport
194 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Object Binding
195 | Active   |  40 | 3.1.4                              | Apache CXF Runtime HTTP Jetty Transport
196 | Active   |  40 | 3.1.4                              | Apache CXF Runtime JMS Transport
198 | Active   |  40 | 3.1.4                              | Apache CXF Runtime UDP Transport
199 | Active   |  40 | 3.0.5                              | Apache CXF XJC Runtime
200 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Security functionality
202 | Active   |  40 | 3.1.4                              | Apache CXF Runtime WS Policy
220 | Active   |  40 | 3.1.4                              | Apache CXF Runtime WS Addressing
222 | Active   |  40 | 3.1.4                              | Apache CXF Runtime WS Security
223 | Active   |  40 | 3.1.4                              | Apache CXF Runtime SAML Security functionality
224 | Active   |  40 | 3.1.4                              | Apache CXF Runtime WS Reliable Messaging
225 | Active   |  40 | 3.1.4                              | Apache CXF Runtime WS MetadataExchange
226 | Active   |  40 | 3.1.4                              | Apache CXF Runtime JavaScript Client Generator
228 | Active   |  40 | 3.1.4                              | Apache CXF Runtime JavaScript Frontend
229 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Clustering
231 | Active   |  40 | 3.1.4                              | Apache CXF Metrics Feature
232 | Active   |  40 | 3.1.4                              | Apache CXF Throttling Feature
233 | Active   |  40 | 3.1.4                              | Apache CXF Advanced Logging Feature
234 | Active   |  50 | 2.16.1                             | camel-cxf-transport
235 | Active   |  50 | 2.16.1                             | camel-cxf




From:  "joseph.kampf@gmail.com" <jo...@gmail.com>
Date:  Friday, March 18, 2016 at 4:45 PM
To:  <us...@camel.apache.org>
Subject:  Problem with CXF Payload Dataformat and Camel 2.16.1

First I would like to say that the same bundle works just fine with Camel 2.13.1 and 2.15.4.  This problem is occurring on 2.16.1 with Java 8

After making a CXF call using the PAYLOAD method we run into an XML parsing issue.  It appears that an extra Namespace definition is sneaking into the XML once Camel gets its hands on it from CXF.  What makes it worse is the extra namespace doesn’t a have a namespace prefix but does have a colon and that causes an XML parsing issue.

This is the offending XML that gets parsed:
 <retrieveAccountResponse xmlns="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount”>

Note the xmlns:=  should be xmlns=  But we already have one of those.

Here is my route Definition:

from(directVMName).routeId("directvm." + id).marshal(dataFormat)

                .enrich(toSessionIdEndpoint, aggregationStrategy).to(toEndpoint)

                .unmarshal(dataFormat);


Here is my bean definition for the toEndpoint:

<cxf:cxfEndpoint id="retAccToEndpoint"
address="${salesforce.services.soap.proxy.retacc.topath}"
        endpointName="s:xxxx_ws_RetrieveAccount" serviceName="s:xxxx_ws_RetrieveAccountService"
wsdlURL="wsdl/RetrieveAccount.wsdl"
        xmlns:s="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount" 
        loggingFeatureEnabled="true">
<cxf:properties>
<entry key="dataFormat" value="PAYLOAD" />
</cxf:properties>
<cxf:inInterceptors>
<bean class="org.apache.cxf.transport.common.gzip.GZIPInInterceptor">
</bean>
</cxf:inInterceptors>
</cxf:cxfEndpoint>




Here are my logs:

2016-03-18 16:16:06,562 | INFO  | te.provisioning] | xxxx_ws_RetrieveAccountPortType  | 173 - org.apache.cxf.cxf-core - 3.1.4 | Outbound Message
---------------------------
ID: 2
Address: https://xxxx--CONFIG03.cs15.my.salesforce.com/services/Soap/class/xxxx_ws_RetrieveAccount
Encoding: UTF-8
Http-Method: POST
Content-Type: text/xml
Headers: {Accept=[*/*], breadcrumbId=[ID-USMACC02M20HXFD59-49927-1458332073282-29-2], SOAPAction=[""]}
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><SessionHeader xmlns="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount"><sessionId>00De0000005P6NA!AQkAQDS6pDwsiKaMYIQcRZPRnfUE6j2gcC3f9_KYpM2Gnci0YiglsA6faASFHV9xmvmcQYwAF7lm5otoXwEDD3ydk_l4nvWB</sessionId></SessionHeader></soap:Header><soap:Body><retrieveAccount xmlns="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount">
    <request>
        <accountId>1717116</accountId>
        <caseId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
        <diadAccountId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
        <diadRegion xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
        <opportunityId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
        <retrieveContacts>true</retrieveContacts>
    </request>
</retrieveAccount></soap:Body></soap:Envelope>
--------------------------------------
2016-03-18 16:16:07,722 | INFO  | ault-workqueue-2 | xxxx_ws_RetrieveAccountPortType  | 173 - org.apache.cxf.cxf-core - 3.1.4 | Inbound Message
----------------------------
ID: 2
Response-Code: 200
Encoding: UTF-8
Content-Type: text/xml;charset=UTF-8
Headers: {Content-Security-Policy-Report-Only=[default-src https:; script-src https: 'unsafe-inline' 'unsafe-eval'; style-src https: 'unsafe-inline'; img-src https: data:; font-src https: data:; report-uri /_/ContentDomainCSPNoAuth?type=mydomain], content-type=[text/xml;charset=UTF-8], Date=[Fri, 18 Mar 2016 20:16:06 GMT], Expires=[Thu, 01 Jan 1970 00:00:00 GMT], Set-Cookie=[BrowserId=zgp7b7HuTqWjSTYBothgFA;Path=/;Domain=.salesforce.com;Expires=Tue, 17-May-2016 20:16:06 GMT], transfer-encoding=[chunked]}
Payload: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><retrieveAccountResponse><result><account><accountName>A &amp; C Lending</accountName><accountOwnerEmpId>UNK</accountOwnerEmpId><accountOwnerFirstName xsi:nil="true"/><accountOwnerLastName>Unknown</accountOwnerLastName><ariaAccountNumber>1397276</ariaAccountNumber><billingAddress><address>3900 FIRST Blvd Ste 3</address><city>Fort Myers</city><country>US</country><diadCityCode xsi:nil="true"/><latitude xsi:nil="true"/><longitude xsi:nil="true"/><postalCode>33912-1014</postalCode><state>FL</state></billingAddress><billingEmail>aclending@qatesting.com</billingEmail><billingFax xsi:nil="true"/><billingPhone>(239) 337 5363</billingPhone><bookKey xsi:nil="true"/><businessId>1717116</businessId><cityCode xsi:nil="true"/><contacts><contact><address>3900 FIRST Blvd Ste 3</address><billingContact>true</billingContact><birthDate xsi:nil="true"/><city>Fort Myers</city><contactSuffix xsi:nil="true"/><country>US</country><doNotCall>false</doNotCall><doNotFax>false</doNotFax><email>aclending@qatesting.com</email><emailOptOut>false</emailOptOut><fax xsi:nil="true"/><firstName>xxxx</firstName><lastName>xxxxtest</lastName><mobile xsi:nil="true"/><phone>1234567890</phone><postalCode>33912-1014</postalCode><primaryContact>true</primaryContact><state>FL</state><type>Decision Maker</type></contact></contacts><customerKey xsi:nil="true"/><diadId>421355</diadId><diadPaymentSourceCode xsi:nil="true"/><diadPrimaryBook xsi:nil="true"/><diadRegionKey>YBWEST</diadRegionKey><displayName>yyyyyyyy53635484</displayName><eProofingEmail xsi:nil="true"/><publicEmail xsi:nil="true"/><publicWebsite xsi:nil="true"/><regionKey xsi:nil="true"/><seenAtAddress><address>3900 FIRST Blvd Ste 3</address><city>Fort Myers</city><country>US</country><diadCityCode xsi:nil="true"/><latitude xsi:nil="true"/><longitude xsi:nil="true"/><postalCode>33912-1014</postalCode><state>FL</state></seenAtAddress><sfdcAccountId>xxxxxxxxxxxxxxxxxx</sfdcAccountId><siebelIntegrationId>1234567</siebelIntegrationId><taxExemptIndicator>false</taxExemptIndicator><taxExemptionLevel xsi:nil="true"/><taxIdentifier xsi:nil="true"/><taxpayerId xsi:nil="true"/></account><caseInfo xsi:nil="true"/><opportunity xsi:nil="true"/><svcMessage>The service call was successful.</svcMessage><svcStatusCode>SUCCESS</svcStatusCode><svcTrace xsi:nil="true"/></result></retrieveAccountResponse></soapenv:Body></soapenv:Envelope>
--------------------------------------
2016-03-18 16:16:07,731 | ERROR | ault-workqueue-2 | DefaultErrorHandler              | 136 - org.apache.camel.camel-core - 2.16.1 | Failed delivery for (MessageId: ID-USMACC02M20HXFD59-49927-1458332073282-4-12 on ExchangeId: ID-USMACC02M20HXFD59-49927-1458332073282-4-9). Exhausted after delivery attempt: 1 caught: java.io.IOException: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]

Message History
---------------------------------------------------------------------------------------------------------------------------------------
RouteId              ProcessorId          Processor                                                                        Elapsed (ms)
[directvm.salesforc] [directvm.salesforc] [direct-vm://retrieveaccount                                                   ] [      1419]
[sitemakerwebsite.p] [log40             ] [log                                                                           ] [         1]
[sitemakerwebsite.p] [unmarshal59       ] [unmarshal[org.apache.camel.model.dataformat.JaxbDataFormat@462b23c0]          ] [         8]
[sitemakerwebsite.p] [setHeader170      ] [setHeader[accountPrefix]                                                      ] [         6]
[sitemakerwebsite.p] [enrich39          ] [enrich[constant{direct-vm:retrieve_opportuninty_orchestrator}]                ] [      1404]
[retrieve_opportuni] [log32             ] [log                                                                           ] [        43]
[retrieve_opportuni] [choice39          ] [when[{com.xxxx.esb.services.salesforce.routes.GetOpportunityRouteBuilder$1@7b1] [      1360]
[retrieve_opportuni] [to121             ] [direct:process_parameters                                                     ] [         3]
[process_parameters] [log34             ] [log                                                                           ] [         3]
[process_parameters] [process144        ] [Processor@0x1baf61bb                                                          ] [         0]
[retrieve_opportuni] [choice38          ] [when[{com.xxxx.esb.services.salesforce.routes.GetOpportunityRouteBuilder$6@464] [      1357]
[retrieve_opportuni] [to122             ] [direct-vm:salesforce-retrieve-opportunity                                     ] [      1357]
[salesforce-retriev] [log35             ] [log                                                                           ] [         2]
[salesforce-retriev] [process145        ] [Processor@0x3fe66d15                                                          ] [         1]
[salesforce-retriev] [salesforce.retriev] [direct-vm:retrieveaccount                                                     ] [      1353]
[directvm.salesforc] [marshal18         ] [marshal[org.apache.camel.model.dataformat.JaxbDataFormat@44705872]            ] [         0]
[directvm.salesforc] [enrich8           ] [enrich[constant{direct-vm:getSalesforceSessionId}]                            ] [       181]
[directvm.salesforc] [to48              ] [cxf:bean:retAccToEndpoint                                                     ] [      1166]
[directvm.salesforc] [process53         ] [Processor@0x5b5a561f                                                          ] [         2]
[directvm.salesforc] [unmarshal15       ] [unmarshal[org.apache.camel.model.dataformat.JaxbDataFormat@44705872]          ] [         4]

Exchange
---------------------------------------------------------------------------------------------------------------------------------------
Exchange[
Id                  ID-USMACC02M20HXFD59-49927-1458332073282-4-9
ExchangePattern     InOut
Headers             {breadcrumbId=ID-USMACC02M20HXFD59-49927-1458332073282-29-2, CamelCxfMessage={org.apache.cxf.message.Message.PROTOCOL_HEADERS={Content-Security-Policy-Report-Only=[default-src https:; script-src https: 'unsafe-inline' 'unsafe-eval'; style-src https: 'unsafe-inline'; img-src https: data:; font-src https: data:; report-uri /_/ContentDomainCSPNoAuth?type=mydomain], content-type=[text/xml;charset=UTF-8], Date=[Fri, 18 Mar 2016 20:16:06 GMT], Expires=[Thu, 01 Jan 1970 00:00:00 GMT], Set-Cookie=[BrowserId=zgp7b7HuTqWjSTYBothgFA;Path=/;Domain=.salesforce.com;Expires=Tue, 17-May-2016 20:16:06 GMT], transfer-encoding=[chunked]}, org.apache.cxf.interceptor.DocLiteralInInterceptor.DocLiteralInInterceptor.keep-parameters-wrapper=true, org.apache.cxf.transport.Conduit=conduit: class org.apache.cxf.transport.http.URLConnectionHTTPConduit991450742target: https://xxxx--CONFIG03.cs15.my.salesforce.com/services/Soap/class/xxxx_ws_RetrieveAccount, org.apache.cxf.service.model.MessageInfo=[MessageInfo OUTPUT: {http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}retrieveAccountResponse], org.apache.cxf.binding.soap.SoapVersion=org.apache.cxf.binding.soap.Soap11@5140b63b, javax.xml.ws.wsdl.operation={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}retrieveAccount, javax.xml.ws.wsdl.service={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccountService, envelope.events=[xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/', xmlns:='http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount', xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'], soap.body.ns.context={=http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount, soapenv=http://schemas.xmlsoap.org/soap/envelope/, xsi=http://www.w3.org/2001/XMLSchema-instance}, org.apache.cxf.headers.Header.list=[], org.apache.cxf.wsdl.interceptors.DocLiteralInInterceptor.DocLiteralInInterceptor.keep-parameters-wrapper=true, schema-validation-enabled=NONE, body.events=[], org.apache.cxf.ws.policy.AssertionInfoMap={}, org.apache.cxf.client=true, javax.xml.ws.wsdl.port={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccount, javax.xml.ws.wsdl.interface={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccountPortType, javax.xml.ws.wsdl.description=https://cs15.salesforce.com:443/services/Soap/class/xxxx_ws_RetrieveAccount?wsdl, org.apache.cxf.message.Message.ENCODING=UTF-8, org.apache.cxf.message.inbound=true, org.apache.cxf.message.Message.RESPONSE_CODE=200, Content-Type=text/xml;charset=UTF-8, org.apache.cxf.interceptor.LoggingMessage.ID=2}, CamelHttpCharacterEncoding=UTF-8, CamelRedelivered=false, CamelRedeliveryCounter=0, Content-Security-Policy-Report-Only=default-src https:; script-src https: 'unsafe-inline' 'unsafe-eval'; style-src https: 'unsafe-inline'; img-src https: data:; font-src https: data:; report-uri /_/ContentDomainCSPNoAuth?type=mydomain, Content-Type=text/xml;charset=UTF-8, Date=Fri, 18 Mar 2016 20:16:06 GMT, Expires=Thu, 01 Jan 1970 00:00:00 GMT, org.apache.cxf.headers.Header.list=[], RequestContext={org.apache.cxf.message.Message.ENDPOINT_ADDRESS=https://xxxx--CONFIG03.cs15.my.salesforce.com/services/Soap/class/xxxx_ws_RetrieveAccount}, ResponseContext={org.apache.cxf.message.Message.PROTOCOL_HEADERS={Content-Security-Policy-Report-Only=[default-src https:; script-src https: 'unsafe-inline' 'unsafe-eval'; style-src https: 'unsafe-inline'; img-src https: data:; font-src https: data:; report-uri /_/ContentDomainCSPNoAuth?type=mydomain], content-type=[text/xml;charset=UTF-8], Date=[Fri, 18 Mar 2016 20:16:06 GMT], Expires=[Thu, 01 Jan 1970 00:00:00 GMT], Set-Cookie=[BrowserId=zgp7b7HuTqWjSTYBothgFA;Path=/;Domain=.salesforce.com;Expires=Tue, 17-May-2016 20:16:06 GMT], transfer-encoding=[chunked]}, org.apache.cxf.interceptor.DocLiteralInInterceptor.DocLiteralInInterceptor.keep-parameters-wrapper=true, org.apache.cxf.transport.Conduit=conduit: class org.apache.cxf.transport.http.URLConnectionHTTPConduit991450742target: https://xxxx--CONFIG03.cs15.my.salesforce.com/services/Soap/class/xxxx_ws_RetrieveAccount, org.apache.cxf.service.model.MessageInfo=[MessageInfo OUTPUT: {http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}retrieveAccountResponse], org.apache.cxf.binding.soap.SoapVersion=org.apache.cxf.binding.soap.Soap11@5140b63b, javax.xml.ws.wsdl.operation={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}retrieveAccount, javax.xml.ws.wsdl.service={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccountService, envelope.events=[xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/', xmlns:='http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount', xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'], soap.body.ns.context={=http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount, soapenv=http://schemas.xmlsoap.org/soap/envelope/, xsi=http://www.w3.org/2001/XMLSchema-instance}, org.apache.cxf.headers.Header.list=[], org.apache.cxf.wsdl.interceptors.DocLiteralInInterceptor.DocLiteralInInterceptor.keep-parameters-wrapper=true, schema-validation-enabled=NONE, body.events=[], org.apache.cxf.ws.policy.AssertionInfoMap={}, org.apache.cxf.client=true, javax.xml.ws.wsdl.port={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccount, javax.xml.ws.wsdl.interface={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccountPortType, javax.xml.ws.wsdl.description=https://cs15.salesforce.com:443/services/Soap/class/xxxx_ws_RetrieveAccount?wsdl, org.apache.cxf.message.Message.ENCODING=UTF-8, org.apache.cxf.message.inbound=true, org.apache.cxf.message.Message.RESPONSE_CODE=200, Content-Type=text/xml;charset=UTF-8, org.apache.cxf.interceptor.LoggingMessage.ID=2}, Set-Cookie=BrowserId=zgp7b7HuTqWjSTYBothgFA;Path=/;Domain=.salesforce.com;Expires=Tue, 17-May-2016 20:16:06 GMT, transfer-encoding=chunked}
BodyType            org.apache.camel.component.cxf.CxfPayload
Body                <retrieveAccountResponse xmlns="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount"><result><account><accountName>A &amp; C Lending</accountName><accountOwnerEmpId>UNK</accountOwnerEmpId><accountOwnerFirstName xsi:nil="true"/><accountOwnerLastName>Unknown</accountOwnerLastName><ariaAccountNumber>1397276</ariaAccountNumber><billingAddress><address>3900 FIRST Blvd Ste 3</address><city>Fort Myers</city><country>US</country><diadCityCode xsi:nil="true"/><latitude xsi:nil="true"/><longitude xsi:nil="true"/><postalCode>33912-1014</postalCode><state>FL</state></billingAddress><billingEmail>aclending@qatesting.com</billingEmail><billingFax xsi:nil="true"/><billingPhone>(239) 337 5363</billingPhone><bookKey xsi:nil="true"/><businessId>1717116</businessId><cityCode xsi:nil="true"/><contacts><contact><address>3900 FIRST Blvd Ste 3</address><billingContact>true</billingContact><birthDate xsi:nil="true"/><city>Fort Myers</city><contactSuffix xsi:nil="true"/><country>US</country><doNotCall>false</doNotCall><doNotFax>false</doNotFax><email>aclending@qatesting.com</email><emailOptOut>false</emailOptOut><fax xsi:nil="true"/><firstName>xxxx</firstName><lastName>xxxxtest</lastName><mobile xsi:nil="true"/><phone>1234567890</phone><postalCode>33912-1014</postalCode><primaryContact>true</primaryContact><state>FL</state><type>Decision Maker</type></contact></contacts><customerKey xsi:nil="true"/><diadId>421355</diadId><diadPaymentSourceCode xsi:nil="true"/><diadPrimaryBook xsi:nil="true"/><diadRegionKey>YBWEST</diadRegionKey><displayName>yyyyyyyy53635484</displayName><eProofingEmail xsi:nil="true"/><publicEmail xsi:nil="true"/><publicWebsite xsi:nil="true"/><regionKey xsi:nil="true"/><seenAtAddress><address>3900 FIRST Blvd Ste 3</address><city>Fort Myers</city><country>US</country><diadCityCode xsi:nil="true"/><latitude xsi:nil="true"/><longitude xsi:nil="true"/><postalCode>33912-1014</postalCode><state>FL</state></seenAtAddress><sfdcAccountId>xxxxxxxxxxxxxxxxxx</sfdcAccountId><siebelIntegrationId>1234567</siebelIntegrationId><taxExemptIndicator>false</taxExemptIndicator><taxExemptionLevel xsi:nil="true"/><taxIdentifier xsi:nil="true"/><taxpayerId xsi:nil="true"/></account><caseInfo xsi:nil="true"/><opportunity xsi:nil="true"/><svcMessage>The service call was successful.</svcMessage><svcStatusCode>SUCCESS</svcStatusCode><svcTrace xsi:nil="true"/></result></retrieveAccountResponse>
]

Stacktrace
---------------------------------------------------------------------------------------------------------------------------------------
java.io.IOException: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]
at org.apache.camel.converter.jaxb.JaxbDataFormat.unmarshal(JaxbDataFormat.java:212)[267:org.apache.camel.camel-jaxb:2.16.1]
at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline.access$100(Pipeline.java:44)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline$1.done(Pipeline.java:139)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.CamelInternalProcessor$InternalCallback.done(CamelInternalProcessor.java:250)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.RedeliveryErrorHandler$1.done(RedeliveryErrorHandler.java:472)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.management.InstrumentationProcessor$1.done(InstrumentationProcessor.java:86)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.SendProcessor$1.done(SendProcessor.java:151)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.component.cxf.CxfClientCallback.handleResponse(CxfClientCallback.java:61)[235:org.apache.camel.camel-cxf:2.16.1]
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:819)[173:org.apache.cxf.cxf-core:3.1.4]
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)[180:org.apache.cxf.cxf-rt-transports-http:3.1.4]
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:1167)[180:org.apache.cxf.cxf-rt-transports-http:3.1.4]
at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:428)[173:org.apache.cxf.cxf-core:3.1.4]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_45]
at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:353)[173:org.apache.cxf.cxf-core:3.1.4]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_45]
Caused by: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:485)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:417)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:386)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at org.apache.camel.converter.jaxb.JaxbDataFormat.unmarshal(JaxbDataFormat.java:204)[267:org.apache.camel.camel-jaxb:2.16.1]
... 20 more
Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]
at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:647)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.StreamScanner.parseLocalName(StreamScanner.java:1811)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleNsAttrs(BasicStreamReader.java:3019)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2963)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleRootElem(BasicStreamReader.java:2100)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2080)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1131)[134:woodstox-core-asl:4.4.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:164)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:415)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
... 22 more
2016-03-18 16:16:07,741 | WARN  | te.provisioning] | EndpointMessageListener          | 136 - org.apache.camel.camel-core - 2.16.1 | Execution of JMS message listener failed. Caused by: [org.apache.camel.RuntimeCamelException - java.io.IOException: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]]
org.apache.camel.RuntimeCamelException: java.io.IOException: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]
at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1642)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.component.jms.EndpointMessageListener$EndpointMessageListenerAsyncCallback.done(EndpointMessageListener.java:195)[139:org.apache.camel.camel-jms:2.16.1]
at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:116)[139:org.apache.camel.camel-jms:2.16.1]
at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:544)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:504)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:474)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1103)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1095)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:992)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_45]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_45]
Caused by: java.io.IOException: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]
at org.apache.camel.converter.jaxb.JaxbDataFormat.unmarshal(JaxbDataFormat.java:212)[267:org.apache.camel.camel-jaxb:2.16.1]
at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline.access$100(Pipeline.java:44)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline$1.done(Pipeline.java:139)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.CamelInternalProcessor$InternalCallback.done(CamelInternalProcessor.java:250)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.RedeliveryErrorHandler$1.done(RedeliveryErrorHandler.java:472)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.management.InstrumentationProcessor$1.done(InstrumentationProcessor.java:86)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.SendProcessor$1.done(SendProcessor.java:151)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.component.cxf.CxfClientCallback.handleResponse(CxfClientCallback.java:61)[235:org.apache.camel.camel-cxf:2.16.1]
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:819)[173:org.apache.cxf.cxf-core:3.1.4]
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)[180:org.apache.cxf.cxf-rt-transports-http:3.1.4]
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:1167)[180:org.apache.cxf.cxf-rt-transports-http:3.1.4]
at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:428)[173:org.apache.cxf.cxf-core:3.1.4]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_45]
at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:353)[173:org.apache.cxf.cxf-core:3.1.4]
... 1 more
Caused by: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:485)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:417)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:386)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at org.apache.camel.converter.jaxb.JaxbDataFormat.unmarshal(JaxbDataFormat.java:204)[267:org.apache.camel.camel-jaxb:2.16.1]
... 20 more
Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]
at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:647)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.StreamScanner.parseLocalName(StreamScanner.java:1811)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleNsAttrs(BasicStreamReader.java:3019)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2963)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleRootElem(BasicStreamReader.java:2100)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2080)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1131)[134:woodstox-core-asl:4.4.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:164)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:415)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
... 22 more



Re: Problem with CXF Payload Dataformat and Camel 2.16.1

Posted by Joseph Kampf <jo...@gmail.com>.
I did a little bit more digging and stepping through the camel-cxf code.

I think I tracked down the issue to this method in DefaultCxfBinding.java

    protected static void addNamespace(Element element, Map<String, String> nsMap) {

        for (String ns : nsMap.keySet()) {

            // We should not override the namespace setting of the element

            if (XMLConstants.XMLNS_ATTRIBUTE.equals(ns)) {

                if (ObjectHelper.isEmpty(element.getAttribute(XMLConstants.XMLNS_ATTRIBUTE))) {

                    element.setAttribute(ns, nsMap.get(ns));

                }

            } else {

                if (ObjectHelper.isEmpty(element.getAttribute(XMLConstants.XMLNS_ATTRIBUTE + ":" + ns))) {

                    element.setAttribute(XMLConstants.XMLNS_ATTRIBUTE + ":" + ns, nsMap.get(ns));

                }

            }

        }

                     

    }



What seems to be happing in the nsMap has the following values:
{=http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount, soapenv=http://schemas.xmlsoap.org/soap/envelope/, xsi=http://www.w3.org/2001/XMLSchema-instance}


Note the key on my namespace is an empty string.

The first If statement is looking for the XMLNS_ATTRIBUTE which is “xmlns”.  That of course is evaluating to false.  So the the next If asks if the element is empty, it is not, so it is adding the attribute to the element to be  "xmlns:” .

So my guess is that the Map nsMap is being populated by Cxf, not Camel.  I can’t find any other references to the constant “soap.body.ns.context” in the camel-cxf code base.   Also the map is being extracted from the Cxf Message in the method org.apache.camel.component.cxf.DefaultCxfBinding.getPayloadBodyElements(Message, Map<String, String>)

At this point I am not sure what to do.  

Here is a list of all my Cxf Bundles:

karaf@root>list -t 0 | grep -i cxf
173 | Active   |  40 | 3.1.4                              | Apache CXF Core
174 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Management
176 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Core for WSDL
177 | Active   |  40 | 3.1.4                              | Apache CXF Runtime JAXB DataBinding
178 | Active   |  40 | 3.1.4                              | Apache CXF Runtime XML Binding
179 | Active   |  40 | 3.1.4                              | Apache CXF Runtime SOAP Binding
180 | Active   |  40 | 3.1.4                              | Apache CXF Runtime HTTP Transport
181 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Simple Frontend
182 | Active   |  40 | 3.1.4                              | Apache CXF Runtime JAX-WS Frontend
183 | Active   |  40 | 3.1.4                              | Apache CXF JAX-RS Extensions: Providers
184 | Active   |  40 | 3.1.4                              | Apache CXF JAX-RS Extensions: Search
185 | Active   |  40 | 3.1.4                              | Apache CXF JAX-RS Service Description
186 | Active   |  40 | 3.1.4                              | Apache CXF Runtime JAX-RS Frontend
187 | Active   |  40 | 3.1.4                              | Apache CXF JAX-RS Client
188 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Aegis Databinding
190 | Active   |  40 | 3.1.4                              | Apache CXF Runtime XmlBeans DataBinding
191 | Active   |  40 | 3.1.4                              | Apache CXF Runtime CORBA Binding
192 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Colocated Binding
193 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Local Transport
194 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Object Binding
195 | Active   |  40 | 3.1.4                              | Apache CXF Runtime HTTP Jetty Transport
196 | Active   |  40 | 3.1.4                              | Apache CXF Runtime JMS Transport
198 | Active   |  40 | 3.1.4                              | Apache CXF Runtime UDP Transport
199 | Active   |  40 | 3.0.5                              | Apache CXF XJC Runtime
200 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Security functionality
202 | Active   |  40 | 3.1.4                              | Apache CXF Runtime WS Policy
220 | Active   |  40 | 3.1.4                              | Apache CXF Runtime WS Addressing
222 | Active   |  40 | 3.1.4                              | Apache CXF Runtime WS Security
223 | Active   |  40 | 3.1.4                              | Apache CXF Runtime SAML Security functionality
224 | Active   |  40 | 3.1.4                              | Apache CXF Runtime WS Reliable Messaging
225 | Active   |  40 | 3.1.4                              | Apache CXF Runtime WS MetadataExchange
226 | Active   |  40 | 3.1.4                              | Apache CXF Runtime JavaScript Client Generator
228 | Active   |  40 | 3.1.4                              | Apache CXF Runtime JavaScript Frontend
229 | Active   |  40 | 3.1.4                              | Apache CXF Runtime Clustering
231 | Active   |  40 | 3.1.4                              | Apache CXF Metrics Feature
232 | Active   |  40 | 3.1.4                              | Apache CXF Throttling Feature
233 | Active   |  40 | 3.1.4                              | Apache CXF Advanced Logging Feature
234 | Active   |  50 | 2.16.1                             | camel-cxf-transport
235 | Active   |  50 | 2.16.1                             | camel-cxf




From:  "joseph.kampf@gmail.com" <jo...@gmail.com>
Date:  Friday, March 18, 2016 at 4:45 PM
To:  <us...@camel.apache.org>
Subject:  Problem with CXF Payload Dataformat and Camel 2.16.1

First I would like to say that the same bundle works just fine with Camel 2.13.1 and 2.15.4.  This problem is occurring on 2.16.1 with Java 8

After making a CXF call using the PAYLOAD method we run into an XML parsing issue.  It appears that an extra Namespace definition is sneaking into the XML once Camel gets its hands on it from CXF.  What makes it worse is the extra namespace doesn’t a have a namespace prefix but does have a colon and that causes an XML parsing issue.

This is the offending XML that gets parsed:
 <retrieveAccountResponse xmlns="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount”>

Note the xmlns:=  should be xmlns=  But we already have one of those.

Here is my route Definition:

from(directVMName).routeId("directvm." + id).marshal(dataFormat)

                .enrich(toSessionIdEndpoint, aggregationStrategy).to(toEndpoint)

                .unmarshal(dataFormat);


Here is my bean definition for the toEndpoint:

<cxf:cxfEndpoint id="retAccToEndpoint"
address="${salesforce.services.soap.proxy.retacc.topath}"
        endpointName="s:xxxx_ws_RetrieveAccount" serviceName="s:xxxx_ws_RetrieveAccountService"
wsdlURL="wsdl/RetrieveAccount.wsdl"
        xmlns:s="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount" 
        loggingFeatureEnabled="true">
<cxf:properties>
<entry key="dataFormat" value="PAYLOAD" />
</cxf:properties>
<cxf:inInterceptors>
<bean class="org.apache.cxf.transport.common.gzip.GZIPInInterceptor">
</bean>
</cxf:inInterceptors>
</cxf:cxfEndpoint>




Here are my logs:

2016-03-18 16:16:06,562 | INFO  | te.provisioning] | xxxx_ws_RetrieveAccountPortType  | 173 - org.apache.cxf.cxf-core - 3.1.4 | Outbound Message
---------------------------
ID: 2
Address: https://xxxx--CONFIG03.cs15.my.salesforce.com/services/Soap/class/xxxx_ws_RetrieveAccount
Encoding: UTF-8
Http-Method: POST
Content-Type: text/xml
Headers: {Accept=[*/*], breadcrumbId=[ID-USMACC02M20HXFD59-49927-1458332073282-29-2], SOAPAction=[""]}
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><SessionHeader xmlns="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount"><sessionId>00De0000005P6NA!AQkAQDS6pDwsiKaMYIQcRZPRnfUE6j2gcC3f9_KYpM2Gnci0YiglsA6faASFHV9xmvmcQYwAF7lm5otoXwEDD3ydk_l4nvWB</sessionId></SessionHeader></soap:Header><soap:Body><retrieveAccount xmlns="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount">
    <request>
        <accountId>1717116</accountId>
        <caseId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
        <diadAccountId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
        <diadRegion xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
        <opportunityId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
        <retrieveContacts>true</retrieveContacts>
    </request>
</retrieveAccount></soap:Body></soap:Envelope>
--------------------------------------
2016-03-18 16:16:07,722 | INFO  | ault-workqueue-2 | xxxx_ws_RetrieveAccountPortType  | 173 - org.apache.cxf.cxf-core - 3.1.4 | Inbound Message
----------------------------
ID: 2
Response-Code: 200
Encoding: UTF-8
Content-Type: text/xml;charset=UTF-8
Headers: {Content-Security-Policy-Report-Only=[default-src https:; script-src https: 'unsafe-inline' 'unsafe-eval'; style-src https: 'unsafe-inline'; img-src https: data:; font-src https: data:; report-uri /_/ContentDomainCSPNoAuth?type=mydomain], content-type=[text/xml;charset=UTF-8], Date=[Fri, 18 Mar 2016 20:16:06 GMT], Expires=[Thu, 01 Jan 1970 00:00:00 GMT], Set-Cookie=[BrowserId=zgp7b7HuTqWjSTYBothgFA;Path=/;Domain=.salesforce.com;Expires=Tue, 17-May-2016 20:16:06 GMT], transfer-encoding=[chunked]}
Payload: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><retrieveAccountResponse><result><account><accountName>A &amp; C Lending</accountName><accountOwnerEmpId>UNK</accountOwnerEmpId><accountOwnerFirstName xsi:nil="true"/><accountOwnerLastName>Unknown</accountOwnerLastName><ariaAccountNumber>1397276</ariaAccountNumber><billingAddress><address>3900 FIRST Blvd Ste 3</address><city>Fort Myers</city><country>US</country><diadCityCode xsi:nil="true"/><latitude xsi:nil="true"/><longitude xsi:nil="true"/><postalCode>33912-1014</postalCode><state>FL</state></billingAddress><billingEmail>aclending@qatesting.com</billingEmail><billingFax xsi:nil="true"/><billingPhone>(239) 337 5363</billingPhone><bookKey xsi:nil="true"/><businessId>1717116</businessId><cityCode xsi:nil="true"/><contacts><contact><address>3900 FIRST Blvd Ste 3</address><billingContact>true</billingContact><birthDate xsi:nil="true"/><city>Fort Myers</city><contactSuffix xsi:nil="true"/><country>US</country><doNotCall>false</doNotCall><doNotFax>false</doNotFax><email>aclending@qatesting.com</email><emailOptOut>false</emailOptOut><fax xsi:nil="true"/><firstName>xxxx</firstName><lastName>xxxxtest</lastName><mobile xsi:nil="true"/><phone>1234567890</phone><postalCode>33912-1014</postalCode><primaryContact>true</primaryContact><state>FL</state><type>Decision Maker</type></contact></contacts><customerKey xsi:nil="true"/><diadId>421355</diadId><diadPaymentSourceCode xsi:nil="true"/><diadPrimaryBook xsi:nil="true"/><diadRegionKey>YBWEST</diadRegionKey><displayName>yyyyyyyy53635484</displayName><eProofingEmail xsi:nil="true"/><publicEmail xsi:nil="true"/><publicWebsite xsi:nil="true"/><regionKey xsi:nil="true"/><seenAtAddress><address>3900 FIRST Blvd Ste 3</address><city>Fort Myers</city><country>US</country><diadCityCode xsi:nil="true"/><latitude xsi:nil="true"/><longitude xsi:nil="true"/><postalCode>33912-1014</postalCode><state>FL</state></seenAtAddress><sfdcAccountId>xxxxxxxxxxxxxxxxxx</sfdcAccountId><siebelIntegrationId>1234567</siebelIntegrationId><taxExemptIndicator>false</taxExemptIndicator><taxExemptionLevel xsi:nil="true"/><taxIdentifier xsi:nil="true"/><taxpayerId xsi:nil="true"/></account><caseInfo xsi:nil="true"/><opportunity xsi:nil="true"/><svcMessage>The service call was successful.</svcMessage><svcStatusCode>SUCCESS</svcStatusCode><svcTrace xsi:nil="true"/></result></retrieveAccountResponse></soapenv:Body></soapenv:Envelope>
--------------------------------------
2016-03-18 16:16:07,731 | ERROR | ault-workqueue-2 | DefaultErrorHandler              | 136 - org.apache.camel.camel-core - 2.16.1 | Failed delivery for (MessageId: ID-USMACC02M20HXFD59-49927-1458332073282-4-12 on ExchangeId: ID-USMACC02M20HXFD59-49927-1458332073282-4-9). Exhausted after delivery attempt: 1 caught: java.io.IOException: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]

Message History
---------------------------------------------------------------------------------------------------------------------------------------
RouteId              ProcessorId          Processor                                                                        Elapsed (ms)
[directvm.salesforc] [directvm.salesforc] [direct-vm://retrieveaccount                                                   ] [      1419]
[sitemakerwebsite.p] [log40             ] [log                                                                           ] [         1]
[sitemakerwebsite.p] [unmarshal59       ] [unmarshal[org.apache.camel.model.dataformat.JaxbDataFormat@462b23c0]          ] [         8]
[sitemakerwebsite.p] [setHeader170      ] [setHeader[accountPrefix]                                                      ] [         6]
[sitemakerwebsite.p] [enrich39          ] [enrich[constant{direct-vm:retrieve_opportuninty_orchestrator}]                ] [      1404]
[retrieve_opportuni] [log32             ] [log                                                                           ] [        43]
[retrieve_opportuni] [choice39          ] [when[{com.xxxx.esb.services.salesforce.routes.GetOpportunityRouteBuilder$1@7b1] [      1360]
[retrieve_opportuni] [to121             ] [direct:process_parameters                                                     ] [         3]
[process_parameters] [log34             ] [log                                                                           ] [         3]
[process_parameters] [process144        ] [Processor@0x1baf61bb                                                          ] [         0]
[retrieve_opportuni] [choice38          ] [when[{com.xxxx.esb.services.salesforce.routes.GetOpportunityRouteBuilder$6@464] [      1357]
[retrieve_opportuni] [to122             ] [direct-vm:salesforce-retrieve-opportunity                                     ] [      1357]
[salesforce-retriev] [log35             ] [log                                                                           ] [         2]
[salesforce-retriev] [process145        ] [Processor@0x3fe66d15                                                          ] [         1]
[salesforce-retriev] [salesforce.retriev] [direct-vm:retrieveaccount                                                     ] [      1353]
[directvm.salesforc] [marshal18         ] [marshal[org.apache.camel.model.dataformat.JaxbDataFormat@44705872]            ] [         0]
[directvm.salesforc] [enrich8           ] [enrich[constant{direct-vm:getSalesforceSessionId}]                            ] [       181]
[directvm.salesforc] [to48              ] [cxf:bean:retAccToEndpoint                                                     ] [      1166]
[directvm.salesforc] [process53         ] [Processor@0x5b5a561f                                                          ] [         2]
[directvm.salesforc] [unmarshal15       ] [unmarshal[org.apache.camel.model.dataformat.JaxbDataFormat@44705872]          ] [         4]

Exchange
---------------------------------------------------------------------------------------------------------------------------------------
Exchange[
Id                  ID-USMACC02M20HXFD59-49927-1458332073282-4-9
ExchangePattern     InOut
Headers             {breadcrumbId=ID-USMACC02M20HXFD59-49927-1458332073282-29-2, CamelCxfMessage={org.apache.cxf.message.Message.PROTOCOL_HEADERS={Content-Security-Policy-Report-Only=[default-src https:; script-src https: 'unsafe-inline' 'unsafe-eval'; style-src https: 'unsafe-inline'; img-src https: data:; font-src https: data:; report-uri /_/ContentDomainCSPNoAuth?type=mydomain], content-type=[text/xml;charset=UTF-8], Date=[Fri, 18 Mar 2016 20:16:06 GMT], Expires=[Thu, 01 Jan 1970 00:00:00 GMT], Set-Cookie=[BrowserId=zgp7b7HuTqWjSTYBothgFA;Path=/;Domain=.salesforce.com;Expires=Tue, 17-May-2016 20:16:06 GMT], transfer-encoding=[chunked]}, org.apache.cxf.interceptor.DocLiteralInInterceptor.DocLiteralInInterceptor.keep-parameters-wrapper=true, org.apache.cxf.transport.Conduit=conduit: class org.apache.cxf.transport.http.URLConnectionHTTPConduit991450742target: https://xxxx--CONFIG03.cs15.my.salesforce.com/services/Soap/class/xxxx_ws_RetrieveAccount, org.apache.cxf.service.model.MessageInfo=[MessageInfo OUTPUT: {http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}retrieveAccountResponse], org.apache.cxf.binding.soap.SoapVersion=org.apache.cxf.binding.soap.Soap11@5140b63b, javax.xml.ws.wsdl.operation={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}retrieveAccount, javax.xml.ws.wsdl.service={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccountService, envelope.events=[xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/', xmlns:='http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount', xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'], soap.body.ns.context={=http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount, soapenv=http://schemas.xmlsoap.org/soap/envelope/, xsi=http://www.w3.org/2001/XMLSchema-instance}, org.apache.cxf.headers.Header.list=[], org.apache.cxf.wsdl.interceptors.DocLiteralInInterceptor.DocLiteralInInterceptor.keep-parameters-wrapper=true, schema-validation-enabled=NONE, body.events=[], org.apache.cxf.ws.policy.AssertionInfoMap={}, org.apache.cxf.client=true, javax.xml.ws.wsdl.port={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccount, javax.xml.ws.wsdl.interface={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccountPortType, javax.xml.ws.wsdl.description=https://cs15.salesforce.com:443/services/Soap/class/xxxx_ws_RetrieveAccount?wsdl, org.apache.cxf.message.Message.ENCODING=UTF-8, org.apache.cxf.message.inbound=true, org.apache.cxf.message.Message.RESPONSE_CODE=200, Content-Type=text/xml;charset=UTF-8, org.apache.cxf.interceptor.LoggingMessage.ID=2}, CamelHttpCharacterEncoding=UTF-8, CamelRedelivered=false, CamelRedeliveryCounter=0, Content-Security-Policy-Report-Only=default-src https:; script-src https: 'unsafe-inline' 'unsafe-eval'; style-src https: 'unsafe-inline'; img-src https: data:; font-src https: data:; report-uri /_/ContentDomainCSPNoAuth?type=mydomain, Content-Type=text/xml;charset=UTF-8, Date=Fri, 18 Mar 2016 20:16:06 GMT, Expires=Thu, 01 Jan 1970 00:00:00 GMT, org.apache.cxf.headers.Header.list=[], RequestContext={org.apache.cxf.message.Message.ENDPOINT_ADDRESS=https://xxxx--CONFIG03.cs15.my.salesforce.com/services/Soap/class/xxxx_ws_RetrieveAccount}, ResponseContext={org.apache.cxf.message.Message.PROTOCOL_HEADERS={Content-Security-Policy-Report-Only=[default-src https:; script-src https: 'unsafe-inline' 'unsafe-eval'; style-src https: 'unsafe-inline'; img-src https: data:; font-src https: data:; report-uri /_/ContentDomainCSPNoAuth?type=mydomain], content-type=[text/xml;charset=UTF-8], Date=[Fri, 18 Mar 2016 20:16:06 GMT], Expires=[Thu, 01 Jan 1970 00:00:00 GMT], Set-Cookie=[BrowserId=zgp7b7HuTqWjSTYBothgFA;Path=/;Domain=.salesforce.com;Expires=Tue, 17-May-2016 20:16:06 GMT], transfer-encoding=[chunked]}, org.apache.cxf.interceptor.DocLiteralInInterceptor.DocLiteralInInterceptor.keep-parameters-wrapper=true, org.apache.cxf.transport.Conduit=conduit: class org.apache.cxf.transport.http.URLConnectionHTTPConduit991450742target: https://xxxx--CONFIG03.cs15.my.salesforce.com/services/Soap/class/xxxx_ws_RetrieveAccount, org.apache.cxf.service.model.MessageInfo=[MessageInfo OUTPUT: {http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}retrieveAccountResponse], org.apache.cxf.binding.soap.SoapVersion=org.apache.cxf.binding.soap.Soap11@5140b63b, javax.xml.ws.wsdl.operation={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}retrieveAccount, javax.xml.ws.wsdl.service={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccountService, envelope.events=[xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/', xmlns:='http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount', xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'], soap.body.ns.context={=http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount, soapenv=http://schemas.xmlsoap.org/soap/envelope/, xsi=http://www.w3.org/2001/XMLSchema-instance}, org.apache.cxf.headers.Header.list=[], org.apache.cxf.wsdl.interceptors.DocLiteralInInterceptor.DocLiteralInInterceptor.keep-parameters-wrapper=true, schema-validation-enabled=NONE, body.events=[], org.apache.cxf.ws.policy.AssertionInfoMap={}, org.apache.cxf.client=true, javax.xml.ws.wsdl.port={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccount, javax.xml.ws.wsdl.interface={http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount}xxxx_ws_RetrieveAccountPortType, javax.xml.ws.wsdl.description=https://cs15.salesforce.com:443/services/Soap/class/xxxx_ws_RetrieveAccount?wsdl, org.apache.cxf.message.Message.ENCODING=UTF-8, org.apache.cxf.message.inbound=true, org.apache.cxf.message.Message.RESPONSE_CODE=200, Content-Type=text/xml;charset=UTF-8, org.apache.cxf.interceptor.LoggingMessage.ID=2}, Set-Cookie=BrowserId=zgp7b7HuTqWjSTYBothgFA;Path=/;Domain=.salesforce.com;Expires=Tue, 17-May-2016 20:16:06 GMT, transfer-encoding=chunked}
BodyType            org.apache.camel.component.cxf.CxfPayload
Body                <retrieveAccountResponse xmlns="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:="http://soap.sforce.com/schemas/class/xxxx_ws_RetrieveAccount"><result><account><accountName>A &amp; C Lending</accountName><accountOwnerEmpId>UNK</accountOwnerEmpId><accountOwnerFirstName xsi:nil="true"/><accountOwnerLastName>Unknown</accountOwnerLastName><ariaAccountNumber>1397276</ariaAccountNumber><billingAddress><address>3900 FIRST Blvd Ste 3</address><city>Fort Myers</city><country>US</country><diadCityCode xsi:nil="true"/><latitude xsi:nil="true"/><longitude xsi:nil="true"/><postalCode>33912-1014</postalCode><state>FL</state></billingAddress><billingEmail>aclending@qatesting.com</billingEmail><billingFax xsi:nil="true"/><billingPhone>(239) 337 5363</billingPhone><bookKey xsi:nil="true"/><businessId>1717116</businessId><cityCode xsi:nil="true"/><contacts><contact><address>3900 FIRST Blvd Ste 3</address><billingContact>true</billingContact><birthDate xsi:nil="true"/><city>Fort Myers</city><contactSuffix xsi:nil="true"/><country>US</country><doNotCall>false</doNotCall><doNotFax>false</doNotFax><email>aclending@qatesting.com</email><emailOptOut>false</emailOptOut><fax xsi:nil="true"/><firstName>xxxx</firstName><lastName>xxxxtest</lastName><mobile xsi:nil="true"/><phone>1234567890</phone><postalCode>33912-1014</postalCode><primaryContact>true</primaryContact><state>FL</state><type>Decision Maker</type></contact></contacts><customerKey xsi:nil="true"/><diadId>421355</diadId><diadPaymentSourceCode xsi:nil="true"/><diadPrimaryBook xsi:nil="true"/><diadRegionKey>YBWEST</diadRegionKey><displayName>yyyyyyyy53635484</displayName><eProofingEmail xsi:nil="true"/><publicEmail xsi:nil="true"/><publicWebsite xsi:nil="true"/><regionKey xsi:nil="true"/><seenAtAddress><address>3900 FIRST Blvd Ste 3</address><city>Fort Myers</city><country>US</country><diadCityCode xsi:nil="true"/><latitude xsi:nil="true"/><longitude xsi:nil="true"/><postalCode>33912-1014</postalCode><state>FL</state></seenAtAddress><sfdcAccountId>xxxxxxxxxxxxxxxxxx</sfdcAccountId><siebelIntegrationId>1234567</siebelIntegrationId><taxExemptIndicator>false</taxExemptIndicator><taxExemptionLevel xsi:nil="true"/><taxIdentifier xsi:nil="true"/><taxpayerId xsi:nil="true"/></account><caseInfo xsi:nil="true"/><opportunity xsi:nil="true"/><svcMessage>The service call was successful.</svcMessage><svcStatusCode>SUCCESS</svcStatusCode><svcTrace xsi:nil="true"/></result></retrieveAccountResponse>
]

Stacktrace
---------------------------------------------------------------------------------------------------------------------------------------
java.io.IOException: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]
at org.apache.camel.converter.jaxb.JaxbDataFormat.unmarshal(JaxbDataFormat.java:212)[267:org.apache.camel.camel-jaxb:2.16.1]
at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline.access$100(Pipeline.java:44)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline$1.done(Pipeline.java:139)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.CamelInternalProcessor$InternalCallback.done(CamelInternalProcessor.java:250)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.RedeliveryErrorHandler$1.done(RedeliveryErrorHandler.java:472)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.management.InstrumentationProcessor$1.done(InstrumentationProcessor.java:86)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.SendProcessor$1.done(SendProcessor.java:151)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.component.cxf.CxfClientCallback.handleResponse(CxfClientCallback.java:61)[235:org.apache.camel.camel-cxf:2.16.1]
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:819)[173:org.apache.cxf.cxf-core:3.1.4]
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)[180:org.apache.cxf.cxf-rt-transports-http:3.1.4]
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:1167)[180:org.apache.cxf.cxf-rt-transports-http:3.1.4]
at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:428)[173:org.apache.cxf.cxf-core:3.1.4]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_45]
at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:353)[173:org.apache.cxf.cxf-core:3.1.4]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_45]
Caused by: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:485)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:417)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:386)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at org.apache.camel.converter.jaxb.JaxbDataFormat.unmarshal(JaxbDataFormat.java:204)[267:org.apache.camel.camel-jaxb:2.16.1]
... 20 more
Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]
at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:647)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.StreamScanner.parseLocalName(StreamScanner.java:1811)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleNsAttrs(BasicStreamReader.java:3019)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2963)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleRootElem(BasicStreamReader.java:2100)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2080)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1131)[134:woodstox-core-asl:4.4.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:164)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:415)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
... 22 more
2016-03-18 16:16:07,741 | WARN  | te.provisioning] | EndpointMessageListener          | 136 - org.apache.camel.camel-core - 2.16.1 | Execution of JMS message listener failed. Caused by: [org.apache.camel.RuntimeCamelException - java.io.IOException: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]]
org.apache.camel.RuntimeCamelException: java.io.IOException: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]
at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1642)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.component.jms.EndpointMessageListener$EndpointMessageListenerAsyncCallback.done(EndpointMessageListener.java:195)[139:org.apache.camel.camel-jms:2.16.1]
at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:116)[139:org.apache.camel.camel-jms:2.16.1]
at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:544)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:504)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:474)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1103)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1095)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:992)[130:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_45]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_45]
Caused by: java.io.IOException: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]
at org.apache.camel.converter.jaxb.JaxbDataFormat.unmarshal(JaxbDataFormat.java:212)[267:org.apache.camel.camel-jaxb:2.16.1]
at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline.access$100(Pipeline.java:44)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.Pipeline$1.done(Pipeline.java:139)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.CamelInternalProcessor$InternalCallback.done(CamelInternalProcessor.java:250)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.RedeliveryErrorHandler$1.done(RedeliveryErrorHandler.java:472)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.management.InstrumentationProcessor$1.done(InstrumentationProcessor.java:86)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.processor.SendProcessor$1.done(SendProcessor.java:151)[136:org.apache.camel.camel-core:2.16.1]
at org.apache.camel.component.cxf.CxfClientCallback.handleResponse(CxfClientCallback.java:61)[235:org.apache.camel.camel-cxf:2.16.1]
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:819)[173:org.apache.cxf.cxf-core:3.1.4]
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)[180:org.apache.cxf.cxf-rt-transports-http:3.1.4]
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:1167)[180:org.apache.cxf.cxf-rt-transports-http:3.1.4]
at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:428)[173:org.apache.cxf.cxf-core:3.1.4]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_45]
at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:353)[173:org.apache.cxf.cxf-core:3.1.4]
... 1 more
Caused by: javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:485)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:417)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:386)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at org.apache.camel.converter.jaxb.JaxbDataFormat.unmarshal(JaxbDataFormat.java:204)[267:org.apache.camel.camel-jaxb:2.16.1]
... 20 more
Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character)
 at [row,col {unknown-source}]: [1,213]
at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:647)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.StreamScanner.parseLocalName(StreamScanner.java:1811)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleNsAttrs(BasicStreamReader.java:3019)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2963)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.handleRootElem(BasicStreamReader.java:2100)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2080)[134:woodstox-core-asl:4.4.1]
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1131)[134:woodstox-core-asl:4.4.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:164)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:415)[101:org.apache.servicemix.bundles.jaxb-impl:2.2.11.1]
... 22 more