axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lindsey Hess <>
Subject Axis 1.4 DII & Complex Types...
Date Fri, 26 Jan 2007 23:25:00 GMT
  I have a WSDL that expects two parameters for specific operation's request, namely, studentID
and studentType.  studentID is an integer, and studentType is a complex type   (one of the
many parameters within it is another complex type as well).  
  I can't seem to find any documentation on how to dynamically invoke a service that takes
a parameter that is a complex type.  My code is as follows (the question marks show where
I'm completely puzzled):
  // StudentType class was generated by WSDL2java.  StudentType is a complex type 
  StudentType studentType = new StudentType();
  // Add parameters
  callStudent.addParameter("studentID", XMLType.SOAP_INT, ParameterMode.IN);
  callStudent.addParameter("studentType", ?????, ParameterMode.IN);
  // Create an array of parameters
  Object[] opParamsStudent = {studentID, ??????};
  // Invoke the service
  Can someone please assist me?
  Thank you.

Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
View raw message