You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Nayak Narayan <na...@yahoo.com> on 2009/02/12 08:11:43 UTC
Fw: Query with JAX-WS client accessing service...
> Hi,
>
> I am new to Axis 2 and web service world.
>
> I am encountered with exception when i access service
> through client [ServiceFacade.java] using JAX-WS but same is
> running when i try to access through CXF.
>
> Exception in thread "main"
> javax.xml.ws.soap.SOAPFaultException: An error was
> discovered processing the <wsse:Security> header
> at
> org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.createSystemException(MethodMarshallerUtils.java:1249)
> at
> org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.demarshalFaultResponse(MethodMarshallerUtils.java:975)
> at
> org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedMethodMarshaller.demarshalFaultResponse(DocLitWrappedMethodMarshaller.java:546)
> at
> org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.getFaultResponse(JAXWSProxyHandler.java:413)
> at
> org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.createResponse(JAXWSProxyHandler.java:384)
> at
> org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:308)
> at
> org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:158)
> at $Proxy12.getLoggedInUser(Unknown Source)
> at service.ServiceFacade.main(ServiceFacade.java:46)
>
> I have done following steps to reproduce above exception
>
> 1) Generated stub through
>
> C:\jaxws-ri\bin\wsimport.bat -s .\src -keep
> -verbose
> https://adminapi.checkm8.com/AdminServer/services/UserService?wsdl
>
> 2) In my class path i have added required jars to run my
> class and comes with Axis2.
>
> 3) When i run ServiceFacade at that time i bump into the
> exception.
>
> Appreciate your input.
>
> Thanks in Advance.
>
> Narayan