Jump to content

consuming .net service using php5 builtin soap extension


schoi

Recommended Posts

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

  <soap:Body>

    <CreateNewUser xmlns="www.mydomain.com/myservice/serviceEngine">

      <UserName>not telling you</UserName>

      <Password>not telling you</Password>

      <User>

                <Username>steven</Username>

                <Password>897687978</Password>

      </User>

    </CreateNewUser>

  </soap:Body>

</soap:Envelope>

 

Thats the soap request am trying to get php to generate but I'm struggling to get it to work.

 

Basically I give it the WSDL then I call the CreateNewUser function I give it the following array as parameters for the function

 

array(array('Username'  => '', 
'Password' =>'' ,
'User'      =>array(
'username' =>'steven',
'password' =>'897687978'
)
))

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.