Hi Anshum,

The problem here is that de stack-trace information
is not good.

You must run your code through a debugger and stop
in AbstractInvoker (I'm not sure if that's the class name)
, and see what the TargetException is
(method getTargetException() in InvocationTargetException class)
these will let you know the real cause of the error.

After this I'm sure you will be able to detect your problem.

I faced a similar problem a week ago, and I was going to send
an e-mail to see if this problem (?) can be fixed.

Hope it helps
tonio


On Mon, 2007-05-07 at 17:47 -0700, Anshumn Sagar wrote:
> Hi,
> 
> I am facing a problem while calling the web service
> which returns a list of objects. The service is
> written using spring+xfire. The problem occurs when I
> deploy the service on Weblogic 8.1. If I call the
> service from my client, I
> get InvocationTargetException. The stack trace appears
> as - 
> ----------------------------------------------------
> org.codehaus.xfire.XFireRuntimeException: Exception
> while calling:
> http://myserver02:7001/service/PartnerDataService
> arguments: service.beans.LicenseSearchInput :
> [EMAIL PROTECTED] |. Nested
> exception is org.codehaus.xfire.fault.XFireFault:
> Error invoking
> 'service.IPartnerDataService.searchLicenses(service.beans.LicenseSearchInput)'.
> Nested exception is
> java.lang.reflect.InvocationTargetException: null
> org.codehaus.xfire.fault.XFireFault: Error invoking
> 'service.IPartnerDataService.searchLicenses(service.beans.LicenseSearchInput)'.
> Nested exception is
> java.lang.reflect.InvocationTargetException: null
>       at
> org.codehaus.xfire.fault.Soap11FaultSerializer.readMessage(Soap11FaultSerializer.java:31)
>       at
> org.codehaus.xfire.fault.SoapFaultSerializer.readMessage(SoapFaultSerializer.java:28)
>       at
> org.codehaus.xfire.soap.handler.ReadHeadersHandler.checkForFault(ReadHeadersHandler.java:111)
>       at
> org.codehaus.xfire.soap.handler.ReadHeadersHandler.invoke(ReadHeadersHandler.java:67)
>       at
> org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
>       at
> org.codehaus.xfire.client.Client.onReceive(Client.java:387)
>       at
> org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:139)
>       at
> org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
>       at
> org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
>       at
> org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
> -----------------------------------------------------
> 
> The same call works fine in Weblogic 9.2, but it is
> failing on Weblogic 8.1. And it happens only for the
> service method calls where I am returning a list of
> beans, the other methods where I just return a plain
> object instead of a list works fine in weblogic 8.1.
> 
> I have made my aegis.xml mapping file as - 
> 
> -----------------------------------------------------
> <mappings>
>       <mapping>
>               <method name="searchLicenses">
>                       <return-type
> componentType="service.beans.License"/>
>               </method>
>       </mapping>
> </mappings>
> -----------------------------------------------------
> 
> Can someone help in finding out the problem? This is
> very urgent for me.
> 
> Thanks in advance!!
> Regards,
> Anshumn
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to