Re: How to include Axis2 modules in self-contained executable jar?

2011-08-10 Thread Jay Sullivan
Oops, the article I mentioned near the end was meant to link to: http://wso2.org/library/182 -- Jay Sullivan

How to include Axis2 modules in self-contained executable jar?

2011-08-10 Thread Jay Sullivan
Anyone have any ideas on this? I've read this article which leads me to believe it should be possible to do. -- Jay Sullivan

Re: Having trouble interfacing with WCF

2011-08-05 Thread Jay Sullivan
); 3. policy.addAssertion(rc); I don't have a "path/to/policy", remember it's generated, so I'm stuck on this. Thanks for the help! I don't mean to be a stickler or anything, I honestly want to understand this all and there's just a bunch of things that haven't been cleared up yet for me. -- Jay Sullivan

Re: Having trouble interfacing with WCF

2011-08-05 Thread Jay Sullivan
hose either. Is there a way I can set this at runtime? Or, if I can shove this into the policy string, where would I put it? Before ? I tried this and it didn't seem to do anything. :/ -- Jay Sullivan

Re: Having trouble interfacing with WCF

2011-08-04 Thread Jay Sullivan
> + "/repository",null); > > > > /* Get Service stub */ > > HelloWorldWcfServiceStub stub = new HelloWorldWcfServiceStub(ctx); > > ServiceClient sc = stub._getServiceClient(); > > > > /* Set options */ > > Options options = sc.getOptions(); > > options.setUserName("USERNAME"); > > options.setPassword("PASSWORD"); > > > > /* Engage addressing and rampart modules */ > > sc.engageModule("rampart"); > > sc.engageModule("addressing"); > > > > > > /* Consume service */ > > System.out.println(stub.getHello()); > > } > > } > Run the client with : > ./generate && ./compile && ./run > That's it. The client runs fine on Linux and FreeBSD. -- Jay Sullivan

Re: Having trouble interfacing with WCF

2011-08-04 Thread Jay Sullivan
etAlternatives(Policy.java:193) > at > org.apache.rahas.client.STSClient.processPolicy(STSClient.java:616) > at > org.apache.rahas.client.STSClient.requestSecurityToken(STSClient.java:147) > at > org.apache.rampart.util.RampartUtil.getToken(RampartUtil.java:766) > Any idea why these NullPointerExceptions are happening? I'm still using the original code I posted earlier in this thread. -- Jay Sullivan

Re: Having trouble interfacing with WCF

2011-08-04 Thread Jay Sullivan
mpart.mar for policy, trust and rampart". Where is this WEB-INF folder? Should I be able to ignore it if I use the "non META-INF only" module? generally 1.5.1 was the last blessed Rampart version..i havent tried 1.6 > And what version of Axis2 are you using? -- Jay Sullivan

Re: Having trouble interfacing with WCF

2011-08-04 Thread Jay Sullivan
On Thu, Aug 4, 2011 at 9:57 AM, Jay Sullivan wrote: > > > On Wed, Aug 3, 2011 at 9:22 PM, Hasini Gunasinghe wrote: > >> Hi Jay, >> >> Have you engaged Rampart, and provided the rampart configuration properly >> in the Axis2 client side? >> >> Yo

Re: Having trouble interfacing with WCF

2011-08-04 Thread Jay Sullivan
ly, as I can load the "addressing-1.5.5" module without trouble, and they're in the same directory. Am I running into a version conflict? -- Jay Sullivan

Having trouble interfacing with WCF

2011-08-03 Thread Jay Sullivan
o I don't know where I'm going wrong. It's possible I don't have some of these configured properly, but I don't know whether to look on the server or client side, and am not sure where to go next. Anyone have any ideas? Completely lost here. -- Jay Sullivan

Re: Trouble interfacing with WCF

2011-07-27 Thread Jay Sullivan
explain why this worked? (and why I can't find anywhere on the web that someone's offered this solution?) -- Jay Sullivan

Re: Trouble interfacing with WCF

2011-07-27 Thread Jay Sullivan
ll.MagicEightBallServiceStub.getAdvice(MagicEightBallServiceStub.java:189) > at > org.petio.magiceightball.MagicEightBallServiceCGClient.main(MagicEightBallServiceCGClient.java:25) > I'm wondering if this is a side-effect of not loading rampart. Or must I also load the "addressing" module? -- Jay Sullivan

Re: Trouble interfacing with WCF

2011-07-27 Thread Jay Sullivan
b/security/cacerts" which I'm assuming is the one I want to add this certificate to. Would adding my certificate to some (if not this one) "cacerts" keystore force Axis2 to trust my certificate? -- Jay Sullivan

Re: Trouble interfacing with WCF

2011-07-22 Thread Jay Sullivan
dependency .jar files of the Apache Rampart > module are in the classpath of the client. Then we can use the following > code to engage Rampart in the client. Note that username and password to be > used in the Username token, is provided using the Options class. > What are the username and password? Are these to gain access to the private key? How do I set this up? -- Jay Sullivan

Trouble interfacing with WCF

2011-07-22 Thread Jay Sullivan
//stackoverflow.com/questions/6685164/wcf-web-service-java-web-client-mustunderstand-headers-not-understood). Has anyone been in a similar situation and found success? I need to get this done for my job but I'm starting to feel that it's hopeless since I can't make any progress. Any