summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/tags/2.0.1-RC1/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/impl/EndpointReferenceBinderImpl.java (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-10-07Official Tuscany 2.0.1 Releaselresende1-1206/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1530096 13f79535-47bb-0310-9956-ffa450edef68
2013-09-302.0.1 RC1 release taglresende1-0/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1527464 13f79535-47bb-0310-9956-ffa450edef68
2013-09-262.0 branch for possible maintenance releaselresende1-0/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1526672 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12Tag 2.0 RC1antelder1-0/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1325166 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03Remove duplicated line thats overwriting the binding settingantelder1-1/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1308855 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23TUSCANY-4033 - Don't generate WSDL when binding an EPR to a remote EP and ↵slaws1-2/+14
the EPR and EP both use a Java interface. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1304327 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22Fix the binding invokers to use endpoint reference's deployed URI (i.e., the ↵rfeng1-8/+5
target service endpoint address) git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1304128 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21Revert the change based on the comment from ↵rfeng1-0/+10
https://issues.apache.org/jira/browse/TUSCANY-4029 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1303591 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19TUSCANY-4029: Clone the binding when setting it on the EndpointReference to ↵antelder1-2/+6
ensure its not the same instance as that used by the Endpoint. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1302317 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29TUSCANY-4020 - move hardcoded message strings into properties filesslaws1-4/+11
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1295144 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21TUSCANY-4005 - swap the test around so that the code that raises an error if ↵slaws1-15/+23
a reference target containing only a component name matches a component with multiple services comes after the code that matches interfaces and policy git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1291714 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02TUSCANY-4005 - raise an error if a reference target containing only a ↵slaws1-3/+47
component name matches a component with multiple services. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1239597 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06TUSCANY-3932 - First part of this JIRA is to remove some inconsistencies in ↵slaws1-1/+2
the way that callbacks are handled now. See JIRA for more comments on this first change. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1228150 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22Fix typo in commentslaws1-1/+1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1205012 13f79535-47bb-0310-9956-ffa450edef68
2011-10-31Add a spec version to Endpoint and only do full matching if the target ↵slaws1-1/+30
endpoint is and OASIS endpoint git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1195400 13f79535-47bb-0310-9956-ffa450edef68
2011-10-19Add code to read <requires> elements from WSDL and enable the test that ↵slaws1-3/+2
ensure that mayProvides intents are matched between references and services. This has implications for existing tests in that we now have to ensure that any mayProvides intent that is considered to be the default (a concept that the spec doesn't consider) is present in the intent list for the policy subject in question. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1186027 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17TUSCANY-3959 - Disable the mayProvides intent temporarily as it's causing ↵slaws1-1/+2
POL4031 to fail. Looks like a WSDL processing issue. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1185279 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17TUSCANY-3959 - Correct interface matching so that it takes account of ↵slaws1-9/+30
mayProvides intents. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1185139 13f79535-47bb-0310-9956-ffa450edef68
2011-09-12TUSCANY-3941 - If a reference specifies target in an SCA binding then we ↵slaws1-1/+14
expect there to be an SCA binding at the service. In this case don't just select the first binding in the list. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1169664 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01TUSCANY-3916 - Turn remote interface match back on with a couple of ↵slaws1-0/+14
restrictions. Only the top level WSDL is shared and dependent XSD is not. I've added guards for the case where parameter types cannot be converted to WSDL. If interface information is insufficient to run the match the interfaces are assumed to be compatible and matching is left until runtime. Having struggled with the WSDL based approach I'm going to look at serializing the internal Tuscany model. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1163988 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25TUSCANY-3932 - Rework the callack wire calculation to be based on ↵slaws1-37/+96
non-runtime configurations. I've modified the Endpoint writing algorithm to write out automatically calculated callback bindings as well as callback bindings specified explicitly by the user. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1161527 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15TUSCANY-3916 - extend WSDL serialization code to deal with imports/includesslaws1-14/+1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1157857 13f79535-47bb-0310-9956-ffa450edef68
2011-07-26Add some code to try to convert the wsdl string from the remote endpoint ↵antelder1-3/+3
back into a WSDLInterfaceContract. This doesn't work properly and throws an InvalidWSDLException with some JDKs. Committing as-is to see if anyone has any ideas why git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1151203 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11Correct comment as the code does go through that route for $self references ↵slaws1-1/+1
created by the in-VM client. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1145108 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29Update EndpointReferenceBinderImpl to use the domain registry to workout if ↵antelder1-3/+2
an EndpointReference is out of date instead of trying to work it out in EndpointReferenceBinderImpl git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1141029 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23TUSCANY-3873 - A stop gap solution to running the appliesTo algorithm ↵slaws1-4/+20
against a matched endpoint reference. Waiting on the discussion from TUSCANY-3877 before producing the full solution. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1138864 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16TUSCANY-3873 - modify the policy matching algorithm for the case where the ↵slaws1-3/+28
reference has a target but no policy and the service has policy. In this case the code now copies the service policy to the reference. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1136386 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16Rename EndpointRegistry to DomainRegistry. Doing this has been brought up ↵antelder1-13/+13
lots of times in the past just no one ever got around to it. It effects quite a few classes but its a relatively trivial rename and i don't think it should impact on anyone too much git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1103629 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23Bring the unknown endpoint plugin into play at build and run time. slaws1-16/+26
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1052258 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08Update EndpointReferenceBinder with a plug point for an ↵antelder1-7/+28
UnknownEndpointHandler thats called when an endpoint isn't found in the registry. Don't know if this is the best approach yet but it gives something to try with itests too see how it works git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1043464 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03TUSCANY-3801 - only create a service to accept async responses if the ↵slaws1-3/+10
binding doesn't support asycn interactions natively git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1041872 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30TUSCANY-3788, TUSCANY-3786 - Allow build time resolvable references to be ↵slaws1-41/+87
resolved then so that async response services can be established at that point. In a reliable situation the response service is then available as soon as reference is resolved and doesn't depend on the reference actually being used. Also start adding interfaces to allow the implementation provider to make an async invocation explicitly. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1040444 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08Fix typo in commentslaws1-1/+1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1032555 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10Fix the self reference with explicit bindingsrfeng1-3/+5
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@995627 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18TUSCANY-3653 - Read JAXWS annotations in Java interfaces ↵slaws1-5/+22
(JAXWSJavaIntefaceProcessor) and, in the JavaIntefaceProcessor, post process these to reconfigure the Java interface based on what is found. The case where WSDL is referenced is tricky and still has holes. The WSDL is read and is attached to the Java interface as a normalized interface and is used during interface matching. Binding implementations that care about WSDL should really check the normalized interface rather than the service interface itself. This is still a TODO. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@986740 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27improve pd info for interface contract mapping and fix up failing ASM tests ↵kelvingoodson1-0/+14
due to previous error message output changes git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@979633 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26Check constrained types for the qualifiable parent of a qualified intentbdaniel1-1/+5
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@979150 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23Remove constrained intents from endpoint references at runtime binding timebdaniel1-3/+37
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@966983 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22missing file from commit 966324kelvingoodson1-11/+10
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@966527 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16communicate differences in interfaces wrt @Remotable annotationkelvingoodson1-1/+1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@964852 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13TUSCANY-3616 - Add code to check that that interface contracts a reference ↵slaws1-1/+11
and reference binding and at service and service binding match. Motivated by BWS_2007. TO do this properly we have to test that the interfaces are described using the same IDL and if not convert to WSDL1.1 are required by the SCA specifications. There are a lot of changes here as doing this upset quite a few tests. Further work is required to look at the details of our WSDL generation process which looks a little suspect around wrapper namespaces. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@963624 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17Add a flag to the binding builder to indicate that generated data should be ↵slaws1-2/+4
regenerated. Also rename the methods for getting/setting the generated data to make it more obvious that that's what it's doing. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@955601 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17improve variable nameslaws1-14/+14
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@955562 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17TUSCANY-3593 - Create an endpoint on the fly at the point a reference target ↵slaws1-17/+84
is resolved in order to handle callbacks. This investigation has raised some questions that OASIS needs to answer, e.g. how to handle policy in this late bound scenario. Also this code change turns off generated WSDL caching and also relies on the SCA binding being attached to the callback service to carry the binding URI but this causes problems if you explicitly specify binding.sca. So more work to do but the basic test passes now. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@955544 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17Make sure callback endpoints are createdrfeng1-4/+3
When a component is invoked from a non bidirectional interface, inject null to the fields/setters with @Callback git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@945259 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08correct commentslaws1-3/+3
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@931906 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08TUSCANY-3529 - update binding matching to turn on code that looks at binding ↵slaws1-12/+21
type provided intents git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@931904 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11TUSCANY-3483 - ensure that policies defined in the implementation are ↵slaws1-2/+15
applied correctly to the component service. This pointed out another problem in that if binding.sca was defined on the reference with no uri but with intents then the intents weren't being applied to the EPR because the binding was being ignored (as it's a targeted reference). git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@921903 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08Switch binder interface over to throwing exceptions rather than returning ↵slaws1-10/+12
booleans. Allows the full details of a missmatch to be retrieved in the runtime case as well as the build time case. Update the matching test case to take advantage of the extra information. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@920287 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08Correct audit statement in failure caseslaws1-1/+1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@920260 13f79535-47bb-0310-9956-ffa450edef68