And dropped in src/generated or something like that.

On Tue, Aug 25, 2009 at 4:36 PM, Claus Ibsen<claus.ib...@gmail.com> wrote:
> I think they are auto generated by maven tooling.
>
> Try running mvn install
>
> On Tue, Aug 25, 2009 at 4:08 PM, bgoetzmann<bgoetzm...@sophia.symag.com> 
> wrote:
>>
>> Hello,
>>
>> Looking at the CxfMtomConsumerTest.java test case in
>> http://svn.apache.org/viewvc/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/
>>
>> I see that file uses org.apache.camel.cxf.mtom_feature.HelloService and
>> org.apache.camel.cxf.mtom_feature.Hello classes, but I can't find these
>> sources!
>>
>> Can you tell where I could find it?
>>
>> Thank you,
>>
>> Bertrand.
>>
>>
>> willem.jiang wrote:
>>>
>>> Can you try out the Camel 2.0-SNAPSHOT?
>>> Since we did some refactoring and clean up work on the camel-cxf in
>>> Camel 2.0, maybe this bug is ready fixed in Camel 2.0-SNAPSHOT.
>>>
>>> I will run the MTOM tests on Camel 1.x branch tomorrow.
>>>
>>> BTW, Hadrian is doing the Camel 2.0-m2 release this week, don't hesitate
>>> to try it :)
>>>
>>> Willem
>>> trivedi kumar b wrote:
>>>> Hi,
>>>>
>>>> Thanks for the response on this.
>>>> I have been using 1.6.0 version of camel. Let me know were you able to
>>>> replicate the problem at your end.
>>>>
>>>> Thanks,
>>>> Trivedi
>>>>
>>>>
>>>> willem.jiang wrote:
>>>>> Hi,
>>>>>
>>>>> Which version of Camel are you using ?
>>>>> I just write a simple test on the latst Camel trunk (2.0-SNAPSHOT).
>>>>> There is no exception with the "MESSAGE" dataFormat.
>>>>>
>>>>> Willem
>>>>>
>>>>> trivedi kumar b wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I have been trying to create a webserive using CXF by enabling MTOM
>>>>>> option
>>>>>> and setting the property "dataFormat" as "MESSAGE". When I am trying to
>>>>>> send
>>>>>> the requests from SOAP UI, I am getting the below exception at the
>>>>>> server
>>>>>> side:
>>>>>>
>>>>>> =====================================
>>>>>> INFO: Interceptor has thrown exception, unwinding now
>>>>>> org.apache.cxf.interceptor.Fault
>>>>>>    at
>>>>>> org.apache.camel.component.cxf.interceptors.RawMessageContentRedirectInterceptor.handleMessage(RawMessageContentRedirectInterceptor.java:52)
>>>>>>    at
>>>>>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
>>>>>>    at
>>>>>> org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:74)
>>>>>>    at
>>>>>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
>>>>>>    at
>>>>>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:89)
>>>>>>    at
>>>>>> org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:302)
>>>>>>    at
>>>>>> org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:265)
>>>>>>    at
>>>>>> org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70)
>>>>>>    at
>>>>>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
>>>>>>    at
>>>>>> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
>>>>>>    at
>>>>>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>>>>>>    at org.mortbay.jetty.Server.handle(Server.java:326)
>>>>>>    at
>>>>>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
>>>>>>    at
>>>>>> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
>>>>>>    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
>>>>>>    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
>>>>>>    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>>>>>>    at
>>>>>> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
>>>>>>    at
>>>>>> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
>>>>>> Caused by: java.lang.NullPointerException
>>>>>>    at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025)
>>>>>>    at org.apache.commons.io.IOUtils.copy(IOUtils.java:999)
>>>>>>    at
>>>>>> org.apache.camel.component.cxf.interceptors.RawMessageContentRedirectInterceptor.handleMessage(RawMessageContentRedirectInterceptor.java:48)
>>>>>>    ... 18 more
>>>>>> Jun 10, 2009 2:15:13 AM org.apache.cxf.phase.PhaseInterceptorChain
>>>>>> doIntercept
>>>>>> INFO: Interceptor has thrown exception, unwinding now
>>>>>> java.lang.ClassCastException: org.apache.cxf.message.MessageImpl cannot
>>>>>> be
>>>>>> cast to org.apache.cxf.binding.soap.SoapMessage
>>>>>>    at
>>>>>> org.apache.cxf.binding.soap.interceptor.Soap11FaultOutInterceptor.handleMessage(Soap11FaultOutInterceptor.java:43)
>>>>>>    at
>>>>>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
>>>>>> ============================================================
>>>>>>
>>>>>> If I set the dataformat as "POJO", it is working fine. Pls let me know
>>>>>> how I
>>>>>> can solve this problem?
>>>>>>
>>>>>> Here is my context.xml file contents (i am using spring along with
>>>>>> camel):
>>>>>>
>>>>>> <cxf:cxfEndpoint id="serviceEndpoint"
>>>>>>            
>>>>>> address="http://localhost:9090/XDSbServer/Services/XDSbRepository";
>>>>>>            serviceClass="ihe.iti.xds_b._2007.DocumentRepositoryPortType">
>>>>>>            <cxf:properties>
>>>>>>                    <entry key="dataFormat" value="MESSAGE" />
>>>>>>                    <entry key="mtom-enabled" value="true" />
>>>>>>            </cxf:properties>
>>>>>>    </cxf:cxfEndpoint>
>>>>>>
>>>>>> I am kind of really stuck with this issue, pls help me.
>>>>>>
>>>>>> Thanks,
>>>>>> Trivedi
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>
>> --
>> View this message in context: 
>> http://www.nabble.com/issue-with-CXF-with-MTOM-and-dataformat-as-%22MESSAGE%22-tp23951136p25134973.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
>
>
>
> --
> Claus Ibsen
> Apache Camel Committer
>
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to