Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Changing SOAP RPC/Encoded to Document/Literal format

Reply
Thread Tools

Changing SOAP RPC/Encoded to Document/Literal format

 
 
Hung Nguyen
Guest
Posts: n/a
 
      11-08-2007
Dear All,

I am very new to RoR here and would like to know how to switch our
application over from the default RPC/Encoded to Document/Literal SOAP
format.

The example in soap4r-1.5.8 ...\sample\howto\documentliteral appears to
use the static "echo.wsdl" file. This file appears to have the settings
for style="document" and use="literal". I guess this is where to
specify RPC/Encoded and Document/Literal format. The section of the
code I am referring to is included below.

However, in our application we use dynamic wsdl and can not set these
settings. Would anyone know how to make RoR/SOAP4R to generate the
services in Document/Literal format? Any help is welcome and
appreciated.

Thanks
HTN


From echo.wsdl:
"....
<binding name="echoBinding" type="tns:echoPortType">
<soap:binding
transport="http://schemas.xmlsoap.org/soap/http"
style="document" />
<operation name="echo">
<soapperation soapAction="urn:com.example:echo" style="document"
/>
<input><soap:body use="literal" /></input>
<output><soap:body use="literal" /></output>
</operation>
</binding>
..."
--
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
any library for SOAP 1.1 or SOAP 1.2? Amogh Hooshdar Python 1 03-11-2008 09:29 PM
SOAP Request is repeated in the SOAP response. comp.text.xml XML 0 09-20-2006 08:41 AM
SOAP over JMS vs SOAP over HTTP Nagesh Java 2 08-12-2006 12:31 AM
To SOAP or Not To SOAP? mooseshoes XML 3 09-21-2003 04:38 PM
SOAP Client creation in ASP.NET using MS SOAP Toolkit Sham Ramakrishnan ASP .Net 2 07-01-2003 11:29 AM



Advertisments