I have sucessfully returned Vectors and string arrays - the catch is that
you cannot use java2wsdl & wsdl2java to generate the deployment descriptors
or stubs.  You will need to code them by hand.

/Ian

-------------------------------------------------------------------------------------------

Email:    [EMAIL PROTECTED]
Phone:  978-399-7096
T/L:        333-7096
-------------------------------------------------------------------------------------------




                                                                                       
                                          
                      "Helen L Rehn"                                                   
                                          
                      <[EMAIL PROTECTED]        To:       [EMAIL PROTECTED]      
                                          
                      m>                       cc:       (bcc: Ian 
Roughley/Westford/Contr/IBM)                                  
                                               Subject:  Re: Could not find 
deserializer for type ... string[unbounded]          
                      07/22/2002 01:30                                                 
                                          
                      PM                                                               
                                          
                      Please respond to                                                
                                          
                      axis-user                                                        
                                          
                                                                                       
                                          
                                                                                       
                                          




Oh, ouch.  Support for arrays was the main reason I wanted so badly to
move up to beta-3.  At the moment, I am prevented from using the nightly
build because I want to use wstk from IBM, and even the very latest wstk
uses beta-3.  Are there any suggestions for how I might work around this?
(We were using a delimited list of strings instead of the String array
when we were using Beta-1).

Thanks,
Nell

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




R J Scheuerle Jr/Austin/IBM@IBMUS
07/22/2002 12:47 PM
Please respond to axis-user


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



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