Try a nightly build.  Processing for <element maxOccurs="unbounded"> has 
been improved.

Rich Scheuerle
IBM WebSphere & Axis Web Services Development
512-838-5115  (IBM TL 678-5115)




Helen L Rehn/Durham/IBM@IBMUS
07/22/2002 11:40 AM
Please respond to axis-user

 
        To:     [EMAIL PROTECTED]
        cc: 
        Subject:        Could not find deserializer for type ... string[unbounded]

 

Hi,

I'm finally well on my way with my beta 3 upgrade.  Now I have a wrapped 
style service that appears to be working correctly except for arrays.  I 
have the following in my wsdl:

<complexType name="ListOutputType">
<sequence>
<element maxOccurs="unbounded" name="assetName" type="string"/>
</sequence>
</complexType>

this maps to an array of strings in the return type of a method.

I used wsdl2java to generate my server side skeletons as well as stubs. 
(My wsdd file as well). Now I am getting the following error when trying 
to return from this method:

org.xml.sax.SAXException: Deserializing parameter 'assetName':  could not 
find d
eserializer for type {http://www.w3.org/2001/XMLSchema}string[unbounded]
        at 
org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:231)
        at 
org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese
rializationContextImpl.java:857)
        at 
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
va:199)
        at 
org.apache.axis.message.MessageElement.publishToHandler(MessageElemen
t.java:644)
        at 
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:235)
        at 
org.apache.axis.message.RPCElement.getParams(RPCElement.java:259)
        at org.apache.axis.client.Call.invoke(Call.java:1807)
        at org.apache.axis.client.Call.invoke(Call.java:1712)
        at org.apache.axis.client.Call.invoke(Call.java:1252)

What do I need to do to resolve this?

Thanks,
Nell

Helen (Nell) L. Rehn
Extreme Blue Intern
919-254-6251 (office)
Helen L Rehn/Durham/IBM
[EMAIL PROTECTED]



Reply via email to