Jump to content

kamran butt

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by kamran butt

  1. Hi

     

    I am created the xml object but i am unable to find a way how to send the xml object on which URL, i am using PHP language if some one did please give me example.

     

    Thanks

     

    $req = 
    '
    <?xml version="1.0" standalone="yes"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sns="http://www.pbxnsip.com/soap/pbx">
    <sns:CreateExtension>
    		<Domain>subdomain.mydomain.com</Domain>
    		<Extension>262</Extension>
    		<first_name>ABC</first_name>
    		<display_name>XYZ</display_name>
    		<web_pass>0909</web_pass>
    		<mb_pin>1234</mb_pin>
    		<email_address>kamibutt@gmail.com</email_address>
    	</sns:CreateExtension>
    </env:Body>
    </env:Envelope>
    ';

×
×
  • Create New...