soap

WCF over HTTPS and Signing the body

▼魔方 西西 提交于 2019-12-21 02:48:00
问题 I've got a SOAP service I want to connect to. It needs to be accessed trough https and it needs to have it's body signed by a certificate. I've tried the following code: <basicHttpBinding> <binding name="P4Binding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding=

Parsing Suds SOAP complex data type into Python dict

烂漫一生 提交于 2019-12-21 01:59:27
问题 I have some data coming from a SOAP API using Suds which I need to parse in my Python script. Before I go off and write a parser (there is more than just this one to do): 1) Does anyone recognise what this is? It's the standard complex object datatype as returned by Suds (documentation). Should have spotted that. 2) If so, is there an existing library that I can use to convert it to a Python dictionary? How do I parse this object into a Python dict? It seems I can pass a dictionary to Suds

WCF doesn't serialize all properties

余生颓废 提交于 2019-12-21 01:59:23
问题 I'm consuming a SOAP service that has been imported as a Service Reference in VS2010. I call one of the services with a request object that is provided by the service. The problem I'm having is that not all properties of the object are serialized, or rather not sent over the wire. The request object looks like this: var serviceRequest = new UpdateRequest{ StoreId = request.StoreId, Id = request.Id, Status = (Status)Enum.Parse(typeof(Status), request.myStatus.ToString()), parameters = request

WCF: Distinguish between REST and SOAP requests using the OperationContext

一世执手 提交于 2019-12-20 23:27:12
问题 In WCF security, given the current OperationContext, what is the best way to determine whether the request is a SOAP request or a REST request? 回答1: You could look at the binding name on the ChannelDispatcher: string bindingName = OperationContext.Current .EndpointDispatcher.ChannelDispatcher.BindingName; For REST, it would be webHttpBinding - anything else would be SOAP. 来源: https://stackoverflow.com/questions/3179863/wcf-distinguish-between-rest-and-soap-requests-using-the-operationcontext

Are there any working examples of Zolera SOAP Infrastructure (ZSI)? [closed]

浪子不回头ぞ 提交于 2019-12-20 23:22:19
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . i have looked at examples : http://pywebsvcs.svn.sourceforge.net/viewvc/pywebsvcs/trunk/wstools/ http://pywebsvcs.sourceforge.net

SOAP messages in REST based web service

*爱你&永不变心* 提交于 2019-12-20 20:26:20
问题 Disclaimer: I am really confused between REST and SOAP based services. After reading many tutorials (which seems contradictory to each other) on REST based web service I was wondering whether we can/should use SOAP to send/receive messages in REST based web service ? I tried following links 1) http://www.ibm.com/developerworks/webservices/library/ws-restful/ 2) http://rest.elkstein.org/2008/02/how-simple-is-rest.html 回答1: By "SOAP based services" I assume you are meaning WS-I Basic Profile

SOAP server in ruby with WSDL

99封情书 提交于 2019-12-20 18:32:32
问题 I need to implement a soap server in ruby for one call and also provide a WSDL. My plan is to create the WSDL myself and just provide that on a rails server with the endpoint parsing the xml. Is that a valid path? I looked and couldn't find much other information regarding a soap server in ruby that generates a WSDL. Action web service does but was last updated in 2005, and soap4r standalone server doesn't generate a WSDL. 回答1: Anyone else who'd be interested in a working solution to this

Elixir call Axis2 Java SOAP Web Service with detergentex and detergent

☆樱花仙子☆ 提交于 2019-12-20 18:07:01
问题 From Elixir, I am trying to call a SOAP Web Service with detergentex, which is a wrapper around the Erlang library detergent. I can call the SOAP Web Service in the example on the detergent home page with no problems: http://www.webservicex.net/convertVolume.asmx?WSDL Parameters: wsdl_url = "http://www.webservicex.net/convertVolume.asmx?WSDL" action = "ChangeVolumeUnit" parameters = ["100","dry","centiliter"] However when trying to call an Axis2 Java SOAP Web Service I am having some problems

WebLogic XMLDecoder反序列化漏洞(CVE-2017-10271)复现

两盒软妹~` 提交于 2019-12-20 16:09:04
WebLogic XMLDecoder 反序列化漏洞 (CVE-2017-10271) -----by backlion 0x01 漏洞说明 近日,黑客利用 WebLogic 反序列化漏洞 CVE-2017-3248 和 WebLogic WLS LS 组件的远程代码执行漏洞 CVE-2017-10271 , Oracle 官方在 2017 年 10 月份发布了该漏洞的补丁,但没有公开漏洞细节,如果企业未及时安装补丁,存在被攻击的风险。对企业服务器发起了大范围远程攻击,对大量企业的服务器造成了严重威胁, 受 影响版本: 10.3.6.0.0, 12.1.3.0.0, 12.2.1.1.0, 12.2.1.2.0 0x02 攻击说明 攻击者选定要攻击的目标主机后,将首先利用漏洞 CVE-2017-3248 进行攻击,无论是否成功,都将再利用 CVE-2017-10271 进行攻击。在每一次的攻击过程中,都是先针对 Windows 系统,再针对 Linux 系统。具体攻击流程如下: 1 、利用 WebLogic 反序列化漏洞( CVE-2017-3248 )调用 Linux 中的 wget 下载 shell 脚本并调用 Linux 本地 “/bin/bash” 执行 shell 脚本。( shell 脚本内容内定义了从远端下载执行 watch-smartd 挖矿程序控制细节) 2 、

How can I inspect what SUDs is generating/receiving in “sudo 0.4.1 jurko 5” and newer?

ⅰ亾dé卋堺 提交于 2019-12-20 15:10:19
问题 This question is similar to this one: How can I output what suds is generating/receiving? The problem is that I am using the suds fork by Jurko and after version "0.4.1 jurko 5" the Client.last_sent() , Client.last_received() methods have been removed. So the question is how can we replace their functionality on new suds versions? PS. I know that I can decrease the debugging level but I would like if possible to be able to inspect the input/output programmatically. 回答1: You can use the