Then Rafael point you to the right direction with the project he mentioned. 
It's a java client library which abstract you from all the http calls to the 
cloudstack API.

--
Exoscale
Av de Provence 4
1007 Lausanne
+41 78 622 42 31
www.exoscale.ch

> On 05 May 2017, at 12:18, Ahmet Orkun Gedik <orkun.ge...@kocsistem.com.tr> 
> wrote:
> 
> Hi Marco,
> 
> I would like to thank you to lead me to correct direction. I thought that 
> there's a standard library to call APIs' on CloudStack.
> 
> I am developing a cloud application on CloudStack framework. As far as I 
> understand that I need to develop my own client library to call APIs' on 
> CloudStack.
> 
> Thank you for your co-operation.
> 
> Saygılarımla/Best regards/Mit freundlichen Grüßen,
> 
> Orkun Gedik
> SAP Teknoloji Alan Lideri / SAP Technology Principal Consultant
> Veri Merkezi Çözüm ve Hizmetleri / Datacenter Solutions and Services
> ERP Uygulamaları Birimi / ERP Applications
> 
> KoçSistem Bilgi ve İletişim Hizmetleri A.Ş.
> E-Posta: orkun.ge...@kocsistem.com.tr
>                ksvm...@kocsistem.com.tr
> 
> 
> 
> 
> 
> 
> 
> 
> Bilgi Gizlilik  Sınıflandırması   :  Genel Paylaşım
> Information  Confidentiality    :  Public Use
> -----Original Message-----
> From: ma...@exoscale.ch [mailto:ma...@exoscale.ch] 
> Sent: Friday, May 5, 2017 10:48 AM
> To: users@cloudstack.apache.org
> Subject: Re: About CloudStack Java samples
> 
> Hi Orkun!
> 
> There isn't a client java library to call directly cloudstack which is not 
> using HTTP calls. I don't think you're going in the right direction with your 
> needs. Either you'll be using cloudstack and therefore will expose the HTTP 
> API endpoint to work with the management server,. Or you don't need 
> cloudstack should maybe work with the hypervisors directly.
> 
> Explain us what you want to do with your cloudstack client library.
> 
> Kind regards
> 
>> On 04 May 2017, at 17:04, Ahmet Orkun Gedik <orkun.ge...@kocsistem.com.tr> 
>> wrote:
>> 
>> Hi Rafael,
>> 
>> Actually, I want to use "com.cloud.*;" library. Do you have any example 
>> about it?
>> 
>> Saygılarımla/Best regards/Mit freundlichen Grüßen,
>> 
>> Orkun Gedik
>> SAP Teknoloji Alan Lideri / SAP Technology Principal Consultant Veri 
>> Merkezi Çözüm ve Hizmetleri / Datacenter Solutions and Services ERP 
>> Uygulamaları Birimi / ERP Applications
>> 
>> KoçSistem Bilgi ve İletişim Hizmetleri A.Ş.
>> E-Posta: orkun.ge...@kocsistem.com.tr
>>               ksvm...@kocsistem.com.tr
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Bilgi Gizlilik  Sınıflandırması   :  Genel Paylaşım
>> Information  Confidentiality    :  Public Use
>> -----Original Message-----
>> From: Rafael Weingärtner [mailto:rafaelweingart...@gmail.com]
>> Sent: Thursday, May 4, 2017 5:33 PM
>> To: users@cloudstack.apache.org
>> Subject: Re: About CloudStack Java samples
>> 
>> I do not know exactly what you are looking for, but, would something like 
>> this help you?
>> https://github.com/Autonomiccs/apache-cloudstack-java-client
>> 
>> On Thu, May 4, 2017 at 9:44 AM, Ahmet Orkun Gedik < 
>> orkun.ge...@kocsistem.com.tr> wrote:
>> 
>>> Hi,
>>> 
>>> I am looking for a sample code with connecting and calling an API by 
>>> using CloudStack Java library. Not looking for an example by calling 
>>> HttpMethod and HttpClient classes.
>>> 
>>> Anyone have a such example?
>>> 
>>> Best regards,
>>> 
>>> Orkun Gedik
>>> 
>>> Bilgi Gizlilik  Sınıflandırması   :  Genel Paylaşım
>>> Information  Confidentiality    :  Public Use
>>> [https://www.kocsistem.com.tr/tr/PublishingImages/email-01.jpg]         [
>>> https://www.kocsistem.com.tr/tr/PublishingImages/email-02.jpg]  < 
>>> https://www.kocsistem.com.tr/> 
>>> [https://www.kocsistem.com.tr/tr/PublishingImages/email-04-01.jpg] <
>>> https://tr-tr.facebook.com/KocSistem/>      [https://www.kocsistem.com.tr/
>>> tr/PublishingImages/email-04-03.jpg]  <https://twitter.com/ 
>>> kocsistem?lang=tr> 
>>> [https://www.kocsistem.com.tr/tr/PublishingImages/email-04-02.jpg] <
>>> https://www.linkedin.com/company/kocsistem>         [
>>> https://www.kocsistem.com.tr/tr/PublishingImages/email-04-04.jpg]  < 
>>> https://www.instagram.com/kocsistem/?hl=tr>
>>> 
>>> Bu e-posta mesaji kisiye özel olup, gizli bilgiler iceriyor olabilir. 
>>> Eger bu e-posta mesaji size yanlislikla ulasmissa,  icerigini hic bir 
>>> sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen 
>>> e-posta mesajini kullaniciya hemen geri gonderiniz  ve  tum 
>>> kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir 
>>> sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para 
>>> karsiligi satilamaz.  Bu e-posta mesaji viruslere karsi anti-virus 
>>> sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta 
>>> mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - 
>>> virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak 
>>> hicbir sorumlulugu kabul etmez.
>>> This message is intended solely for the use of the individual or 
>>> entity to whom it is addressed , and may contain confidential 
>>> information. If you are not the intended recipient of this message or 
>>> you receive this mail in error, you should refrain from making any 
>>> use of the contents and from opening any attachment. In that case, 
>>> please notify the sender immediately and return the message to the sender, 
>>> then, delete and destroy all copies.
>>> This e-mail message, can not be copied, published or sold for any reason.
>>> This e-mail message has been swept by anti-virus systems for the 
>>> presence of computer viruses. In doing so, however,  sender  cannot 
>>> warrant that virus or other forms of data corruption may not be 
>>> present and do not take any responsibility in any occurrence.
>>> 
>> 
>> 
>> 
>> --
>> Rafael Weingärtner
>> Bu e-posta mesaji kisiye özel olup, gizli bilgiler iceriyor olabilir. Eger 
>> bu e-posta mesaji size yanlislikla ulasmissa,  icerigini hic bir sekilde 
>> kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta 
>> mesajini kullaniciya hemen geri gonderiniz  ve  tum kopyalarini mesaj 
>> kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac 
>> icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.  Bu e-posta 
>> mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak 
>> yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol 
>> ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek 
>> zararlardan dogacak hicbir sorumlulugu kabul etmez.
>> This message is intended solely for the use of the individual or entity to 
>> whom it is addressed , and may contain confidential  information. If you are 
>> not the intended recipient of this message or you receive this mail in 
>> error, you should refrain from making any use of the contents and from 
>> opening any attachment. In that case, please notify the sender immediately 
>> and return the message to the sender, then, delete and destroy all copies. 
>> This e-mail message, can not be copied, published or sold for any reason. 
>> This e-mail message has been swept by anti-virus systems for the presence of 
>> computer viruses. In doing so, however,  sender  cannot warrant that virus 
>> or other forms of data corruption may not be present and do not take any 
>> responsibility in any occurrence.
>> Bu e-posta mesaji kisiye özel olup, gizli bilgiler iceriyor olabilir. Eger 
>> bu e-posta mesaji size yanlislikla ulasmissa,  icerigini hic bir sekilde 
>> kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta 
>> mesajini kullaniciya hemen geri gonderiniz  ve  tum kopyalarini mesaj 
>> kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac 
>> icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.  Bu e-posta 
>> mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak 
>> yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol 
>> ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek 
>> zararlardan dogacak hicbir sorumlulugu kabul etmez.
>> This message is intended solely for the use of the individual or entity to 
>> whom it is addressed , and may contain confidential  information. If you are 
>> not the intended recipient of this message or you receive this mail in 
>> error, you should refrain from making any use of the contents and from 
>> opening any attachment. In that case, please notify the sender immediately 
>> and return the message to the sender, then, delete and destroy all copies. 
>> This e-mail message, can not be copied, published or sold for any reason. 
>> This e-mail message has been swept by anti-virus systems for the presence of 
>> computer viruses. In doing so, however,  sender  cannot warrant that virus 
>> or other forms of data corruption may not be present and do not take any 
>> responsibility in any occurrence.
> 
> Bu e-posta mesaji kisiye özel olup, gizli bilgiler iceriyor olabilir. Eger bu 
> e-posta mesaji size yanlislikla ulasmissa,  icerigini hic bir sekilde 
> kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini 
> kullaniciya hemen geri gonderiniz  ve  tum kopyalarini mesaj kutunuzdan 
> siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin 
> cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.  Bu e-posta mesaji 
> viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak 
> yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol 
> ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek 
> zararlardan dogacak hicbir sorumlulugu kabul etmez.
> This message is intended solely for the use of the individual or entity to 
> whom it is addressed , and may contain confidential  information. If you are 
> not the intended recipient of this message or you receive this mail in error, 
> you should refrain from making any use of the contents and from opening any 
> attachment. In that case, please notify the sender immediately and return the 
> message to the sender, then, delete and destroy all copies. This e-mail 
> message, can not be copied, published or sold for any reason. This e-mail 
> message has been swept by anti-virus systems for the presence of computer 
> viruses. In doing so, however,  sender  cannot warrant that virus or other 
> forms of data corruption may not be present and do not take any 
> responsibility in any occurrence.
> Bu e-posta mesaji kisiye özel olup, gizli bilgiler iceriyor olabilir. Eger bu 
> e-posta mesaji size yanlislikla ulasmissa,  icerigini hic bir sekilde 
> kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini 
> kullaniciya hemen geri gonderiniz  ve  tum kopyalarini mesaj kutunuzdan 
> siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin 
> cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.  Bu e-posta mesaji 
> viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak 
> yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol 
> ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek 
> zararlardan dogacak hicbir sorumlulugu kabul etmez.
> This message is intended solely for the use of the individual or entity to 
> whom it is addressed , and may contain confidential  information. If you are 
> not the intended recipient of this message or you receive this mail in error, 
> you should refrain from making any use of the contents and from opening any 
> attachment. In that case, please notify the sender immediately and return the 
> message to the sender, then, delete and destroy all copies. This e-mail 
> message, can not be copied, published or sold for any reason. This e-mail 
> message has been swept by anti-virus systems for the presence of computer 
> viruses. In doing so, however,  sender  cannot warrant that virus or other 
> forms of data corruption may not be present and do not take any 
> responsibility in any occurrence.

Reply via email to