Martin,

I was able to generate the service stub and the callback handler classes 
eventually.  I don't need policy.xml for that, do I?

-a

From: Martin Gainty [mailto:mgai...@hotmail.com]
Sent: Friday, February 24, 2012 6:39 PM
To: java-user@axis.apache.org
Subject: RE: Probably Rampart

Stromas

Can you verify the Axis2 trunk fix works with your policy.xml

Martin--
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt .

Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.


> From: aaron.stro...@rsa.com<mailto:aaron.stro...@rsa.com>
> To: java-user@axis.apache.org<mailto:java-user@axis.apache.org>
> Date: Tue, 21 Feb 2012 07:35:41 -0500
> Subject: RE: Probably Rampart
>
> Thanks
>
> -----Original Message-----
> From: Ruchith Fernando 
> [mailto:ruchith.ferna...@gmail.com]<mailto:[mailto:ruchith.ferna...@gmail.com]>
> Sent: Friday, February 17, 2012 2:23 PM
> To: java-user@axis.apache.org<mailto:java-user@axis.apache.org>
> Subject: Re: Probably Rampart
>
> Hi,
>
> This issue is fixed in current Axis2 trunk.
>
> Thanks,
> Ruchith
>
> On Thu, Feb 16, 2012 at 2:52 PM, 
> <aaron.stro...@rsa.com<mailto:aaron.stro...@rsa.com>> wrote:
> > Greetings,
> >
> >
> >
> > I have installed Rampart with Axis2 1.6.1 and am trying to generate
> > client subs using wsdl2java and getting the following exception
> >
> >
> >
> > Exception in thread "main"
> > org.apache.axis2.wsdl.codegen.CodeGenerationException:
> > java.lang.RuntimeException: Malformed uri: UsernameToken
> >
> >         at
> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenera
> > tionEngine.java:293)
> >
> >         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
> >
> >         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> >
> > Caused by: java.lang.RuntimeException: Malformed uri: UsernameToken
> >
> >         at
> > org.apache.neethi.PolicyReference.getRemoteReferencedPolicy(PolicyRefe
> > rence.java:155)
> >
> >         at
> > org.apache.neethi.PolicyReference.normalize(PolicyReference.java:110)
> >
> >         at
> > org.apache.axis2.util.PolicyUtil.getMergedPolicy(PolicyUtil.java:238)
> >
> >         at
> > org.apache.axis2.description.PolicyInclude.getPolicy(PolicyInclude.jav
> > a:255)
> >
> >         at
> > org.apache.axis2.description.PolicyInclude.calculateEffectivePolicy(Po
> > licyInclude.java:240)
> >
> >         at
> > org.apache.axis2.description.PolicyInclude.getEffectivePolicy(PolicyIn
> > clude.java:277)
> >
> >         at
> > org.apache.axis2.description.PolicyInclude.calculateEffectivePolicy(Po
> > licyInclude.java:224)
> >
> >         at
> > org.apache.axis2.description.PolicyInclude.getEffectivePolicy(PolicyIn
> > clude.java:277)
> >
> >         at
> > org.apache.axis2.wsdl.codegen.extension.PolicyEvaluator.engage(PolicyE
> > valuator.java:137)
> >
> >         at
> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenera
> > tionEngine.java:246)
> >
> >         ... 2 more
> >
> >
> >
> > Google found a JIRA entry from 2008 which says the problem is fixed in
> > Axis2. Any suggestions, please..
> >
> >
> >
> > Aaron Stromas, Practice Consultant  |   RSA  The Security Division of
> > EMC  | Identity & Fraud Protection Practice | +1 240 271 6458
> >
> >
>
>
>
> --
> http://ruchith.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> java-user-unsubscr...@axis.apache.org<mailto:java-user-unsubscr...@axis.apache.org>
> For additional commands, e-mail: 
> java-user-h...@axis.apache.org<mailto:java-user-h...@axis.apache.org>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> java-user-unsubscr...@axis.apache.org<mailto:java-user-unsubscr...@axis.apache.org>
> For additional commands, e-mail: 
> java-user-h...@axis.apache.org<mailto:java-user-h...@axis.apache.org>
>

Reply via email to