Re: SOAP client connecting to .net webservice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So I can simply keep using ns1 as the locally created prefix and the remote server will not give any problems, thank you for the response!

Ammarmar schreef:
Allthough the .net server doesn't have any problem with it, there is a mismatch in the namespace

my php request:
xmlns:ns1="http://www.itworks.nl/";

the definition with the .net server:
xmlns:itw="http://www.itworks.nl/";

I would like to know if it is possible to give the alias "itw" to the namespace so it is replacing the default ns1 notation. Is it possible?


It's unnecessary. It's just locally used prefix, which you define and use later - basic XML knowledge. When the XML is parsed, all these prefix names are (should be) discarded anyway.

<something xmlns:prefix="http://server.com";>
   <prefix:inner>text</prefix:inner>
</something>

--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux