PHP ile WSDL Client Sorun

0 Cevap php

Ben bir WSDL web hizmeti için aşağıdaki XML isteği göndermek istiyorum:


<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="UsernameToken-'.$nonce.'">
<wsse:Username>xxxxx</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">xxxxx</wsse:Password>
</wsse:UsernameToken>
<wsu:Timestamp wsu:Id="Timestamp-'.$nonce.'" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> 
<wsu:Created>'.$timestamp.'</wsu:Created>
<wsu:Expires>'.$expiration.'</wsu:Expires> 
</wsu:Timestamp>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<prep:requestListeSeancesCtrlAcces>
     <codeManifestation>xxxx</codeManifestation>
     <!--Optional:-->
     <debutIntervalle/>
     <!--Optional:-->
     <finIntervalle/>
  </prep:requestListeSeancesCtrlAcces>
</soapenv:Body>
</soap:Envelope>

Bunu nasıl yapabilirim? Ben hiçbir başarı ile NuSOAP da PHP sabun uzantısı denedim ve: (

Yardımlarınız için teşekkürler.

0 Cevap