Author: davidillsley
Date: Mon May 21 08:30:48 2007
New Revision: 540173

URL: http://svn.apache.org/viewvc?view=rev&rev=540173
Log:
Some more work on wsa:Addressing support

Added:
    
webservices/axis2/scratch/java/davidillsley/src/main/resources/META-INF/services/org.apache.neethi.builders.AssertionBuilder
    
webservices/axis2/scratch/java/davidillsley/src/test/resources/binding-anon.wsdl
    
webservices/axis2/scratch/java/davidillsley/src/test/resources/binding-both.wsdl
    
webservices/axis2/scratch/java/davidillsley/src/test/resources/binding-either.wsdl
    
webservices/axis2/scratch/java/davidillsley/src/test/resources/binding-nonanon.wsdl
    
webservices/axis2/scratch/java/davidillsley/src/test/resources/port-anon.wsdl
    
webservices/axis2/scratch/java/davidillsley/src/test/resources/port-both.wsdl
    
webservices/axis2/scratch/java/davidillsley/src/test/resources/port-either.wsdl
    
webservices/axis2/scratch/java/davidillsley/src/test/resources/port-nonanon-binding-anon.wsdl
    
webservices/axis2/scratch/java/davidillsley/src/test/resources/port-nonanon.wsdl

Added: 
webservices/axis2/scratch/java/davidillsley/src/main/resources/META-INF/services/org.apache.neethi.builders.AssertionBuilder
URL: 
http://svn.apache.org/viewvc/webservices/axis2/scratch/java/davidillsley/src/main/resources/META-INF/services/org.apache.neethi.builders.AssertionBuilder?view=auto&rev=540173
==============================================================================
--- 
webservices/axis2/scratch/java/davidillsley/src/main/resources/META-INF/services/org.apache.neethi.builders.AssertionBuilder
 (added)
+++ 
webservices/axis2/scratch/java/davidillsley/src/main/resources/META-INF/services/org.apache.neethi.builders.AssertionBuilder
 Mon May 21 08:30:48 2007
@@ -0,0 +1 @@
+org.apache.axis2.addressing.policy.AddressingAssertionBuilder
\ No newline at end of file

Added: 
webservices/axis2/scratch/java/davidillsley/src/test/resources/binding-anon.wsdl
URL: 
http://svn.apache.org/viewvc/webservices/axis2/scratch/java/davidillsley/src/test/resources/binding-anon.wsdl?view=auto&rev=540173
==============================================================================
--- 
webservices/axis2/scratch/java/davidillsley/src/test/resources/binding-anon.wsdl
 (added)
+++ 
webservices/axis2/scratch/java/davidillsley/src/test/resources/binding-anon.wsdl
 Mon May 21 08:30:48 2007
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+ Licensed 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.
+ -->
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:tns="http://www.example.org/wsa-assertion-test"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; name="port-both" 
targetNamespace="http://www.example.org/wsa-assertion-test";>
+  <wsdl:types>
+    <xsd:schema targetNamespace="http://www.example.org/wsa-assertion-test"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
+      <xsd:element name="NewOperationResponse" type="xsd:string"/>
+      <xsd:element name="NewOperationRequest" type="xsd:string"/>
+    </xsd:schema>
+  </wsdl:types>
+  <wsdl:message name="NewOperationResponse">
+    <wsdl:part element="tns:NewOperationResponse" name="NewOperationResponse"/>
+  </wsdl:message>
+  <wsdl:message name="NewOperationRequest">
+    <wsdl:part element="tns:NewOperationRequest" name="NewOperationRequest"/>
+  </wsdl:message>
+  <wsdl:portType name="port-both">
+    <wsdl:operation name="NewOperation">
+      <wsdl:input message="tns:NewOperationRequest"/>
+      <wsdl:output message="tns:NewOperationResponse"/>
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="port-bothSOAP" type="tns:port-both">
+    <soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
+    <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy";>
+    <wsam:Addressing wsp:Optional="true" 
xmlns:wsam="http://www.w3.org/2007/02/addressing/metadata"; wsp:Ignorable="true">
+        <wsp:Policy>
+               <wsp:ExactlyOne>
+               <wsp:All>
+                       <wsam:Anonymous/>
+               </wsp:All>
+               </wsp:ExactlyOne> 
+        </wsp:Policy>
+    </wsam:Addressing>
+       </wsp:Policy>
+    <wsdl:operation name="NewOperation">
+      <soap:operation 
soapAction="http://www.example.org/wsa-assertion-test/NewOperation"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="port-both">
+    <wsdl:port binding="tns:port-bothSOAP" name="port-bothSOAP">
+      <soap:address location="http://www.example.org/"/>
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>

Added: 
webservices/axis2/scratch/java/davidillsley/src/test/resources/binding-both.wsdl
URL: 
http://svn.apache.org/viewvc/webservices/axis2/scratch/java/davidillsley/src/test/resources/binding-both.wsdl?view=auto&rev=540173
==============================================================================
--- 
webservices/axis2/scratch/java/davidillsley/src/test/resources/binding-both.wsdl
 (added)
+++ 
webservices/axis2/scratch/java/davidillsley/src/test/resources/binding-both.wsdl
 Mon May 21 08:30:48 2007
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+ Licensed 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.
+ -->
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:tns="http://www.example.org/wsa-assertion-test"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; name="port-both" 
targetNamespace="http://www.example.org/wsa-assertion-test";>
+  <wsdl:types>
+    <xsd:schema targetNamespace="http://www.example.org/wsa-assertion-test"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
+      <xsd:element name="NewOperationResponse" type="xsd:string"/>
+      <xsd:element name="NewOperationRequest" type="xsd:string"/>
+    </xsd:schema>
+  </wsdl:types>
+  <wsdl:message name="NewOperationResponse">
+    <wsdl:part element="tns:NewOperationResponse" name="NewOperationResponse"/>
+  </wsdl:message>
+  <wsdl:message name="NewOperationRequest">
+    <wsdl:part element="tns:NewOperationRequest" name="NewOperationRequest"/>
+  </wsdl:message>
+  <wsdl:portType name="port-both">
+    <wsdl:operation name="NewOperation">
+      <wsdl:input message="tns:NewOperationRequest"/>
+      <wsdl:output message="tns:NewOperationResponse"/>
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="port-bothSOAP" type="tns:port-both">
+    <soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
+    <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy";>
+    <wsam:Addressing wsp:Optional="true" 
xmlns:wsam="http://www.w3.org/2007/02/addressing/metadata"; wsp:Ignorable="true">
+        <wsp:Policy>
+        </wsp:Policy>
+    </wsam:Addressing>
+       </wsp:Policy>
+    <wsdl:operation name="NewOperation">
+      <soap:operation 
soapAction="http://www.example.org/wsa-assertion-test/NewOperation"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="port-both">
+    <wsdl:port binding="tns:port-bothSOAP" name="port-bothSOAP">
+      <soap:address location="http://www.example.org/"/>
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>

Added: 
webservices/axis2/scratch/java/davidillsley/src/test/resources/binding-either.wsdl
URL: 
http://svn.apache.org/viewvc/webservices/axis2/scratch/java/davidillsley/src/test/resources/binding-either.wsdl?view=auto&rev=540173
==============================================================================
--- 
webservices/axis2/scratch/java/davidillsley/src/test/resources/binding-either.wsdl
 (added)
+++ 
webservices/axis2/scratch/java/davidillsley/src/test/resources/binding-either.wsdl
 Mon May 21 08:30:48 2007
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+ Licensed 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.
+ -->
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:tns="http://www.example.org/wsa-assertion-test"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; name="port-both" 
targetNamespace="http://www.example.org/wsa-assertion-test";>
+  <wsdl:types>
+    <xsd:schema targetNamespace="http://www.example.org/wsa-assertion-test"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
+      <xsd:element name="NewOperationResponse" type="xsd:string"/>
+      <xsd:element name="NewOperationRequest" type="xsd:string"/>
+    </xsd:schema>
+  </wsdl:types>
+  <wsdl:message name="NewOperationResponse">
+    <wsdl:part element="tns:NewOperationResponse" name="NewOperationResponse"/>
+  </wsdl:message>
+  <wsdl:message name="NewOperationRequest">
+    <wsdl:part element="tns:NewOperationRequest" name="NewOperationRequest"/>
+  </wsdl:message>
+  <wsdl:portType name="port-both">
+    <wsdl:operation name="NewOperation">
+      <wsdl:input message="tns:NewOperationRequest"/>
+      <wsdl:output message="tns:NewOperationResponse"/>
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="port-bothSOAP" type="tns:port-both">
+    <soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
+    <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy";>
+    <wsam:Addressing wsp:Optional="true" 
xmlns:wsam="http://www.w3.org/2007/02/addressing/metadata"; wsp:Ignorable="true">
+        <wsp:Policy>
+               <wsp:ExactlyOne>
+               <wsp:All>
+                       <wsam:Anonymous/>
+               </wsp:All>
+               <wsp:All>
+                       <wsam:NonAnonymous/>
+               </wsp:All>
+               </wsp:ExactlyOne> 
+        </wsp:Policy>
+    </wsam:Addressing>
+       </wsp:Policy>
+    <wsdl:operation name="NewOperation">
+      <soap:operation 
soapAction="http://www.example.org/wsa-assertion-test/NewOperation"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="port-both">
+    <wsdl:port binding="tns:port-bothSOAP" name="port-bothSOAP">
+      <soap:address location="http://www.example.org/"/>
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>

Added: 
webservices/axis2/scratch/java/davidillsley/src/test/resources/binding-nonanon.wsdl
URL: 
http://svn.apache.org/viewvc/webservices/axis2/scratch/java/davidillsley/src/test/resources/binding-nonanon.wsdl?view=auto&rev=540173
==============================================================================
--- 
webservices/axis2/scratch/java/davidillsley/src/test/resources/binding-nonanon.wsdl
 (added)
+++ 
webservices/axis2/scratch/java/davidillsley/src/test/resources/binding-nonanon.wsdl
 Mon May 21 08:30:48 2007
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+ Licensed 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.
+ -->
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:tns="http://www.example.org/wsa-assertion-test"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; name="port-both" 
targetNamespace="http://www.example.org/wsa-assertion-test";>
+  <wsdl:types>
+    <xsd:schema targetNamespace="http://www.example.org/wsa-assertion-test"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
+      <xsd:element name="NewOperationResponse" type="xsd:string"/>
+      <xsd:element name="NewOperationRequest" type="xsd:string"/>
+    </xsd:schema>
+  </wsdl:types>
+  <wsdl:message name="NewOperationResponse">
+    <wsdl:part element="tns:NewOperationResponse" name="NewOperationResponse"/>
+  </wsdl:message>
+  <wsdl:message name="NewOperationRequest">
+    <wsdl:part element="tns:NewOperationRequest" name="NewOperationRequest"/>
+  </wsdl:message>
+  <wsdl:portType name="port-both">
+    <wsdl:operation name="NewOperation">
+      <wsdl:input message="tns:NewOperationRequest"/>
+      <wsdl:output message="tns:NewOperationResponse"/>
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="port-bothSOAP" type="tns:port-both">
+    <soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
+    <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy";>
+    <wsam:Addressing wsp:Optional="true" 
xmlns:wsam="http://www.w3.org/2007/02/addressing/metadata"; wsp:Ignorable="true">
+        <wsp:Policy>
+               <wsp:ExactlyOne>
+               <wsp:All>
+                       <wsam:NonAnonymous/>
+               </wsp:All>
+               </wsp:ExactlyOne> 
+        </wsp:Policy>
+    </wsam:Addressing>
+       </wsp:Policy>
+    <wsdl:operation name="NewOperation">
+      <soap:operation 
soapAction="http://www.example.org/wsa-assertion-test/NewOperation"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="port-both">
+    <wsdl:port binding="tns:port-bothSOAP" name="port-bothSOAP">
+      <soap:address location="http://www.example.org/"/>
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>

Added: 
webservices/axis2/scratch/java/davidillsley/src/test/resources/port-anon.wsdl
URL: 
http://svn.apache.org/viewvc/webservices/axis2/scratch/java/davidillsley/src/test/resources/port-anon.wsdl?view=auto&rev=540173
==============================================================================
--- 
webservices/axis2/scratch/java/davidillsley/src/test/resources/port-anon.wsdl 
(added)
+++ 
webservices/axis2/scratch/java/davidillsley/src/test/resources/port-anon.wsdl 
Mon May 21 08:30:48 2007
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+ Licensed 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.
+ -->
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:tns="http://www.example.org/wsa-assertion-test"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; name="port-both" 
targetNamespace="http://www.example.org/wsa-assertion-test";>
+  <wsdl:types>
+    <xsd:schema targetNamespace="http://www.example.org/wsa-assertion-test"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
+      <xsd:element name="NewOperationResponse" type="xsd:string"/>
+      <xsd:element name="NewOperationRequest" type="xsd:string"/>
+    </xsd:schema>
+  </wsdl:types>
+  <wsdl:message name="NewOperationResponse">
+    <wsdl:part element="tns:NewOperationResponse" name="NewOperationResponse"/>
+  </wsdl:message>
+  <wsdl:message name="NewOperationRequest">
+    <wsdl:part element="tns:NewOperationRequest" name="NewOperationRequest"/>
+  </wsdl:message>
+  <wsdl:portType name="port-both">
+    <wsdl:operation name="NewOperation">
+      <wsdl:input message="tns:NewOperationRequest"/>
+      <wsdl:output message="tns:NewOperationResponse"/>
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="port-bothSOAP" type="tns:port-both">
+    <soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
+    <wsdl:operation name="NewOperation">
+      <soap:operation 
soapAction="http://www.example.org/wsa-assertion-test/NewOperation"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="port-both">
+    <wsdl:port binding="tns:port-bothSOAP" name="port-bothSOAP">
+      <soap:address location="http://www.example.org/"/>
+      <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy";>
+    <wsam:Addressing wsp:Optional="true" 
xmlns:wsam="http://www.w3.org/2007/02/addressing/metadata"; wsp:Ignorable="true">
+        <wsp:Policy>
+               <wsp:ExactlyOne>
+               <wsp:All>
+                       <wsam:Anonymous/>
+               </wsp:All>
+               </wsp:ExactlyOne> 
+        </wsp:Policy>
+    </wsam:Addressing>
+       </wsp:Policy>
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>

Added: 
webservices/axis2/scratch/java/davidillsley/src/test/resources/port-both.wsdl
URL: 
http://svn.apache.org/viewvc/webservices/axis2/scratch/java/davidillsley/src/test/resources/port-both.wsdl?view=auto&rev=540173
==============================================================================
--- 
webservices/axis2/scratch/java/davidillsley/src/test/resources/port-both.wsdl 
(added)
+++ 
webservices/axis2/scratch/java/davidillsley/src/test/resources/port-both.wsdl 
Mon May 21 08:30:48 2007
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+ Licensed 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.
+ -->
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:tns="http://www.example.org/wsa-assertion-test"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; name="port-both" 
targetNamespace="http://www.example.org/wsa-assertion-test";>
+  <wsdl:types>
+    <xsd:schema targetNamespace="http://www.example.org/wsa-assertion-test"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
+      <xsd:element name="NewOperationResponse" type="xsd:string"/>
+      <xsd:element name="NewOperationRequest" type="xsd:string"/>
+    </xsd:schema>
+  </wsdl:types>
+  <wsdl:message name="NewOperationResponse">
+    <wsdl:part element="tns:NewOperationResponse" name="NewOperationResponse"/>
+  </wsdl:message>
+  <wsdl:message name="NewOperationRequest">
+    <wsdl:part element="tns:NewOperationRequest" name="NewOperationRequest"/>
+  </wsdl:message>
+  <wsdl:portType name="port-both">
+    <wsdl:operation name="NewOperation">
+      <wsdl:input message="tns:NewOperationRequest"/>
+      <wsdl:output message="tns:NewOperationResponse"/>
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="port-bothSOAP" type="tns:port-both">
+    <soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
+    <wsdl:operation name="NewOperation">
+      <soap:operation 
soapAction="http://www.example.org/wsa-assertion-test/NewOperation"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="port-both">
+    <wsdl:port binding="tns:port-bothSOAP" name="port-bothSOAP">
+      <soap:address location="http://www.example.org/"/>
+      <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy";>
+    <wsam:Addressing wsp:Optional="true" 
xmlns:wsam="http://www.w3.org/2007/02/addressing/metadata"; wsp:Ignorable="true">
+        <wsp:Policy>
+        </wsp:Policy>
+    </wsam:Addressing>
+       </wsp:Policy>
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>

Added: 
webservices/axis2/scratch/java/davidillsley/src/test/resources/port-either.wsdl
URL: 
http://svn.apache.org/viewvc/webservices/axis2/scratch/java/davidillsley/src/test/resources/port-either.wsdl?view=auto&rev=540173
==============================================================================
--- 
webservices/axis2/scratch/java/davidillsley/src/test/resources/port-either.wsdl 
(added)
+++ 
webservices/axis2/scratch/java/davidillsley/src/test/resources/port-either.wsdl 
Mon May 21 08:30:48 2007
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+ Licensed 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.
+ -->
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:tns="http://www.example.org/wsa-assertion-test"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; name="port-both" 
targetNamespace="http://www.example.org/wsa-assertion-test";>
+  <wsdl:types>
+    <xsd:schema targetNamespace="http://www.example.org/wsa-assertion-test"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
+      <xsd:element name="NewOperationResponse" type="xsd:string"/>
+      <xsd:element name="NewOperationRequest" type="xsd:string"/>
+    </xsd:schema>
+  </wsdl:types>
+  <wsdl:message name="NewOperationResponse">
+    <wsdl:part element="tns:NewOperationResponse" name="NewOperationResponse"/>
+  </wsdl:message>
+  <wsdl:message name="NewOperationRequest">
+    <wsdl:part element="tns:NewOperationRequest" name="NewOperationRequest"/>
+  </wsdl:message>
+  <wsdl:portType name="port-both">
+    <wsdl:operation name="NewOperation">
+      <wsdl:input message="tns:NewOperationRequest"/>
+      <wsdl:output message="tns:NewOperationResponse"/>
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="port-bothSOAP" type="tns:port-both">
+    <soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
+    <wsdl:operation name="NewOperation">
+      <soap:operation 
soapAction="http://www.example.org/wsa-assertion-test/NewOperation"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="port-both">
+    <wsdl:port binding="tns:port-bothSOAP" name="port-bothSOAP">
+      <soap:address location="http://www.example.org/"/>
+      <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy";>
+    <wsam:Addressing wsp:Optional="true" 
xmlns:wsam="http://www.w3.org/2007/02/addressing/metadata"; wsp:Ignorable="true">
+        <wsp:Policy>
+               <wsp:ExactlyOne>
+               <wsp:All>
+                       <wsam:Anonymous/>
+               </wsp:All>
+               <wsp:All>
+                       <wsam:NonAnonymous/>
+               </wsp:All>
+               </wsp:ExactlyOne> 
+        </wsp:Policy>
+    </wsam:Addressing>
+       </wsp:Policy>
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>

Added: 
webservices/axis2/scratch/java/davidillsley/src/test/resources/port-nonanon-binding-anon.wsdl
URL: 
http://svn.apache.org/viewvc/webservices/axis2/scratch/java/davidillsley/src/test/resources/port-nonanon-binding-anon.wsdl?view=auto&rev=540173
==============================================================================
--- 
webservices/axis2/scratch/java/davidillsley/src/test/resources/port-nonanon-binding-anon.wsdl
 (added)
+++ 
webservices/axis2/scratch/java/davidillsley/src/test/resources/port-nonanon-binding-anon.wsdl
 Mon May 21 08:30:48 2007
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+ Licensed 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.
+ -->
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:tns="http://www.example.org/wsa-assertion-test"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; name="port-both" 
targetNamespace="http://www.example.org/wsa-assertion-test";>
+  <wsdl:types>
+    <xsd:schema targetNamespace="http://www.example.org/wsa-assertion-test"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
+      <xsd:element name="NewOperationResponse" type="xsd:string"/>
+      <xsd:element name="NewOperationRequest" type="xsd:string"/>
+    </xsd:schema>
+  </wsdl:types>
+  <wsdl:message name="NewOperationResponse">
+    <wsdl:part element="tns:NewOperationResponse" name="NewOperationResponse"/>
+  </wsdl:message>
+  <wsdl:message name="NewOperationRequest">
+    <wsdl:part element="tns:NewOperationRequest" name="NewOperationRequest"/>
+  </wsdl:message>
+  <wsdl:portType name="port-both">
+    <wsdl:operation name="NewOperation">
+      <wsdl:input message="tns:NewOperationRequest"/>
+      <wsdl:output message="tns:NewOperationResponse"/>
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="port-bothSOAP" type="tns:port-both">
+    <soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
+          <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy";>
+    <wsam:Addressing wsp:Optional="true" 
xmlns:wsam="http://www.w3.org/2007/02/addressing/metadata"; wsp:Ignorable="true">
+        <wsp:Policy>
+               <wsp:ExactlyOne>
+               <wsp:All>
+                       <wsam:Anonymous/>
+               </wsp:All>
+               </wsp:ExactlyOne> 
+        </wsp:Policy>
+    </wsam:Addressing>
+       </wsp:Policy>
+    <wsdl:operation name="NewOperation">
+      <soap:operation 
soapAction="http://www.example.org/wsa-assertion-test/NewOperation"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="port-both">
+    <wsdl:port binding="tns:port-bothSOAP" name="port-bothSOAP">
+      <soap:address location="http://www.example.org/"/>
+      <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy";>
+    <wsam:Addressing wsp:Optional="true" 
xmlns:wsam="http://www.w3.org/2007/02/addressing/metadata"; wsp:Ignorable="true">
+        <wsp:Policy>
+               <wsp:ExactlyOne>
+               <wsp:All>
+                       <wsam:NonAnonymous/>
+               </wsp:All>
+               </wsp:ExactlyOne> 
+        </wsp:Policy>
+    </wsam:Addressing>
+       </wsp:Policy>
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>

Added: 
webservices/axis2/scratch/java/davidillsley/src/test/resources/port-nonanon.wsdl
URL: 
http://svn.apache.org/viewvc/webservices/axis2/scratch/java/davidillsley/src/test/resources/port-nonanon.wsdl?view=auto&rev=540173
==============================================================================
--- 
webservices/axis2/scratch/java/davidillsley/src/test/resources/port-nonanon.wsdl
 (added)
+++ 
webservices/axis2/scratch/java/davidillsley/src/test/resources/port-nonanon.wsdl
 Mon May 21 08:30:48 2007
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+ Licensed 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.
+ -->
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:tns="http://www.example.org/wsa-assertion-test"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; name="port-both" 
targetNamespace="http://www.example.org/wsa-assertion-test";>
+  <wsdl:types>
+    <xsd:schema targetNamespace="http://www.example.org/wsa-assertion-test"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
+      <xsd:element name="NewOperationResponse" type="xsd:string"/>
+      <xsd:element name="NewOperationRequest" type="xsd:string"/>
+    </xsd:schema>
+  </wsdl:types>
+  <wsdl:message name="NewOperationResponse">
+    <wsdl:part element="tns:NewOperationResponse" name="NewOperationResponse"/>
+  </wsdl:message>
+  <wsdl:message name="NewOperationRequest">
+    <wsdl:part element="tns:NewOperationRequest" name="NewOperationRequest"/>
+  </wsdl:message>
+  <wsdl:portType name="port-both">
+    <wsdl:operation name="NewOperation">
+      <wsdl:input message="tns:NewOperationRequest"/>
+      <wsdl:output message="tns:NewOperationResponse"/>
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="port-bothSOAP" type="tns:port-both">
+    <soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
+    <wsdl:operation name="NewOperation">
+      <soap:operation 
soapAction="http://www.example.org/wsa-assertion-test/NewOperation"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="port-both">
+    <wsdl:port binding="tns:port-bothSOAP" name="port-bothSOAP">
+      <soap:address location="http://www.example.org/"/>
+      <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy";>
+    <wsam:Addressing wsp:Optional="true" 
xmlns:wsam="http://www.w3.org/2007/02/addressing/metadata"; wsp:Ignorable="true">
+        <wsp:Policy>
+               <wsp:ExactlyOne>
+               <wsp:All>
+                       <wsam:NonAnonymous/>
+               </wsp:All>
+               </wsp:ExactlyOne> 
+        </wsp:Policy>
+    </wsam:Addressing>
+       </wsp:Policy>
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to