Paul Gilowey wrote:
Hi

I have successfully used JaxRpcPortProxyFactoryBean.
Are you using complex types in your web service declaration?

I am

Paul



>>> [EMAIL PROTECTED] 01/15/07 3:44 PM >>>

Hi

Has anyone successfully consumed a web service using Spring?
I am attempting to use Axis 1.4 generated dto classes and extending
Spring' s (2.0.1) JaxRpcPortProxyFactoryBean class.

I keep getting an error when the Spring web service client attempts to
deserialize what seems to be valid XML returned from the web service:

DEBUG CmPortProxyFactoryBean - Invoking operation 'storeDocument' as
JAX-RPC dynamic call
ERROR Call - Exception:
org.xml.sax.SAXException: Deserializing parameter
'storeDocumentResponse': could not find deserializer for type
{http://localhost/cmdocument/2006/01/cmdocument.xsd}>storeDocumentResponse
at
org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:277)
at
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
at org.apache.axis.client.Call.invoke(Call.java:2467)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at
org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor.performJaxRpcCall(JaxRpcPortClientInterceptor.java:592)

Any ideas?

Thanks






SANTAM Bpk / Ltd
Reg. No. 1918/001680/06

Directors: DK Smith (Chairman), SC Gilbert (Chief Executive), S Bray (Company 
Secretary), BTPKM Gamedze, JJ Geldenhuys, JG le Roux, Dr NM Magau,AR Martin, JP 
Moller, RK Morathi, P de V Rademeyer, J Rowse,GE Rudman, Dr J van Zyl, BP 
Vundla, MJ Reyneke (Executive)

Please note: This email and its content are subject to the disclaimer as 
displayed at the following link http://www.santam.co.za/disclaimer.htm. Should 
you not have Web access, send a mail to [EMAIL PROTECTED] and a copy will be 
emailed to you.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CTJUG 
Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/CTJUG-Forum
For the ctjug home page see http://www.ctjug.org.za
-~----------~----~----~----~------~----~------~--~---

Reply via email to