title: AXIS2/C and ONVIF
body: <p>I'm trying to create the stub of the wsdl <a href="http://www.onvif.org/onvif/ver10/device/wsdl/devicemgmt.wsdl" rel="nofollow">http://www.onvif.org/onvif/ver10/device/wsdl/devicemgmt.wsdl</a> using AXIS2/C (c++), using the following command: </p>
  
  <blockquote>
    <p>./WSDL2CPP.sh -uri <a href="http://www.onvif.org/onvif/ver10/device/wsdl/devicemgmt.wsdl" rel="nofollow">http://www.onvif.org/onvif/ver10/device/wsdl/devicemgmt.wsdl</a></p>
  </blockquote>
  
  <p>and I get the following answer:</p>
  
  <pre><code>Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
      at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.&lt;init&gt;(CodeGenerationEngine.java:153)
      at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
      at org.apache.axis2.wsdl.WSDL2CPP.main(WSDL2CPP.java:19)
  Caused by: org.apache.axis2.AxisFault: **`No service was not found in the WSDL at http://www.onvif.org/onvif/ver10/device/wsdl/devicemgmt.wsdl with targetnamespace http://www.onvif.org/ver10/device/wsdl`**
      at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:115)
      at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.&lt;init&gt;(CodeGenerationEngine.java:147)
      ... 2 more
  </code></pre>