You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2008/12/12 23:19:39 UTC

svn commit: r726137 - /servicemix/smx4/features/trunk/examples/simple/wsn.xml

Author: gnodet
Date: Fri Dec 12 14:19:39 2008
New Revision: 726137

URL: http://svn.apache.org/viewvc?rev=726137&view=rev
Log:
Add WS-Notification simple binding example

Added:
    servicemix/smx4/features/trunk/examples/simple/wsn.xml

Added: servicemix/smx4/features/trunk/examples/simple/wsn.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/simple/wsn.xml?rev=726137&view=auto
==============================================================================
--- servicemix/smx4/features/trunk/examples/simple/wsn.xml (added)
+++ servicemix/smx4/features/trunk/examples/simple/wsn.xml Fri Dec 12 14:19:39 2008
@@ -0,0 +1,50 @@
+<?xml version="1.0"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF 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.
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:util="http://www.springframework.org/schema/util"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xmlns:http="http://servicemix.apache.org/http/1.0"
+       xmlns:osgi="http://www.springframework.org/schema/osgi"
+       xmlns:wsn="http://servicemix.org/wsnotification"
+       xsi:schemaLocation="
+         http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+         http://www.springframework.org/schema/util  http://www.springframework.org/schema/util/spring-util.xsd
+         http://www.springframework.org/schema/osgi  http://www.springframework.org/schema/osgi/spring-osgi.xsd
+         http://www.springframework.org/schema/osgi-compendium   http://www.springframework.org/schema/osgi-compendium/spring-osgi-compendium.xsd
+         http://servicemix.apache.org/http/1.0       http://servicemix.apache.org/http/1.0/servicemix-http.xsd
+         http://www.springframework.org/schema/osgi  http://www.springframework.org/schema/osgi/spring-osgi.xsd">
+
+    <http:soap-consumer service="wsn:NotificationBroker" endpoint="Broker"
+                        locationURI="http://0.0.0.0:8192/wsn/Broker/"
+                        validateWsdl="true">
+        <http:policies>
+            <bean class="org.apache.servicemix.soap.ws.addressing.WsAddressingPolicy" />
+        </http:policies>
+    </http:soap-consumer>
+
+    <http:soap-consumer service="wsn:CreatePullPoint" endpoint="Broker"
+                        locationURI="http://0.0.0.0:8192/wsn/CreatePullPoint/"
+                        validateWsdl="true">
+        <http:policies>
+            <bean class="org.apache.servicemix.soap.ws.addressing.WsAddressingPolicy" />
+        </http:policies>
+    </http:soap-consumer>
+
+    <bean class="org.apache.servicemix.common.osgi.EndpointExporter" />
+
+</beans>