[Carbon-commits] [Carbon] svn commit r113795 - in trunk/carbon/service-stubs/org.wso2.carbon.bam.service.data.publisher.stub: . src src/main src/main/java src/main/resources

kasunw at wso2.com kasunw at wso2.com
Wed Oct 12 14:11:15 EDT 2011


Author: kasunw
Date: Wed Oct 12 11:11:15 2011
New Revision: 113795
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=113795

Log:
Add bam service data publisher stub

Added:
   trunk/carbon/service-stubs/org.wso2.carbon.bam.service.data.publisher.stub/
   trunk/carbon/service-stubs/org.wso2.carbon.bam.service.data.publisher.stub/pom.xml
   trunk/carbon/service-stubs/org.wso2.carbon.bam.service.data.publisher.stub/src/
   trunk/carbon/service-stubs/org.wso2.carbon.bam.service.data.publisher.stub/src/main/
   trunk/carbon/service-stubs/org.wso2.carbon.bam.service.data.publisher.stub/src/main/java/
   trunk/carbon/service-stubs/org.wso2.carbon.bam.service.data.publisher.stub/src/main/resources/
   trunk/carbon/service-stubs/org.wso2.carbon.bam.service.data.publisher.stub/src/main/resources/ServiceDataPublisherAdmin.wsdl

Added: trunk/carbon/service-stubs/org.wso2.carbon.bam.service.data.publisher.stub/pom.xml
URL: http://wso2.org/svn/browse/wso2/trunk/carbon/service-stubs/org.wso2.carbon.bam.service.data.publisher.stub/pom.xml?pathrev=113795
==============================================================================
--- (empty file)
+++ trunk/carbon/service-stubs/org.wso2.carbon.bam.service.data.publisher.stub/pom.xml	Wed Oct 12 11:11:15 2011
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+ ~
+ ~ WSO2 Inc. licenses this file to you under the Apache License,
+ ~ Version 2.0 (the "License"); you may not use this file except
+ ~ in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~    http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied.  See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <parent>
+        <groupId>org.wso2.carbon</groupId>
+        <artifactId>service-stubs</artifactId>
+        <version>3.2.0-SNAPSHOT</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>org.wso2.carbon.bam.service.data.publisher.stub</artifactId>
+    <packaging>bundle</packaging>
+    <name>WSO2 Carbon -  BAM - Service Stat publisher Stub</name>
+    <url>http://wso2.org</url>
+
+    <build>
+        <plugins>
+            
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <version>1.1</version>
+                <executions>
+                    <execution>
+                        <id>source-code-generation</id>
+                        <phase>process-resources</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <path id="wsdl2java.classpath">
+                                    <pathelement location="${settings.localRepository}/org/apache/axis2/wso2/axis2-client/${orbit.version.axis2}/axis2-client-${orbit.version.axis2}.jar"/>
+                                    <pathelement location="${settings.localRepository}/org/apache/axis2/wso2/axis2/${orbit.version.axis2}/axis2-${orbit.version.axis2}.jar"/>
+                                </path>
+                                <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
+                                    <arg line="-uri src/main/resources/ServiceDataPublisherAdmin.wsdl -u -uw -o target/generated-code  -p org.wso2.carbon.bam.service.data.publisher.stub -ns2p http://org.apache.axis2/xsd=org.wso2.carbon.bam.service.data.publisher.stub.axis2,http://conf.publisher.data.service.bam.carbon.wso2.org/xsd=org.wso2.carbon.bam.service.data.publisher.stub.conf"/>
+                                    <classpath refid="wsdl2java.classpath"/>
+                                </java>
+                            </tasks>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>add-source</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>add-source</goal>
+                        </goals>
+                        <configuration>
+                            <sources>
+                                <source>
+                                    target/generated-code/src
+                                </source>
+                            </sources>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-scr-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>1.4.0</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>
+                            ${pom.artifactId}
+                        </Bundle-SymbolicName>
+                        <Export-Package>
+                            org.wso2.carbon.bam.service.data.publisher.stub.*;
+                            version="${carbon.platform.package.export.version}"
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+
+        </plugins>
+    </build>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.axis2.wso2</groupId>
+            <artifactId>axis2</artifactId>
+        </dependency>
+    </dependencies>
+
+</project>

Added: trunk/carbon/service-stubs/org.wso2.carbon.bam.service.data.publisher.stub/src/main/resources/ServiceDataPublisherAdmin.wsdl
URL: http://wso2.org/svn/browse/wso2/trunk/carbon/service-stubs/org.wso2.carbon.bam.service.data.publisher.stub/src/main/resources/ServiceDataPublisherAdmin.wsdl?pathrev=113795
==============================================================================
--- (empty file)
+++ trunk/carbon/service-stubs/org.wso2.carbon.bam.service.data.publisher.stub/src/main/resources/ServiceDataPublisherAdmin.wsdl	Wed Oct 12 11:11:15 2011
@@ -0,0 +1,143 @@
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:tns="http://services.publisher.data.service.bam.carbon.wso2.org" xmlns:ax211="http://conf.publisher.data.service.bam.carbon.wso2.org/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.publisher.data.service.bam.carbon.wso2.org">
+    <wsdl:documentation>ServiceDataPublisherAdmin</wsdl:documentation>
+    <wsdl:types>
+        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://conf.publisher.data.service.bam.carbon.wso2.org/xsd">
+            <xs:complexType name="EventingConfigData">
+                <xs:sequence>
+                    <xs:element minOccurs="0" name="msgDumpingEnable" type="xs:boolean" />
+                    <xs:element minOccurs="0" name="password" nillable="true" type="xs:string" />
+                    <xs:element minOccurs="0" name="serviceStatsEnable" type="xs:boolean" />
+                    <xs:element minOccurs="0" name="url" nillable="true" type="xs:string" />
+                    <xs:element minOccurs="0" name="userName" nillable="true" type="xs:string" />
+                </xs:sequence>
+            </xs:complexType>
+        </xs:schema>
+        <xs:schema xmlns:ax212="http://conf.publisher.data.service.bam.carbon.wso2.org/xsd" xmlns:ns="http://org.apache.axis2/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://org.apache.axis2/xsd">
+            <xs:import namespace="http://conf.publisher.data.service.bam.carbon.wso2.org/xsd" />
+            <xs:element name="getEventingConfigData">
+                <xs:complexType>
+                    <xs:sequence />
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="getEventingConfigDataResponse">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="return" nillable="true" type="ax212:EventingConfigData" />
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="ServiceDataPublisherAdminException">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="ServiceDataPublisherAdminException" nillable="true" type="ns1:Exception" />
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:complexType name="Exception">
+                <xs:sequence>
+                    <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
+                </xs:sequence>
+            </xs:complexType>
+            <xs:element name="configureEventing">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="eventingConfigData" nillable="true" type="ax212:EventingConfigData" />
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+        </xs:schema>
+    </wsdl:types>
+    <wsdl:message name="configureEventingRequest">
+        <wsdl:part name="parameters" element="ns1:configureEventing" />
+    </wsdl:message>
+    <wsdl:message name="ServiceDataPublisherAdminException">
+        <wsdl:part name="parameters" element="ns1:ServiceDataPublisherAdminException" />
+    </wsdl:message>
+    <wsdl:message name="getEventingConfigDataRequest">
+        <wsdl:part name="parameters" element="ns1:getEventingConfigData" />
+    </wsdl:message>
+    <wsdl:message name="getEventingConfigDataResponse">
+        <wsdl:part name="parameters" element="ns1:getEventingConfigDataResponse" />
+    </wsdl:message>
+    <wsdl:portType name="ServiceDataPublisherAdminPortType">
+        <wsdl:operation name="configureEventing">
+            <wsdl:input message="tns:configureEventingRequest" wsaw:Action="urn:configureEventing" />
+            <wsdl:fault message="tns:ServiceDataPublisherAdminException" name="ServiceDataPublisherAdminException" wsaw:Action="urn:configureEventingServiceDataPublisherAdminException" />
+        </wsdl:operation>
+        <wsdl:operation name="getEventingConfigData">
+            <wsdl:input message="tns:getEventingConfigDataRequest" wsaw:Action="urn:getEventingConfigData" />
+            <wsdl:output message="tns:getEventingConfigDataResponse" wsaw:Action="urn:getEventingConfigDataResponse" />
+        </wsdl:operation>
+    </wsdl:portType>
+    <wsdl:binding name="ServiceDataPublisherAdminSoap11Binding" type="tns:ServiceDataPublisherAdminPortType">
+        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+        <wsdl:operation name="configureEventing">
+            <soap:operation soapAction="urn:configureEventing" style="document" />
+            <wsdl:input>
+                <soap:body use="literal" />
+            </wsdl:input>
+            <wsdl:fault name="ServiceDataPublisherAdminException">
+                <soap:fault use="literal" name="ServiceDataPublisherAdminException" />
+            </wsdl:fault>
+        </wsdl:operation>
+        <wsdl:operation name="getEventingConfigData">
+            <soap:operation soapAction="urn:getEventingConfigData" style="document" />
+            <wsdl:input>
+                <soap:body use="literal" />
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal" />
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:binding name="ServiceDataPublisherAdminSoap12Binding" type="tns:ServiceDataPublisherAdminPortType">
+        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+        <wsdl:operation name="configureEventing">
+            <soap12:operation soapAction="urn:configureEventing" style="document" />
+            <wsdl:input>
+                <soap12:body use="literal" />
+            </wsdl:input>
+            <wsdl:fault name="ServiceDataPublisherAdminException">
+                <soap12:fault use="literal" name="ServiceDataPublisherAdminException" />
+            </wsdl:fault>
+        </wsdl:operation>
+        <wsdl:operation name="getEventingConfigData">
+            <soap12:operation soapAction="urn:getEventingConfigData" style="document" />
+            <wsdl:input>
+                <soap12:body use="literal" />
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal" />
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:binding name="ServiceDataPublisherAdminHttpBinding" type="tns:ServiceDataPublisherAdminPortType">
+        <http:binding verb="POST" />
+        <wsdl:operation name="configureEventing">
+            <http:operation location="configureEventing" />
+            <wsdl:input>
+                <mime:content type="text/xml" part="parameters" />
+            </wsdl:input>
+        </wsdl:operation>
+        <wsdl:operation name="getEventingConfigData">
+            <http:operation location="getEventingConfigData" />
+            <wsdl:input>
+                <mime:content type="text/xml" part="parameters" />
+            </wsdl:input>
+            <wsdl:output>
+                <mime:content type="text/xml" part="parameters" />
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="ServiceDataPublisherAdmin">
+        <wsdl:port name="ServiceDataPublisherAdminHttpsSoap11Endpoint" binding="tns:ServiceDataPublisherAdminSoap11Binding">
+            <soap:address location="https://10.216.3.206:9444/as/services/ServiceDataPublisherAdmin.ServiceDataPublisherAdminHttpsSoap11Endpoint/" />
+        </wsdl:port>
+        <wsdl:port name="ServiceDataPublisherAdminHttpsSoap12Endpoint" binding="tns:ServiceDataPublisherAdminSoap12Binding">
+            <soap12:address location="https://10.216.3.206:9444/as/services/ServiceDataPublisherAdmin.ServiceDataPublisherAdminHttpsSoap12Endpoint/" />
+        </wsdl:port>
+        <wsdl:port name="ServiceDataPublisherAdminHttpsEndpoint" binding="tns:ServiceDataPublisherAdminHttpBinding">
+            <http:address location="https://10.216.3.206:9444/as/services/ServiceDataPublisherAdmin.ServiceDataPublisherAdminHttpsEndpoint/" />
+        </wsdl:port>
+    </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file


More information about the Carbon-commits mailing list