Author: vanto
Date: Wed Jan 12 15:47:31 2011
New Revision: 1058202
URL: http://svn.apache.org/viewvc?rev=1058202&view=rev
Log:
pingpong-bundle fix.
Modified:
ode/trunk/Rakefile
ode/trunk/distro/src/examples-jbi/maven2/ping-pong-osgi/src/main/resources/Ping.wsdl
Modified: ode/trunk/Rakefile
URL:
http://svn.apache.org/viewvc/ode/trunk/Rakefile?rev=1058202&r1=1058201&r2=1058202&view=diff
==============================================================================
--- ode/trunk/Rakefile (original)
+++ ode/trunk/Rakefile Wed Jan 12 15:47:31 2011
@@ -483,15 +483,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['-exportcontents'] = ""
+ bnd['Export-Package'] = "org.apache.ode.ping"
bnd['Include-Resource'] = _('src/main/resources')
end
end
Modified:
ode/trunk/distro/src/examples-jbi/maven2/ping-pong-osgi/src/main/resources/Ping.wsdl
URL:
http://svn.apache.org/viewvc/ode/trunk/distro/src/examples-jbi/maven2/ping-pong-osgi/src/main/resources/Ping.wsdl?rev=1058202&r1=1058201&r2=1058202&view=diff
==============================================================================
---
ode/trunk/distro/src/examples-jbi/maven2/ping-pong-osgi/src/main/resources/Ping.wsdl
(original)
+++
ode/trunk/distro/src/examples-jbi/maven2/ping-pong-osgi/src/main/resources/Ping.wsdl
Wed Jan 12 15:47:31 2011
@@ -48,13 +48,25 @@
<plnk:partnerLinkType name="PingPartnerLinkType">
<plnk:role name="Provider" portType="tns:PingPortType"/>
</plnk:partnerLinkType>
-
- <!--
-
- 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.
-
- -->
-
+
+ <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>
+
+ <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>