D
dima
I still can do this web service right so I ask for some help please.
I got the wsdl and make a client with wsdl2ruby.rb. When I run ruby -d
client I got the following output:
= Request
! CONNECT TO XXX.XXX.XXX.XXX:80
! CONNECTION ESTABLISHED
POST /DataFeed/DataFeed.asmx HTTP/1.1
SOAPAction: "http://tempuri.org/ReturnLastPriceList"
Content-Type: text/xml; charset=utf-8
User-Agent: SOAP4R/1.5.5 (http-access2.rb/1.1.1.1, ruby 1.8.5
(2006-12-25) [i386
-mswin32])
Date: Mon Feb 19 20:41:00 +0100 2007
Content-Length: 339
Host: XXX.XXX.XXX.XXX
<?xml version="1.0" encoding="utf-8" ?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<env:Body>
<ReturnLastPriceList xmlns="http://tempuri.org/">ZVDPR</
ReturnLastPriceList>
</env:Body>
</env:Envelope>
= Response
HTTP/1.1 401 Access Denied
Server: Microsoft-IIS/5.0
Date: Mon, 19 Feb 2007 19:40:40 GMT
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
Connection: close
Content-Length: 4431
Content-Type: text/html
.......
I have this web service client in C# but I would like to make it on
ruby. I ask you for some help, example or a hint.
Thanks in advance.
dima
I got the wsdl and make a client with wsdl2ruby.rb. When I run ruby -d
client I got the following output:
= Request
! CONNECT TO XXX.XXX.XXX.XXX:80
! CONNECTION ESTABLISHED
POST /DataFeed/DataFeed.asmx HTTP/1.1
SOAPAction: "http://tempuri.org/ReturnLastPriceList"
Content-Type: text/xml; charset=utf-8
User-Agent: SOAP4R/1.5.5 (http-access2.rb/1.1.1.1, ruby 1.8.5
(2006-12-25) [i386
-mswin32])
Date: Mon Feb 19 20:41:00 +0100 2007
Content-Length: 339
Host: XXX.XXX.XXX.XXX
<?xml version="1.0" encoding="utf-8" ?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<env:Body>
<ReturnLastPriceList xmlns="http://tempuri.org/">ZVDPR</
ReturnLastPriceList>
</env:Body>
</env:Envelope>
= Response
HTTP/1.1 401 Access Denied
Server: Microsoft-IIS/5.0
Date: Mon, 19 Feb 2007 19:40:40 GMT
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
Connection: close
Content-Length: 4431
Content-Type: text/html
.......
I have this web service client in C# but I would like to make it on
ruby. I ask you for some help, example or a hint.
Thanks in advance.
dima