web-services

WebServices on Unity, Dll, compatibility with .Net 4.0

扶醉桌前 提交于 2020-01-05 08:42:00
问题 I'm trying to use web services on unity. I used svcutil to generate a proxy class, however the proxy class was using "System.Threading.Tasks". I noticed that System.Threading.Tasks wasn't aviable on .Net 3.5. So I went to player setting and I changed to .Net 4.x But now I have an other issue, and I cannot find a way to fix it, I need to use System.Web.dll and System.Web.Services.dll to make my web service work, however, the dll that are include in Program Files\Unity\Editor\Data\Mono\lib\mono

Getting Request parameters from Spring WS Interceptor

帅比萌擦擦* 提交于 2020-01-05 08:39:20
问题 I am using Jaxb 2 with a Spring WS, and I have an interceptor which is directed to a particular payload and it works fine. Here my requirement is to read the request parameters from the handleRequest method of my interceptor. I know this should be fairly straight forward. However could not figure out a way to read the request parameters. At the moment my handleRequest method looks as below. @Override public boolean handleRequest(MessageContext messageContext, Object endpoint) throws Exception

Cordova plugin for push notification that listen to my own webservice

孤人 提交于 2020-01-05 08:39:08
问题 I am building a cordova mobile application which waits a message from my admin web application server. The admin application is conected by tcp to a websocket server I implemented on top of ratchet web socket server. I implemented the binding to my ratchet web service and receiving the message in javascript by using websoket. Now I want to notify the mobile if the server sends a message and the application is closed. I want to display this message in the notifications list of the mobile.

Getting Request parameters from Spring WS Interceptor

偶尔善良 提交于 2020-01-05 08:39:02
问题 I am using Jaxb 2 with a Spring WS, and I have an interceptor which is directed to a particular payload and it works fine. Here my requirement is to read the request parameters from the handleRequest method of my interceptor. I know this should be fairly straight forward. However could not figure out a way to read the request parameters. At the moment my handleRequest method looks as below. @Override public boolean handleRequest(MessageContext messageContext, Object endpoint) throws Exception

Get array item from webservice object to android

邮差的信 提交于 2020-01-05 08:29:26
问题 Im trying to get details like. District, name, Id ect... from MsSql DB through .Net web Service from a array object. My web Service [WebMethod] public DisAndPanDetails[] GetDistrictNameDetails() { DisAndPanDetails[] objDetails = new DisAndPanDetails[1]; SQLHelper objHelper = new SQLHelper(); DataTable dtblDetails = new DataTable(); string sQuery = string.Empty; try { sQuery = "SELECT DISTINCT District FROM OnlineTaxMerchantIdDetails ORDER BY District"; objHelper.CreateConnection("Connect");

webservice as datasource in vs 2008 crystal report

烈酒焚心 提交于 2020-01-05 07:58:08
问题 How to use webservice as a data source in VS2008 crystal report? 回答1: Crystal reports can take xml as its data by setting the database drivers to ADO and the database to the location of your xml producing webservice (it takes a URL) - its as simple as that! My original route was more convoluted that I thought; when you create the report there is an option in the "Database Expert" called "XML and Web Services" which gives you an option to use an HTTP(S) data source - that should be your

KSOAP2 double ID

南笙酒味 提交于 2020-01-05 07:50:16
问题 I'm well aware of this question kSOAP2 double ID exception but for some reason its not working for me The thing is, i have this process that works every 2 minutes sending new data on a separate thread, sends a pack with data, some gps data and receives if the packet was received, the gps data was stored and if the gps should be still active. Here's the webService code <WebMethod(Description:="Almacena una lectura, la posición del lecturista y revisa si sigue activo el servicio")> _ Public

Read long value from webservice using SoapClient

二次信任 提交于 2020-01-05 07:37:11
问题 I'm writing a soap consumer in PHP for a ws written in Java (Jax ws). The webservice exports a function listRooms() that returns an array of the complex data type Room which contains an id (64 bit long) and a description (string). Now whenever I consume the webservice using SoapClient, the id is converted to float (as there are no 64 bit integers in PHP) and I want to avoid it. As I will need the room id to consume other web services I would rather avoid this implicit conversion to float,

How to call processing page via web service

偶尔善良 提交于 2020-01-05 07:28:19
问题 I have a processing page and I want to run function process all via web service (add web reference into my C# window form app). My code below: var context = new ModuleABCService.Screen() // limk web services: http://localhost:8686/soap/DMSBL009.asmx { CookieContainer = new CookieContainer(), AllowAutoRedirect = true, EnableDecompression = true, Timeout = 60000 }; var loginResult = context.Login(string.Format("{0}@{1}", val.UserName, company), val.Password); if (loginResult.Code != ErrorCode

Why client config shows wsHttpBinding when I have customBinding on server?

喜你入骨 提交于 2020-01-05 06:54:19
问题 I am using customBinding on my WCF web-service. But when I add service reference from Visual-Studio 2012, the configuration of the client shows wsHttpBinding as shown below: <bindings> <wsHttpBinding> <binding name="CustomBinding_IService1" /> </wsHttpBinding> </bindings> What is the reason behind this? My full server config can be found here:How to make WCF service server-client time difference independent? 回答1: Probably your custom binding is configured in a way that macthed the