client-applications

WebServiceTransportException: Unauthorized [401] in Spring-WS

蹲街弑〆低调 提交于 2020-02-03 09:43:07
问题 We are struggling to configure our web app to be able to connect with web services via Spring WS. We have tried to use the example from the documentation of client-side Spring-WS, but we end up with a WebServiceTransportException. The XML config looks like this: <bean id="webServiceTemplate" class="org.springframework.ws.client.core.WebServiceTemplate"> <constructor-arg ref="messageFactory"/> <property name="messageSender"> <bean class="org.springframework.ws.transport.http

How to execute a method periodically from WPF client application using threading or timer [closed]

自闭症网瘾萝莉.ら 提交于 2019-12-17 10:29:26
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I am developing a WPF client application.This app sends data periodically to the webservice . When user logged into the app I want run particular method every 5 mts to send data to the .asmx service. My question

What logging is good logging for your app?

帅比萌擦擦* 提交于 2019-12-03 12:53:42
问题 So we've discussed logging in passing at my place of work and I was wondering if some of you guys here could give me some ideas of your approaches? Typically our scenario is, no logging really at all, and mostly .NET apps, winforms/WPF clients talking through web services or direct to a db. So, the real question is, where or what would you log? At the moment we have users reporting error messages - so I would assume log startups/shutdowns, exceptions... Do you take it to calls to the web

How to run spring-boot as a client application?

守給你的承諾、 提交于 2019-11-29 01:38:59
问题 I have 2 Main entry points in a single application. The first main starts the server, maps the controllers and starts some worker threads. These workers receive messages from cloud queues. In case of increased load, I want to be able to add additional workers to do my job. So I have a second Main entry point in my application which I want to be able to start without starting the default server in spring-boot (as a client application) so as to avoid port conflict (and obviously which will lead

How to execute a method periodically from WPF client application using threading or timer [closed]

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-27 11:44:05
I am developing a WPF client application.This app sends data periodically to the webservice . When user logged into the app I want run particular method every 5 mts to send data to the .asmx service. My question is whether I need to use threading or timer.This method execution should happen while user is interacting with the application. i.e without blocking the UI during this method execution Any resources to look for ? I would recommend the System.Threading.Tasks namespace using the new async/await keywords. // The `onTick` method will be called periodically unless cancelled. private static