Written by

Senior Cloud Architect at InterSystems
MOD
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/ConvertCurrencySOAPPassthrough…

have two web applications in a namespace:

  • /csp/passthrough
  • /passthrough

 I have tried calling the following urls:

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

Comments

Eduard Lebedyuk · Jul 26, 2017

Turns out, I forgot to setup DispatchClass for /passthrough  application. After setting it to  EnsLib.SOAP.GenericService, the following URL works:

http://localhost:57773/passthrough/PassthroughService/CurrencyConvertor.asmx
0
Jeffrey Drumm  Jul 27, 2017 to Eduard Lebedyuk

Ugh, and this is why I should do a page refresh before posting a comment/answer ... laugh

I was pretty sure it was an issue with the web application definition, but didn't think to remove the dispatch class when I tested ...

0
Jeffrey Drumm · Jul 27, 2017

Hi Eduard,

(well, nevermind, then ... still a useful exercise for me blush)

0