A few questions first: 1) Do you use Tuscany 1.x or 2.x?
2) Do you have an interface for the client that uses Java array such as Address[] setAddress? 3) Can you try to change Set<Address> to Address[] to see if it helps? 4) Can you post the complete interface? Thanks, Raymond ________________________________________________________________ Raymond Feng [email protected] Apache Tuscany PMC member and committer: tuscany.apache.org Co-author of Tuscany SCA In Action book: www.tuscanyinaction.com Personal Web Site: www.enjoyjava.com ________________________________________________________________ On Nov 22, 2010, at 8:28 AM, Ruault Gaetan wrote: > Hi > > i have an exposed WS like this : > > public void changementCoordonneesBancaires(People people, Set<Adress> > setAdress) throws BusinessException > > Input wsdl message like this : > > <xs:element name="changementCoordonneesBancaires"> > > <xs:complexType> > > <xs:sequence> > > <xs:element minOccurs="0" name="people" nillable="true" type="tns:Personne" /> > > <xs:element maxOccurs="unbounded" minOccurs="0" name="setAdress" > nillable="true" type="tns:Adress" /> > > </xs:sequence> > > </xs:complexType> > > </xs:element> > > > But when i expose it by tuscany and i call it, i get this exception : > > > 2010-11-22 17:25:56 ERROR [AxisEngine] > org.apache.tuscany.sca.databinding.TransformationException: No path found for > the transformation: java:array->java:complexType > > org.apache.axis2.AxisFault: > org.apache.tuscany.sca.databinding.TransformationException: No path found for > the transformation: java:array->java:complexType > > at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) > > at > org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceInOutSyncMessageReceiver.invokeBusinessLogic(Axis2ServiceInOutSyncMessageReceiver.java:100) > > at > org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusinessLogic(AbstractInOutSyncMessageReceiver.java:42) > > at > org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100) > > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176) > > at > org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275) > > at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > > at > org.apache.tuscany.sca.host.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:107) > > at > org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.doFilter(TuscanyServletFilter.java:94) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > > at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) > > at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) > > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) > > at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) > > at java.lang.Thread.run(Unknown Source) > > Caused by: org.osoa.sca.ServiceRuntimeException: > org.apache.tuscany.sca.databinding.TransformationException: No path found for > the transformation: java:array->java:complexType > > at > org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(RuntimeWireInvoker.java:138) > > at > org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(RuntimeWireInvoker.java:104) > > at > org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(RuntimeWireInvoker.java:98) > > at > org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.invoke(RuntimeWireImpl.java:173) > > at > org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider.invokeTarget(Axis2ServiceProvider.java:766) > > at > org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceInOutSyncMessageReceiver.invokeBusinessLogic(Axis2ServiceInOutSyncMessageReceiver.java:70) > > ... 21 more > > Caused by: org.apache.tuscany.sca.databinding.TransformationException: No > path found for the transformation: java:array->java:complexType > > at > org.apache.tuscany.sca.databinding.impl.MediatorImpl.getTransformerChain(MediatorImpl.java:203) > > at > org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(MediatorImpl.java:101) > > at > org.apache.tuscany.sca.core.databinding.transformers.Input2InputTransformer.transform(Input2InputTransformer.java:240) > > at > org.apache.tuscany.sca.core.databinding.transformers.Input2InputTransformer.transform(Input2InputTransformer.java:45) > > at > org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(MediatorImpl.java:113) > > at > org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediateInput(MediatorImpl.java:431) > > at > org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:65) > > at > org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(RuntimeWireInvoker.java:129) > > ... 26 more > > Have you an idea how i can solve this problem.? > > > thanks > > > Gaetan >
