summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/core/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* TUSCANY-3659 - Enable asynch operation over the local SCA binding. This does ↵slaws2010-08-253-9/+32
| | | | | | what I think is the right thing but it doesn't necessarily do it in an optimal way yet. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@989157 13f79535-47bb-0310-9956-ffa450edef68
* Put back some code to use the InterfaceContractMapper to match interfaces, ↵jsdelfino2010-08-241-0/+4
| | | | | | as the latest code which just looks for matching operation names breaks the support for dynamic interfaces. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@988368 13f79535-47bb-0310-9956-ffa450edef68
* Remove commented codeslaws2010-08-192-15/+1
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@987094 13f79535-47bb-0310-9956-ffa450edef68
* JCA_9013 Throw an IllegalArgumentException when getProperty() is called with ↵bdaniel2010-08-181-3/+2
| | | | | | an invalid property name git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@986947 13f79535-47bb-0310-9956-ffa450edef68
* TUSCANY-3653 - Read JAXWS annotations in Java interfaces ↵slaws2010-08-183-28/+66
| | | | | | (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
* Throw IllegalArgumentExceptions on various ComponentContext methods to fix ↵bdaniel2010-08-051-3/+17
| | | | | | JCA 9006, 9008, 9009 9010, and 9012 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@982710 13f79535-47bb-0310-9956-ffa450edef68
* Throw an IllegalArgumentException if createSelfReference is called with a ↵bdaniel2010-08-051-1/+6
| | | | | | businessInterface that is not valid for any service in the component (JCA-9011) git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@982693 13f79535-47bb-0310-9956-ffa450edef68
* implement interface contract compatibility checking -- allows oasis ↵kelvingoodson2010-08-031-26/+60
| | | | | | JCA_9008_TestCase to receive the required IllegalArgumentException when the contracts are incompatible. In some cases we can't reliably introspect in a platform neutral way to discover the implementation's interface contract, so in this case we fluff up an interface contract on the basis of the business interface, just as we have done more generally in the past. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@981859 13f79535-47bb-0310-9956-ffa450edef68
* TUSCANY-3639 - ensure that the service wire is created at the same time as ↵slaws2010-07-291-0/+6
| | | | | | the binding wire is created git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@980474 13f79535-47bb-0310-9956-ffa450edef68
* improve pd info for interface contract mapping and fix up failing ASM tests ↵kelvingoodson2010-07-271-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
* Check constrained types for the qualifiable parent of a qualified intentbdaniel2010-07-261-1/+5
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@979150 13f79535-47bb-0310-9956-ffa450edef68
* Remove constrained intents from endpoint references at runtime binding timebdaniel2010-07-231-3/+37
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@966983 13f79535-47bb-0310-9956-ffa450edef68
* missing file from commit 966324kelvingoodson2010-07-221-11/+10
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@966527 13f79535-47bb-0310-9956-ffa450edef68
* Fix the regression caused by r963624 for overloaded local methodsrfeng2010-07-161-3/+12
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@964980 13f79535-47bb-0310-9956-ffa450edef68
* communicate differences in interfaces wrt @Remotable annotationkelvingoodson2010-07-161-1/+1
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@964852 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to set the callback interface based on the interface constructed when ↵slaws2010-07-132-4/+9
| | | | | | the @Callback WSDL annotations is processed. Makes BWS_2022 work. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@963756 13f79535-47bb-0310-9956-ffa450edef68
* TUSCANY-3616 - Add code to check that that interface contracts a reference ↵slaws2010-07-134-3/+160
| | | | | | 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
* Changes and additions to core in support of Client-side and Server-side ↵edwardsmj2010-07-118-71/+519
| | | | | | asynchronous services and @asyncInvocation as described in TUSCANY-3608, 3611 & 3612 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@963034 13f79535-47bb-0310-9956-ffa450edef68
* Initial version of async client endpoint for async response messages for ↵edwardsmj2010-07-052-15/+335
| | | | | | Phase II of TUSCANY-3612 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@960545 13f79535-47bb-0310-9956-ffa450edef68
* Adding Classes to handle asynchronous responses as part of Phase II of ↵edwardsmj2010-07-053-0/+254
| | | | | | TUSCANY-3612 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@960540 13f79535-47bb-0310-9956-ffa450edef68
* Little bit of tidying. No function change.slaws2010-07-051-24/+21
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@960521 13f79535-47bb-0310-9956-ffa450edef68
* Add license headerantelder2010-07-031-0/+18
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@960157 13f79535-47bb-0310-9956-ffa450edef68
* Client side asynchronous support - extending the async client invokers to ↵edwardsmj2010-06-292-4/+239
| | | | | | fully support the JAXWS async client API pattern as described in TUSCANY-3612 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@959131 13f79535-47bb-0310-9956-ffa450edef68
* Handle the receipt of messageID data from a wsa:MessageID header in an ↵edwardsmj2010-06-181-0/+14
| | | | | | incoming Web service invocation of a bidirectional service, transmit this data to the callback invocation from the service and embed into a wsa:RelatesTo SOAP header in the callback Wen service message, as required by the OASIS Web Service Binding spec, described in TUSCANY-3592 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@956127 13f79535-47bb-0310-9956-ffa450edef68
* Check for message context being null to prevent NPE when these methods are ↵slaws2010-06-181-3/+30
| | | | | | called from a new thread. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@955860 13f79535-47bb-0310-9956-ffa450edef68
* Add a flag to the binding builder to indicate that generated data should be ↵slaws2010-06-172-3/+5
| | | | | | 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
* improve variable nameslaws2010-06-171-14/+14
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@955562 13f79535-47bb-0310-9956-ffa450edef68
* TUSCANY-3593 - Create an endpoint on the fly at the point a reference target ↵slaws2010-06-171-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
* Add a little bit more structure to message header storage to generally avoid ↵slaws2010-06-143-6/+7
| | | | | | having to loop across headers to find the right one. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@954414 13f79535-47bb-0310-9956-ffa450edef68
* Setting svn:eol-style for java and xml filesrfeng2010-06-053-207/+207
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@951651 13f79535-47bb-0310-9956-ffa450edef68
* Remove obsolute methodsrfeng2010-06-011-10/+0
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@950295 13f79535-47bb-0310-9956-ffa450edef68
* Add missing log message to match the addEndpoint methodantelder2010-05-231-0/+1
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@947384 13f79535-47bb-0310-9956-ffa450edef68
* Make sure callback endpoints are createdrfeng2010-05-176-19/+79
| | | | | | 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
* TUSCANY-3543 - Return first available binding when creating selfReference ↵lresende2010-04-291-2/+9
| | | | | | with multiple bindings and no default one specified git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939191 13f79535-47bb-0310-9956-ffa450edef68
* mark additional classes as extension spi according to use indicated ↵kelvingoodson2010-04-271-0/+1
| | | | | | binding-ws* + minor cleanup of imports within binding-ws* git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938419 13f79535-47bb-0310-9956-ffa450edef68
* mark classes as extension spi according to use indicated by ↵kelvingoodson2010-04-2318-0/+19
| | | | | | implementation-java-runtime git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@937310 13f79535-47bb-0310-9956-ffa450edef68
* Add new RuntimeProperties implantelder2010-04-152-0/+56
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@934320 13f79535-47bb-0310-9956-ffa450edef68
* correct commentslaws2010-04-081-3/+3
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@931906 13f79535-47bb-0310-9956-ffa450edef68
* TUSCANY-3529 - update binding matching to turn on code that looks at binding ↵slaws2010-04-081-12/+21
| | | | | | type provided intents git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@931904 13f79535-47bb-0310-9956-ffa450edef68
* Update for latest oasis api codeantelder2010-04-081-2/+2
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@931886 13f79535-47bb-0310-9956-ffa450edef68
* Update the endpoint registry to use the new Endpoint matches methodantelder2010-03-161-1/+1
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@923615 13f79535-47bb-0310-9956-ffa450edef68
* Improve the IP address binding to be based on the host from the urirfeng2010-03-144-16/+14
| | | | | | Having servlet host to return deployed uri git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@922701 13f79535-47bb-0310-9956-ffa450edef68
* TUSCANY-3483 - ensure that policies defined in the implementation are ↵slaws2010-03-111-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
* Switch binder interface over to throwing exceptions rather than returning ↵slaws2010-03-082-14/+13
| | | | | | 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
* Correct audit statement in failure caseslaws2010-03-081-1/+1
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@920260 13f79535-47bb-0310-9956-ffa450edef68
* Add matching algorithm narativeslaws2010-03-041-3/+12
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@918932 13f79535-47bb-0310-9956-ffa450edef68
* Avoiding calling createInterceptor multiple timeslresende2010-03-031-2/+3
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@918590 13f79535-47bb-0310-9956-ffa450edef68
* TUSCANY-3480 revert this workaround as this in not the root cause of the ↵slaws2010-03-031-3/+1
| | | | | | problems we see in the otests. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@918408 13f79535-47bb-0310-9956-ffa450edef68
* Add the ability to map binding.sca to any bindings in the runtime by ↵rfeng2010-03-023-12/+34
| | | | | | configuration git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@918261 13f79535-47bb-0310-9956-ffa450edef68
* TUSCANY-3480, temporarily don't fail on unmatched intentsantelder2010-03-021-1/+3
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@918131 13f79535-47bb-0310-9956-ffa450edef68