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. How to response XMl format using SOAP protocol

How to response XMl format using SOAP protocol

Scheduled Pinned Locked Moved XML / XSL
visual-studioxmlcsharpwcfcom
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

    Hi Friends, I have created one Web Service which give output in following format. <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlnsoap="http://schemas.xmlsoap.org/soap/envelope/" xmlnssi="http://www.w3.org/2001/XMLSchema-instance" xmlnssd="http://www.w3.org/2001/XMLSchema"> <soapody> <ShowResponse xmlns="http://abc.com/WS/service.asmx"> <ShowResult> <xschema id="NewDataSet" xmlns="" xmlnss="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urnchemas-microsoft-comml-msdata"> <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true"> xs:complexType <xs:choice minOccurs="0" maxOccurs="unbounded"><xs:element name="ShowResponse"> xs:complexType <xsequence> <xs:element name="ShowReturn" msdata:Caption="ShowDetail" type="xstring" minOccurs "0" maxOccurs="unbounded"> <xs:element name="ShowResponse"> xs:complexType <xsequence> <xs:element name="ShowReturn" msdata:Caption="ShowDetail" type="xstring" minOccurs="0" /> </xsequence> </xs:complexType> </xs:element> </xs:choice> </xs:complexType> </xs:element> </xschema> <diffgriffgram xmlns:msdata="urnchemas-microsoft-comml-msdata" xmlnsiffgr="urnchemas-microsoft-comml-diffgram-v1"> <NewDataSet xmlns=""> <ShowResponse diffgr:id="ShowResponse1" msdata:rowOrder="0" diffgr:hasChanges="inserted"> <ShowReturn>11iou3zzj1vfsy55lsietz45|3</ShowReturn> </ShowResponse> </NewDataSet> </diffgriffgram> </ShowResult> </ShowResponse> </soap> want to show the same output in following format <?xml version='1.0' encoding='UTF-8'?> <S:Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <Sody> <ns2showResponse xmlns:ns2="http://ws"> <ShowReturn>1248759429159ARY2265657989;/ShowReturn> </ns2showResponse> </Sody> Please help me regarding the same and tell me how to format soap message request response using Visual Studio 2005 IDE... Thanks and regards Sasmi

    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