stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Udara Liyanage <ud...@wso2.com>
Subject Re: servicegroup filed
Date Tue, 08 Jul 2014 08:48:30 GMT
HI Martin,

Me too doing the same way you have done. AFAIK service should be running to
get the WSDL.


On Tue, Jul 8, 2014 at 2:15 PM, Martin Eppel (meppel) <meppel@cisco.com>
wrote:

>  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
> <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) <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 <%2B94772269575>*
>



-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Mime
View raw message