web-services

X509 Certificate multi-passwords?

风流意气都作罢 提交于 2020-01-04 06:29:08
问题 I would like to know if x509 certificate's password allows multi-passwords per certificate - or just one? And if it is possible, what scenario would it be applied? Thanks for your time. 回答1: Because GnuPG is easily available to me, it'd be my tool of choice; each admin would create a public/private key pair and export the public portion: gpg --gen-key gpg --export --armor [keyid] > key_file_[admin_name] Import all the public keys into the keyring of whoever 'owns' the unencrypted x509 cert:

how to show alert after calling the webservice [duplicate]

那年仲夏 提交于 2020-01-04 06:11:25
问题 This question already has an answer here : how to show alert inside an activity group? (1 answer) Closed 4 years ago . In my activity I am calling webservices. So after the webservice returns the result, I have to show an alert. Since alert is UI part, I think inside onPostExecute() I have to write the alert code. But when I do like that error is coming. Error shown: 12-02 09:59:08.508: ERROR/AndroidRuntime(451): Uncaught handler: thread main exiting due to uncaught exception 12-02 09:59:08

how to show alert after calling the webservice [duplicate]

*爱你&永不变心* 提交于 2020-01-04 06:11:21
问题 This question already has an answer here : how to show alert inside an activity group? (1 answer) Closed 4 years ago . In my activity I am calling webservices. So after the webservice returns the result, I have to show an alert. Since alert is UI part, I think inside onPostExecute() I have to write the alert code. But when I do like that error is coming. Error shown: 12-02 09:59:08.508: ERROR/AndroidRuntime(451): Uncaught handler: thread main exiting due to uncaught exception 12-02 09:59:08

Error when sending an Linq-to-Sql object to the server using WCF

拥有回忆 提交于 2020-01-04 06:10:36
问题 I am trying to develop a system that has 2 tiers: a mobile client and a server that uses LINQ to SQL to store information in the database. I want to create a WCF server that stores a task in the server, so it will receive a Task from the client and will use LINQ to SQL to store it. To do this service, I created the dbml file, so I can use the datacontext. This is my service method: public Task SaveTask(string token, Task task) { TrackingDataContext dataConext = new TrackingDataContext(); /

Calling WebService Using AJAX jQuery With SOAP

给你一囗甜甜゛ 提交于 2020-01-04 06:01:40
问题 I'm copy/pasting this HTML code from this guide but I cannot make the service work. The article talks about a WebService used to do simple arithmetic calculation, and I was lucky enought to find an endpoint that provides the same service: http://www.dneonline.com/calculator.asmx?WSDL So I fire up WcfStorm and if I try to request a SOAP call that makes 3 + 5 I receive as result 8 : All good, so now let's inject the call: <Add> <MethodParameters> <intA>3</intA> <intB>5</intB> </MethodParameters

Secure Rest-Service before user authentification

大兔子大兔子 提交于 2020-01-04 05:46:29
问题 I have a web application that provides several rest services (Jersey). Most of the endpoints are secured by BASIC authentification. Further more I use SSL for transport and demand POSTs for every call. The clients/consumers are android apps. So far so good. The only service that seems to be vulnerable is the registration. It's the 'first' service to call and a user does not exist yet. So I cannot use OAuth, etc. I also have to keep the endpoint easy accessible to enable the user to regster.

Spring remoting; JdkDynamicAopProxy with no methods

删除回忆录丶 提交于 2020-01-04 05:29:20
问题 Some back story: I'm in the process of setting up a test environment of an old(er) system (2008). The system is currently in working condition, but we need to start testing it before upgrading. There is a front-end proxy application interacting through Spring (2.5.4) HTTP invoking with a back-end application. I have the source code and spring related dependencies in place, and I'm able to compile the system through build scripts shipped with the source code. I have set up a local VM acting as

JAX-WS WebService Client - “Response: '401: Unauthorized' for url”

回眸只為那壹抹淺笑 提交于 2020-01-04 05:19:10
问题 I'm trying to instantiate a Web Service Client in Java, which its url is secured by username and password. When instantiating it, throws a WebServiceException; here is the stacktrace: javax.xml.ws.WebServiceException: java.io.FileNotFoundException: Response: '401: Unauthorized' for url: WSDLURL at com.sun.xml.ws.wsdl.WSDLContext.<init>(WSDLContext.java:68) at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:207) at com.sun.xml.ws.client.WSServiceDelegate.<init>

php parsing multidimensional stdclass object with arrays

扶醉桌前 提交于 2020-01-04 04:11:06
问题 I am accessing a wsdl webservice with php. Reading out works great but parsing the result seems kinda difficult: I tried to var_dump() the result to get an idea how the result looks like. This is my PHP code I use to vardump the result: foreach($result as $var => $value) { var_dump($value); echo "<br />"; } This is what i get with it: object(stdClass)#3 (3) { ["Successful"]=> bool(true) ["MessageId"]=> string(0) "" ["MlsMessageText"]=> string(0) "" } object(stdClass)#4 (3) { ["RowCount"]=>

how can I get the file version on the Internet but not download it?

空扰寡人 提交于 2020-01-04 04:05:49
问题 I get a file url,for example, http://cidian.youdao.com/download/YoudaoDict.exe how can I get it's version but not download it ? nots 1: if you download the file first on your computer,there are many ways to get it's version, for example ,you can use the window tools "filever.exe" to get the version. but i want to not download it ,at least not download it all.how can I do? Waiting your help! thanks. nots 2: I have tried the way to get a portion of the file to get the version: first, I used the