[
https://issues.apache.org/activemq/browse/SM-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48103#action_48103
]
Andrea Zoppello commented on SM-1711:
-------------------------------------
Hi Freeman,
Sorry for all that confusion, the previous post was my fault, this is beacuse
i'm trying to solve two problems on using cxf and i've made confusion. In the
previous post i've said to you wrong things.
So ignore my previous post, and restart from scratch.
Follow this steps
(1) Copy the file SMX_HOME\extras\servicemix-components-3.3.jar into
SMX_HOME\lib\
(2) The two process attached are effectively using the lw-container so you do
not need the three jars related to smx-bean,and you need the installer zip of
the lw-container.
(3) Effectively the only thing you need is the spagic.properties in the
classpath ( it's enough ) you've an empty properties file.
With this configuration it should work.
Andrea
> INFO: Interceptor has thrown exception, unwinding now
> org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR:
> ------------------------------------------------------------------------------------------------------
>
> Key: SM-1711
> URL: https://issues.apache.org/activemq/browse/SM-1711
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-cxf-bc
> Affects Versions: servicemix-cxf-bc-2008.01
> Reporter: Andrea Zoppello
> Assignee: Freeman Fang
> Attachments: CXFInvoker_v_0-sa.zip, smx-bean-common-utils-2.4.jar,
> smx-bean-components-2.4.jar, smx-bean-support-2.4.jar, WSTestCXF_v_0-sa.zip
>
>
> I've two sas:
> 1) The first one starts when an xml file appears on a folder ( btw it's just
> a way sto start the process the content of the file is ignored ) then it use
> an eip-pipeline with a transformer that is a cxf-bc-input-output.
> 2) The second process expose a cxf-input-output consumer called by the first
> process.
> This is the soap response the cxf-bc-provider ( i've used the tcp moinitor to
> trace it )
> HTTP/1.1 200 OK
> Content-Type: application/soap+xml; charset=UTF-8
> Content-Length: 621
> Server: Jetty(6.1.6)
> <soap:Envelope
> xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><RelatesTo
> xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:B5AAE5716469A68D5C1227796067318</RelatesTo><Action
>
> xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:2007:RegisterDocumentSet-bResponse</Action></soap:Header><soap:Body>
> <rs:RegistryResponse
> status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success"
> xmlns:SOAP-SEC="http://schemas.xmlsoap.org/soap/security/2000-12"
> xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"
> xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
> /></soap:Body></soap:Envelope>
> As you could see there's nothing wrong.... with that soap response.
> But the exception is the same with or without ssl i've this exception:
> 27-nov-2008 15.28.19 org.apache.cxf.phase.PhaseInterceptorChain doIntercept
> INFO: Interceptor has thrown exception, unwinding now
> org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to
> insert a node where it is n
> t permitted.
> at org.apache.xerces.dom.ParentNode.internalInsertBefore(Unknown Source)
> at org.apache.xerces.dom.ParentNode.insertBefore(Unknown Source)
> at org.apache.xerces.dom.CoreDocumentImpl.insertBefore(Unknown Source)
> at org.apache.xerces.dom.NodeImpl.appendChild(Unknown Source)
> at
> org.apache.cxf.staxutils.StaxUtils.readDocElements(StaxUtils.java:719)
> at org.apache.cxf.staxutils.StaxUtils.read(StaxUtils.java:605)
> at
> org.apache.servicemix.cxfbc.interceptors.JbiInWsdl1Interceptor.getBodyElement(JbiInWsdl1
> nterceptor.java:306)
> at
> org.apache.servicemix.cxfbc.interceptors.JbiInWsdl1Interceptor.handleMessage(JbiInWsdl1I
> terceptor.java:143)
> at
> org.apache.servicemix.cxfbc.interceptors.JbiInWsdl1Interceptor.handleMessage(JbiInWsdl1I
> terceptor.java:59)
> at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
> at
> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageO
> server.java:137)
> at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit
> java:2029)
> at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:186
> )
> at
> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:249)
> at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
> at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.