empty variables?

From: Date: Fri, 27 Jun 2003 20:32:02 +0000
Subject: empty variables?
Groups: php.soap 
Request: Send a blank email to php-soap+get-740@lists.php.net to get a copy of this message
Hello, it's me again, I have more clues about the problem... I used a sniffer to know the parameters values and the invocation is like this (with PEAR_SOAP): ----------------------------- POST /**UnReg**.asmx HTTP/1.0 User-Agent: PEAR-SOAP 0.7.2 Host: svr.server Content-Type: text/xml; charset=UTF-8 Content-Length: 498 SOAPAction: http://server/gateway/functionX <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="http://server/gateway" > <SOAP-ENV:Body> <ns4:functionX> <TelcoID>20</TelcoID> <Identifier>3158026064</Identifier> <CDR>TFA</CDR></ns4:functionX> </SOAP-ENV:Body> </SOAP-ENV:Envelope> --------------------------- the server returns a response corresponding to all values set to "". The same invocation with visual Basic is like: --------------------------- POST /**UnReg**.asmx HTTP/1.1 Content-Type: text/xml; charset="UTF-8" Host: svr.server SOAPAction: http://server/gateway/functionX Content-Length: 443 <?xml version="1.0" encoding="UTF-8" standalone="no"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Body> <functionX xmlns="http://server/gateway"> <TelcoID xmlns:SOAPSDK1="http://server/gateway">20</TelcoID> <Identifier xmlns:SOAPSDK2="http://server/gateway">3158026064</Identifier> <CDR xmlns:SOAPSDK3="http://server/gateway">TFA</CDR> </functionX> </SOAP-ENV:Body> </SOAP-ENV:Envelope> -------------------------- and in this case the server returns the correct value (invocation parameters are received); what can I do to make the first one valid from PEAR SOAP? Thank you in advance!! att: Guido Gavilanes

« previous php.soap (#740) next »