You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Rashmi Hunt (JIRA)" <tu...@ws.apache.org> on 2007/08/09 06:45:43 UTC

[jira] Created: (TUSCANY-1521) Error message should indicate operation in question, if Java interface of a POJO and the WSDL interface for a composite service over a WS binding are mismatched

Error message should indicate operation in question, if Java interface of a POJO and the WSDL interface for a composite service over a WS binding are mismatched
----------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: TUSCANY-1521
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1521
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Problem Determination
            Reporter: Rashmi Hunt


If a Java interface of a POJO and the WSDL interface for a composite service that exposes the component over a WS binding are
mismatched, the resulting error message at runtime should include more detail about the specific operation that is the problem.

It would help to have more information about what operation was not found on the target.
Exception:

org.apache.tuscany.spi.wire.IncompatibleServiceContractException: Operation not found on target
	at org.apache.tuscany.core.wire.WireServiceExtension.checkCompatibility(WireServiceExtension.java:233)
	at org.apache.tuscany.core.builder.ConnectorImpl.checkIfWireable(ConnectorImpl.java:496)
	at org.apache.tuscany.core.builder.ConnectorImpl.connect(ConnectorImpl.java:440)
	at org.apache.tuscany.core.builder.ConnectorImpl.connect(ConnectorImpl.java:349)
	at org.apache.tuscany.core.builder.ConnectorImpl.handleService(ConnectorImpl.java:556)
	at org.apache.tuscany.core.builder.ConnectorImpl.connect(ConnectorImpl.java:93)
	at org.apache.tuscany.spi.extension.CompositeComponentExtension.prepare(CompositeComponentExtension.java:388)
	at org.apache.tuscany.core.deployer.DeployerImpl.deploy(DeployerImpl.java:126)
	at org.apache.tuscany.core.launcher.LauncherImpl.bootApplication(LauncherImpl.java:233)




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Resolved: (TUSCANY-1521) Error message should indicate operation in question, if Java interface of a POJO and the WSDL interface for a composite service over a WS binding are mismatched

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng resolved TUSCANY-1521.
-----------------------------------

    Resolution: Invalid

The stacktrace points to very old code. Please reopen it with the latest stacktrace if you still see this issue.

> Error message should indicate operation in question, if Java interface of a POJO and the WSDL interface for a composite service over a WS binding are mismatched
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1521
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1521
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Problem Determination
>            Reporter: Rashmi Hunt
>             Fix For: Java-SCA-1.0
>
>
> If a Java interface of a POJO and the WSDL interface for a composite service that exposes the component over a WS binding are
> mismatched, the resulting error message at runtime should include more detail about the specific operation that is the problem.
> It would help to have more information about what operation was not found on the target.
> Exception:
> org.apache.tuscany.spi.wire.IncompatibleServiceContractException: Operation not found on target
> 	at org.apache.tuscany.core.wire.WireServiceExtension.checkCompatibility(WireServiceExtension.java:233)
> 	at org.apache.tuscany.core.builder.ConnectorImpl.checkIfWireable(ConnectorImpl.java:496)
> 	at org.apache.tuscany.core.builder.ConnectorImpl.connect(ConnectorImpl.java:440)
> 	at org.apache.tuscany.core.builder.ConnectorImpl.connect(ConnectorImpl.java:349)
> 	at org.apache.tuscany.core.builder.ConnectorImpl.handleService(ConnectorImpl.java:556)
> 	at org.apache.tuscany.core.builder.ConnectorImpl.connect(ConnectorImpl.java:93)
> 	at org.apache.tuscany.spi.extension.CompositeComponentExtension.prepare(CompositeComponentExtension.java:388)
> 	at org.apache.tuscany.core.deployer.DeployerImpl.deploy(DeployerImpl.java:126)
> 	at org.apache.tuscany.core.launcher.LauncherImpl.bootApplication(LauncherImpl.java:233)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org