We are trying to connect to an axis web service through
RPCServiceClient. On the server side we are using hibernate and spring.
The object we are trying to retrieve is a complex java object. I see
that the function on the server side is being called
but unable to return the object on the client side. On the client side
we get this error
In Exception java.lang.reflect.InvocationTargetException
org.apache.axis2.AxisFault: java.lang.reflect.InvocationTargetException
at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java
:486)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(Out
InAxisOperation.java:343)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:389)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA
xisOperation.java:211)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163
)
at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528
)
at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508
)
at
org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking(RPCServiceCl
ient.java:101)
On the server side I have switched on the debug and this is the ouput
from the log.
Invoking flowComplete() in Phase "Transport"
2008-01-24 10:16:28,944
[org.apache.axis2.engine.Phase.flowComplete(Phase.java:334)] DEBUG
org.apache.axis2.engine.Phase - [MessageContext:
logID=urn:uuid:DBCA0B4E208B188D591201187720357] Invoking flowComplete()
for Handler 'SOAPActionBasedDispatcher' in Phase 'Transport'
2008-01-24 10:16:28,944
[org.apache.axis2.engine.Phase.flowComplete(Phase.java:334)] DEBUG
org.apache.axis2.engine.Phase - [MessageContext:
logID=urn:uuid:DBCA0B4E208B188D591201187720357] Invoking flowComplete()
for Handler 'RequestURIBasedDispatcher' in Phase 'Transport'
2008-01-24 10:16:28,944
[org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:152
)] DEBUG org.apache.axis2.transport.http.AxisServlet -
org.apache.axis2.AxisFault: java.lang.reflect.InvocationTargetException
2008-01-24 10:16:28,960
[org.apache.axis2.addressing.AddressingHelper.isFaultRedirected(Addressi
ngHelper.java:70)] DEBUG org.apache.axis2.addressing.AddressingHelper -
[MessageContext: logID=urn:uuid:DBCA0B4E208B188D591201187720357]
isReplyRedirected: FaultTo is null. Returning isReplyRedirected
2008-01-24 10:16:28,960
[org.apache.axis2.addressing.AddressingHelper.isReplyRedirected(Addressi
ngHelper.java:49)] DEBUG org.apache.axis2.addressing.AddressingHelper -
[MessageContext: logID=urn:uuid:DBCA0B4E208B188D591201187720357]
isReplyRedirected: ReplyTo is null. Returning false
2008-01-24 10:16:29,007
[org.apache.axis2.engine.Phase.invoke(Phase.java:269)] DEBUG
org.apache.axis2.engine.Phase - [MessageContext:
logID=urn:uuid:DBCA0B4E208B188D591201187789034] Checking pre-condition
for Phase "soapmonitorPhase"
2008-01-24 10:16:29,023
[org.apache.axis2.engine.Phase.invoke(Phase.java:282)] DEBUG
org.apache.axis2.engine.Phase - [MessageContext:
logID=urn:uuid:DBCA0B4E208B188D591201187789034] Invoking phase
"soapmonitorPhase"
Can someone help as to why we are getting the error??
thanks
Smitha
***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation,
offer or agreement or any information about any transaction, customer
account or account activity contained in this communication.
***********************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]