ws-security

How to Consume a secured web service with WS-Security via SOAP [PHP]?

随声附和 提交于 2019-12-13 05:41:34
问题 I'm trying to connect to a secured web service (HTTPS - TLS v3) but I'm getting this error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://integrationdev.momentum.co.za/sales/CRMService/CRMLeadService_v1_0' : failed to load external entity "https://integrationdev.momentum.co.za/sales/CRMService/CRMLeadService_v1_0" Here's the code that I've used: $momurl = "integrationdev.momentum.co.za/sales/CRMService/CRMLeadService_v1_0"; //Perform Request

Axis2/Rampart and WCF

风格不统一 提交于 2019-12-13 02:59:30
问题 I'm trying to setup a client using Axis2/Rampart to create a WS-Security call to a WCF .net service hosted by my client. My client is receiving the error: 'The message received over Transport security has unsigned 'To' header.' Does anyone have any ideas what could be the problem? 回答1: Needed to specify e.g. <signatureParts>{Element}{http://schemas.xmlsoap.org/soap/envelope/}To</signatureParts> 来源: https://stackoverflow.com/questions/5095380/axis2-rampart-and-wcf

WSO2 ESB: Custom URL

狂风中的少年 提交于 2019-12-13 01:54:13
问题 I have created my proxy with custom url, based on: http://wso2.com/library/knowledge-base/2011/01/custom-urls-wso2-esb-proxy-services/ Calling this custom URL with my SOAP message results in an error, I can still use the original url. custom: /services/wss/PlanningOphaalServiceProxy_v1 original: /services/PlanningOphaalServiceProxy_v1 The error: TID: [0] [ESB] [2015-08-19 15:47:05,039] ERROR {org.apache.axis2.engine.AxisEngine} - InvalidSecurity {org.apache.axis2.engine.AxisEngine} org.apache

How to create enveloped signatures in SOAP with CXF

ⅰ亾dé卋堺 提交于 2019-12-12 18:18:21
问题 I have a spec asking for a SOAP body that looks like the example below. Based on my understanding of JAX-RS (see this page) this involves creating an "enveloped signature" of the body, but I'm not finding documentation on created enveloped signatures for JAX-WS. All my attempts to specify individual parts to sign cause additional xml to appear in the header, but I'm unable determine how to sign a part of the body and have the signature appear within the body. Also please note that the

IBM DataPower 3.7.1.x issues with WCF clients

二次信任 提交于 2019-12-12 11:29:44
问题 I'm trying to consume an IBM DataPower 3.7.1.x web service in WCF getting the following error message: Cannot find a token authenticator for the 'System.IdentityModel.Tokens.X509SecurityToken' token type. Tokens of that type cannot be accepted according to current security settings. The HTTP response is coming back as 200 and I can see the correct SOAP response while debugging it in Fiddler. However, the WCF clients doesn't seem to know how to process the BinarySecurityToken element in the

WSDL - consume web service with WS-Security authentication - Delphi

让人想犯罪 __ 提交于 2019-12-12 04:48:44
问题 I'm doing a project for electronic invoicing, which connects to a service using WSDL Soap next link Link Wsdl Service So I use the WSDL Importer of Delphi to generate classes to connect. My code to use the service procedure TForm1.Button1Click(Sender: TObject); var tBillServ : billService; tSendB : sendBill; ByteA : TByteDynArray; tSendBResp: sendBillResponse; begin tSendB:=sendBill.Create; tSendBResp:=sendBillResponse.Create; tSendB.fileName:='Demo.zip'; SetLength(ByteA,2); ByteA[0]:=10;

Web Service Authentication to Online Federated Dynamics CRM 2013 from Java

谁说我不能喝 提交于 2019-12-12 04:40:07
问题 I am working on a Java program to integrate via web services with a Microsoft Dynamics CRM 2013 online version. Authentication is federated with a local IDP, not through Windows Live. I am having problems finding documentation on how to complete this. All of the non-.NET environment documentation I have seen does not show how to complete the integration in a Federated set-up. Is it possible to consume Dynamics CRM web services in this authentication configuration from Java? If so, any

Axis2/rampart cryptography problem with signaturePropFile

泄露秘密 提交于 2019-12-12 03:41:11
问题 I have problem with WebService client that has to use WS-Security. My client is written with axis2 . It works when I do not enable cryptography (of course with my server emulator). I enabled cryptography by adding to axis.xml : <!--Signature and Encryption : Using the request's certificate--> <module ref="rampart" /> <parameter name="OutflowSecurity"> <action> <items>Signature</items> <user>mn</user> <passwordCallbackClass>PWCallback</passwordCallbackClass> <signaturePropFile>client

Custom WebLogic Web Service Policy

断了今生、忘了曾经 提交于 2019-12-12 03:28:17
问题 I use Weblogic 12.1.2 as the JavaEE container. I want to use my custom ws-security policy (because weblogic predefined ws-plocies has IncludeTimestamp and I want to remove this tag). Therefore I need one of the policies' xml file, for example UsernameToken-Plain.xml to edit it and use it. Where can I find this file? 回答1: I found that in oracle documentation they should be located in below path: MW_HOME/WL_HOME/server/lib/weblogic.jar. Within weblogic.jar, the policy files are located in

wso2 getting org.apache.rampart.RampartException: Unsupported SignedSupportingToken

我只是一个虾纸丫 提交于 2019-12-12 01:41:16
问题 We are trying to do a poc in wso2 esb to invoke our BE service which is ws-security enabled. We have setup a pass thru proxy in wso2 and configured the endpoint according to www.soasecurity.org. However, we keep getting the below error when trying to use the pass thru proxy. Please advise if we are doing anything wrong... ERROR - Axis2Sender Unexpected error during sending message out rg.apache.axis2.AxisFault: Unsupported SignedSupportingToken : "{http://docs.oasis-open.org/ws-sx/ws