bet365 / soap

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

I get this message after input command "Which http client must be used?" #7

Open Alex-erl opened 8 years ago

Alex-erl commented 8 years ago

exception error: undefined function erlsom:scan/3 in function soap_parse_wsdl:get_services/3 (src/soap_parse_wsdl.erl, line 104) in call from soap:wsdl2erlang/2 (src/soap.erl, line 305)

cmullaparthi commented 8 years ago

Works for me. Is erlsom in your path? I started my erlang shell with:

erl -pa ebin -pa deps/*/ebin

Can you send the output of the following command?

code:get_path().
Alex-erl commented 8 years ago

code:get_path(). ["deps/erlsom/ebin","ebin",".", "/usr/lib/erlang/lib/kernel-4.2/ebin", "/usr/lib/erlang/lib/stdlib-2.8/ebin", "/usr/lib/erlang/lib/xmerl-1.3.10/ebin", "/usr/lib/erlang/lib/wx-1.6.1/ebin", "/usr/lib/erlang/lib/webtool-0.9.1/ebin", "/usr/lib/erlang/lib/typer-0.9.10/ebin", "/usr/lib/erlang/lib/tools-2.8.3/ebin", "/usr/lib/erlang/lib/test_server-3.10/ebin", "/usr/lib/erlang/lib/syntax_tools-1.7/ebin", "/usr/lib/erlang/lib/ssl-7.3/ebin", "/usr/lib/erlang/lib/ssh-4.2.2/ebin", "/usr/lib/erlang/lib/snmp-5.2.2/ebin", "/usr/lib/erlang/lib/sasl-2.7/ebin", "/usr/lib/erlang/lib/runtime_tools-1.9.3/ebin", "/usr/lib/erlang/lib/reltool-0.7/ebin", "/usr/lib/erlang/lib/public_key-1.1.1/ebin", "/usr/lib/erlang/lib/percept-0.8.11/ebin", "/usr/lib/erlang/lib/parsetools-2.1.1/ebin", "/usr/lib/erlang/lib/otp_mibs-1.1/ebin", "/usr/lib/erlang/lib/ose-1.1/ebin", "/usr/lib/erlang/lib/os_mon-2.4/ebin", "/usr/lib/erlang/lib/orber-3.8.1/ebin", "/usr/lib/erlang/lib/odbc-2.11.1/ebin", "/usr/lib/erlang/lib/observer-2.1.2/ebin", "/usr/lib/erlang/lib/mnesia-4.13.3/ebin", [...]|...]

2016-06-07 18:13 GMT+03:00 Chandrashekhar Mullaparthi < notifications@github.com>:

Works for me. Is erlsom in your path? I started my erlang shell with:

erl -pa ebin -pa deps/*/ebin

Can you send the output of the following command?

code:get_path().

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bet365/soap/issues/7#issuecomment-224312554, or mute the thread https://github.com/notifications/unsubscribe/AMLtQQSTRJtgiavKKhImvO94TWxri6AIks5qJYqOgaJpZM4Iv24b .

с уважением Александр Свириденко .

cmullaparthi commented 8 years ago

Output of the following?

file:list_dir("deps/erlsom/ebin").

erlsom:module_info().
Alex-erl commented 8 years ago

file:list_dir("deps/erlsom/ebin"). {ok,["erlsom_ucs.beam","erlsom_writeHrl.beam", "erlsom_sax_utf16be.beam","erlsom.app",".gitignore", "erlsom_sax_latin1.beam","erlsom_add.beam","ucs.beam", "erlsom_parseXsd.beam","erlsom_sax_utf16le.beam", "erlsom_sax_utf8.beam","erlsom_sax.beam", "erlsom_compile.beam","erlsom_pass2.beam", "erlsom_sax_lib.beam","erlsom_parse.beam", "erlsom_example_value.beam","erlsom_sax_latin9.beam", "erlsom_simple_form.beam","erlsom_sax_list.beam", "erlsom.beam","erlsom_type2xsd.beam","erlsom_lib.beam", "erlsom_write.beam"]}

erlsom:module_info(). [{module,erlsom}, {exports,[{compile_xsd,1}, {compile_xsd,2}, {compile_xsd_file,1}, {compile_xsd_file,2}, {compile,1}, {compile,2}, {compile,3}, {compile_file,1}, {compile_file,2}, {compile_file,3}, {scan,2}, {scan,3}, {scan_file,2}, {scan_file,3}, {parse,2}, {parse_file,2}, {simple_form,2}, {simple_form,1}, {simple_form_file,1}, {simple_form_file,2}, {write,2}, {parse_sax,4}, {parse_sax,3}, {sax,...}, {...}|...]}, {attributes,[{vsn,[222645233003254718863546789426913504349]}]}, {compile,[{options,[{outdir,"ebin"}, debug_info,debug_info, {i,"include"}]}, {version,"6.0.3"}, {time,{2016,6,7,11,59,28}}, {source,"/home/user/soap-master/deps/erlsom/src/erlsom.erl"}]}, {native,false}, {md5,<<167,127,233,128,205,43,207,214,189,143,141,112, 154,250,108,93>>}]

2016-06-07 20:19 GMT+03:00 Chandrashekhar Mullaparthi < notifications@github.com>:

Output of the following?

file:list_dir("deps/erlsom/ebin"). erlsom:module_info().

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bet365/soap/issues/7#issuecomment-224351035, or mute the thread https://github.com/notifications/unsubscribe/AMLtQSnYflNQS8-qGggh3PcbkYe74r3Yks5qJag6gaJpZM4Iv24b .

с уважением Александр Свириденко .

cmullaparthi commented 8 years ago

Hmm... that looks okay. Can you copy/paste the command you are using to compile the WSDL and the resulting output?

Alex-erl commented 8 years ago

Exuse me, but I must go . I will write you tomorrow

2016-06-07 20:27 GMT+03:00 Chandrashekhar Mullaparthi < notifications@github.com>:

Hmm... that looks okay. Can you copy/paste the command you are using to compile the WSDL and the resulting output?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bet365/soap/issues/7#issuecomment-224353135, or mute the thread https://github.com/notifications/unsubscribe/AMLtQWJwQckad8PSclDJfVVJ-7zpG9Lzks5qJanygaJpZM4Iv24b .

с уважением Александр Свириденко .

cmullaparthi commented 8 years ago

Any news on this?

Alex-erl commented 8 years ago

Dear friend, thanks that don`t forrget me !!! But now I very very busy, many many goals to point my boss for me. I will have any time for come back to our question on the weekend. I will try to run programm again on Suturday and write you about result i receve.

2016-06-09 12:25 GMT+03:00 Chandrashekhar Mullaparthi < notifications@github.com>:

Any news on this?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bet365/soap/issues/7#issuecomment-224843992, or mute the thread https://github.com/notifications/unsubscribe/AMLtQXGKbBMlkf4Z6la1PzZ4NspIkC3qks5qJ9v5gaJpZM4Iv24b .

с уважением Александр Свириденко .

cmullaparthi commented 7 years ago

Is this still an issue? I will close it in a day or so if I don't get a response.