Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 207710

Does Axis2/c work with vSphere Web Services SDK 5.0?

$
0
0

Can anyone tell me whether Axis2/c 1.6.0 is supposed to work with vSphere Web Services SDK 5.0 as provisioned on vCenter Server 5.0?

 

I have been attempting to generate client stubs using WSDL2C.bat in Axis2/c 1.6.0 and have been getting an error as described below:

 

Despite some (a lot) of googling, I can find no other examples of this error.  Due to the last update to the Apache Axis2/c web page being in 2009, I suspect that Axis2/c may be falling out of use.

 

<snip>

 

E:\axis2c-bin-1.6.0-win32\bin\tools\wsdl2c>WSDL2C.bat -uri https://vcenter.test.com/sdk/vim.wsdl -d adb u
E:\axis2c-bin-1.6.0-win32\bin\tools\wsdl2c>echo off
Retrieving document at 'https://vcenter.test.com/sdk/vim.wsdl'.
Retrieving schema at 'reflect-messagetypes.xsd', relative to 'https://vcenter.test.com/sdk/vim.wsdl'.
Retrieving schema at 'core-types.xsd', relative to 'https://vcenter.test.com/sdk/reflect-messagetypes.xsd'.
Retrieving schema at 'reflect-types.xsd', relative to 'https://vcenter.test.com/sdk/reflect-messagetypes.xsd'.
Retrieving schema at 'core-types.xsd', relative to 'https://vcenter.test.com/sdk/reflect-types.xsd'.
Retrieving schema at 'query-messagetypes.xsd', relative to 'https://vcenter.test.com/sdk/vim.wsdl'.
Retrieving schema at 'core-types.xsd', relative to 'https://vcenter.test.com/sdk/query-messagetypes.xsd'.
Retrieving schema at 'query-types.xsd', relative to 'https://vcenter.test.com/sdk/query-messagetypes.xsd'.
Retrieving schema at 'core-types.xsd', relative to 'https://vcenter.test.com/sdk/query-types.xsd'.
Retrieving schema at 'core-types.xsd', relative to 'https://vcenter.test.com/sdk/vim.wsdl'.
Retrieving schema at 'vim-messagetypes.xsd', relative to 'https://vcenter.test.com/sdk/vim.wsdl'.
Retrieving schema at 'reflect-types.xsd', relative to 'https://vcenter.test.com/sdk/vim-messagetypes.xsd'.
Retrieving schema at 'query-types.xsd', relative to 'https://vcenter.test.com/sdk/vim-messagetypes.xsd'.
Retrieving schema at 'core-types.xsd', relative to 'https://vcenter.test.com/sdk/vim-messagetypes.xsd'.
Retrieving schema at 'vim-types.xsd', relative to 'https://vcenter.test.com/sdk/vim-messagetypes.xsd'.
Retrieving schema at 'reflect-types.xsd', relative to 'https://vcenter.test.com/sdk/vim-types.xsd'.
Retrieving schema at 'query-types.xsd', relative to 'https://vcenter.test.com/sdk/vim-types.xsd'.
Retrieving schema at 'core-types.xsd', relative to 'https://vcenter.test.com/sdk/vim-types.xsd'.
log4j:WARN No appenders could be found for logger (org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException
: Error parsing WSDL
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:175)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
        at org.apache.axis2.wsdl.WSDL2C.main(WSDL2C.java:31)
Caused by: org.apache.axis2.AxisFault: No services found in the WSDL at https://vcenter.test.com/sdk/vim.wsdl with targetnamespace urn:vim25
        at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:115)
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:169)
        ... 2 more
E:\axis2c-bin-1.6.0-win32\bin\tools\wsdl2c>

<snip>


Viewing all articles
Browse latest Browse all 207710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>