summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/modules
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-04-27 13:59:12 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-04-27 13:59:12 +0000
commit89b26d7a562594ad04c9b7a84dd35b2be6d834ca (patch)
tree46c11c0db90a61321d33905ecee8d8138c81982e /branches/sca-java-1.x/modules
parentcaeb15a8c4340ff8da75829bf71fa660f05f4385 (diff)
TUSCANY-2626 - add EndpointReference back into the binding.ws schema. This is not the wsa:EnpointReference though. To get this to work I have had EndpointReference goes in the target namespace. The code to read EndpointReference still reads wsa:EndpointReference so this shouldn't break anyone already using that but at least it gives the reader an idea about what can validly go in the schema.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@768993 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules')
-rw-r--r--branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-binding-webservice.xsd12
-rw-r--r--branches/sca-java-1.x/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/epr/HelloWorld.composite6
2 files changed, 10 insertions, 8 deletions
diff --git a/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-binding-webservice.xsd b/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-binding-webservice.xsd
index 2dd44f8e06..53e40f74b1 100644
--- a/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-binding-webservice.xsd
+++ b/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/sca-binding-webservice.xsd
@@ -4,13 +4,13 @@
targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
xmlns:wsdli="http://www.w3.org/2004/08/wsdl-instance"
- xmlns:wsa="http://www.w3.org/2004/12/addressing"
+ xmlns:wsa="http://www.w3.org/2005/08/addressing"
elementFormDefault="qualified">
<import namespace="http://www.w3.org/2004/08/wsdl-instance"
schemaLocation="wsdli.xsd" />
- <!-- import namespace="http://www.w3.org/2005/08/addressing"
- schemaLocation="ws-addr.xsd" /-->
+ <import namespace="http://www.w3.org/2005/08/addressing"
+ schemaLocation="ws-addr.xsd" />
<include schemaLocation="sca-core.xsd"/>
@@ -20,8 +20,10 @@
<complexContent>
<extension base="sca:Binding">
<sequence>
- <!-- element ref="wsa:EndpointReference" minOccurs="0"
- maxOccurs="unbounded"/-->
+ <element name="EndpointReference"
+ type="wsa:EndpointReferenceType"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
<any namespace="##other" processContents="lax" minOccurs="0"
maxOccurs="unbounded"/>
</sequence>
diff --git a/branches/sca-java-1.x/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/epr/HelloWorld.composite b/branches/sca-java-1.x/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/epr/HelloWorld.composite
index 38a7c045be..47ce6cc1a3 100644
--- a/branches/sca-java-1.x/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/epr/HelloWorld.composite
+++ b/branches/sca-java-1.x/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/epr/HelloWorld.composite
@@ -24,9 +24,9 @@
<service name="helloWorld" promote="HelloWorldService">
<interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
<binding.ws>
- <wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8085/myService</wsa:Address>
- </wsa:EndpointReference>
+ <EndpointReference>
+ <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8085/myService</wsa:Address>
+ </EndpointReference>
</binding.ws>
</service>