Skip to content

Commit f56acd3

Browse files
committed
WSO2 Carbon UI
1 parent 18adf59 commit f56acd3

14 files changed

Lines changed: 524 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
mkdir -p com.javahelps.samplecarbon.stub/src/main/java
2+
mkdir -p com.javahelps.samplecarbon.stub/src/main/resources
3+
mkdir -p com.javahelps.samplecarbon.stub/src/test/java
4+
mkdir -p com.javahelps.samplecarbon.stub/src/test/resources
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
mkdir -p com.javahelps.samplecarbon.stub/src/main/java
2+
mkdir -p com.javahelps.samplecarbon.stub/src/main/resources
3+
mkdir -p com.javahelps.samplecarbon.stub/src/test/java
4+
mkdir -p com.javahelps.samplecarbon.stub/src/test/resources
Lines changed: 225 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,225 @@
1+
<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/xsd/maven-4.0.0.xsd">
2+
<modelVersion>4.0.0</modelVersion>
3+
<groupId>com.javahelps</groupId>
4+
<artifactId>com.javahelps.samplecarbon.stub</artifactId>
5+
<version>1.0.0</version>
6+
<packaging>bundle</packaging>
7+
8+
<repositories>
9+
<!-- Below configuration is used to download the relevant jars and
10+
plugins from the remote maven repositories -->
11+
<repository>
12+
<id>wso2-nexus</id>
13+
<name>WSO2 internal Repository</name>
14+
<url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
15+
<releases>
16+
<enabled>true</enabled>
17+
<updatePolicy>daily</updatePolicy>
18+
<checksumPolicy>ignore</checksumPolicy>
19+
</releases>
20+
</repository>
21+
22+
<repository>
23+
<id>wso2.releases</id>
24+
<name>WSO2 internal Repository</name>
25+
<url>http://maven.wso2.org/nexus/content/repositories/releases/</url>
26+
<releases>
27+
<enabled>true</enabled>
28+
<updatePolicy>daily</updatePolicy>
29+
<checksumPolicy>ignore</checksumPolicy>
30+
</releases>
31+
</repository>
32+
33+
<repository>
34+
<id>wso2.snapshots</id>
35+
<name>WSO2 Snapshot Repository</name>
36+
<url>http://maven.wso2.org/nexus/content/repositories/snapshots/</url>
37+
<snapshots>
38+
<enabled>true</enabled>
39+
<updatePolicy>daily</updatePolicy>
40+
</snapshots>
41+
<releases>
42+
<enabled>false</enabled>
43+
</releases>
44+
</repository>
45+
</repositories>
46+
47+
<pluginRepositories>
48+
<pluginRepository>
49+
<id>wso2.releases</id>
50+
<name>WSO2 internal Repository</name>
51+
<url>http://maven.wso2.org/nexus/content/repositories/releases/</url>
52+
<releases>
53+
<enabled>true</enabled>
54+
<updatePolicy>daily</updatePolicy>
55+
<checksumPolicy>ignore</checksumPolicy>
56+
</releases>
57+
</pluginRepository>
58+
59+
<pluginRepository>
60+
<id>wso2.snapshots</id>
61+
<name>WSO2 Snapshot Repository</name>
62+
<url>http://maven.wso2.org/nexus/content/repositories/snapshots/</url>
63+
<snapshots>
64+
<enabled>true</enabled>
65+
<updatePolicy>daily</updatePolicy>
66+
</snapshots>
67+
<releases>
68+
<enabled>false</enabled>
69+
</releases>
70+
</pluginRepository>
71+
<pluginRepository>
72+
<id>wso2-nexus</id>
73+
<name>WSO2 internal Repository</name>
74+
<url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
75+
<releases>
76+
<enabled>true</enabled>
77+
<updatePolicy>daily</updatePolicy>
78+
<checksumPolicy>ignore</checksumPolicy>
79+
</releases>
80+
</pluginRepository>
81+
</pluginRepositories>
82+
83+
84+
<dependencies>
85+
<dependency>
86+
<groupId>org.apache.axis2.wso2</groupId>
87+
<artifactId>axis2</artifactId>
88+
<version>1.6.1.wso2v10</version>
89+
</dependency>
90+
<dependency>
91+
<groupId>org.apache.axis2.wso2</groupId>
92+
<artifactId>axis2-client</artifactId>
93+
<version>1.6.1.wso2v10</version>
94+
</dependency>
95+
<dependency>
96+
<groupId>org.apache.ws.commons.axiom.wso2</groupId>
97+
<artifactId>axiom</artifactId>
98+
<version>1.2.11.wso2v4</version>
99+
</dependency>
100+
<dependency>
101+
<groupId>wsdl4j.wso2</groupId>
102+
<artifactId>wsdl4j</artifactId>
103+
<version>1.6.2.wso2v4</version>
104+
</dependency>
105+
</dependencies>
106+
107+
<build>
108+
<plugins>
109+
<plugin>
110+
<groupId>org.apache.maven.plugins</groupId>
111+
<artifactId>maven-compiler-plugin</artifactId>
112+
<version>3.5.1</version>
113+
<configuration>
114+
<source>1.8</source>
115+
<target>1.8</target>
116+
</configuration>
117+
</plugin>
118+
<plugin>
119+
<groupId>org.apache.maven.plugins</groupId>
120+
<artifactId>maven-antrun-plugin</artifactId>
121+
<version>1.1</version>
122+
<executions>
123+
<execution>
124+
<id>source-code-generation</id>
125+
<phase>process-resources</phase>
126+
<goals>
127+
<goal>run</goal>
128+
</goals>
129+
<configuration>
130+
<tasks>
131+
<path id="wsdl2java.classpath">
132+
<pathelement location="${settings.localRepository}/org/apache/ws/commons/axiom/wso2/axiom/1.2.11.wso2v4/axiom-1.2.11.wso2v4.jar"/>
133+
<pathelement location="${settings.localRepository}/org/apache/axis2/wso2/axis2-client/1.6.1.wso2v10/axis2-client-1.6.1.wso2v10.jar"/>
134+
<pathelement location="${settings.localRepository}/org/apache/axis2/wso2/axis2/1.6.1.wso2v10/axis2-1.6.1.wso2v10.jar"/>
135+
</path>
136+
<java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
137+
<classpath refid="wsdl2java.classpath"/>
138+
<arg line="-uri src/main/resources/SampleService.wsdl -u -uw -o target/generated-code -p com.javahelps.samplecarbon.stub -ns2p http://org.apache.axis2/xsd=com.javahelps.samplecarbon.types.axis2,http://service.samplecarbon.javahelps.com=com.javahelps.samplecarbon.types"/>
139+
</java>
140+
</tasks>
141+
</configuration>
142+
</execution>
143+
</executions>
144+
</plugin>
145+
<plugin>
146+
<groupId>org.codehaus.mojo</groupId>
147+
<artifactId>build-helper-maven-plugin</artifactId>
148+
<executions>
149+
<execution>
150+
<id>add-source</id>
151+
<phase>generate-sources</phase>
152+
<goals>
153+
<goal>add-source</goal>
154+
</goals>
155+
<configuration>
156+
<sources>
157+
<source>target/generated-code/src</source>
158+
</sources>
159+
</configuration>
160+
</execution>
161+
</executions>
162+
</plugin>
163+
<plugin>
164+
<groupId>org.apache.felix</groupId>
165+
<artifactId>maven-bundle-plugin</artifactId>
166+
<extensions>true</extensions>
167+
<configuration>
168+
<instructions>
169+
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
170+
<Bundle-Name>${project.artifactId}</Bundle-Name>
171+
<Private-Package/>
172+
<Export-Package>com.javahelps.samplecarbon.*
173+
</Export-Package>
174+
<Import-Package>!com.javahelps.samplecarbon.*
175+
</Import-Package>
176+
<DynamicImport-Package>*</DynamicImport-Package>
177+
</instructions>
178+
</configuration>
179+
</plugin>
180+
</plugins>
181+
<pluginManagement>
182+
<plugins>
183+
<!--This plugin's configuration is used to store Eclipse m2e settings
184+
only. It has no influence on the Maven build itself. -->
185+
<plugin>
186+
<groupId>org.eclipse.m2e</groupId>
187+
<artifactId>lifecycle-mapping</artifactId>
188+
<version>1.0.0</version>
189+
<configuration>
190+
<lifecycleMappingMetadata>
191+
<pluginExecutions>
192+
<pluginExecution>
193+
<pluginExecutionFilter>
194+
<groupId>org.apache.maven.plugins</groupId>
195+
<artifactId>maven-antrun-plugin</artifactId>
196+
<versionRange>[1.1,)</versionRange>
197+
<goals>
198+
<goal>run</goal>
199+
</goals>
200+
</pluginExecutionFilter>
201+
<action>
202+
<ignore/>
203+
</action>
204+
</pluginExecution>
205+
<pluginExecution>
206+
<pluginExecutionFilter>
207+
<groupId>org.codehaus.mojo</groupId>
208+
<artifactId>build-helper-maven-plugin</artifactId>
209+
<versionRange>[1.9.1,)</versionRange>
210+
<goals>
211+
<goal>add-source</goal>
212+
</goals>
213+
</pluginExecutionFilter>
214+
<action>
215+
<ignore/>
216+
</action>
217+
</pluginExecution>
218+
</pluginExecutions>
219+
</lifecycleMappingMetadata>
220+
</configuration>
221+
</plugin>
222+
</plugins>
223+
</pluginManagement>
224+
</build>
225+
</project>
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://service.samplecarbon.javahelps.com" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://service.samplecarbon.javahelps.com">
2+
<wsdl:documentation>SampleService</wsdl:documentation>
3+
<wsdl:types>
4+
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://service.samplecarbon.javahelps.com">
5+
<xs:element name="getLanguages">
6+
<xs:complexType>
7+
<xs:sequence/>
8+
</xs:complexType>
9+
</xs:element>
10+
<xs:element name="getLanguagesResponse">
11+
<xs:complexType>
12+
<xs:sequence>
13+
<xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="xs:string"/>
14+
</xs:sequence>
15+
</xs:complexType>
16+
</xs:element>
17+
</xs:schema>
18+
</wsdl:types>
19+
<wsdl:message name="getLanguagesRequest">
20+
<wsdl:part name="parameters" element="ns:getLanguages"/>
21+
</wsdl:message>
22+
<wsdl:message name="getLanguagesResponse">
23+
<wsdl:part name="parameters" element="ns:getLanguagesResponse"/>
24+
</wsdl:message>
25+
<wsdl:portType name="SampleServicePortType">
26+
<wsdl:operation name="getLanguages">
27+
<wsdl:input message="ns:getLanguagesRequest" wsaw:Action="urn:getLanguages"/>
28+
<wsdl:output message="ns:getLanguagesResponse" wsaw:Action="urn:getLanguagesResponse"/>
29+
</wsdl:operation>
30+
</wsdl:portType>
31+
<wsdl:binding name="SampleServiceSoap11Binding" type="ns:SampleServicePortType">
32+
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
33+
<wsdl:operation name="getLanguages">
34+
<soap:operation soapAction="urn:getLanguages" style="document"/>
35+
<wsdl:input>
36+
<soap:body use="literal"/>
37+
</wsdl:input>
38+
<wsdl:output>
39+
<soap:body use="literal"/>
40+
</wsdl:output>
41+
</wsdl:operation>
42+
</wsdl:binding>
43+
<wsdl:binding name="SampleServiceSoap12Binding" type="ns:SampleServicePortType">
44+
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
45+
<wsdl:operation name="getLanguages">
46+
<soap12:operation soapAction="urn:getLanguages" style="document"/>
47+
<wsdl:input>
48+
<soap12:body use="literal"/>
49+
</wsdl:input>
50+
<wsdl:output>
51+
<soap12:body use="literal"/>
52+
</wsdl:output>
53+
</wsdl:operation>
54+
</wsdl:binding>
55+
<wsdl:binding name="SampleServiceHttpBinding" type="ns:SampleServicePortType">
56+
<http:binding verb="POST"/>
57+
<wsdl:operation name="getLanguages">
58+
<http:operation location="getLanguages"/>
59+
<wsdl:input>
60+
<mime:content type="text/xml" part="parameters"/>
61+
</wsdl:input>
62+
<wsdl:output>
63+
<mime:content type="text/xml" part="parameters"/>
64+
</wsdl:output>
65+
</wsdl:operation>
66+
</wsdl:binding>
67+
<wsdl:service name="SampleService">
68+
<wsdl:port name="SampleServiceHttpsSoap11Endpoint" binding="ns:SampleServiceSoap11Binding">
69+
<soap:address location="https://192.168.8.100:9443/services/SampleService.SampleServiceHttpsSoap11Endpoint/"/>
70+
</wsdl:port>
71+
<wsdl:port name="SampleServiceHttpsSoap12Endpoint" binding="ns:SampleServiceSoap12Binding">
72+
<soap12:address location="https://192.168.8.100:9443/services/SampleService.SampleServiceHttpsSoap12Endpoint/"/>
73+
</wsdl:port>
74+
<wsdl:port name="SampleServiceHttpsEndpoint" binding="ns:SampleServiceHttpBinding">
75+
<http:address location="https://192.168.8.100:9443/services/SampleService.SampleServiceHttpsEndpoint/"/>
76+
</wsdl:port>
77+
</wsdl:service>
78+
</wsdl:definitions>
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" output="target/classes" path="src/main/java">
4+
<attributes>
5+
<attribute name="optional" value="true"/>
6+
<attribute name="maven.pomderived" value="true"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
10+
<attributes>
11+
<attribute name="maven.pomderived" value="true"/>
12+
</attributes>
13+
</classpathentry>
14+
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
15+
<attributes>
16+
<attribute name="optional" value="true"/>
17+
<attribute name="maven.pomderived" value="true"/>
18+
</attributes>
19+
</classpathentry>
20+
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
21+
<attributes>
22+
<attribute name="maven.pomderived" value="true"/>
23+
</attributes>
24+
</classpathentry>
25+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
26+
<attributes>
27+
<attribute name="maven.pomderived" value="true"/>
28+
</attributes>
29+
</classpathentry>
30+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
31+
<attributes>
32+
<attribute name="maven.pomderived" value="true"/>
33+
</attributes>
34+
</classpathentry>
35+
<classpathentry kind="output" path="target/classes"/>
36+
</classpath>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>com.javahelps.samplecarbon.ui</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.sonarlint.eclipse.core.sonarlintBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.m2e.core.maven2Builder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
</buildSpec>
24+
<natures>
25+
<nature>org.eclipse.jdt.core.javanature</nature>
26+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
27+
</natures>
28+
</projectDescription>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
3+
org.eclipse.jdt.core.compiler.compliance=1.5
4+
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
5+
org.eclipse.jdt.core.compiler.source=1.5
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
activeProfiles=
2+
eclipse.preferences.version=1
3+
resolveWorkspaceProjects=true
4+
version=1

0 commit comments

Comments
 (0)