Oouuups! Big sorry! I made a horrible mistake. Thought the exception was caused by the client, not the server.
Should have looked twice. So I always have to register a mapping, if I want to use complex types? And how about the *.jws file approach. Is it only suitable for simple type methods? [email protected] schrieb am 19.01.06 11:40:24: > in the file .wsdd you have to specify the type mapping, in axis doc you can > see some examples... > > 2006/1/19, SOA Work <[EMAIL PROTECTED]>: > Hi there, > > I just tried to test my web service with some java test code. I used axis 1_3 > WSDL2Java ant task. > My service returns an array of compley types. I have a java bean contact > ("service.do.Contact") ant the return type > is Contact[]. > > The ant task generates the service classes and an own java bean > service.do.Contact (slightly different from my own, of course. but it fits). > > Now my problem: as long as the returned array is empty, the operation call > works fine. If the array is not empty the test fails with the following > exception: > > AxisFault > faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException > faultSubcode: > faultString: java.io.IOException : No serializer found for class > service.do.Contact in registry [EMAIL PROTECTED] > faultActor: > faultNode: > faultDetail: > { http://xml.apache.org/axis/}hostname:lala > > java.io.IOException: No serializer found for class service.do.Contact in > registry [EMAIL PROTECTED] > at org.apache.axis.message.SOAPFaultBuilder.createFault > (SOAPFaultBuilder.java:222) > at > org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129) > .... > > > I'm not used to axis but doesn't this mean I have to register a bean > deserializer somewhere? Shouldn't the generated sources do this of it's own? > > Thx in advance > Dominik > > > ______________________________________________________________ > Verschicken Sie romantische, coole und witzige Bilder per SMS! > Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193 > > > ______________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
