Skip to content
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

GetScopes failed, and with error msg string not xml/wsdl #16

Closed
bluet opened this issue May 16, 2016 · 6 comments
Closed

GetScopes failed, and with error msg string not xml/wsdl #16

bluet opened this issue May 16, 2016 · 6 comments

Comments

@bluet
Copy link

bluet commented May 16, 2016

I'm testing rpos with node-onvif module https://github.com/agsh/onvif
Some functions works but some failed.

I found these might be 3 bugs:

  1. GetScopes failed
  2. HTTP 200 OK
  3. Response should be wsdl, but it's returning error message string.

the following functions are OK:
/onvif/device_service:
GetCapabilities
/onvif/media_service
GetProfiles
GetVideoSources

But this Failed:
/onvif/device_service
GetScopes

The content POST to rpos:
POST-to-RPOS.txt

The content Responed from rpos:
Response-from-RPOS.txt

@bluet
Copy link
Author

bluet commented May 16, 2016

2016-05-17 04 20 08

@bluet bluet changed the title GetScopes failed with error msg string (not xml/wsdl) GetScopes failed, and with error msg string not xml/wsdl May 16, 2016
@RogerHardiman
Copy link
Collaborator

I have looked at the XML sent from agsh/onvif
The XML is not valid and there is a bug in the agsh/onvif code.

It would be better if RPOS returned an XML error message rather than the error msg string.

To help out I will do a fix for agsh/onvif and a Pull Request

@RogerHardiman
Copy link
Collaborator

RogerHardiman commented May 16, 2016

I have added a fix to agsh/onvif in this Pull Request https://github.com/agsh/onvif/pull/37

@bluet
Copy link
Author

bluet commented May 17, 2016

update PR link agsh/onvif#38

@RogerHardiman
Copy link
Collaborator

This can be closed now.
The problem was in the agsh ONVIF library and not in RPOS.

@bluet
Copy link
Author

bluet commented Jul 9, 2016

Thanks for help. :-)

@bluet bluet closed this as completed Jul 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants