ws-addressing

Specify parts of the header that have to be signed and/or encrypted in WCF with binding that support standards

Using Ws2007HttpBinding and securing the service, the WSDL file generated shows in the policy section that all the ws-addressing headers and the body will be signed, and that the body will be encrypted. <sp:SignedParts> <sp:Body /> <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing" /> <sp:Header Name="From" Na...

WS addressing using WCF

Hi How to implement the WS Addressing using WCF ? Thanks in Advance Sekar ...

Interesting issue with WCF wsHttpBinding through a Firewall

I have a web application deployed in an internet hosting provider. This web application consumes a WCF Service deployed at an IIS server located at my company’s application server, in order to have data access to the company’s database, the network guys allowed me to expose this WCF service through a firewall for security reasons. A diag...

gsoap - WS-Addressing elements in the SOAP Header

Hello All, I need to add WS Addressing in my Soap header (I am using the gsoap framework). Is there a way to add that automatically? I looked up gsoap documentation but didnt find any info on that. So right now I have manually added the WS-Addressing to my SOAP_ENV_Header as shown below struct SOAP_ENV__Header { mustUnderstand _wsa_...

How do I use WS-Addressing properly in an Axis2 client?

All, I'm attempting to write a Junit test that calls a Web Service client in Axis2.1.5, and I've gotten confused about how to exactly to set it up to use WS-Addressing. I've generated a client stub using wsdl2java, and I'm using the axis2.xml and modules repository from the axis2 binary distribution. I know I need to use the MemberSu...

How can I control the URI of a service method?

I'm trying to create a WCF client to send XML messages to a CGI script. The script functions in a request-response pattern, where the contents of the XML message will determine the action to invoke. I've starting by creating a service contract to represent the defined set of documents the CGI script will accept: [ServiceContract] publi...

Multiple Protection Levels does not work in WCF

Hi every one, I am facing a problem in the security part of WCF. The problem is: Partial encryption is not working for the message payload. It either encrypts the payload completely or keeps unencrypted the whole payload when I change the ProtectionLevel at the MessageContract and MessageBodyMember Attributes. Ie, the partial encryp...

Creating a SOAP Header with WS-Addressing and WS-Security from scratch

I am sending out a SOAP message from a windows service to an http endpoint (regular aspx page that will just accept the whole SOAP envelope). The overall operation is async, the actual response comes back at a later time. The nature of the setup (aspx page receiving message) means I cannot have a service reference in my project. The SOA...