Generating namespaces of xsd, wsdl problem

30 views
Skip to first unread message

Mike

unread,
May 12, 2014, 5:18:02 AM5/12/14
to wsf-...@googlegroups.com
Hello,

I am trying to generate client for onvif (http://www.onvif.org/) wsdl.

INPUT:


How I call staff codegen:

staff_codegen -pwsdl -tclient_all  http://www.onvif.org/ver10/media/wsdl/media.wsdl 

PROBLEM: 

It looks that staff codegen does not treat target namespaces properlly.

In  http://www.onvif.org/ver10/media/wsdl/media.wsdl there is Capabilities complext type

that also exists in http://www.onvif.org/ver10/schema/onvif.xsd (this schema used by media.wsdl).

Note that both are in different namespaces.

OUTPUT:

Generated code in media.h has Capabilities from onvif.xsd instead of media.wsdl.
Reply all
Reply to author
Forward
0 new messages