Quantcast
Channel: CSLA .NET
Viewing all articles
Browse latest Browse all 764

Calling DataPortal from a Queue Handler

$
0
0

Using Azure Service Bus Queue, when I receive a message that says run this task the Application tries to to run a DataPortal.Execute (command) 

In the Queue handler I setup the dataportal

ApplicationContext.DataPortalProxy = typeof(Csla.DataPortalClient.WcfProxy).AssemblyQualifiedName; ApplicationContext.DataPortalUrlString = "http://127.0.0.1:81/MobileDataPortal.svc"

When I execute the DataPortal.Execute I get 

 {"Content Type application/soap+xml; charset=utf-8 was not supported by service http://127.0.0.1:81/MobileDataPortal.svc.  The client and service bindings may be mismatched."}

 

The Server DataPortal is running and working on that URL and it is using basicHttpBinding, also when I use the WinRT app to connect to this URL, it works.

 

What Am I missing?


Viewing all articles
Browse latest Browse all 764

Trending Articles