web-services

Ajax request from local file

假装没事ソ 提交于 2019-12-25 07:06:53
问题 I'm trying to make a HTA with cross-domain request inside using JQuery.Soap plugin. $.soap({ url: 'some url', method: 'some method', appendMethodToURL: false, namespaceURL: 'some namespace', enableLoggin: true, data: {}, success: function (response) { alert(response); }, error: function (response) { alert(response); } }); It's work perfectly in IE11, but only when I open it as a page on webserver. If I open it as a file on my PC - I get error "No transport", same with HTA. Is it possible to

Delphi webservice and OpenSSL supported SSL/TLS ciphers

时光怂恿深爱的人放手 提交于 2019-12-25 07:06:22
问题 We have a webservice that also provides HTTPS connections: FWebBrokerBridge := TIdHTTPWebBrokerBridge.Create(Self); // TIdHTTPWebBrokerBridge = class(TIdCustomHTTPServer), see IdHTTPWebBrokerBridge.pas LIOHandleSSL := TIdServerIOHandlerSSLOpenSSL.Create(FWebBrokerBridge); LIOHandleSSL.SSLOptions.CertFile := FHTTPSCertificate; LIOHandleSSL.SSLOptions.RootCertFile := FHTTPSRootCertificate; LIOHandleSSL.SSLOptions.KeyFile := FHTTPSPrivateKey; LIOHandleSSL.OnGetPassword :=

Accessing a login api using http get method in android

痴心易碎 提交于 2019-12-25 07:01:14
问题 I am developing an android app which uses a login api, which will allow its web users to login with their same credentials on the android device..... the url for the api is https://api.ecoachsolutions.com/main.php?ecoachsignin=1&server=remote&user=ecoachguest&pass=ecoachguest which retuns a response in json JSON object: { status: <success or error>, msg: <response message>, profile: <user profile object> } I tried this code which I found searching on the internet but it isn't working, private

Host Multiple Wcf Services On Local IIS 6

做~自己de王妃 提交于 2019-12-25 06:59:01
问题 I have tried to google a lot to find a solution to how to host multiple WCF web services on local IIS 6. So i am asking here. If I can get a step of procedure then i would be glad. 回答1: To accomplish your goal this is how to do it: Create your new solution or just reuse current solution you have. Create new Project under Visual C# and select WCF Service Application. For sample purposes we name it MultipleHostService project. It will produce three files named IService1.cs, Service1.svc and Web

Spring Boot Webservice from WSDL not working

余生颓废 提交于 2019-12-25 06:56:41
问题 I am using spring boot and web service from existing wsdl. I am getting error on server side while accessing request from jmeter. Please help me to resolve this error. Error: 2014-11-11 14:24:15.157 [http-nio-9016-exec-1] DEBUG o.s.w.s.s.SoapMessageDispatcher - Endpoint invocation resulted in exception - responding with Fault javax.xml.bind.UnmarshalException: unexpected element (uri:"http://services.cablevision.com/IOEquipmentServices", local:"getInventoryStatusRequest"). Expected elements

PUSH Notifications from a Web service

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-25 06:56:23
问题 I have a web service that stores locations of a mobile user in the DB periodically. I now want to try sending push notifications from the web service to the Android app. I understand that this can be achieved using GCM for Android . However, I am not sure how I can run a process that continuously monitors the DB for a condition. Can somebody suggest how I can achieve this? Will creating a thread to do the monitoring task in the constructor of the web service help to maintain a constant

How do we link multiple projects into the same web application

て烟熏妆下的殇ゞ 提交于 2019-12-25 06:55:40
问题 In a java based web-application that has multiple projects which are dependent on each other, where would normally we place configuration files like web.xml , log4j.properties and all? I am very new to web applications, but I pretty well know the package structure of a single project application. I am wondering how the application will look for the web.xml location and other configuration details in a multi-project environment? 回答1: You have to build a project and add dependency on all other

WCF Rest Web Service Request Error when using forms Authentication and Authorization

你离开我真会死。 提交于 2019-12-25 06:51:50
问题 I receive the following request error from my WCF Rest web service when using forms Authentication and Authorization. It works fine without the Authentication and Authorization:- "The server encountered an error processing the request. Please see the service help page for constructing valid requests to the service." Its built in .net 4 so no .svc file, here is the service code:-- namespace WcfRestService1 { [ServiceContract] [AspNetCompatibilityRequirements(RequirementsMode =

WAR outside the EAR, not able to reference JAR inside EAR. In wildfly 8

会有一股神秘感。 提交于 2019-12-25 06:47:00
问题 I am migrating to Wildfly 8.2 from JBoss 5.1, I am deploying a Web Service using the resteasy and some EAR which has the code to get the requested data from the DB. Both the EAR which has multiple (6) JARs, but when I call the Web Service, it is not able to find the EAR and refer it's JARs 14:57:48,183 INFO [stdout] (default task-4) InitialContextFactory not defined - using default: org.jnp.interfaces.NamingContextFactory 14:57:48,184 ERROR [stderr] (default task-4) javax.naming

Connect multiple server by webservices from asp.net

拈花ヽ惹草 提交于 2019-12-25 06:46:13
问题 Thanks for reading my question.I wondered if you have any idea about this problem. I wrote a SOAP-SERVER. Running it at CentOS. Changing Soap-Server's IPAddress for match with CentOS Ifconfig. Running SOAP-SERVER in CentOS. Using VisualStudio tools for AddWebReference .It'll auto generate a define object class.In this class,It containt all of function of SOAP-SERVER. Developer will use these function for do something at ASP.Net-Client. But,When I want to connect from ASP-NET to more SOAP