After changing the HttpBinding as follows, the validation passed. I think we
have a problem in WSDL generation for HttpBinding.

<wsdl:binding name="AuthenticationAdminServiceHttpBinding"
type="ns:AuthenticationAdminServicePortType">
        <http:binding verb="POST" />
        <wsdl:operation name="logout">
            <http:operation location="logout" />
            <wsdl:input>
                <mime:content type="text/xml"/>
            </wsdl:input>
            <wsdl:fault name="AuthenticationException">
             </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="getUserPermissions">
            <http:operation location="getUserPermissions" />
            <wsdl:input>
                <mime:content type="text/xml"/>
            </wsdl:input>
            <wsdl:output>
                <mime:content type="text/xml" />
            </wsdl:output>
            <wsdl:fault name="Exception">
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="loginWithDelegation">
            <http:operation location="loginWithDelegation" />
            <wsdl:input>
                <mime:content type="text/xml"/>
            </wsdl:input>
            <wsdl:output>
                <mime:content type="text/xml"  />
            </wsdl:output>

            <wsdl:fault name="AuthenticationException">
             </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="login">
            <http:operation location="login" />
            <wsdl:input>
                <mime:content type="text/xml"/>
            </wsdl:input>
            <wsdl:output>
                <mime:content type="text/xml" />
            </wsdl:output>

            <wsdl:fault name="AuthenticationException">
             </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="getSystemPermissionOfUser">
            <http:operation location="getSystemPermissionOfUser" />
            <wsdl:input>
                <mime:content type="text/xml" />
            </wsdl:input>
            <wsdl:output>
                <mime:content type="text/xml"/>
            </wsdl:output>

            <wsdl:fault name="Exception">
            </wsdl:fault>
        </wsdl:operation>
    </wsdl:binding>

On Sat, Jan 15, 2011 at 10:05 PM, Afkham Azeez <[email protected]> wrote:

> I opened the AuthenticationAdmin WSDL (
> http://cloud.wso2.com/services/AuthenticationAdmin?wsdl) in XMLSpy and
> tried to validate it, and got the following failure:
>
> File AuthenticationAdmin.wsdl is not valid.
> File C:\windows\profiles\azeez\My
> Documents\Altova\XMLSpy2011\Examples\Untitled3.wsdl is not valid.
>  element <fault> 'AuthenticationException' in operation 'logout' (portType
> 'AuthenticationAdminServicePortType') has no match in operation 'logout'
> (binding 'AuthenticationAdminServiceHttpBinding')!
>  Error location: wsdl:definitions / wsdl:binding / wsdl:operation
>
> Is this a known issue? Perhaps the HTTP binding we generate has some
> problems.
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
> *
> *
> *Member; Apache Software Foundation; 
> **http://www.apache.org/*<http://www.apache.org/>
> *
> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>


-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*<http://www.apache.org/>
*
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to