You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Johnson George <g_...@yahoo.com> on 2009/05/20 05:55:24 UTC
CXF "no jbi part element" issue
I am trying CXFBC--->CXFSE and I am getting "no jbi part element".
I tried with/without useJBIWrapper="true / false". I am using smx3.3 and
cxfse/cxfbc 2009.01 version components.
Here are my xbean.xml's
CXF BC
<beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
xmlns:persistConfig="http://mycompany.com/cc/persist-config">
<cxfbc:consumer wsdl="classpath:PersistConfigService.wsdl"
targetService="persistConfig:PersistConfigImplService"
targetInterface="persistConfig:PersistConfigService"
useJBIWrapper="true"/>
</beans>
CXF SE
<beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0">
<cxfse:endpoint>
<cxfse:pojo>
<bean class="com.mycompany.cc.persist.config.PersistConfigImpl"/>
</cxfse:pojo>
</cxfse:endpoint>
</beans>
NOTE: The same works fine when is use CXF 2.0.9 and java2wsdl in my pom.xml
but i get error while using CXF 2.1.4 and java2ws.
Any assistance will be much appreciated.
thanks,
Johnson
--
View this message in context: http://www.nabble.com/CXF-%22no-jbi-part-element%22-issue-tp23628575p23628575.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: CXF "no jbi part element" issue
Posted by Freeman Fang <fr...@gmail.com>.
Hi Johnson,
Sorry for the delay.
But your test case doesn't work for me.
I tried to modify your pom to get through the build failure, but
eventually I can't work around the missing class
com.mycompany.cc.persist.config.Config. Would you append this class in
your test case also?
You mentioned "The same works fine when is use CXF 2.0.9 and java2wsdl
in my pom.xml"
Do you mean use cxf 2.0.9 you can't see the "no jbi part element" issue
or use cxf 2.0.9 you can generate wsdl from your java code?
Could you just provide me a testcase I can build and deploy to the smx
container so that I can reproduce and focus on the "no jbi part
elemenet" problem?
Thanks
Freeman
Johnson George wrote:
> Hi Freeman ,
>
> I have attached my code cxfbc and cxfse. Thanks for looking into it :)
>
> thanks,
>
>
>
> Freeman Fang wrote:
>
>> Hi Johnson,
>> A working testcase would be more helpful, thanks
>> Freeman
>> Johnson George wrote:
>>
>>> I am trying CXFBC--->CXFSE and I am getting "no jbi part element".
>>>
>>> I tried with/without useJBIWrapper="true / false". I am using smx3.3 and
>>> cxfse/cxfbc 2009.01 version components.
>>>
>>> Here are my xbean.xml's
>>>
>>> CXF BC
>>>
>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>>> xmlns:persistConfig="http://mycompany.com/cc/persist-config">
>>>
>>> <cxfbc:consumer wsdl="classpath:PersistConfigService.wsdl"
>>>
>>> targetService="persistConfig:PersistConfigImplService"
>>> targetInterface="persistConfig:PersistConfigService"
>>> useJBIWrapper="true"/>
>>>
>>> </beans>
>>>
>>>
>>> CXF SE
>>>
>>> <beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0">
>>>
>>> <cxfse:endpoint>
>>> <cxfse:pojo>
>>> <bean
>>> class="com.mycompany.cc.persist.config.PersistConfigImpl"/>
>>> </cxfse:pojo>
>>> </cxfse:endpoint>
>>>
>>> </beans>
>>>
>>> NOTE: The same works fine when is use CXF 2.0.9 and java2wsdl in my
>>> pom.xml
>>> but i get error while using CXF 2.1.4 and java2ws.
>>>
>>> Any assistance will be much appreciated.
>>>
>>> thanks,
>>> Johnson
>>>
>>>
>> --
>> Freeman Fang
>> ------------------------
>> Open Source SOA: http://fusesource.com
>> http://www.nabble.com/file/p23634426/CXF%2B%2528no%2Bjbi%2Bpart%2Belement%2Bissue%2529.zip
>> CXF+%28no+jbi+part+element+issue%29.zip
>>
>>
>>
>>
> http://www.nabble.com/file/p23634426/CXF%2B%2528no%2Bjbi%2Bpart%2Belement%2Bissue%2529.zip
> CXF+%28no+jbi+part+element+issue%29.zip
>
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com
Re: CXF "no jbi part element" issue
Posted by Johnson George <g_...@yahoo.com>.
Hi Freeman ,
I have attached my code cxfbc and cxfse. Thanks for looking into it :)
thanks,
Freeman Fang wrote:
>
> Hi Johnson,
> A working testcase would be more helpful, thanks
> Freeman
> Johnson George wrote:
>> I am trying CXFBC--->CXFSE and I am getting "no jbi part element".
>>
>> I tried with/without useJBIWrapper="true / false". I am using smx3.3 and
>> cxfse/cxfbc 2009.01 version components.
>>
>> Here are my xbean.xml's
>>
>> CXF BC
>>
>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>> xmlns:persistConfig="http://mycompany.com/cc/persist-config">
>>
>> <cxfbc:consumer wsdl="classpath:PersistConfigService.wsdl"
>>
>> targetService="persistConfig:PersistConfigImplService"
>> targetInterface="persistConfig:PersistConfigService"
>> useJBIWrapper="true"/>
>>
>> </beans>
>>
>>
>> CXF SE
>>
>> <beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0">
>>
>> <cxfse:endpoint>
>> <cxfse:pojo>
>> <bean
>> class="com.mycompany.cc.persist.config.PersistConfigImpl"/>
>> </cxfse:pojo>
>> </cxfse:endpoint>
>>
>> </beans>
>>
>> NOTE: The same works fine when is use CXF 2.0.9 and java2wsdl in my
>> pom.xml
>> but i get error while using CXF 2.1.4 and java2ws.
>>
>> Any assistance will be much appreciated.
>>
>> thanks,
>> Johnson
>>
>
>
> --
> Freeman Fang
> ------------------------
> Open Source SOA: http://fusesource.com
> http://www.nabble.com/file/p23634426/CXF%2B%2528no%2Bjbi%2Bpart%2Belement%2Bissue%2529.zip
> CXF+%28no+jbi+part+element+issue%29.zip
>
>
>
http://www.nabble.com/file/p23634426/CXF%2B%2528no%2Bjbi%2Bpart%2Belement%2Bissue%2529.zip
CXF+%28no+jbi+part+element+issue%29.zip
--
View this message in context: http://www.nabble.com/CXF-%22no-jbi-part-element%22-issue-tp23628575p23634426.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: CXF "no jbi part element" issue
Posted by Freeman Fang <fr...@gmail.com>.
Hi Johnson,
A working testcase would be more helpful, thanks
Freeman
Johnson George wrote:
> I am trying CXFBC--->CXFSE and I am getting "no jbi part element".
>
> I tried with/without useJBIWrapper="true / false". I am using smx3.3 and
> cxfse/cxfbc 2009.01 version components.
>
> Here are my xbean.xml's
>
> CXF BC
>
> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
> xmlns:persistConfig="http://mycompany.com/cc/persist-config">
>
> <cxfbc:consumer wsdl="classpath:PersistConfigService.wsdl"
> targetService="persistConfig:PersistConfigImplService"
> targetInterface="persistConfig:PersistConfigService"
> useJBIWrapper="true"/>
>
> </beans>
>
>
> CXF SE
>
> <beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0">
>
> <cxfse:endpoint>
> <cxfse:pojo>
> <bean class="com.mycompany.cc.persist.config.PersistConfigImpl"/>
> </cxfse:pojo>
> </cxfse:endpoint>
>
> </beans>
>
> NOTE: The same works fine when is use CXF 2.0.9 and java2wsdl in my pom.xml
> but i get error while using CXF 2.1.4 and java2ws.
>
> Any assistance will be much appreciated.
>
> thanks,
> Johnson
>
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com