Witam,

muszę stworzyć w SoapClient coś takiego:

  1. <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:myNs1="http://example1.com/ns" xmlns:myNs2="http://example2.com/ns">
  2. <soapenv:Header>
  3. <myNs1:one id="x" xmlns:ns1="http://example1.com/ns" />
  4. <myNs1:two id="y" xmlns:ns1="http://example1.com/ns" />
  5. </soapenv:Header>
  6. <soapenv:Body>
  7. <myNs2:func>
  8. <myNs1:location>
  9. <myNs1:abc>...</myNs1:abc>
  10. </myNs1:location>
  11. </myNs2:func>
  12. </soapenv:Body>
  13. </soapenv:Envelope>


Przede wszystkim chodzi o przestrzenie nazw. Jak to zaimplementować w SoapClient?