# Rails as SOAP client with .NET web service

**URL:** <https://www.ruby-forum.com/t/rails-as-soap-client-with-net-web-service/48379>\
**Category:** Rails\
**Created:** [November 19, 2005, 6:29pm UTC](https://www.ruby-forum.com/t/rails-as-soap-client-with-net-web-service/48379 "2005-11-19T18:29:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pcreytens](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/49beb7/32.png) [@pcreytens](https://www.ruby-forum.com/u/pcreytens)\
**Post date:** [November 19, 2005, 6:29pm UTC](https://www.ruby-forum.com/t/rails-as-soap-client-with-net-web-service/48379/1 "2005-11-19T18:29:09Z")

</div>

Hi

For an application we need to obtain data from a .NET  
based web service. I’ve been “playing” with some  
sample code to invoke web services as a soap client.  
They work ok with services that offer a .wsdl link.  
However, .NET based services are called with  
“\*.asmx?WSDL”.

The wsdlDriver (I guess SOAP4R) barfs on this.

Anybody have practical experience and willing/able to  
help me out?

–PC

* * *

Yahoo! FareChase: Search multiple travel sites in one click.  
[http://farechase.yahoo.com](http://farechase.yahoo.com)

---

<div class="post-metadata">

**Author:** ![pcreytens](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/49beb7/32.png) [@pcreytens](https://www.ruby-forum.com/u/pcreytens)\
**Post date:** [December 1, 2005, 4:17pm UTC](https://www.ruby-forum.com/t/rails-as-soap-client-with-net-web-service/48379/2 "2005-12-01T16:17:18Z")

</div>

It is bizarre that SOAP4R ‘barfs’ on .asmx?WSDL since the common .WSDL  
is  
simply a convention of some toolkits. In fact, there is nothing to say  
that  
a URL to a WSDL has the letters WSDL in it anywhere!? Perhaps the URL  
handling in SOAP4R simply doesn’t like parameterized URLS (anything  
after  
a ‘?’).
