I am on the wall with this, I currently have two web service endpoints configured and running in JBoss Soa 5, and, like in the ESB standard, each endpoint is published as a separate operation.
One endpoint for sending a transaction:
<service description="writes Transactions to DB." name="TransactionsSubmit"> <listeners> <jms-listener busidref="transactionSubmitChannel" name="transactionSubmit" /> </listeners> <actions faultXsd="/resources/xsd/transactions-fault.xsd" inXsd="/resources/xsd/ws-submit-trx.xsd" mep="RequestResponse" outXsd="/resources/xsd/ws-trx-response.xsd"> <action class="org.timo.service.SubmitTransaction"> </action> </actions> </service>
and others for sending errors:
<service description="writes errors to DB." name="ErrorsSubmit"> <listeners> <jms-listener busidref="errorSubmitChannel" name="errorSubmit" /> </listeners> <actions faultXsd="/resources/xsd/transactions-fault.xsd" inXsd="/resources/xsd/ws-errorsubmit-trx.xsd" mep="RequestResponse" outXsd="/resources/xsd/ws-errorsubmit-response.xsd"> <action class="org.timo.service.SubmitError"> </action> </actions> </service>
What I want to do is create a custom web service using my own WSDL file to publish these two operations in one proxy service, redirecting flows to the already defined ErrorsSubmit and TransactionsSubmit services.
It can be done?
Note. I can deploy my own WSDL service by adding a WAR application to the ESB package, but I cannot redirect the stream to internal services.
source share