Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Ensemble passthrough configuration

Question
Eduard Lebedyuk · Jul 26, 2017

Ensemble passthrough configuration

I have tried to create Ensemble SOAP passthrough operation following this guide.

Here's my production configuration (after steps 1-4):

Class Passthrough.Production Extends Ens.Production
{

XData ProductionDefinition
{
<Production Name="Passthrough.Production" LogGeneralTraceEvents="false">
  <Description></Description>
  <ActorPoolSize>2</ActorPoolSize>
  <Item Name="PassthroughOperation" Category="" ClassName="EnsLib.SOAP.GenericOperation" PoolSize="1" Enabled="true" Foreground="false" Comment="" LogTraceEvents="false" Schedule="">
    <Setting Target="Adapter" Name="HTTPServer">www.webservicex.net</Setting>
    <Setting Target="Adapter" Name="URL">|</Setting>
  </Item>
  <Item Name="PassthroughService" Category="" ClassName="EnsLib.SOAP.GenericService" PoolSize="0" Enabled="true" Foreground="false" Comment="" LogTraceEvents="false" Schedule="">
    <Setting Target="Host" Name="TargetConfigName">PassthroughOperation</Setting>
    <Setting Target="Adapter" Name="EnableStandardRequests">1</Setting>
    <Setting Target="Adapter" Name="Port"></Setting>
  </Item>
</Production>
}

}

Step 5 of the guide says to open the url:

http://localhost:nnnnn/currencyconverter/ConvertCurrencySOAPPassthroughS...

have two web applications in a namespace:

  • /csp/passthrough
  • /passthrough

 I have tried calling the following urls:

  • http://localhost:57773/passthrough/PassthroughService/CurrencyConvertor.asmx
  • http://localhost:57773/passthrough/PassthroughService/CurrencyConvertor.asmx?CfgItem=PassthroughService
  • http://localhost:57773/csp/passthrough/PassthroughService/CurrencyConvertor.asmx
  • http://localhost:57773/csp/passthrough/PassthroughService/CurrencyConvertor.asmx?CfgItem=PassthroughService

 

Yet, I get 404 error. Direct calls to a remote service  are successful. How do I call my passthrough service?

#Business Operation #Business Service #Interoperability #Ensemble

Source URL:https://community.intersystems.com/post/ensemble-passthrough-configuration