Quantcast
Channel: VMware Communities : All Content - VMware vCenter Converter SDK
Viewing all articles
Browse latest Browse all 706

SoapException: A specified parameter was not correct.

$
0
0


Hello,


I have been trying to use the enhanced SDK samples to convert P2V a linux machine.


I keep getting the following error - System.Web.Services.Protocols.SoapException: A specified parameter was not correct.


I have tried this with both my own properties file and the sample one (after adding my environment details), and both give the same error.


The command I ran was:


C:\Users\ADMIN\Downloads\SubmitWinP2VJob_C#\SubmitWinP2VJob\bin\Debug>ConverterSamples.exe 10.100.1.41 williamj ****** custom.properties
Executing operation 'Convert' from properties file 'custom.properties'
Failed to execute operation 'Convert' from file 'custom.properties'
System.Web.Services.Protocols.SoapException: A specified parameter was not correct.
 
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at ConverterApi.ConverterService.ConverterServerConversionManagerCreateJob(ManagedObjectReference _this, ConverterServerConversionConversionJobSpec spec, Object extraInfo)
   at ConverterSamples.ConverterConnection.SubmitJob(ConverterServerConversionConversionJobSpec jobSpec) in c:\Users\IBM_ADMIN\Downloads\SubmitWinP2VJob_C#\SubmitWinP2VJob\ConverterConnection.cs:line 284
   at ConverterSamples.ConverterOperation.Convert() in c:\Users\ADMIN\Downloads\SubmitWinP2VJob_C#\SubmitWinP2VJob\ConverterOperation.cs:line 644
   at ConverterSamples.ConverterOperation.Execute() in c:\Users\ADMIN\Downloads\SubmitWinP2VJob_C#\SubmitWinP2VJob\ConverterOperation.cs:line 190


 


My properties file:


operation.count=1
operation#1=Convert
 
source.type=Physical
 
source.physical.address=10.100.1.42
source.physical.username=root
source.physical.password=******
source.physical.ostype=linuxOs
source.physical.agentport=
source.physical.thumbprint=
source.physical.reboot=false
 
target.type=Managed
 
target.managed.address=10.100.1.40
target.managed.thumbprint=
target.managed.username=williamj
target.managed.password=******
target.managed.host=esxi-test
 
vmtocreate.name=migtest
vmtocreate.vcpu=1
vmtocreate.corespersocket=1
vmtocreate.memory=1024
 
storage.cloningmode=volumeBasedCloning
 
storage.targetdisk.disktype#0=vmfsMonolithicFlatThinProvisioned
storage.targetdisk.lvg#0=false
storage.targetdisk.gpt#0=false
storage.targetdisk.datastore#0=datastore1
 
; Number of recent tasks and jobs to display
list.tasks=1
list.jobs=1


 


Any help you be greatly appreciated!


Viewing all articles
Browse latest Browse all 706

Trending Articles



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