Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Web Services and the fly likes Problem in running apache CXF webservice in weblogic 10 server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Problem in running apache CXF webservice in weblogic 10 server" Watch "Problem in running apache CXF webservice in weblogic 10 server" New topic

Problem in running apache CXF webservice in weblogic 10 server

arish sarkar

Joined: Sep 26, 2010
Posts: 1

I'm new to apache CXF web service. Currently I'm using CXF 2.2.9 to build a web service and trying to deploy deploy in weblogic version. I'm deploying the service in a WAR file. But, at the time of invoking the service I'm always getting the following exception. Please advice the solution.

[java] Exception in thread "main" Unable to access unsupported property
[java] at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(
[java] at $Proxy44.processOrder(Unknown Source)
[java] at demo.order.client.Client.main(
[java] Caused by: org.apache.cxf.binding.soap.SoapFault: Unable to access unsupported property
[java] at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(
[java] at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(
[java] at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(
[java] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
[java] at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(
[java] at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(
[java] at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(
[java] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
[java] at org.apache.cxf.endpoint.ClientImpl.onMessage(
[java] at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(
[java] at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(
[java] at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(
[java] at org.apache.cxf.transport.AbstractConduit.close(
[java] at org.apache.cxf.transport.http.HTTPConduit.close(
[java] at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(
[java] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
[java] at org.apache.cxf.endpoint.ClientImpl.invoke(
[java] at org.apache.cxf.endpoint.ClientImpl.invoke(
[java] at org.apache.cxf.endpoint.ClientImpl.invoke(
[java] at org.apache.cxf.frontend.ClientProxy.invokeSync(
[java] at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(
[java] ... 2 more
[java] Java Result: 1

1. I have the weblogic-application.xml in META-INF and it has the following entry,

<?xml version="1.0" encoding="UTF-8"?>
<weblogic-application xmlns="">
Darrel Davis

Joined: Nov 10, 2007
Posts: 5
I don't have any info specifically about your case since I'm just starting to look at CXF myself and will be deploying to Weblogic 10.3.x also. One thing I thought of was that we had to tell weblogic to prefer libraries we included with our webapp instead of the installed ones, which caused us tons of headaches due to WL's older libs and conflicts. We had to put the following block of xml in the weblogic.xml file, telling WL to use our libs over theirs:


It might help.

It is sorta covered in the JavaRanch Style Guide.
subject: Problem in running apache CXF webservice in weblogic 10 server
Similar Threads
CXF 2.2.3 with RAD 7.5 that comes with WebSphere test server 6.1 with Servlet 2.4 spec
CXF webservice ClassCastException
SOAP compatibility
Issue faced while calling Web service from standalone client using certificate.
Probleme de lancement de test avec StrutsTestCase