Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Soap4r envelope issue

Reply
Thread Tools

Soap4r envelope issue

 
 
Veera Sundaravel
Guest
Posts: n/a
 
      08-04-2009
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"
xmlnssi="http://www.w3.org/2001/XMLSchema-instance"
xmlnssd="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/"
xmlnssi="http://www.w3.org/2001/XMLSchema-instance"
xmlnssd="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/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
soap4r wsdl2ruby.rb issue - part: value cannot be resolved (RuntimeError) Rob Goodwin Ruby 1 02-15-2007 09:04 PM
Envelope printing st@jpa.co.jp ASP .Net 2 09-22-2005 01:54 PM
Unable to create envelope from given source because the root element is not named Envelope cxc Java 0 05-20-2005 10:02 PM
need help with content type application/msword formatting page as envelope sonic ASP .Net 2 05-11-2005 07:24 PM
Access Web Service SOAP envelope from Filter Servlet Mike Java 0 03-08-2005 03:55 PM



Advertisments