I'm trying to generate a client using wsdl2erlang, and I'm seeing the following error "Namespace not found".
Any ideas what could be wrong here?
The namespace in question is without a http:// prefix, could that be the issue?
2> soap:wsdl2erlang("http://my_host/path?wsdl").
What must be generated?
1: client
2: server
3: both
Select a number: 1
Do you want to generate test stubs/skeletons?
1: no
2: yes, client only
3: yes, server only
4: yes, client and server
Select a number: 2
Which http client must be used?
1: ibrowse
2: inets
Select a number: 2
** exception error: no match of right hand side value {error,
"Namespace not found my.namespace.here"}
in function soap_parse_wsdl:add_schemas/5 (src/soap_parse_wsdl.erl, line 213)
in call from soap_parse_wsdl:parse_wsdls/3 (src/soap_parse_wsdl.erl, line 146)
in call from soap_parse_wsdl:file/4 (src/soap_parse_wsdl.erl, line 80)
in call from soap_parse_wsdl:get_model/2 (src/soap_parse_wsdl.erl, line 55)
in call from soap_parse_wsdl:get_namespaces/2 (src/soap_parse_wsdl.erl, line 66)
in call from soap:wsdl2erlang/2 (src/soap.erl, line 313)
I'm trying to generate a client using wsdl2erlang, and I'm seeing the following error "Namespace not found".
Any ideas what could be wrong here?
The namespace in question is without a http:// prefix, could that be the issue?
2> soap:wsdl2erlang("http://my_host/path?wsdl").
What must be generated?
1: client
2: server
3: both
Select a number: 1
Do you want to generate test stubs/skeletons?
1: no
2: yes, client only
3: yes, server only
4: yes, client and server
Select a number: 2
Which http client must be used?
1: ibrowse
2: inets
Select a number: 2
** exception error: no match of right hand side value {error,
"Namespace not found my.namespace.here"}
in function soap_parse_wsdl:add_schemas/5 (src/soap_parse_wsdl.erl, line 213)
in call from soap_parse_wsdl:parse_wsdls/3 (src/soap_parse_wsdl.erl, line 146)
in call from soap_parse_wsdl:file/4 (src/soap_parse_wsdl.erl, line 80)
in call from soap_parse_wsdl:get_model/2 (src/soap_parse_wsdl.erl, line 55)
in call from soap_parse_wsdl:get_namespaces/2 (src/soap_parse_wsdl.erl, line 66)
in call from soap:wsdl2erlang/2 (src/soap.erl, line 313)