Yii Framework Forum: Cwebservice Wsdl Validation Issue - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Cwebservice Wsdl Validation Issue Rate Topic: -----

#1 User is offline   Ali Okan Yüksel 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 17-January 14

Posted 17 January 2014 - 11:09 AM

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
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users