savonrb / wasabi

A simple WSDL parser
MIT License
90 stars 84 forks source link

Servicename: Implement the #servicename method to extract the service name from the wsdl. #22

Closed keltia closed 11 years ago

keltia commented 11 years ago

Many WSDL files have a "name" attribute in the "definitions" part, expose it as "servicename".

keltia commented 11 years ago

Can you pull again please, just hooked it into Wasabi::Document which should be better.

rubiii commented 11 years ago

great. i would just change one thing and that is the name of the method. i think it should either be 'service_name' or maybe just 'name'. not sure about it.

keltia commented 11 years ago

I choose servicename to avoid using the very common word "name" (even though it is the "right" name of the attribute). If you prefer service_name, no issue with me :)

rubiii commented 11 years ago

this was added to v3.1.0.