Skip to content

Commit

Permalink
pingpong-bundle fix.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/ode/trunk@1058202 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
vanto committed Jan 12, 2011
1 parent 8dce50a commit 973cc83
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
6 changes: 3 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 973cc83

Please sign in to comment.