savonrb / wasabi

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

Exception in parser on wsdl:input not having namespace in message #29

Closed markr79 closed 10 years ago

markr79 commented 11 years ago

Message attribute in input/output may not have namespace id

port_message_ns_id, port_message_type = port_type_input_output.attribute("message").to_s.split(':')

in this case will cause exception a bit later in

message = @messages[port_message_type]

as port_message_type will be nil as actual type will be stored in port_message_ns_id

markr79 commented 11 years ago

Sample element

<wsdl:input message="myActionInput"></wsdl:input>
rubiii commented 11 years ago

can you provide your wsdl for testing?

tjarratt commented 10 years ago

Hey @markr79, I think this issue was just closed by pull request https://github.com/savonrb/wasabi/pull/38. Would you mind checking out the latest version on the master branch and let me know?

Closing this for now, but please re-open if this bug is still present.

markr79 commented 10 years ago

Problem is fixed with the master branch. Thanks a lot!