SoapUI can't read WSDL
I'm trying to open this URL via SoapUI:
https://mybilling.voipconsultants.biz/wsdl/CustomerResellerService.wsdl
I've tried downloading 4.5.1, however it still complains. It simply says
"There was something wrong with the WSDL you are trying to import"
and that's it, no description of the issue. Can anyone help me get this parsed with SoapUI?
Solution 1:
Incorrect:
I might be wrong, but I'm not sure whether SoapUI can handle remote WSDLs (i.e. not stored as a local file on your computer).
Note: I'm using SoapUI 4.0.1
Try downloading necessary files from: https://mybilling.voipconsultants.biz/wsdl/
Beside your WSDL you'll also need some additional files from there. (they are referenced from the WSDL)
If you don't have them you will get self-explaining error messages, like:
java.io.FileNotFoundException: .../Types.xsd
Edit - moved from comment:
You can get more detailed message by clicking error log on the bottom bar.
With this I get:
Mon May 20 07:59:29 CEST 2013:ERROR:org.apache.xmlbeans.XmlException: union value
'unbounded' does not match any members of 'type of maxOccurs attribute in xs:narrowMaxMin'
org.apache.xmlbeans.XmlException: union value 'unbounded' does not match any members of
'type of maxOccurs attribute in xs:narrowMaxMin'
seems sth is wrong with xsd file.
Solution 2:
I came to this page from Google. In case someone else has the same problem I wound up having, my issue was in the WSDL itself. One of the elements was marked as maxOccurs="unbounded"
inside of a complexType
with an all
-- in order to have more than one occurrence, the complexType
must be a sequence
.
My log had this error message:
An error occurred [union value 'unbounded' does not match any members of 'type of maxOccurs attribute in xs:narrowMaxMin'], see error log for details