QUSIR / staff

Automatically exported from code.google.com/p/staff
Apache License 2.0
0 stars 0 forks source link

onvif device management wsdl crashes staff_codegen #143

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, first i want to thank the staff team for the neat piece of work!

When i try to generate a client stub from the onvif devicemanagment wdsl file 
located at http://www.onvif.org/onvif/ver10/device/wsdl/devicemgmt.wsdl 
via the command 

staff_codegen -pwsdl -e -u -tclientimpl devicemgmt.wsdl 

i get the following output:

saving onvif.xsd
saving xmlmime
saving b-2.xsd
saving ws-addr.xsd
saving bf-2.xsd
saving xml.xsd
WARNING WsdlParser.cpp[213]: FindNamespaceUri: Can't find prefix declaration 
[xml] for node [xs:attribute]
WARNING WsdlParser.cpp[213]: FindNamespaceUri: Can't find prefix declaration 
[xml] for node [xs:attribute]
WARNING WsdlParser.cpp[213]: FindNamespaceUri: Can't find prefix declaration 
[xml] for node [xs:attribute]
WARNING WsdlParser.cpp[213]: FindNamespaceUri: Can't find prefix declaration 
[xml] for node [xs:attribute]
saving t-1.xsd
ERROR main.cpp[289]: main: CException: 
Attribute [value] is not found

Thrown from rise/xml/XMLNode.cpp[107]: const rise::xml::CXMLValue& 
rise::xml::CXMLNode::Attribute(const rise::CString&) const.
Expression: ""; 

I use the axis2c builded from source 
http://www.sai.msu.su/apache/ws/axis2/c/1_6_0/axis2c-src-1.6.0.tar.gz according 
to your install docs and the lastest svn-version of staff from your repo. The 
os i'm on is ubuntu 10.10.
I tried it with both options in the install procedure for axis2c once with 
guththila and the other time with libxml as xml-parser. Both result in the same 
error.

Thank you in advance for your efforts and your time.

Original issue reported on code.google.com by SaschaG...@googlemail.com on 10 Oct 2011 at 2:06

GoogleCodeExporter commented 9 years ago
hi a bit more info on my system:

compiler : gcc ver 4.4.5
target   : i686-linux-gnu
kernel   : 2.6.35-28-generic

sorry for not putting the info in the above post.

greetings....

Original comment by SaschaG...@googlemail.com on 10 Oct 2011 at 2:12

GoogleCodeExporter commented 9 years ago

Original comment by loentar on 10 Oct 2011 at 6:01

GoogleCodeExporter commented 9 years ago
Thank you for submitting that issue.

Original comment by loentar on 10 Oct 2011 at 1:22

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r544.

Original comment by loentar on 10 Oct 2011 at 1:22

GoogleCodeExporter commented 9 years ago
Thank you for the immediate fix.

best regards sascha

Original comment by SaschaG...@googlemail.com on 10 Oct 2011 at 1:34