Hi there,
I am using Axis 1.2 beta, I have a simple test service, I am using the Doc/lit  :
..
Document testMsg(Document inMsg){
return inMsg;
}
 
I then generate WSDL from the code, in the WSDL, it has
   <element name="testMsg" type="xsd:anyType"/>
 
I then use WSDJ2Java to generate the client stub, in the stub, it has the signature :
...
public java.lang.Object testMsg(java.lang.Object part) throws java.rmi.RemoteException {
......
 
so my question is this :
without knowing the detail of the web service code, how do I know what object to pass to the testMsg(..) method ? my understanding is that the WSDL is supposed to have all info needed to access the web service, so I tried to pass in a Message object just for the test, and it failed :-) , and it worked if I passed in Document object.
 
thanks in advance for any pointer .....
 
Kim
 


Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!

Reply via email to