Hi, I've written a service with two webservices operations :
One (called method1) is returning an EntityVO object (this is a ValueObject) A second one (called method2) is returning a Object[] which is composed of EntityVO. I am using andromda3.0 with axis 1.2.1. I can try to call the 2 webservice methods from my browser without any problem. To make a simple test client, I've build the stubs with org.apache.axis.wsdl.WSDL2Java from the wsdl url. When I try to call "method1" I can get EntityVOs, no problem. When I call method2, I have the following error : Jul 8, 2005 3:14:22 PM org.apache.axis.client.Call invoke SEVERE: Exception: org.xml.sax.SAXException: Invalid element in com.skaware.application.config.client.ArrayOfanyType - getApplicationConfigurationsReturn at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:246) 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:1140) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:238) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:386) at org.apache.axis.client.Call.invoke(Call.java:2437) at org.apache.axis.client.Call.invoke(Call.java:2336) at org.apache.axis.client.Call.invoke(Call.java:1793) at com.skaware.application.config.client.ApplicationConfigServiceSoapBindingStub.getApplicationConfigurations(ApplicationConfigServiceSoapBindingStub.java:312) at test.TestProxy.main(TestProxy.java:38) Exception in thread "main" AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.xml.sax.SAXException: Invalid element in com.skaware.application.config.client.ArrayOfanyType - getApplicationConfigurationsReturn faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Invalid element in com.skaware.application.config.client.ArrayOfanyType - getApplicationConfigurationsReturn at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:246) 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:1140) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:238) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:386) at org.apache.axis.client.Call.invoke(Call.java:2437) at org.apache.axis.client.Call.invoke(Call.java:2336) at org.apache.axis.client.Call.invoke(Call.java:1793) at com.skaware.application.config.client.ApplicationConfigServiceSoapBindingStub.getApplicationConfigurations(ApplicationConfigServiceSoapBindingStub.java:312) at test.TestProxy.main(TestProxy.java:38) {http://xml.apache.org/axis/}hostname:corpus.uche.mil org.xml.sax.SAXException: Invalid element in com.skaware.application.config.client.ArrayOfanyType - getApplicationConfigurationsReturn at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) at org.apache.axis.client.Call.invoke(Call.java:2440) at org.apache.axis.client.Call.invoke(Call.java:2336) at org.apache.axis.client.Call.invoke(Call.java:1793) at com.skaware.application.config.client.ApplicationConfigServiceSoapBindingStub.getApplicationConfigurations(ApplicationConfigServiceSoapBindingStub.java:312) at test.TestProxy.main(TestProxy.java:38) Caused by: org.xml.sax.SAXException: Invalid element in com.skaware.application.config.client.ArrayOfanyType - getApplicationConfigurationsReturn at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:246) 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:1140) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:238) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:386) at org.apache.axis.client.Call.invoke(Call.java:2437) ... 4 more Any idea? Thanks in advance! Fabrice _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2212#2212 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user