[switchyard-issues] [JBoss JIRA] (SWITCHYARD-679) Operation xxx is not included in interface for service yyy
Gary Brown (JIRA)
jira-events at lists.jboss.org
Thu Mar 8 09:56:36 EST 2012
Gary Brown created SWITCHYARD-679:
-------------------------------------
Summary: Operation xxx is not included in interface for service yyy
Key: SWITCHYARD-679
URL: https://issues.jboss.org/browse/SWITCHYARD-679
Project: SwitchYard
Issue Type: Bug
Environment: as7-0.4 snapshot
Reporter: Gary Brown
Getting the following exception when a BPEL process is invoking an external web service. However when stepping into org.switchyard.internal.ServiceReferenceImpl.createExchange(opName,exchangeHandler), it passes the first check (i.e. operation exists in the interface), but throws exception inside the DomainImpl.createExchange as the service interface only has a single "process" method, which appears to be a default operation.
.....
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_18]
at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_18]
Caused by: org.switchyard.exception.SwitchYardException: Operation getCustomer is not included in interface for service: {urn:bpel:gb.bpel.gsm:1.0}CustomerServiceService
at org.switchyard.internal.DomainImpl.createExchange(DomainImpl.java:221) [switchyard-runtime-0.4.0-SNAPSHOT.jar:0.4.0-SNAPSHOT]
at org.switchyard.internal.ServiceReferenceImpl.createExchange(ServiceReferenceImpl.java:107) [switchyard-runtime-0.4.0-SNAPSHOT.jar:0.4.0-SNAPSHOT]
at org.switchyard.component.bpel.riftsaw.RiftsawServiceLocator$ServiceProxy.invoke(RiftsawServiceLocator.java:276) [switchyard-component-bpel-0.4.0-SNAPSHOT.jar:0.4.0-SNAPSHOT]
at org.riftsaw.engine.internal.MessageExchangeContextImpl.invokePartnerUnreliable(MessageExchangeContextImpl.java:78) [engine-3.0.0-SNAPSHOT.jar:]
... 55 more
It may be a configuration issue in the switchyard.xml descriptor? But can't see anything obvious.
Will attach the user's example BPEL process and separate Web Service to reproduce the problem.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the switchyard-issues
mailing list