Hi ! Sorry this has been dropped. Could you please raise a jira issue and eventually attach your patch / test case, if you have these. The jira site is available at http://jira.logicblaze.com/jira/browse/SM . This will enable you and us to keep track of this issue.
Cheers, Guillaume Nodet ---------- Initial Header ----------- From : "Kolov, Assen" <[EMAIL PROTECTED]> To : <[email protected]> Cc : Date : Fri, 7 Oct 2005 16:56:38 +0200 Subject : [servicemix-dev] complex Types in WSIF Hi all, I posted this some time ago to the user mailing list, but didn't get any reaction. The problem is I ended up extending a servicemix class in order to configure the type mapping for WSIF, as seen in a demo on the wsif site (calling service.mapType()). I saw no way of achieving this with the WSIFBinding class I wonder if that extension was needed, or there are other ways to set up the necessary complex types for WSIF. What I did: public class MyWsifBinding extends WSIFBinding { public void setMapTypes(MapTypes types) { . . . getServiceHelper().mapType( new QName(types.geNamespace(), type.geName()), Class.forName( type.getJavaType())); } . . TypeMapping initialization takes place in the Spring container: <component id="login" service="foo:login" class=". . . .MyWsifBinding" > <property name="definitionResource" value="http://.../soap.php?wsdl"/ <http://.../soap.php?wsdl%22/> > <property name="mapTypes" ref="mapTypes"/> . . . <bean id="mapTypes" class=". . MapTypes"> . . . <property name="name" value="set_entry_result"/> <property name="javaType" value=". . ..Set_entry_result"/> Regards, Assen Checked by Trend Micro InterScan Anti-Virus System. ------------ ALICE HAUT DEBIT A 29,95 EUR/MOIS ------------ ALICEBOX, l'offre Internet tout en 1 : ADSL, téléphonie, modem Wi-Fi et en exclusivité la hotline gratuite 24h/24 ! Soumis à conditions. Pour en profiter cliquez ici http://abonnement.aliceadsl.fr
