bet365 / soap

Make it easy to use SOAP from Erlang
Apache License 2.0
200 stars 75 forks source link

Wrong Type in attribute type, expected qname #47

Open Ghaliger opened 4 years ago

Ghaliger commented 4 years ago

When running soap:erlang2wsdl("store.hrl", "store", "http://localhost:8080") in the examples provided for generating an WSDL from Erlang specifications, i get this error:

** exception throw: {error,"Wrong Type in attribute type, expected qname, got {{qname,\"http://www.w3.org/2001/XMLSchema\",\"string\",undefined,undefined},\n undefined,undefined}"} in function erlsom_write:processAttributes/5 (src/erlsom_write.erl, line 435) in call from erlsom_write:processAlternativeValue/8 (src/erlsom_write.erl, line 306) in call from erlsom_write:processElementValues/7 (src/erlsom_write.erl, line 239) in call from erlsom_write:struct2xml/6 (src/erlsom_write.erl, line 130) in call from erlsom_write:processAlternativeValue/8 (src/erlsom_write.erl, line 326) in call from erlsom_write:processElementValues/7 (src/erlsom_write.erl, line 239) in call from erlsom_write:struct2xml/6 (src/erlsom_write.erl, line 114) in call from erlsom_write:processAlternativeValue/8 (src/erlsom_write.erl, line 326)