web-services

503 error consuming thirdy part Soap webservice using TLS 1.2 and client certificate authentication with WCF

百般思念 提交于 2021-02-18 19:40:40
问题 I've got a problem consuming a Soap Web Service(w/att.) and MTOM that requires client certificate authentication (mutual?). Before writing what i've already tried i show you what i did in order to receive a client certificate: I've generated a RSA key with openssl command openssl genrssa -out mykey.key 2048 With this key i've generated a CSR : openssl req -new -key mykey.key -out mycsr.csr I've sent this CSR to the web service owner in order to receive a client certificate , and they gave me

503 error consuming thirdy part Soap webservice using TLS 1.2 and client certificate authentication with WCF

廉价感情. 提交于 2021-02-18 19:38:57
问题 I've got a problem consuming a Soap Web Service(w/att.) and MTOM that requires client certificate authentication (mutual?). Before writing what i've already tried i show you what i did in order to receive a client certificate: I've generated a RSA key with openssl command openssl genrssa -out mykey.key 2048 With this key i've generated a CSR : openssl req -new -key mykey.key -out mycsr.csr I've sent this CSR to the web service owner in order to receive a client certificate , and they gave me

Howto: Configure Spring-WS to publish WSDL files with a '?WSDL' style URL?

♀尐吖头ヾ 提交于 2021-02-18 12:18:05
问题 I am trying to configure web service proxying using Mule ESB. I am attempting to do this using Mule's WSProxyService, but after stepping through the corresponding code (with the debugger), it is clear that this class replaces endpoint addresses. The problem is Spring-WS WSDL addresses are of the style http://xxxx/xxxx.wsdl, but WSProxyService expects http://xxxx/xxxx?wsdl or http://xxxx/xxxx&wsdl. It replaces the remote endpoint addresses with the local WSDL address; it cuts the remote WSDL

Rails 4, subdomain routing

被刻印的时光 ゝ 提交于 2021-02-18 07:22:48
问题 Trying to implement web service in rails through API sub-domain called "api". In my hosts file i added line: 127.0.0.1 api.localhost In my routes.rb i set sub-domain, where i only need index action and few manually added restful routes, through following: namespace :api, path: '', :constraints => {:subdomain => "api"} do resources :posts, only: :index do collection do get 'popular_by_day' get 'popular_by_week' end end end Also generated coresponding controller with: rails g controller api

Ksoap2 Android - how to specify a namespace for the child properties of a complex object?

☆樱花仙子☆ 提交于 2021-02-18 06:56:24
问题 I'm trying to upload a complex object to a WCF webservice using KSoap2 Android and having some difficulty doing this. I have achieved successful calls to the webservice when I use SoapUI and fill in the data by hand. The successful SoapUI-generated request is as follows: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:fpm="http://schemas.datacontract.org/2004/07/FPMobileServices"> <soapenv:Header/> <soapenv:Body> <tem:CommitOne

Ksoap2 Android - how to specify a namespace for the child properties of a complex object?

白昼怎懂夜的黑 提交于 2021-02-18 06:56:08
问题 I'm trying to upload a complex object to a WCF webservice using KSoap2 Android and having some difficulty doing this. I have achieved successful calls to the webservice when I use SoapUI and fill in the data by hand. The successful SoapUI-generated request is as follows: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:fpm="http://schemas.datacontract.org/2004/07/FPMobileServices"> <soapenv:Header/> <soapenv:Body> <tem:CommitOne

wsimport Two declarations cause a collision

爷,独闯天下 提交于 2021-02-17 20:53:43
问题 I am trying to use wsimport on https://api.sendwordnow.com/webservices/v3/users.svc?wsdl. Here is the wsimport I am using. wsimport -B-XautoNameResolution -d C:\temp -extension -J-Djavax.xml.accessExternalSchema=all -J-Djavax.xml.accessExternalDTD=all -keep -verbose -XadditionalHeaders -Xnocompile https://api.sendwordnow.com/webservices/v3/users.svc?wsdl And here is the error. parsing WSDL... [WARNING] unknown extensibility element or attribute "EndpointReference" (in namespace "http://www.w3

wsimport Two declarations cause a collision

可紊 提交于 2021-02-17 20:52:31
问题 I am trying to use wsimport on https://api.sendwordnow.com/webservices/v3/users.svc?wsdl. Here is the wsimport I am using. wsimport -B-XautoNameResolution -d C:\temp -extension -J-Djavax.xml.accessExternalSchema=all -J-Djavax.xml.accessExternalDTD=all -keep -verbose -XadditionalHeaders -Xnocompile https://api.sendwordnow.com/webservices/v3/users.svc?wsdl And here is the error. parsing WSDL... [WARNING] unknown extensibility element or attribute "EndpointReference" (in namespace "http://www.w3

How to run a Swing application on a web page?

强颜欢笑 提交于 2021-02-17 05:40:09
问题 I have created a Swing application in Netbeans that is basically a chat system (between multiple clients and server using socket programming). Now I wanted to run this application on a webpage. Is this possible without changing any code? 回答1: Now I wanted to run this application on a webpage. Is this possible without changing any code? No. It would have to be a JApplet to be embedded in a web page, and applets have been effectively killed off. See Java Plugin support deprecated and Moving to

Modify a local file with Javascript

ε祈祈猫儿з 提交于 2021-02-17 03:40:55
问题 I must make a local app with an interface. This app should load text files, modify them, and save them. I made the interface with html/css/js, and the core of the app was made with js only. Currently, I load the file with an input, but to save it, the browser makes me download it. I know this is a security measure. This app is not going to be put online. My question is : what can I do to replace directly the loaded file by the new one ? Can I use my app (html/css/js) without a browser ? Is