On Fri June 26 2009 10:52:58 am Steven Thein wrote:
> Hi Dan,
>       On the server side we are using Provider<SOAPMessage>. 

Ah!  Explains that.  :-)

> If I put
> jaxp-ri.jar file to the java\jre\lib\endorsed folder it works  fine. 

It has to do with the IBM JDK that WebSphere uses.   The Sun SAAJ 
implementation depends on the SUN jaxp  implementation.   That implementation 
is built into the Sun (and Mac, HP, and BEA) JDKs, but not into the IBM JDK's.  
 
They use Xerces directly.   Thus, you need to add the SUN jaxp jar so the Sun 
SAAJ implementation can be used.


Dan


> I am
> trying to find out if I miss some jar files from CXF.
> I will try to find the logs/stack traces from the server side and send it
> to you.
>
> Thanks
> Steve
>
>
>
> -----Original Message-----
> From: Daniel Kulp [mailto:[email protected]]
> Sent: Friday, June 26, 2009 10:20 AM
> To: [email protected]
> Cc: Steven Thein
> Subject: Re: Exception when calling a CXF web service deployed under
> WebSphere 7.0...
>
>
> Would definitely be more interested in seeing the logs/stack traces from
> the server side.   This trace is from the client and all it really says is
> that a fault occurred on the server side.
>
> That message comes from SAAJ.   What stuff are you doing server side that
> would cause SAAJ to be used?   JAX-WS handlers or WS-Security stuff are the
> normal culprits, although Provider<Source> or similar in message mode would
> do it as well.
>
> Dan
>
> On Thu June 25 2009 11:22:05 am Steven Thein wrote:
> > Hi all,
> >
> >                 I deployed CXF Web services under WebSphere 7.0 using IBM
> > JDK. When I made a call to a service I got the following exception. This
> > CXF Web services works fine under WebLogic.
> >
> > Any suggestions why I got the following exception?
> >
> >
> >
> > javax.xml.ws.soap.SOAPFaultException: Unable to internalize message
> >
> >       at
> > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:145)
> >
> >       at $Proxy41.login(Unknown Source)
> >
> >       at
> > com.primavera.wsclient.AuthenticationServiceJAXWSClient.testLogin(Authent
> >ic ationServiceJAXWSClient.java:154)
> >
> >       at
> > com.primavera.wsclient.AuthenticationServiceJAXWSClient.main(Authenticati
> >on ServiceJAXWSClient.java:38)
> >
> > Caused by: org.apache.cxf.binding.soap.SoapFault: Unable to internalize
> > message
> >
> >       at
> > org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarsha
> >lF ault(Soap11FaultInInterceptor.java:75)
> >
> >       at
> > org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMe
> >ss age(Soap11FaultInInterceptor.java:46)
> >
> >       at
> > org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMe
> >ss age(Soap11FaultInInterceptor.java:35)
> >
> >       at
> > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorCh
> >ai n.java:236)
> >
> >       at
> > org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(
> >Ab stractFaultChainInitiatorObserver.java:96)
> >
> >       at
> > org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SO
> >AP HandlerInterceptor.java:135)
> >
> >       at
> > org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SO
> >AP HandlerInterceptor.java:69)
> >
> >       at
> > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorCh
> >ai n.java:236)
> >
> >       at
> > org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:641)
> >
> >       at
> > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleRespo
> >ns eInternal(HTTPConduit.java:2108)
> >
> >       at
> > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleRespo
> >ns e(HTTPConduit.java:1987)
> >
> >       at
> > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPC
> >on duit.java:1912)
> >
> >       at
> > org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
> >
> >       at
> > org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:611)
> >
> >       at
> > org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingIn
> >te rceptor.handleMessage(MessageSenderInterceptor.java:62)
> >
> >       at
> > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorCh
> >ai n.java:236)
> >
> >       at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:469)
> >
> >       at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:299)
> >
> >       at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:251)
> >
> >       at
> > org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
> >
> >       at
> > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)
> >
> >
> >
> >
> >
> > Thanks
> >
> > Steve
>
> --
> Daniel Kulp
> [email protected]
> http://www.dankulp.com/blog

-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to