-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not Getting Types, Elements & Methods in Service #2
Comments
I think, this part in index.js is not working: parent[properties.input.replace("Element", "")] = function(json) { |
index.js is working fine. This is how your filesystem should look after generating some code:
The elements and types are loaded in
I expect you've moved the files/folders around and they're simply not in the correct place anymore. |
Thanks for replying.. I haven't changed or moved files.. it is in same structure...if I use console.log to check include list , it prints all types and elements..but printing Service variable shows both type and elements null |
Something is stopping your node process from reading from those folders. Try checking the permissions on them, maybe you generated the code as a different user (root maybe?) and no longer have permission to read from them? Beyond that, I can't help. It's a system issue. Sorry. |
it is processing everything except for that particular section in index.js..Not creating any error as well... I am system admin and have access to read files as well...I don't think that is a problem... Anyways, thanks for your help.. |
I am simply parsing my WSDL file with wsdl.js.. it creates all types and elements in folders but while accessing , it shows null..
I am using below code:
var Service = require('itemQuery');
console.log('someRequest: '+JSON.stringify(Service));
If , I print Service through console.log..it shows :
someRequest: {"Types":{},"Elements":{},"Settings":{"debugSoap":false,"benchmark":true,"createMock":false,"useMock":false
,"modeler":{"debug":false}},"HTTP_Port":{},"HTTPS_Port":{}}
In this, I am not getting any types+ elements.HTTP_Port is my binding, but not getting method names...
I have checked my servicedefinition.js, it is fine with right structure.
As per my understanding, it is conflicting somewhere in index.js..
Does anyone ever faced this issue..Any help will be appreciated!!
The text was updated successfully, but these errors were encountered: