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. General Programming
  3. XML / XSL
  4. Regarding the SOAP message Request and Response

Regarding the SOAP message Request and Response

Scheduled Pinned Locked Moved XML / XSL
csharpxmlhelphtmlwcf
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.
  • S Offline
    S Offline
    Sasmi_Office
    wrote on last edited by
    #1

    Dear Friend, Thanks for being her for help us.... I am in big trouble now, as i have to create a webservice for one of my client for some travel related web site, the requirement is to receive soap request from one of the client and send response...., i don't know how to work on SOAP just have knowledge of WebService but don't know how to use SOAP in that.... the requirement specification is as follows WebServices Interfacing with Customer should support the following HTTP Headers Accept: text/html Accept: multipart/* Content-Length: <some arbitrary size> Content-Type: text/xml; charset=utf-8 SAMPLE REQUEST <?xml version="1.0" encoding="ISO-8859-1"?> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 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:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> SOAP-ENV:Body <ns2:ShowHotelDetail xmlns:ns2="http://ws"> <username xsi:type="xsd:string">xyz</username> <password xsi:type="xsd:string">abc@123</password> <hotelrefno xsi:type="xsd:string">APQR1234</refno> <sessionId xsi:type="xsd:string">12379975773148QM750WP9R</sessionId> </ns2:ShowRemittanceDetail> </SOAP-ENV:Body> </SOAP-ENV:Envelope> SAMPLE RESPONSE <?xml version='1.0' encoding='UTF-8'?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:ShowHotelDetailResponse xmlns:ns2="http://ws"> <ShowHotelDetailReturn>12379975773148QM750WP9R|HOTEL XYZ|0|10000.78|pascalachenita| carmen|||||street santander, number 12, no 78-90 street,Mumbai|+12121212121</ShowHotelDetailReturn> </ns2:ShowHotelDetailResponse> </S:Body> </S:Envelope> Please Help me the process is we have the list of Inforamtion about the hotels they send us request for selected hotel we will send them response with "|" delimeter text string as ShowHotelDetailReturn in dataset.. Me created this web service usting .Net Technology and C# language.. but at custoemr end its giving error as followed. <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> soap:Body soap:Fault<faultcode>soap:Client&

    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