You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Jonas Buys <jo...@yahoo.com> on 2009/05/23 15:43:39 UTC
How to add custom AssertionBuilders in generated stub?
Hi,
I have used a META-INF/services/org.apache.neethi.builders.AssertionBuilder file to specify my own AssertionBuilders in my module, and this works nicely.
However, when I generate a client stub from my WSDL file, the stub only serializes the assertion strings to XMLPrimitiveAssertions, which is not what I want, as I would like to check in Module.canSupportAssertion using the instanceof keyword.
I tried putting a META-INF/services org.apache.neethi.builders.AssertionBuilder file and the JAR file in the stub archive, but in vain...
How can I make the stub use my own Assertion(Builder)s to convert the embedded policy strings?
Any help would be greatly appreciated!! Jonas.