Soap4r envelope issue

Discussion in 'Ruby' started by Veera Sundaravel, Aug 4, 2009.

  1. Hi all,

    I'm trying to create soap envelope where I can't add my own attributes
    like tns, types etc.

    for example my service provider asking the envelope format like below,

    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope
    xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:tns="http://serviceprovider.com/"
    xmlns:types="http://serviceprovider.com/encodedTypes"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"


    but my envelope is generating like below,

    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope
    xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"

    can any one please suggest me how can I include that two additional
    attributes
    xmlns:tns="http://serviceprovider.com/"
    xmlns:types="http://serviceprovider.com/encodedTypes"

    Regards,
    T.Veeraa.
    --
    Posted via http://www.ruby-forum.com/.
    Veera Sundaravel, Aug 4, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. sonic
    Replies:
    2
    Views:
    2,944
    sonic
    May 11, 2005
  2. Envelope printing

    , Sep 22, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    591
    George
    Sep 22, 2005
  3. Mike
    Replies:
    0
    Views:
    527
  4. cxc
    Replies:
    0
    Views:
    6,323
  5. Rob Goodwin
    Replies:
    1
    Views:
    171
    Rob Goodwin
    Feb 15, 2007
Loading...

Share This Page