bet365 / soap

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

exception error: undefined function soap:wsdl2erlang/1 #36

Open himanshu0128 opened 6 years ago

himanshu0128 commented 6 years ago

I am not able to call soap:wsdl2erlang function.

 -> soap:wsdl2erlang("http://www.webservicex.net/CurrencyConvertor.asmx?WSDL").
** exception error: undefined function soap:wsdl2erlang/1

 -> code:get_path().
["deps/yamerl/ebin","deps/unicode_util_compat/ebin",
 "deps/ssl_verify_fun/ebin","deps/soap/ebin",
 "deps/ranch/ebin","deps/poolboy/ebin","deps/mimerl/ebin",
 "deps/metrics/ebin","deps/idna/ebin","deps/hackney/ebin",
 "deps/erlsom/ebin","deps/detergent/ebin","deps/cowlib/ebin",
 "deps/cowboy/ebin","deps/certifi/ebin",".",
 "/usr/local/Cellar/erlang/20.2.2/lib/erlang/lib/kernel-5.4.1/ebin",
 "/usr/local/Cellar/erlang/20.2.2/lib/erlang/lib/stdlib-3.4.3/ebin",
 "/usr/local/Cellar/erlang/20.2.2/lib/erlang/lib/xmerl-1.3.16/ebin",
 "/usr/local/Cellar/erlang/20.2.2/lib/erlang/lib/wx-1.8.3/ebin",
 "/usr/local/Cellar/erlang/20.2.2/lib/erlang/lib/tools-2.11.1/ebin",
 "/usr/local/Cellar/erlang/20.2.2/lib/erlang/lib/syntax_tools-2.1.4/ebin",
 "/usr/local/Cellar/erlang/20.2.2/lib/erlang/lib/ssl-8.2.3/ebin",
 "/usr/local/Cellar/erlang/20.2.2/lib/erlang/lib/ssh-4.6.4/ebin",
 "/usr/local/Cellar/erlang/20.2.2/lib/erlang/lib/snmp-5.2.9/ebin",
 "/usr/local/Cellar/erlang/20.2.2/lib/erlang/lib/sasl-3.1.1/ebin",
 "/usr/local/Cellar/erlang/20.2.2/lib/erlang/lib/runtime_tools-1.12.3/ebin",
 "/usr/local/Cellar/erlang/20.2.2/lib/erlang/lib/reltool-0.7.5/ebin",
 [...]|...]
willemdj commented 6 years ago

What happens if you do code:which(soap) or soap:module_info()?