Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This seems to be a popular question so I'll provide an overview of what we did in our situation.</p> <p>It seems that services built in .NET are following an older ws-addressing standard (<a href="http://schemas.xmlsoap.org/ws/2004/03/addressing/" rel="noreferrer">http://schemas.xmlsoap.org/ws/2004/03/addressing/</a>) and axis2 only understands the newer standard (<a href="http://schemas.xmlsoap.org/ws/2004/08/addressing/" rel="noreferrer">http://schemas.xmlsoap.org/ws/2004/08/addressing/</a>).</p> <p>In addition, the policyCache.config file provided is in a form that the axis2 rampart module can't understand.</p> <p>So the steps we had to do, in a nutshell:</p> <ul> <li>Read the policyCache.config and try to understand it. Then rewrite it into a policy that rampart could understand. (Some <a href="http://www.scribd.com/doc/466238/Official-Documentation-ws-apache-org-Axis2-Part-2" rel="noreferrer">updated docs</a> helped.)</li> <li>Configure rampart with this policy.</li> <li>Take the keys that were provided in the .pfx file and convert them to a java key store. There is a utility that comes with Jetty that can do that.</li> <li>Configure rampart with that key store.</li> <li>Write a custom axis2 handler that backward-converts the newer ws-addressing stuff that comes out of axis2 into the older stuff expected by the service.</li> <li>Configure axis2 to use the handler on outgoing messages.</li> </ul> <p>In the end it was a lot of configuration and code for something that is supposed to be an open standard supported by the vendors.</p> <p>Although I'm not sure what the alternative is...can you wait for the vendors (or in this case, the one vendor) to make sure that everything will inter-op?</p> <p>As a postscript I'll add that I didn't end up doing the work, it was someone else on my team, but I think I got the salient details correct. The other option that I was considering (before my teammate took over) was to call the WSS4J API directly to construct the SOAP envelope as the .NET service expected it. I think that would have worked too.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload