Nusoap adds some extra chars???

Discussion in 'PHP' started by 123GoToAndPlay, May 1, 2007.

  1. #1
    Hi

    I am trying to read a webservice with nusoap.

    My request seems a bit odd. Somehow i get
    
    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 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/">
        <SOAP-ENV:Body>
        <ns2004:PropertyInformation xmlns:ns2004="http://domain.com">
            <PropertyCode xsi:type="xsd:string">ALL</PropertyCode>
            <Language xsi:type="xsd:string">EN</Language>
        </ns2004:PropertyInformation>
        </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    
    Code (markup):
    How do i get rid of the "ns2004:"???
    2004 is a different random number which change each time i make a call with nusoap, but i don't what the ns... at all.

    Any explanation??
     
    123GoToAndPlay, May 1, 2007 IP