You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by va...@apache.org on 2011/01/12 16:20:15 UTC
svn commit: r1058179 - in /ode/branches/ode-1.3.5.x: Rakefile
distro/src/examples-jbi/maven2/ping-pong-osgi/src/main/resources/Ping.wsdl
Author: vanto
Date: Wed Jan 12 15:20:15 2011
New Revision: 1058179
URL: http://svn.apache.org/viewvc?rev=1058179&view=rev
Log:
pingpong-bundle fix.
Modified:
ode/branches/ode-1.3.5.x/Rakefile
ode/branches/ode-1.3.5.x/distro/src/examples-jbi/maven2/ping-pong-osgi/src/main/resources/Ping.wsdl
Modified: ode/branches/ode-1.3.5.x/Rakefile
URL: http://svn.apache.org/viewvc/ode/branches/ode-1.3.5.x/Rakefile?rev=1058179&r1=1058178&r2=1058179&view=diff
==============================================================================
--- ode/branches/ode-1.3.5.x/Rakefile (original)
+++ ode/branches/ode-1.3.5.x/Rakefile Wed Jan 12 15:20:15 2011
@@ -477,14 +477,15 @@ define "ode" do
end
define "ping-pong-osgi" do
+ compile
package(:bundle, :id => "ping-pong-bundle").tap do |bnd|
- bnd.classpath = [KARAF, project("ode:jbi-bundle")]
+ bnd.classpath = [_("target/classes"), KARAF, project("ode:jbi-bundle")].flatten
bnd['Bundle-Name'] = "Apache ODE :: Ping-Pong Example"
bnd['Bundle-SymbolicName'] = "org.apache.ode.examples-ping-pong-bundle"
bnd['Bundle-Version'] = VERSION_NUMBER
bnd['Require-Bundle'] = "org.apache.ode.ode-jbi-bundle;version=#{VERSION_NUMBER}"
bnd['Import-Package'] = "org.apache.servicemix.cxfbc,org.apache.servicemix.common.osgi"
- bnd['Export-Package'] = ""
+ bnd['Export-Package'] = "org.apache.ode.ping"
bnd['-exportcontents'] = ""
bnd['Include-Resource'] = _('src/main/resources')
end
Modified: ode/branches/ode-1.3.5.x/distro/src/examples-jbi/maven2/ping-pong-osgi/src/main/resources/Ping.wsdl
URL: http://svn.apache.org/viewvc/ode/branches/ode-1.3.5.x/distro/src/examples-jbi/maven2/ping-pong-osgi/src/main/resources/Ping.wsdl?rev=1058179&r1=1058178&r2=1058179&view=diff
==============================================================================
--- ode/branches/ode-1.3.5.x/distro/src/examples-jbi/maven2/ping-pong-osgi/src/main/resources/Ping.wsdl (original)
+++ ode/branches/ode-1.3.5.x/distro/src/examples-jbi/maven2/ping-pong-osgi/src/main/resources/Ping.wsdl Wed Jan 12 15:20:15 2011
@@ -49,12 +49,24 @@
<plnk:role name="Provider" portType="tns:PingPortType"/>
</plnk:partnerLinkType>
- <!--
+ <binding name="PingSoapBinding" type="tns:PingPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
+ <operation name="Ping">
+ <soap:operation soapAction="" />
+ <input>
+ <soap:body use="literal" />
+ </input>
+ <output>
+ <soap:body use="literal" />
+ </output>
+ </operation>
+ </binding>
- This is an abstract interface/portType definition. Note the lack of
- binding and service: these are defined by the HTTP binding component.
- See ping-http/Ping.wsdl for details.
+ <service name="PingService">
+ <port name="PingPort" binding="tns:PingSoapBinding">
+ <!-- this address will be overridden by CXF -->
+ <soap:address location="http://unused.url/here" />
+ </port>
+ </service>
- -->
-
</definitions>