I have written a service using XFire, which returns a list of beans. I have done the aegis.xml file mapping as per the documentation.
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 ____________________________________________________________________________________ Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=list&sid=396546091 --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
