I'm using Axis beta 2, and using WSDL2Java to generate skeletons and stubs.

Obviously my skeleton won't compile until I provide method implementations for my operations.. However, I would think that my stub should compile "out of the box", but it doesn't. It's also missing method implementations for my operations.

Am I missing something obvious? Shouldn't the stub compile right away without further modification?

Thank you,

Bryan

P.S. My WSDL file is attached.



<?xml version="1.0" ?>

<wsdl:definitions name="urn:XMLACLDescription"
        targetNamespace="urn:XMLACL"
        xmlns:tns="urn:XMLACL"
        xmlns:types="urn:XMLACLDataTypes"
        xmlns:xsd="http://www.w3.org/1999/XMLSchema";
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
        xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";                     
  
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>
        
        <wsdl:types>
                <xsd:schema targetNamespace="urn:XMLACLDataTypes" 
xmlns:xsd="http://www.w3.org/1999/XMLSchema";>

                        <xsd:complexType name="AccessControlItem">
                                <xsd:all>
                                        <xsd:element name="actor" type="xsd:string"/>
                                        <xsd:element name="xpath" type="xsd:string"/>
                                        <xsd:element name="opaque" type="xsd:string"/>
                                </xsd:all>
                        </xsd:complexType>

                        <xsd:complexType name="ArrayOfACI">
                                <xsd:complexContent>
                                        <xsd:restriction base="SOAP-ENC:Array">
                                                <xsd:attribute 
ref="SOAP-ENC:arrayType" wsdl:arrayType="types:AccessControlItem[]"/>
                                        </xsd:restriction>
                                </xsd:complexContent>
                        </xsd:complexType>        

                </xsd:schema>
        </wsdl:types>

        <wsdl:message name="CheckPermissions_IN">
                <wsdl:part name="actor" type="xsd:string"/>
                <wsdl:part name="xpath" type="xsd:string"/>
                <wsdl:part name="aciArray" type="types:ArrayOfACI"/>
                <wsdl:part name="policy" type="xsd:string"/>
        </wsdl:message>

        <wsdl:message name="CheckPermissions_OUT">
                <wsdl:part name="opaque" type="xsd:string"/>
        </wsdl:message>

        <wsdl:portType name="CheckPermissionsInterface">
                <wsdl:operation name="checkPermissions">
                        <wsdl:input message="tns:CheckPermissions_IN"/>
                        <wsdl:output message="tns:CheckPermissions_OUT"/>
                </wsdl:operation>
        </wsdl:portType>

        <wsdl:binding name="CheckPermissionsSOAPBinding" 
type="tns:CheckPermissionsInterface">
                <soap:binding style="rpc" 
transport="http://schemas.xmlsoap.org/soap/http"/>
                <operation name="checkPermissions">
                        <soap:operation soapAction=""/>
                        <input>
                                <soap:body use="encoded" namespace="urn:XMLACL" 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                        </input>
                        <output>
                                <soap:body use="encoded" namespace="urn:XMLACL" 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                        </output>
                </operation>
        </wsdl:binding>

</wsdl:definitions>

Reply via email to