How to define a SoapVar namespace?

前端 未结 3 1696
情话喂你
情话喂你 2021-02-14 10:14

I need to have this node in my SOAP Request (using 1.1):

ricky@e         


        
3条回答
  •  南笙
    南笙 (楼主)
    2021-02-14 10:32

    $CredentialObjectXML  = '
            '.$UserName.'
            '.$Password.'
        ';
    
    
    $CredentialObject  = new SoapVar($CredentialObjectXML,XSD_ANYXML);
    

    This way you can directly use the XML with Type XSD_ANYXML.

    Hope this will resolve your problem.

提交回复
热议问题