Re: SOAP client connecting to .net webservice
[email protected] (Milo van der Linden)
| Newsgroups | php.soap |
|---|---|
| Message-ID | <[email protected]> |
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>