axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vikas Phonsa <>
Subject RE: passing structure using WSDL
Date Thu, 15 Jul 2004 20:05:40 GMT
Pardon me, but I still don't understand the complexity you are referring to.

Won't a simple interface or bean like the following do the job for you.

public interface samplewebservice {
	public void sendAndGet(String nameOfData, int[] data);

Or you can set a return type for the method as per your requirements.
Java2Wsdl would generate the wsdl for such an interface or class and you can
add implementation details yourself.


-----Original Message-----
From: Mayur Shetye [] 
Sent: Thursday, July 15, 2004 11:59 AM
Subject: RE: passing structure using WSDL


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.


--- Vikas Phonsa <> 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 [] 
> Sent: Thursday, July 15, 2004 11:40 AM
> To:
> 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!

Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish. 

View raw message