Re: SOAP client connecting to .net webservice

From: Date: Tue, 28 Aug 2007 14:53:46 +0000
Subject: Re: SOAP client connecting to .net webservice
References: 1 2 3 4 5  Groups: php.soap 
Request: Send a blank email to php-soap+get-2619@lists.php.net to get a copy of this message
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>


« previous php.soap (#2619) next »