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 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:sajith@wso2.com]
Sent: Monday, July 07, 2014 10:23 PM
To: dev@stratos.apache.org
Cc: Lahiru Sandaruwan; dev@stratos.incubator.apache.org; 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.

serviceGroup property is not available in the getCartridgeInfo response.

 

Thanks,

Sajith

 

On Mon, Jul 7, 2014 at 8:02 PM, Martin Eppel (meppel) <meppel@cisco.com> 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        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