[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-user
Subject:    Re: Dynamic Lists in Web Services (java /axis)
From:       Edoardo Causarano <curious.corn () katamail ! com>
Date:       2005-03-10 1:40:30
Message-ID: 6eb0598b7e087403a285c6bbbf7f548e () katamail ! com
[Download RAW message or body]

and now comes my question: can I do the same for attachments? Can I 
declare a wsdl with an arbitrary quantity of attachment parts in a 
wsdl:message? I'm afraid not, but could I define a <wsdl:part 
name="dataFile" type="my:hexBinArray"/> and then
<wsdl:operation name="uploadDataFiles">
    <soap:operation style="document"/>
       <wsdl:input>
          <mime:multipartRelated>
             <mime:part>
                <soap:body parts="requestPart" use="literal"/>
             </mime:part>
             <mime:part>
                <mime:content part="dataFile" type="text/plain" 
maxOccours="unbounded"/> <--- NOTA BENE
             </mime:part>
          </mime:multipartRelated>
       </wsdl:input>
that'd be great, but as far as I've understood it's unavailable. Am I 
(hopefully) wrong?

e

Il giorno 08/mar/05, alle 14:55, James Black ha scritto:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Suzy Fynes wrote:
> | That's my problem, is it possible to make a dynamic list where the
> | length isn't fixed before the service is deployed and allow the 
> client
> | to add as many objects to the list then send the request
>
> ~  Yes, it is.
>
> ~  The client can create as large an array as desired.
>
> ~  What I do is I will put everything into a Vector class, as it is
> dynamic, and then, when I am done, I turn that into an array of 
> objects,
> and that is what the server gets.
>
> ~  The server will then get the length by looking at array.length and
> then it can process it.
>
> - --
> "Love is mutual self-giving that ends in self-recovery." Fulton Sheen
> James Black    james@usf.edu
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFCLa7jikQgpVn8xrARAu+tAJ9AGzOJ4Y1a93+T3Fd73+XMNB8aNACgkYhk
> Cdalb4DQWeg0RTPOQ/MECCs=
> =ro/M
> -----END PGP SIGNATURE-----
>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic