axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf Hauser (JIRA)" <>
Subject [jira] [Created] (AXIS2-5942) allow for per security
Date Fri, 23 Nov 2018 14:21:00 GMT
Ralf Hauser created AXIS2-5942:

             Summary: allow for per security
                 Key: AXIS2-5942
             Project: Axis2
          Issue Type: Improvement
    Affects Versions: 1.7.8
            Reporter: Ralf Hauser

I am trying to get the SAAJ example


to work.


Most bothering is that trustStore and auth keystore are set globally.


If I were able to access org.apache.axis2.client.Options, with

  options.setProperty(HTTPConstants.CUSTOM_PROTOCOL_HANDLER, ...)

this is easy to achieve.

1) make it possible to sub-class org.apache.axis2.saaj.SOAPConnectionImpl by making its constructor


2) add a "call" variant where one has access to the Options:


public SOAPMessage call(SOAPMessage request, Object endpoint) throws SOAPException {
        Options options = new Options();
        return call(request, endpoint, options);

Many thanks!

P.S.: a further problem was that SOAPMessage resulting from [MobileidSign.|]createSOAPRequest()
would loose all attributes when being serialized.

When I started with

[  SOAPFactory|eclipse-javadoc:%E2%98%82=privaLope-common/commons-lib%5C/]
messageFactory =[org|eclipse-javadoc:%E2%98%82=privaLope-common/commons-lib%5C/axiom-api-1.2.20.jar%3Corg]{color:#000000}.{color}[apache|eclipse-javadoc:%E2%98%82=privaLope-common/commons-lib%5C/axiom-api-1.2.20.jar%3Corg.apache]{color:#000000}.{color}[axiom|eclipse-javadoc:%E2%98%82=privaLope-common/commons-lib%5C/axiom-api-1.2.20.jar%3Corg.apache.axiom]{color:#000000}.{color}[om|eclipse-javadoc:%E2%98%82=privaLope-common/commons-lib%5C/]{color:#000000}.{color}[OMAbstractFactory|eclipse-javadoc:%E2%98%82=privaLope-common/commons-lib%5C/]{color:#000000}.getSOAP12Factory();{color}

  OAPMessage soapMessage = messageFactory.createSOAPMessage();

the results were better, but portability suffered (I had to rewrite the entire construction
of the message axiom-proprietary  :(  )

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message