Hello,

I want to use attachments to send a file to a server, but I also want to send an object which contains a description of this file (the file is a zip file which contains a course, so for example the object may include the title, the number of chapters...). Let's call this class "CourseInfo". Actually I can send a file using attachments. My web service method has a parameter which is an object (a vector) which contains the names of the attachments (I followed the Axis wiki).

So what can I do to send also the object describing the course?

- I added a CourseInfo parameter to the method, but the CourseInfo class doesn't appear in the WSDL generated by Java2WSDL, so the CourseInfo class is not in the files generated by WSDL2Java...

- Or I can add the object in the first parameter (the vector), but the CourseInfo class still won't be in the files generated by WSDL2Java...

I don't know how to do...
I don't if using attachments limits the number of parameters to only one...

Thanks,
Hello,

I want to use attachments to send a file to a server, but I also want to send an object which contains a description of this file (the file is a zip file which contains a course, so for example the object may include the title, the number of chapters...). Let's call this class "CourseInfo". Actually I can send a file using attachments. My web service method has a parameter which is an object (a vector) which contains the names of the attachments (I followed the Axis wiki).

So what can I do to send also the object describing the course?

- I added a CourseInfo parameter to the method, but the CourseInfo class doesn't appear in the WSDL generated by Java2WSDL, so the CourseInfo class is not in the files generated by WSDL2Java...

- Or I can add the object in the first parameter (the vector), but the CourseInfo class still won't be in the files generated by WSDL2Java...

I don't know how to do...
I don't if using attachments limits the number of parameters to only one...

Thanks,
PhilPhil


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to