Petals BC SOAP

When using WS-Policy in provide mode: ClassNotFoundException: org.apache.xml.utils.URI$MalformedURIException

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 4.0.7
  • Fix Version/s: 4.0.8
  • Component/s: None
  • Security Level: Public
  • Description:

    When enabling WS-Policy into a SOAP-provide SU to invoke an external secured webg-service, I get the following error: ClassNotFoundException: org.apache.xml.utils.URI$MalformedURIException

  • Environment:
    -

Activity

Hide
Christophe DENEUX added a comment - Thu, 29 Sep 2011 - 11:37:43 +0200

The missing class is provided by Xalan that was excluded from the component packaging. Use the version 2.7.1 of xalan instead of 2.7.0 provided by Axis2 because of a bug about API Transformer.reset()

Show
Christophe DENEUX added a comment - Thu, 29 Sep 2011 - 11:37:43 +0200 The missing class is provided by Xalan that was excluded from the component packaging. Use the version 2.7.1 of xalan instead of 2.7.0 provided by Axis2 because of a bug about API Transformer.reset()
Christophe DENEUX made changes - Thu, 29 Sep 2011 - 11:37:43 +0200
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Assignee Nicolas Oddoux [ noddoux ] Christophe DENEUX [ cdeneux ]
Christophe DENEUX made changes - Thu, 29 Sep 2011 - 11:37:50 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Christophe DENEUX added a comment - Thu, 29 Sep 2011 - 11:58:07 +0200

Fix in branch petals-entreprise-3.1.x

Show
Christophe DENEUX added a comment - Thu, 29 Sep 2011 - 11:58:07 +0200 Fix in branch petals-entreprise-3.1.x
Christophe DENEUX made changes - Thu, 29 Sep 2011 - 11:58:07 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 4.0.8 [ 10263 ]
Resolution Fixed [ 1 ]
Hide
Christophe DENEUX added a comment - Thu, 29 Sep 2011 - 11:58:57 +0200

To merge in trunk.

Caution: a potential conflict exists between Xalan and Saxon (if already the main XSLT engine of Petals 4)

Show
Christophe DENEUX added a comment - Thu, 29 Sep 2011 - 11:58:57 +0200 To merge in trunk. Caution: a potential conflict exists between Xalan and Saxon (if already the main XSLT engine of Petals 4)
Christophe DENEUX made changes - Thu, 29 Sep 2011 - 11:58:57 +0200
Status Resolved [ 10004 ] Open [ 10002 ]
Resolution Fixed [ 1 ]
Hide
noddoux added a comment - Thu, 15 Dec 2011 - 15:32:12 +0100 - edited

Xalan 2.7.1 is already included in the version 4.1 to avoid the error ClassNotFoundException: org.apache.xml.utils.URI$MalformedURIException (when using WS-Security). Rampart probably uses this exception in its code. However, Xalan is not used as XSLT engine.

WS-Policy are not used any more in the version 4.1 to configure WS-Security (as it did not work correctly). The configuration of WS-Security is only possible with the parameters modules and service-parameters (http://doc.petalslink.com/display/petalscomponents/Petals-BC-SOAP+4.1.x).

Show
noddoux added a comment - Thu, 15 Dec 2011 - 15:32:12 +0100 - edited Xalan 2.7.1 is already included in the version 4.1 to avoid the error ClassNotFoundException: org.apache.xml.utils.URI$MalformedURIException (when using WS-Security). Rampart probably uses this exception in its code. However, Xalan is not used as XSLT engine. WS-Policy are not used any more in the version 4.1 to configure WS-Security (as it did not work correctly). The configuration of WS-Security is only possible with the parameters modules and service-parameters (http://doc.petalslink.com/display/petalscomponents/Petals-BC-SOAP+4.1.x).
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
1m 38s
1
Christophe DENEUX
Thu, 29 Sep 2011 - 11:37:43 +0200
Open Open In Progress In Progress
7s
1
Christophe DENEUX
Thu, 29 Sep 2011 - 11:37:50 +0200
In Progress In Progress Resolved Resolved
20m 17s
1
Christophe DENEUX
Thu, 29 Sep 2011 - 11:58:07 +0200
Resolved Resolved Open Open
50s
1
Christophe DENEUX
Thu, 29 Sep 2011 - 11:58:57 +0200
Open Open In Progress In Progress
77d 4h 34m
1
noddoux
Thu, 15 Dec 2011 - 15:33:29 +0100
In Progress In Progress Resolved Resolved
6s
1
noddoux
Thu, 15 Dec 2011 - 15:33:35 +0100