Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Invoking a web service

Reply
Thread Tools

Invoking a web service

 
 
antonio.p.fernandes@gmail.com
Guest
Posts: n/a
 
      08-01-2007
Im trying to connect to a webservice developed in java, but im getting
this error:

warning: peer certificate won't be verified in this SSL session
ignored element:
{http://schemas.microsoft.com/soap-toolkit/wsdl-extension}binding
warning: peer certificate won't be verified in this SSL session
#<SOAP::Mapping::Object:0x35b88dc>: SoapMapper:Converting data for
SoapMapper fa
iled inside the typemapper (SOAP::FaultError)

the function um trying to access in the wsdl is:

<message name="CMWS.CSPT_Search">
<part name="User" type="xsd:string"/>
<part name="Password" type="xsd:string"/>
<part name="Key" type="xsd:string"/>
<part name="SearchType" type="xsd:short"/>
<part name="KeyType" type="xsd:short"/>
<part name="FlagScope" type="xsd:short"/>
<part name="IdDistrito" type="xsd:short"/>
<part name="IdConcelho" type="xsd:short"/>
<part name="FlagNoSort" type="xsd:short"/>
<part name="RetCount" type="xsd:short"/>
<part name="PostalCode" type="xsd:string"/>
<part name="ProductCode" type="xsd:string"/>
<part name="RequestRef" type="xsd:string"/>
<part name="IdLanguage" type="xsd:short"/>
<part name="Update" type="xsd:short"/>
<part name="Priority" type="xsd:short"/>
<part name="Comments" type="xsd:string"/>
</message>


and my ruby code to access the webservice:

require 'soap/wsdlDriver'

url = "https://myurl/aaa.WSDL"
soap = SOAP::WSDLDriverFactory.new(url).create_rpc_driver

puts
soap.CSPT_Search('u','u','1233333',0,3,2,0,0,1,1,' u','u','u',
1,0,0,'u')


Can anybody give me an help on this?
Thank you in advance,
Antonio

 
Reply With Quote
 
 
 
 
Tim Pease
Guest
Posts: n/a
 
      08-01-2007
On 8/1/07, http://www.velocityreviews.com/forums/(E-Mail Removed) <(E-Mail Removed)> wrote:
>
> Can anybody give me an help on this?


Yes, someone can give you help on this. They just have not had the
time to look at it yet and write up a coherent, informative reply.
Please stop posting and wait until help has arrived.

> Thank you in advance,


Your welcome!

> Antonio
>


Pleased to meet you, Antonio, and welcome to ruby-talk.

Blessings,
TwP

 
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
InvocationTargetException when calling "new Service()" in Axis web service to call another web service Michael Averstegge Java 0 01-10-2006 11:05 PM
web service returns blank page when invoking David ASP .Net 10 07-27-2005 08:41 PM
Exception when invoking web service from asp .net form Gabriel ASP .Net Web Services 3 05-07-2004 09:37 AM
Invoking Web Service wothout client proxy Chris ASP .Net Web Services 3 02-19-2004 07:08 PM
404 error invoking web service Tim Orr ASP .Net Web Services 0 07-22-2003 04:51 AM



Advertisments