$25 PHP Project to whoever can do it first

Discussion in 'Programming' started by Christian Little, Jul 8, 2008.

  1. #1
    $25 to the first developer that can provide me with working PHP code that uses nuSOAP to generate the following query:

    
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:tyn="http://www.tyntec.biz/">
    <soapenv:Body>
    <tyn:CheckRequest>
    <tyn:EnhancedNetworkQuery>
    <tyn:Destination>
    <tyn:Number tyn:TON="Unknown" tyn:NPI="Unknown">+491239876543</tyn:Number>
    </tyn:Destination>
    </tyn:EnhancedNetworkQuery>
    </tyn:CheckRequest>
    </soapenv:Body>
    </soapenv:Envelope>
    
    Code (markup):
    In order to win the money, I have to be be able to copy/paste your code onto my server into a new php file, and simply configure the new soapclient - your code must make it produce that request (all I will be adding is the setCredentials and constructor methods).

    So I should be able to code "$client->request" in an echo statement and it will show the xml stream in that exact format without any additional code in it (aside from the 5-6 header lines that SOAP includes in all requests).

    Don't ask me for space on my server to test it. Take the 2 minutes to download the nuSOAP library yourself and get it to output this code on your own server if you need. Dont' worry about the specific WDSL url, I cannot provide it. Simply test the REQUEST to make sure it looks like above.
     
    Christian Little, Jul 8, 2008 IP