Why not just create an interface for the Web service something like:
public interface EchoBase64 {
public void echo(String name, int[] data);
}
Run Java2WSDL to create your WSDL based on this interface. If you want to
echo more than one, just make multiple calls. You don't really need a
structure for something this simple.
-----Original Message-----
From: Mayur Shetye [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 15, 2004 11:59 AM
To: [EMAIL PROTECTED]
Subject: RE: passing structure using WSDL
hi
Consider a structure as an object containing 2
different data types. I want to send and get (echo) an
array (1 or more) of these objects .
The 2 elements in the object are
1. Name
2. base64Encoded data.
>>>>> 'Actually' I want to write a EchoBase64 program
which shall echo my base64 encoded attachments from
the axis server. I think that this is the way to go
about doing it, I very well might be wrong.
Let me know folks.
Mayur
--- Vikas Phonsa <[EMAIL PROTECTED]> wrote:
> Not quite sure what exactly you are trying to do.
> But if you can code ur
> functionality in java then Java2Wsdl should be able
> to generate the wsdl for
> you.
>
> -----Original Message-----
> From: Mayur Shetye [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 15, 2004 11:40 AM
> To: [EMAIL PROTECTED]
> Subject: passing structure using WSDL
>
> hello
>
> I am writing an implementation of a web service
> where I am passing 'complex type' to the server.
>
> This complex type incudes following elements
>
> 1. name of the data
> 2. base64 encoded data (this shall be an int []array
> type in java)
>
> Now, My problem is that I might have to send in
> multiple structures this way. Can you tell me how to
> write a WSDL for this purpose.
>
> I am currently not very clear about how this can be
> done, any inputs on that shall be greatly
> appreciated.
>
> regards
> Mayur Shetye
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail is new and improved - Check it out!
> http://promotions.yahoo.com/new_mail
>
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail