Hi Nandana,
OK now I solved the problem:

I have RAMPART-Core as project in my Eclipse. But inside this project I forgot 
to put the file (AssertionBuilder). Now I did the same directory structure 
(META-INF/services) inside my Eclipse project and put the file into the 
services directory. Now it works.

Great hint with the file Nandana. As always a very good help.

Greetings

Christian Mielke

----- original Nachricht --------

Betreff: Re: Re: Re: Configuration only as XmlPrimitiveAssertion
Gesendet: Do, 10. Sep 2009
Von: Nandana Mihindukulasooriya<[email protected]>

> Hi Christian,
>           That is not a class but a file which we used as a configuration
> for SPI [1]. Just check in the file system view and you should be able to
> find that file. Some assertion builders are defined [2] in that one and
> some
> are defined this file [3]. Once [2] is in the sources, [3] is not loaded in
> eclipse. Hope this might help.
> 
> regards,
> Nandana
> 
> [1] -
> http://www.nandana.org/2008/07/why-cant-we-ship-as-standalone-module.html
> [2] -
> https://svn.apache.org/repos/asf/webservices/rampart/trunk/java/modules/ramp
> art-core/src/main/java/META-INF/services/org.apache.neethi.builders.Assertio
> nBuilder
> [3] -
> https://svn.apache.org/repos/asf/webservices/rampart/trunk/java/modules/ramp
> art-policy/src/main/java/META-INF/services/org.apache.neethi.builders.Assert
> ionBuilder
> 
> On Thu, Sep 10, 2009 at 10:34 AM, Christian Mielke <[email protected]> wrote:
> 
> > Hello Nandana,
> >
> > thanks for the hint, but I don't have this class in my classpath. I have
> > this class only in my classpath because of the NEETHI.jar. But I think
> this
> > is correct.  The other types of the policy (SignedParts, EncryptedParts
> will
> > be detected correctly but still not the RampartConfig part.
> >
> >
> > ----- original Nachricht --------
> >
> > Betreff: Re: Re: Configuration only as XmlPrimitiveAssertion
> > Gesendet: Mi, 09. Sep 2009
> > Von: Nandana Mihindukulasooriya<[email protected]>
> >
> > > Please delete the file rampart-core/src/main/java/META-INF/services/
> > > org.apache.neethi.builders.AssertionBuilder from your workspace. When
> > this
> > > one is picked in eclipse, the other AssertionBuilders are not loaded
> from
> > > eclipse.
> > > thanks,
> > > Nandana
> > >
> > > On Wed, Sep 9, 2009 at 5:10 PM, Christian Mielke <[email protected]> wrote:
> > >
> > > > Yes it is running in ECLIPSE 3.4. RAMPART-Core is attached as source
> > and
> > > > also WSS4J1.5.8 is attached as source.
> > > >
> > > >
> > > > ----- original Nachricht --------
> > > >
> > > > Betreff: Re: Configuration only as XmlPrimitiveAssertion
> > > > Gesendet: Mi, 09. Sep 2009
> > > > Von: Nandana Mihindukulasooriya<[email protected]>
> > > >
> > > > > Are you running this within an IDE ? Do you have Rampart source
> > > attached
> > > > ?
> > > > > thanks,
> > > > > Nandana
> > > > >
> > > > > On Wed, Sep 9, 2009 at 3:50 PM, Christian Mielke <[email protected]>
> > wrote:
> > > > >
> > > > > >
> > > > > > Hello friends of Rampart,
> > > > > > I am usingh AXIS 1.5 and RAMPART Nightly Build. The RAMPART
> > > > configuration
> > > > > > of my webservice is integrated in a WS-Policy inside the
> > services.xml
> > > > of
> > > > > the
> > > > > > service. When calling the service by a client, the RAMPART
> > > > configuration
> > > > > > gets only detected as XmlPrimitiveAssertion and so it can't be
> > used.
> > > I
> > > > am
> > > > > > loking for the reason but can't find one. All the three RMAPRT
> jars
> > > are
> > > > > in
> > > > > > the classpath (core, trust, policy) and also the wss4j-1.5.8.jar
> is
> > > in
> > > > > the
> > > > > > classpath? Is there something known?
> > > > > > Greetings
> > > > > > Christian
> > > > > >
> > > > > >
> > > > > > --
> > > > > > ------------------------------------------------------------
> > > > > > Dipl.-Inf. Christian Mielke, Software-Entwicklung
> > > > > >
> > > > > > nc software AG
> > > > > > Untere Königsstr. 86
> > > > > > 34117 Kassel
> > > > > > tel.: +49 (0)561 70161-29
> > > > > > fax.: +49 (0)561 70161-55
> > > > > >
> > > > > > mailto:[email protected]
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Nandana Mihindukulasooriya
> > > > > WSO2 inc.
> > > > >
> > > > > http://nandana83.blogspot.com/
> > > > > http://www.wso2.org
> > > > >
> > > >
> > > > --- original Nachricht Ende ----
> > > >
> > >
> >
> > --- original Nachricht Ende ----
> >
> >
> 

--- original Nachricht Ende ----

Reply via email to