Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. Using .net webservice data in php

Using .net webservice data in php

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
xmlquestioncsharpphpwcf
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Andile M
    wrote on last edited by
    #1

    I need to pass client credentials into a .asmx webservice and return data using php. How do I input/read from this xml file?

    POST /Topblah.asmx HTTP/1.1
    Host: client.blah.co.za
    Content-Type: text/xml; charset=utf-8
    Content-Length: length
    SOAPAction: "http://www.blah.co.za/CheckClient"

    <?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
    <CheckClient xmlns="http://www.blah.co.za/">
    <PolicyNr>string</PolicyNr>
    <IDNumber>string</IDNumber>
    </CheckClient>
    </soap:Body>
    </soap:Envelope>

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups