PHP Soapclient修改信封

PHP Soapclient修改信封,php,xml,soap,soap-client,Php,Xml,Soap,Soap Client,我们目前正在进行PHP和SOAP的集成。对于其他6个请求,我们所有的代码都工作得很好,因为我们的evelope是相同的,但是我们的上一个请求存在问题,它的evelope与其他请求不同 普通信封(6个其他信封): 新信封(上次请求): 我们已经尝试使用SoapVar和SoapParam类来更改信封,但目前没有任何进展。我们怎么做 此外,我们还需要在这个新请求中更改一些其他参数: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org

我们目前正在进行PHP和SOAP的集成。对于其他6个请求,我们所有的代码都工作得很好,因为我们的evelope是相同的,但是我们的上一个请求存在问题,它的evelope与其他请求不同

普通信封(6个其他信封):


新信封(上次请求):


我们已经尝试使用SoapVarSoapParam类来更改信封,但目前没有任何进展。我们怎么做

此外,我们还需要在这个新请求中更改一些其他参数:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xxx.ws.xxx.com/">
                               <soap:Body>
                                  <PackagePre xmlns="http://xxx.ws.xxx.com/">
                                     <PreBookRQ locale="es_ES" xmlns="">
                                        <Authentication user="XXX" password="XXX"/>
                                        <Booking>
                                           <ProductList xsi:type="ns2:myproduct" address="null 0" categoryCode="CAT34"...

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xxx.ws.xxx.com/">
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xxx.ws.xxx.com/">
                               <soap:Body>
                                  <PackagePre xmlns="http://xxx.ws.xxx.com/">
                                     <PreBookRQ locale="es_ES" xmlns="">
                                        <Authentication user="XXX" password="XXX"/>
                                        <Booking>
                                           <ProductList xsi:type="ns2:myproduct" address="null 0" categoryCode="CAT34"...