Roman,
 
There is no problem in passing a complex object to the WS. These objects should be taken care in the WSDL that u r generating.
 
For eg : if u have WS like public String MyWS(Myclass Myc)
 
You will have some thing like this in the WSDL
 
<complexType name="Myclass">
    <sequence>
     <element name="type1" nillable="true" type="xsd:string"/>
     <element name="type2" nillable="true" type="xsd:string"/>
    ....
    ......
    </sequence>
   </complexType>
 
 
Thw WSDL takes care of it.
 
Now ur client should call the WS with an object of type Myclass
 
Cheers !!
Dhanush
----- Original Message -----
Sent: Monday, June 21, 2004 4:24 PM
Subject: what classes can use client

Hello!

If I define MyProg.java as WS, and in MyProg there is methods using objects
of classes like MyClass, can then the client (e.g. VB one) of this WS hanlde
MyClass-objects? Or should I use only classes like String, Integer ans
Boolean as parameter?

regards, Roman

--
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info
*********************************************************
Disclaimer:         

This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com

Reply via email to