code_junkie

WCF custom binding/extensions causes validation error in app.config

Nov 13th, 2011
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. <system.serviceModel>
  2.  
  3. <services>
  4. <service name="Zed.Apache.NMS.WCF.Test.Server.TestApacheNMSService">
  5. <endpoint
  6. name="nmsServiceEndpoint"
  7. address="tcp://localhost:61616"
  8. binding="nmsBinding"
  9. bindingConfiguration="defaultNmsBinding"
  10. contract="Zed.Apache.NMS.WCF.Test.Server.ITestApacheNMSService" />
  11. </service>
  12. </services>
  13.  
  14. <bindings>
  15. <nmsBinding> <!-- VALIDATION ERROR HERE -->
  16. <binding name="defaultNmsBinding"
  17. destination="TestApacheNMSQueue"
  18. destinationType="Queue" />
  19. </nmsBinding>
  20. </bindings>
  21.  
  22. <extensions>
  23. <bindingExtensions>
  24. <add name="nmsBinding"
  25. type="Apache.NMS.WCF.NmsBindingCollection, Zed.Apache.NMS.WCF, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
  26. </bindingExtensions>
  27. </extensions>
  28.  
  29. </system.serviceModel>
Add Comment
Please, Sign In to add comment