I think we should add this to component's pom as an optional task, WDYT ?
On Tue, Jul 8, 2014 at 2:26 PM, Sajith Kariyawasam <[email protected]> wrote: > Alternatively, you can use the java2wsdl maven plugin [1] (which is the > exact reverse method being used in service stubs). I too haven't tested > this to that much of level, but this should work. > > > [1] > http://axis.apache.org/axis2/java/core/tools/maven-plugins/maven-java2wsdl-plugin.html > > > On Tue, Jul 8, 2014 at 2:18 PM, Udara Liyanage <[email protected]> wrote: > >> 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) <[email protected]> >> 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:[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]> >>> 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 >> > > > > -- > *--* > *Sajith Kariyawasam* > *Mobile: +94772269575 <%2B94772269575>* > -- *--* *Sajith Kariyawasam* *Mobile: +94772269575*
