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

Reply via email to