[ 
http://issues.apache.org/jira/browse/TUSCANY-123?page=comments#action_12374480 
] 

Raymond Feng commented on TUSCANY-123:
--------------------------------------

I debugged the problem and found out the target invoker is set only if there's 
a reference pointing to the WS-externalService.  The logic to configure target 
handler is in ExternalWebserviceWireBuilder. In my test case, I call 
moduleContext.locateService("InteropDocTest") directly instead of going through 
the reference.



> J2SE client using ModuleContext locateService for an externalService fails
> --------------------------------------------------------------------------
>
>          Key: TUSCANY-123
>          URL: http://issues.apache.org/jira/browse/TUSCANY-123
>      Project: Tuscany
>         Type: Bug

>   Components: Java SCA Core
>     Reporter: ant elder
>     Priority: Minor

>
> A J2SE client using ModuleContext locateService for an externalService fails. 
> Try changing the HelloWorldClient in the helloworldwsclient sample to use the 
> externalService "HelloWorldService" in the moduleContext.locate call and it 
> fails. You get different errors depending on if the externalService uses 
> interface.java or interface.wsdl.

-- 
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

Reply via email to