namespace missing in soap message

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

 



Dear all

i've developed a web service based on a wsdl file.

I've got this scenario:

production server (debian 5 amd64 - PHP/5.2.6-1+lenny9)
production client (debian 5 amd64 - PHP/5.2.6-1+lenny9)

development client (ubuntu 10.04 PHP/5.3.2-1ubuntu4.2)

dev client -> production server is working
production client -> production server is NOT working.

Working SOAP sent from dev client

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope";
	xmlns:ns1="http://myws.footesting.it/myws-test/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
	<env:Body>
		<ns1:NewZone>
			<parameters xsi:type="ns1:Zone">
				<Name>mynewzone.it</Name>
				<SOA>dns.footesting.it. hostmaster@footesting.it.</SOA>
				<TTL>3D</TTL>
				<Serial>2010112501</Serial>
				<Refresh>86400</Refresh>
				<Retry>2H</Retry>
				<Expire>1W</Expire>
				<Minimum>1D</Minimum>
				<NameServerList NameServer="dns.footesting.it." />
				<NameServerList NameServer="dns2.footesting.it." />
				<Entries>
					<Key>mynewzone.it</Key>
					<Type>MX</Type>
					<Priority>10</Priority>
					<Value>footestingmail.footesting.it.</Value>
				</Entries>
				<Entries>
					<Key>www</Key>
					<Type>CNAME</Type>
					<Value>footestingweb.footesting.it.</Value>
				</Entries>
			</parameters>
		</ns1:NewZone>
	</env:Body>
</env:Envelope>

NOT Working SOAP sent from production client

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope";
	xmlns:ns1="http://myws.footesting.it/myws-test/";>
	<env:Body>
		<ns1:NewZone>
			<parameters>
				<Name>mynewzone.it</Name>
				<SOA>dns.footesting.it. hostmaster@footesting.it.</SOA>
				<TTL>3D</TTL>
				<Serial>2010112501</Serial>
				<Refresh>86400</Refresh>
				<Retry>2H</Retry>
				<Expire>1W</Expire>
				<Minimum>1D</Minimum>
				<NameServerList NameServer="dns.footesting.it." />
				<NameServerList NameServer="dns2.footesting.it." />
				<Entries>
					<Key>mynewzone.it</Key>
					<Type>MX</Type>
					<Priority>10</Priority>
					<Value>footestingmail.footesting.it.</Value>
				</Entries>
				<Entries>
					<Key>www</Key>
					<Type>CNAME</Type>
					<Value>footestingweb.footesting.it.</Value>
				</Entries>
			</parameters>
		</ns1:NewZone>
	</env:Body>
</env:Envelope>


It seems that the difference is the xsi:type="ns1:Zone" attribute at
the parameters element, is this a php 5.2 error or should i change
something in the code?

Thanks in advance


-- 
/*************/
nik600

-- 
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