You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Scott Kurz (JIRA)" <tu...@ws.apache.org> on 2006/11/20 16:59:02 UTC
[jira] Created: (TUSCANY-942) Need to build proxy when using
locateService on Composite reference w/
Need to build proxy when using locateService on Composite reference w/ <interface.wsdl>
---------------------------------------------------------------------------------------
Key: TUSCANY-942
URL: http://issues.apache.org/jira/browse/TUSCANY-942
Project: Tuscany
Issue Type: Bug
Components: Java SCA Core
Affects Versions: Java-M2
Environment: M2
Reporter: Scott Kurz
Running code from the M2 branch, my Composite has a JSP and a Composite-level reference MyRef with <binding.ws> and <interface.wsdl>.
My JSP does locateService("MyRef")
At invocation time I get:
java.lang.NullPointerException
at org.apache.tuscany.core.wire.jdk.JDKWireService.createProxy(JDKWireService.java:92)
at org.apache.tuscany.spi.extension.ReferenceExtension.getServiceInstance(ReferenceExtension.java:81)
at org.apache.tuscany.spi.extension.CompositeComponentExtension.locateService (CompositeComponentExtension.java:275)
at org.apache.tuscany.core.launcher.CompositeContextImpl.locateService(CompositeContextImpl.java:65)
This is an issue of using the locateService API as opposed to @Reference injection. It has nothing to do with the lack of a Component in my Composite.
Maybe this isn't strictly spec'd but it seems that since Tuscany can handle:
* <interface.wsdl> combined w/ Reference injection
* <interface.java> combined w/ locateService
we also should/could support:
* <interface.wsdl> combined w/ locateService.
Don't know how to go about building the proxy myself but I'll open this to track the issue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Closed: (TUSCANY-942) Need to build proxy when using
locateService on Composite reference w/
Posted by "Jeremy Boynes (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-942?page=all ]
Jeremy Boynes closed TUSCANY-942.
---------------------------------
Resolution: Duplicate
> Need to build proxy when using locateService on Composite reference w/ <interface.wsdl>
> ---------------------------------------------------------------------------------------
>
> Key: TUSCANY-942
> URL: http://issues.apache.org/jira/browse/TUSCANY-942
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core
> Affects Versions: Java-M2
> Environment: M2
> Reporter: Scott Kurz
>
> Running code from the M2 branch, my Composite has a JSP and a Composite-level reference MyRef with <binding.ws> and <interface.wsdl>.
> My JSP does locateService("MyRef")
> At invocation time I get:
> java.lang.NullPointerException
> at org.apache.tuscany.core.wire.jdk.JDKWireService.createProxy(JDKWireService.java:92)
> at org.apache.tuscany.spi.extension.ReferenceExtension.getServiceInstance(ReferenceExtension.java:81)
> at org.apache.tuscany.spi.extension.CompositeComponentExtension.locateService (CompositeComponentExtension.java:275)
> at org.apache.tuscany.core.launcher.CompositeContextImpl.locateService(CompositeContextImpl.java:65)
> This is an issue of using the locateService API as opposed to @Reference injection. It has nothing to do with the lack of a Component in my Composite.
> Maybe this isn't strictly spec'd but it seems that since Tuscany can handle:
> * <interface.wsdl> combined w/ Reference injection
> * <interface.java> combined w/ locateService
> we also should/could support:
> * <interface.wsdl> combined w/ locateService.
> Don't know how to go about building the proxy myself but I'll open this to track the issue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Commented: (TUSCANY-942) Need to build proxy when using
locateService on Composite reference w/
Posted by "Scott Kurz (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-942?page=comments#action_12451412 ]
Scott Kurz commented on TUSCANY-942:
------------------------------------
DUPLICATE: Looks like Ant already opened this same issue as TUSCANY-862.
> Need to build proxy when using locateService on Composite reference w/ <interface.wsdl>
> ---------------------------------------------------------------------------------------
>
> Key: TUSCANY-942
> URL: http://issues.apache.org/jira/browse/TUSCANY-942
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core
> Affects Versions: Java-M2
> Environment: M2
> Reporter: Scott Kurz
>
> Running code from the M2 branch, my Composite has a JSP and a Composite-level reference MyRef with <binding.ws> and <interface.wsdl>.
> My JSP does locateService("MyRef")
> At invocation time I get:
> java.lang.NullPointerException
> at org.apache.tuscany.core.wire.jdk.JDKWireService.createProxy(JDKWireService.java:92)
> at org.apache.tuscany.spi.extension.ReferenceExtension.getServiceInstance(ReferenceExtension.java:81)
> at org.apache.tuscany.spi.extension.CompositeComponentExtension.locateService (CompositeComponentExtension.java:275)
> at org.apache.tuscany.core.launcher.CompositeContextImpl.locateService(CompositeContextImpl.java:65)
> This is an issue of using the locateService API as opposed to @Reference injection. It has nothing to do with the lack of a Component in my Composite.
> Maybe this isn't strictly spec'd but it seems that since Tuscany can handle:
> * <interface.wsdl> combined w/ Reference injection
> * <interface.java> combined w/ locateService
> we also should/could support:
> * <interface.wsdl> combined w/ locateService.
> Don't know how to go about building the proxy myself but I'll open this to track the issue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org