Open emeka opened 13 years ago
you're right, wasabi doesn't follow import statements. it's something i'm working on from time to time, but it's not ready yet.
Yeah, I have a wsdl that defines import inside of /definitions/types/schema
. Any word on when this might be added to wasabi?
unfortunately no. a decent wsdl parser is not that hard to write, but parsing the xs schema is kinda difficult. i'm still working on it and will let you know when i have something to show.
Thanks for the good work.
Emeka
On 17 February 2012 13:00, Daniel Harrington reply@reply.github.com wrote:
unfortunately no. a decent wsdl parser is not that hard to write, but parsing the xs schema is kinda difficult. i'm still working on it and will let you know when i have something to show.
Reply to this email directly or view it on GitHub: https://github.com/rubiii/wasabi/issues/1#issuecomment-4019736
still no decent support for imports. if anyone wants to give it a go ...
+1
master contains a major rewrite which is not done yet, but already supports wsdl imports. xml schema imports should be supported soon. if you can, please give it a try. i updated the readme to reflect the new interface.
Is import expected to work when the wdsl is a local file and contains a location such as:
<import namespace="http://www.travelport.com/service/hotel_v21_0" location="HotelAbstract.wsdl"/>
I get No such file or directory - HotelAbstract.wsdl
.
I'm using the latest master branch.
@krisleech the first step only supports fully qualified import locations. i haven't found any information about whether relative URL's are even valid. if they are, it would be good to have a specification for it.
ps. i'll add it to the todo-list.
I don't know nearly enough about SOAP to know if rel URL's are legit, just that my WDSL has them :) Luckily our client decided not to use the SOAP API in question after discussing the alternative options (JRuby + something).
I've used Savon before, its been a life saver, so thanks for taking the time!
thanks @krisleech
Hi,
I have the following wsdl document:
It imports an other wsdl file called 'vboxweb.wsdl' which is located in the same directory and which contains all the type and message definitions.
Unfortunately, the imported file is not handled by wasabi.
Regards,
Emeka