Juan Medina
Juan Medina

Reputation: 154

Get information from string with a wsdl in PHP

I have:

$data = file_get_contents('php://input');

and it returns this:

<soap:Header>
  <wsim:WSEAuthenticateHeader>
     <wsim:Usser>?</wsim:Usser>
     <wsim:Password>?</wsim:Password>
  </wsim:WSEAuthenticateHeader>
</soap:Header>
<soap:Body>
  <wsim:postScormRequest>
     <wsim:item1></wsim:item1>
     <wsim:item2></wsim:item2>
     <wsim:item3></wsim:item3>
  </wsim:postScormRequest>
</soap:'... (length=535)

How can I get the information of the user, password and items?

Upvotes: 0

Views: 104

Answers (1)

Bezerra
Bezerra

Reputation: 146

Your XML is incomplete, as we talk on comments

Upvotes: 1

Related Questions