关于zend soap,该如何解决

Jun 13, 2016 am 11:09 AM
gt http lt name nbsp

关于zend soap

本帖最后由 ihelloworld 于 2012-01-17 16:47:47 编辑 使用Zend_Soap_AutoDiscover自动生成的wsdl在windows下正常,同样的代码换到linux环境中就不行了,
<br />xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="Bss_Mailservice" targetNamespace="http://split.bss.com/interface/index/mailservice"><br /><types><br /><xsd:schema targetNamespace="http://split.bss.com/interface/index/mailservice"/><br /></types><br /><portType name="Bss_MailservicePort"><br /><operation name="auth"><br /><documentation>auth</documentation><br /><input message="tns:authIn"/><br /></operation><br /><operation name="send"><br /><documentation>send</documentation><br /><input message="tns:sendIn"/><br /></operation><br /></portType><br /><binding name="Bss_MailserviceBinding" type="tns:Bss_MailservicePort"><br /><soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/><br /><operation name="auth"><br /><soap:operation soapAction="http://split.bss.com/interface/index/mailservice#auth"/><br /><input><br /><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://split.bss.com/interface/index/mailservice"/><br /></input><br /><output><br /><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://split.bss.com/interface/index/mailservice"/><br /></output><br /></operation><br /><operation name="send"><br /><soap:operation soapAction="http://split.bss.com/interface/index/mailservice#send"/><br /><input><br /><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://split.bss.com/interface/index/mailservice"/><br /></input><br /><output><br /><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://split.bss.com/interface/index/mailservice"/><br /></output><br /></operation><br /></binding><br /><service name="Bss_MailserviceService"><br /><port name="Bss_MailservicePort" binding="tns:Bss_MailserviceBinding"><br /><soap:address location="http://split.bss.com/interface/index/mailservice"/><br /></port><br /></service><br /><message name="authIn"><br /><part name="appkey" type="xsd:anyType"/><br /></message><br /><message name="sendIn"><br /><part name="to" type="xsd:anyType"/><br /><part name="cc" type="xsd:anyType"/><br /><part name="bcc" type="xsd:anyType"/><br /><part name="subject" type="xsd:anyType"/><br /><part name="body" type="xsd:anyType"/><br /></message><br /></definitions><br />
ログイン後にコピー

基中





这几个参数都应该是string类型,但在linux下生成的是anyType,另外我在方法的注释中己经写了返回值的注释,但也不管用
<br>   /**<br>     * <br>     * 发送邮件<br>     * @param string $to<br>     * @param string $cc<br>     * @param string $bcc<br>     * @param string $subject<br>     * @param string $body<div class="clear">
                 
              
              
        
            </div>
ログイン後にコピー
このウェブサイトの声明
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。

ホットな記事タグ

メモ帳++7.3.1

メモ帳++7.3.1

使いやすく無料のコードエディター

SublimeText3 中国語版

SublimeText3 中国語版

中国語版、とても使いやすい

ゼンドスタジオ 13.0.1

ゼンドスタジオ 13.0.1

強力な PHP 統合開発環境

ドリームウィーバー CS6

ドリームウィーバー CS6

ビジュアル Web 開発ツール

SublimeText3 Mac版

SublimeText3 Mac版

神レベルのコード編集ソフト(SublimeText3)

解決策: 組織では PIN を変更する必要があります。 解決策: 組織では PIN を変更する必要があります。 Oct 04, 2023 pm 05:45 PM

解決策: 組織では PIN を変更する必要があります。

Windows 11 でウィンドウの境界線の設定を調整する方法: 色とサイズを変更する Windows 11 でウィンドウの境界線の設定を調整する方法: 色とサイズを変更する Sep 22, 2023 am 11:37 AM

Windows 11 でウィンドウの境界線の設定を調整する方法: 色とサイズを変更する

Huawei GT3 ProとGT4の違いは何ですか? Huawei GT3 ProとGT4の違いは何ですか? Dec 29, 2023 pm 02:27 PM

Huawei GT3 ProとGT4の違いは何ですか?

Windows 11 でのディスプレイ スケーリング ガイド Windows 11 でのディスプレイ スケーリング ガイド Sep 19, 2023 pm 06:45 PM

Windows 11 でのディスプレイ スケーリング ガイド

Windows 11で明るさを調整する10の方法 Windows 11で明るさを調整する10の方法 Dec 18, 2023 pm 02:21 PM

Windows 11で明るさを調整する10の方法

iPhoneのSafariでプライベートブラウジング認証をオフにする方法は? iPhoneのSafariでプライベートブラウジング認証をオフにする方法は? Nov 29, 2023 pm 11:21 PM

iPhoneのSafariでプライベートブラウジング認証をオフにする方法は?

http ステータス コード 520 は何を意味しますか? http ステータス コード 520 は何を意味しますか? Oct 13, 2023 pm 03:11 PM

http ステータス コード 520 は何を意味しますか?

Win10/11 デジタル アクティベーション スクリプト MAS バージョン 2.2 がデジタル アクティベーションを再サポート Win10/11 デジタル アクティベーション スクリプト MAS バージョン 2.2 がデジタル アクティベーションを再サポート Oct 16, 2023 am 08:13 AM

Win10/11 デジタル アクティベーション スクリプト MAS バージョン 2.2 がデジタル アクティベーションを再サポート

See all articles