1

私はこのようなcakephpにいくつかの機能を持っています

/** 
    * Get one record 
    * @param string $type
    * @return string[]
    */ 
    function readType($type = NULL) 
    { 
        $arr[] = array(
           "bookTitle" => "ThaiBook",
           "bookYear"  => 2007,
           "bookAuthor"=> "Oke"
         );
        $arr[] = array(
           "bookTitle" => "EnglishBook",
           "bookYear"  => 2001,
           "bookAuthor"=> "Eko"
         );

         return $arr;
    }

そしてsoapuiはこのような配列で値を返すことができません

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://schema.example.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <SOAP-ENV:Body>
      <ns1:readTypeResponse>
         <readTypeReturn>
            ***<xsd:string>Array</xsd:string>
            <xsd:string>Array</xsd:string>***
         </readTypeReturn>
      </ns1:readTypeResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

私の問題はどこにありますか?そして私がこの問題をどのように解決できるかありがとう:)

4

0 に答える 0