Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: WSDL parse failure (ruby 1.8.1-preview2, soap4r-1_5_1
Brian Marick
11/7/2003 9:14:00 PM
Thank you very much. It worked fine.
I'm writing an article on how testers can use Ruby to explore web
services. You can be sure that I'll mention that my bug report received
a patch 23 minutes after I submitted it. That's an important part of
the reason why testers need to use tools like Ruby.
On Thursday, November 6, 2003, at 07:42 PM, NAKAMURA, Hiroshi wrote:
> Hi,
>
>> From: "Brian Marick" <marick@testing.com>
>> Sent: Friday, November 07, 2003 10:19 AM
>
>> The Ruby wsdl library doesn't seem to be able to parse the
>> GoogleSearch.wsdl file (
http://api.google.com/GoogleS...
).
>
> Thank you for the report. My fault. I redefined "arrayType" in
> wrong namespace in soap4r/1.5.1 (and I skipped Google WSDL test...)
> For short-term workaround, try this patch to lib/wsdl/xmlSchema/data.rb
> This definition should be moved to lib/wsdl/data.rb in the next
> release.
>
> Regards,
> // NaHi
>
> Index: data.rb
> ===================================================================
> RCS file: /src/ruby/lib/wsdl/xmlSchema/data.rb,v
> retrieving revision 1.2
> diff -u -2 -p -r1.2 data.rb
> --- data.rb 29 Sep 2003 07:27:57 -0000 1.2
> +++ data.rb 7 Nov 2003 01:37:01 -0000
> @@ -37,5 +37,5 @@ module XMLSchema
> AllName = XSD::QName.new(XSD::Namespace, 'all')
> AnyName = XSD::QName.new(XSD::Namespace, 'any')
> -ArrayTypeAttrName = XSD::QName.new(XSD::Namespace, 'arrayType')
> +ArrayTypeAttrName = XSD::QName.new(Namespace, 'arrayType')
> AttributeName = XSD::QName.new(XSD::Namespace, 'attribute')
> ChoiceName = XSD::QName.new(XSD::Namespace, 'choice')
>
>
>
-----
Brian Marick
Consulting, training, contracting, and research
Focused on the intersection of testing, programming, and design
marick@testing.com, marick@visibleworkings.com
www.testing.com, www.visibleworkings.com
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: WSDL parse failure (ruby 1.8.1-preview2, soap4r-1_5_1
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password