Hi,

I am using cxf 2.1.1. Using wsdl2java for the below WSDL does not
generate wrapper style interface. Can someone tell me why ?

<?xml version="1.0" ?>
<wsdl:definitions name="DAPReporterService"
    targetNamespace="http://xml.ms.com/ns/reporting/service/dapreporter";
    xmlns:ns1="http://schemas.xmlsoap.org/wsdl/http/";
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
    xmlns:tns="http://xml.ms.com/ns/reporting/service/dapreporter";
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
    xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
    <wsdl:types>
        <xs:schema attributeFormDefault="unqualified"
            elementFormDefault="unqualified"
 
targetNamespace="http://xml.ms.com/ns/reporting/service/dapreporter";
 
xmlns:tns="http://xml.ms.com/ns/reporting/service/dapreporter";
            xmlns:xs="http://www.w3.org/2001/XMLSchema";>
            <xs:element name="getMyFolders">
                <xs:complexType>
                        <xs:sequence>
                            <xs:element minOccurs="0" name="UserID"
                                type="xs:string">
                            </xs:element>
                        </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="getMyFoldersResponse">
                <xs:complexType>
                        <xs:sequence>
                            <xs:element ref="tns:Folders"/>
                        </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="getUserPermissions">
                <xs:complexType>
                    <xs:sequence>
                            <xs:element ref="tns:User"></xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="getUserPermissionsResponse">
                <xs:complexType>
                        <xs:sequence>
                            <xs:element ref="tns:Folders"/>
                        </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="Folders">
                <xs:complexType>
                        <xs:sequence>
                            <xs:element maxOccurs="unbounded"
ref="tns:Folder"/>
                        </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="Folder">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="folderPath"
type="xs:string"></xs:element>
                        <xs:element name="employeeName"
type="xs:string"></xs:element>
                        <xs:element name="dirId"
type="xs:string"></xs:element>
                        <xs:element name="division"
type="xs:string"></xs:element>
                        <xs:element name="department"
type="xs:string"></xs:element>
                        <xs:element name="region"
type="xs:string"></xs:element>
                        <xs:element name="city"
type="xs:string"></xs:element>
                        <xs:element name="permission"
type="xs:string"></xs:element>
                        <xs:element name="permissionAuthorizer"
type="xs:string"></xs:element>
                        <xs:element name="datePermissioned"
type="xs:string"></xs:element>
                        <xs:element name="permissionReason"
type="xs:string"></xs:element>
                        <xs:element name="permissionExpiration"
type="xs:string"></xs:element>
                        <xs:element name="acctStatus"
type="xs:string"></xs:element>
                        <xs:element name="employeeNo"
type="xs:string"></xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="User">
                <xs:complexType>
                    <xs:sequence></xs:sequence>
                    <xs:attribute name="msid"
type="xs:string"></xs:attribute>
                    <xs:attribute name="loginid"
type="xs:string"></xs:attribute>
                </xs:complexType>
            </xs:element>
        </xs:schema>
    </wsdl:types>
    <wsdl:message name="getMyFolders">
        <wsdl:part element="tns:getMyFolders"
name="getMyFolders"></wsdl:part>
    </wsdl:message>
    <wsdl:message name="getUserPermissionsResponse">
        <wsdl:part element="tns:getUserPermissionsResponse"
name="getUserPermissionsResponse"></wsdl:part>
    </wsdl:message>
    <wsdl:message name="getMyFoldersResponse">
        <wsdl:part element="tns:getMyFoldersResponse"
name="getMyFoldersResponse"></wsdl:part>
    </wsdl:message>
    <wsdl:message name="getUserPermissions">
        <wsdl:part element="tns:getUserPermissions"
name="getUserPermissions"></wsdl:part>
    </wsdl:message>
    <wsdl:portType name="DAPReporter">
        <wsdl:operation name="getMyFolders">
            <wsdl:input message="tns:getMyFolders"
name="getMyFolders"></wsdl:input>
            <wsdl:output message="tns:getMyFoldersResponse"
name="getMyFoldersResponse"></wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="getUserPermissions">
            <wsdl:input message="tns:getUserPermissions"
name="getUserPermissions"></wsdl:input>
            <wsdl:output message="tns:getUserPermissionsResponse"
name="getUserPermissionsResponse"></wsdl:output>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="DAPReporterServiceHttpBinding"
        type="tns:DAPReporter">
        <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"; />
        <wsdl:operation name="getMyFolders">
          <soap:operation soapAction="getMyFolders" style="document"/>
            <wsdl:input name="getMyFolders">
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="getMyFoldersResponse">
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="getUserPermissions">
          <soap:operation soapAction="getUserPermissions"
style="document"/>
            <wsdl:input name="getUserPermissions">
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="getUserPermissionsResponse">
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="DAPReporterService">
        <wsdl:port binding="tns:DAPReporterServiceHttpBinding"
            name="DAPReporterPort">
            <soap:address
 
location="http://localhost:8080/DAPReporterService/";></soap:address>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>

Thanx
-yogen
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not 
intend to waive confidentiality or privilege. Use of this email is prohibited 
when received in error.

Reply via email to