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

wsdl2h generation stage #33

Open
p3im4n opened this issue Dec 6, 2020 · 3 comments
Open

wsdl2h generation stage #33

p3im4n opened this issue Dec 6, 2020 · 3 comments

Comments

@p3im4n
Copy link

p3im4n commented Dec 6, 2020

hi Mr @KoynovStas

how did u combine .wsdl and .xsd file to generate corresponding .h file with generated wsdl2h.exe(at previos stage) ?

abviously these wsdl generate those .h:
devicemgmt.wsdl ---> "soapDeviceBindingService.h"
media.wsdl ---> "soapMediaBindingService.h"
ptz.wsdl ---> "soapPTZBindingService.h"

I saw in make file:

---- gSOAP ----

$(GENERATED_DIR)/onvif.h:
@$(build_gsoap)
@mkdir -p $(GENERATED_DIR)
$(WSDL2H) -d -t ./wsdl/typemap.dat -o $@ $(WSDL_FILES)
$(WSSE_IMPORT)
........
......
and in typemap.dat:

OASIS recommended prefixes

wsnt = http://docs.oasis-open.org/wsn/b-2
wsntw = http://docs.oasis-open.org/wsn/bw-2
wsrfbf = http://docs.oasis-open.org/wsrf/bf-2
wsrfr = http://docs.oasis-open.org/wsrf/r-2
wsrfrw = http://docs.oasis-open.org/wsrf/rw-2
wstop = http://docs.oasis-open.org/wsn/t-1

the available xsd file in your project are mentioned there!

but i didnt understand the relation between them

best regards

@p3im4n
Copy link
Author

p3im4n commented Dec 6, 2020

ok.. i concluded the .xsd file which are needed,automatically downloaded based on typemap.dat information!!!
am i right?

@KoynovStas
Copy link
Owner

about typemap.dat see: https://www.genivia.com/doc/guide/html/index.html

If .xsd file is located locally, then the link should be in brackets <>

@p3im4n
Copy link
Author

p3im4n commented Dec 7, 2020

hi Mr @KoynovStas
how did you generate these cpp files?
ServiceDevice.cpp
ServiceMedia.cpp
ServicePTZ.cpp

best regards

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