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