complex Type « wsdl « Java Enterprise Q&A





1. wsdl return an array of complex types    stackoverflow.com

I have defined a web service that will return the data from my mysql data base. I have written the web service in php. Now I have defined a complex type as follows:

$server->wsdl->addComplexType(
'Category',
'complexType',
'struct',
'all',
'',
array(
 ...

2. How to get complex types from WSDL file?    stackoverflow.com

I have the following wsdl file:

 <wsdl:types>
  <schema elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema">
   <import namespace="http:..."/>
   <complexType name="BaseBean">
    <sequence/>
   </complexType>
   <complexType name="DateBean">
  ...

3. When to use complex types and when to use elements in creating wsdl files?    coderanch.com

Hi Thank you for reading my post. When we create XSD files, we can create elements and also we can create complextypes. for example we can create an student type as an element or as a complex type and then I can use it to create WSDL documents (methods input and outputs). What I can not undestand is the differences between ...

4. Complex Type versus Simple Type in a WSDL definition    coderanch.com

You are right that in this particular case a single element could be enough. However it is a known convention to have a common root to all inner elements. So even though with one element it is not really helpful, it is still used. It also makes the SOAP more readable as the wrapper element name is based on the method ...