Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Help adding extra ONVIF services #1

Open
RogerHardiman opened this issue Aug 8, 2016 · 4 comments
Open

Help adding extra ONVIF services #1

RogerHardiman opened this issue Aug 8, 2016 · 4 comments

Comments

@RogerHardiman
Copy link

Hi there
I need some help.
I have forked node-soap-generator and added the PTZ, Imaging and Events services to test-wsdl and a small script called go.sh which generates all the stubs.
The PTZ service works fine (and I'm using it in my fork of RPOS) but the imaging stub and the events stub are empty.

Could you help me figure it out please?

Thanks

@BreeeZe
Copy link
Owner

BreeeZe commented Aug 8, 2016

I checked out your fork and started debugging in vscode, the first thing I noticed, after the "wsdl loaded" message, it doesn't output the message "Generating ***Service". (for the imaging service)
When I step through the code, it doesn't find any services defined in the imaging WSDL.
I'll have a look in the wsdl and keep you posted.

@BreeeZe
Copy link
Owner

BreeeZe commented Aug 8, 2016

The events service has the wrong binding type :
https://github.com/RogerHardiman/node-soap-servicegenerator/blob/master/test-wsdl/events_service.wsdl#L10
I noticed that the events service has a total of 8 bindings, so you probably need to add all 8 as ports, I'll see if I have some more time tomorrow to try some more, I couldn't fix the imaging service generation yet..

@RogerHardiman
Copy link
Author

Thanks for taking a look. Don't worry if you don't have time. I will not be doing events or imaging for a while. I don't have any CCTV software that uses imaging (eg focus/iris control) and have never looked into the events service so will be a while before I need them.

@klukaspl
Copy link

klukaspl commented Feb 9, 2017

I am trying as well generate some services like AccessControl. But I have similar problems as above. Had you had a chance to look how it is with other services. The WSDL files I am taking from ONVIF site seem to differ a bit from the one in your repo (device, media).

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants