web-services

How to create login page in Android.(use ksoap2 web service sharepoint)

天大地大妈咪最大 提交于 2019-12-24 21:56:22
问题 I'm new in Android.I tried to created login page but it's alway error. I was add ksoap2.java and permission INTERNET. this my code. import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.SoapObject; import org.ksoap2.serialization.SoapSerializationEnvelope; import org.ksoap2.transport.HttpTransportSE; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button;

Recommended way for access webservices on domain A from domain B if A is SSO'ing into B?

北城以北 提交于 2019-12-24 21:29:06
问题 frontend dev here with no experience with SSO so bear with me. Keen for a high-level recommendation on the following as I can appreciate it may vary. We've got a client setting up SSO to login to our site, and Im trying to understanding how I can safely call their webservices for user info from our domain via AJAX. Looking at their services they're asking for a User ID and Password which I dont think is usable/feasible as I assume our system would need to expose the password to the frontend

WCF Application Caching Implementation

早过忘川 提交于 2019-12-24 20:59:22
问题 i just wondering how the .net wcf application caching is implemented ?? It's single thread or multiple thread?? and if it's multiple thread how we enforce application caching to be single thread. Thank You :) 回答1: WCF doesn't come with its own caching implementation. You are left on your own to use, say, the Cache object that comes with ASP.NET or if you want to use a third party tool or Microsoft's Caching Application Block. 来源: https://stackoverflow.com/questions/125697/wcf-application

Sharepoint via web service : checking if item exists in list

时光怂恿深爱的人放手 提交于 2019-12-24 20:52:32
问题 Because Microsoft did not include a way to have unique constraints in sharepoint, this has to be done manually. I am inserting items into a sharepoint list via a web service method. How can I check if an existing list item already exists with the same field ID value? I've learnt I should be using wsLists.getListitems web service method, but its not exactly "user friendly". MSDN documentation is again not really great at explaining what should be an easy thing to do. 回答1: private bool

string comparison on date format wont work?

若如初见. 提交于 2019-12-24 20:36:45
问题 Hi for some reason I cant do a string comparison on a date? Take for example: public List<HireDate> GetHireDate(string anything) { List<HireDate> hiredate = hiredates.Where(n => string.Equals(n.HireFromDate, anything, StringComparison.CurrentCultureIgnoreCase) ).ToList(); return hiredate; } It simply wont work? if I type into a textbox 13/07/2012 which is how its stored it returns a 404 not found??? The output looks like this from a generic list/get request: <ArrayOfHireDate> <HireDate>

Update tile notifcation with XML returned by web service

纵然是瞬间 提交于 2019-12-24 20:36:16
问题 I have a Metro app in C# & XAML. The tile is updated periodically and I've used WebAPI to serve the tile notification XML. So far so good. I was then told that I cannot use WebAPI as the server that I was planning to host it on does not have .NET 4.5. No plans to install it anytime soon either. I had to change the WebAPI to a plain old Web service (.NET 3.5) which does the same thing - return tile notification XML. I've enabled HTTP-GET (I know, security concern) and was able to invoke the

Define WebFault in a different namespace / package than the service one (using cxf / jax-ws)

喜欢而已 提交于 2019-12-24 20:34:18
问题 I'm using jax-ws with cxf implementation to implement web services. I have several services annotated with the @WebService annotation. In a different package I defined the exceptions (which inherit from RuntimeException) and annotated them with @WebFault with a unique namespace. Each exception class holds a single bean with the exception data (faultInfo) which resides in the same namespace and package as the fault and is annotated with @XMlType. Example: Fault Class: @WebFault(name =

Creating webservice and client with JBossWS using Complex objects as arguments and return types

喜欢而已 提交于 2019-12-24 20:27:12
问题 I am developing a WebService and Client for it using JBoss 5.1.0GA. The JBossWs stack was already preinstalled with the binary that I downloaded and as I understand it is JBossWs 3.1.2GA I have developed a web service using this setup and have also created a client successfully. This is what I have. A pojo web service deployed as a war file. @WebService public class Service{ @WebMethod public CompleObj getConfiguration() { CompleObj oConf = new CompleObj (); for (int i = 0; i < 10; i++) {

Undefined property: stdClass::$GetDataResult Error message

雨燕双飞 提交于 2019-12-24 20:20:08
问题 I'm Using PHP Soap Client function to connect Remote service using this code try { $result = $soapClient->GetData($parameters); } catch (SoapFault $fault) { echo "Fault code: {$fault->faultcode}" . NEWLINE; echo "Fault string: {$fault->faultstring}" . NEWLINE; if ($soapClient != null) { $soapClient = null; } exit(); } $soapClient = null; Finally I'm calling this function, echo "Return value: {$result->GetDataResult}" . NEWLINE; But It's not working for me and got warning message like this.

Jhipster blank page

牧云@^-^@ 提交于 2019-12-24 20:17:24
问题 I started working on web services. Whenever I try to run existing project in Netbeans. Project builds successfully with result Application 'Project Name' is running! Access URLs: Local: http://localhost:8090 External: http://192.168.1.4:8090 Profile(s): [swagger, dev] When ever I go to browser and try to run this URL. I don't get response. I have no idea what's wrong. Please help me. 回答1: These commands helped me 1) yarn 2) yarn webpack:build 3) ./mvnw 来源: https://stackoverflow.com/questions