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. WCF and WF
  4. How can i change namespace prefix in wcf envelope [modified]

How can i change namespace prefix in wcf envelope [modified]

Scheduled Pinned Locked Moved WCF and WF
wcfcsharpcomxmlquestion
2 Posts 2 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
    shecool
    wrote on last edited by
    #1

    The generated envelope is like this <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header> <Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">urn:IClientDetails/GetClient</Action> </s:Header> <s:Body> <GetClient> <clientId>dfad</Id> <callType>dfad</value> </GetClient> </s:Body> </s:Envelope> Where as i want <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> soap:Header <Action soap:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">urn:IClientDetails/GetClient</Action> </soap:Header> soap:Body <GetClientRequest> <Id>3</Id> <value>343</value> </GetClientRequest> </soap:Body> </soap:Envelope>

    modified on Wednesday, May 13, 2009 2:47 AM

    S 1 Reply Last reply
    0
    • S shecool

      The generated envelope is like this <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header> <Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">urn:IClientDetails/GetClient</Action> </s:Header> <s:Body> <GetClient> <clientId>dfad</Id> <callType>dfad</value> </GetClient> </s:Body> </s:Envelope> Where as i want <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> soap:Header <Action soap:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">urn:IClientDetails/GetClient</Action> </soap:Header> soap:Body <GetClientRequest> <Id>3</Id> <value>343</value> </GetClientRequest> </soap:Body> </soap:Envelope>

      modified on Wednesday, May 13, 2009 2:47 AM

      S Offline
      S Offline
      samir_ad
      wrote on last edited by
      #2

      Hey Any solution for this?

      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