Cwebservice Wsdl Validation Issue

Hello,

We are using Yii v1.1.14. We created a web service wsdl application with CWebService.

Example code:




<?php

class WebServiceController extends CController

{

    public function actions()

    {

        return array(

            'service'=>array(

                'class'=>'CWebServiceAction',

            ),

        );

    }

// ...

?>



When we tried to validate the wsdl code (output from <ipaddr>/ws/index.php?r=webService/service) on wsdl-analyzer web site.

It fails with some errors:




    WSDL Structure: ERROR

    The structure of your WSDL is

     

        message (6)

        portType (1)

        binding (1)

        service (1)

     

    But should be

     

        types

        messages

        portTypes

        bindings

        services



Questions

==

  1. What is the reason of this invalid stuation?

  2. Can we fix it?

Best regards,

Ali Okan YĆ¼ksel