Got it , thanks

I regenerated the wsdl and the issue is gone now. One question though, how do 
we generate the wsdl without the need to bring up the system, currently I

1.      Bring up the system

2.      Run curl -k https://<stratos<https://%3cstratos> 
ip>:9443/services/CloudControllerService?wsdl to generate a wsdl

but how do you do it without stratos yet being up ?

Thanks

Martin
From: Sajith Kariyawasam [mailto:[email protected]]
Sent: Monday, July 07, 2014 10:23 PM
To: [email protected]
Cc: Lahiru Sandaruwan; [email protected]; Lakmal Warusawithana
Subject: Re: servicegroup filed

Hi Martin,

serviceGroup was introduced to achieve simple cartridge grouping in the commit 
e20b3ea41b9f692f16567cce4e8cc7dc241e5ce6

According to your exception, it seems to me that the 
CloudControllerService.wsdl in your org.apache.stratos.cloud.controller.stub 
bundle is different from what's there in the code 
base<https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=blob;f=service-stubs/org.apache.stratos.cloud.controller.service.stub/src/main/resources/CloudControllerService.wsdl;h=27b8f3755ade9ce579d9d176b860bca1317bb9aa;hb=HEAD>.
serviceGroup property is not available in the getCartridgeInfo response.

Thanks,
Sajith

On Mon, Jul 7, 2014 at 8:02 PM, Martin Eppel (meppel) 
<[email protected]<mailto:[email protected]>> wrote:
I merged our experimental code with the 4.0.0 apache stratos and I am getting 
an exception related to the (new ?) field serviceGroup, any clue what is 
missing or expected  in the subscription ?

Thanks

Martin


TID: [0] [STRATOS] [2014-07-07 14:14:19,508] ERROR 
{org.apache.stratos.manager.manager.CartridgeSubscriptionManager} -  Error 
getting info for cisco-sample-vm 
{org.apache.stratos.manager.manager.CartridgeSubscriptionManager}org.apache.axis2.AxisFault:
 org.apache.axis2.databinding.ADBException: Unexpected subelement 
{http://pojo.controller.cloud.stratos.apache.org/xsd}serviceGroup<http://pojo.controller.cloud.stratos.apache.org/xsd%7DserviceGroup>
        at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)        at 
org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.fromOM(CloudControllerServiceStub.java:4312)
        at 
org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.getCartridgeInfo(CloudControllerServiceStub.java:1700)
        at 
org.apache.stratos.manager.client.CloudControllerServiceClient.getCartridgeInfo(CloudControllerServiceClient.java:164)
        at 
org.apache.stratos.manager.manager.CartridgeSubscriptionManager.subscribeToCartridgeWithProperties(CartridgeSubscriptionManager.java:90)
        at 
org.apache.stratos.rest.endpoint.services.ServiceUtils.subscribe(ServiceUtils.java:1238)



--
--
Sajith Kariyawasam
Mobile: +94772269575

Reply via email to