axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <sam...@wso2.com>
Subject Re: rampart/c http tutorial
Date Fri, 04 Dec 2009 17:29:51 GMT
On Fri, Dec 4, 2009 at 10:53 PM, Adam Edgar <aedgar@research.att.com> wrote:

> I think I've managed to get some of it working but can't tell if the
> proper headers are being generated. Is there a way to dump the traffic
> being sent to the server?
>
> Also when I try :
>
> url="https://localhost:8443/axis2/services/NegativeAddressSecureService";
> stub = axis2_stub_create_NegativeAddressSecureService(env,home,url);
>
> I get :
>
> op_client.c(949) Cannot infer transport
> op_client.c(954) End:axis2_op_client_infer_transport
> op_client.c(407) Op client execute failed. Cannot find transport out.
>
>
> Is there something I need to do to enable https as it doesn't fail for
> http?
>

You need to enable https in the axis2.xml conf file

Samisa...


> ASE
>
>
> On Fri, 2009-12-04 at 22:42 +0530, Samisa Abeysinghe wrote:
> > Rampart is an independent project. Hence, the generated code does not
> > have Rampart specific stuff.
> >
> >
> > For Rampart stuff, you have to engage the module and provide the
> > security policies etc at client level programatically.
> >
> >
> > Samisa...
> >
> > On Fri, Dec 4, 2009 at 10:39 PM, Adam Edgar <aedgar@research.att.com>
> > wrote:
> >         Is there a good start to finish tutorial for rampart/c for
> >         creating a
> >         client starting with a WSDL file? Basically, right no I have
> >         written a
> >         WSDL and used wsdl2c to generate the source for the client but
> >         it does
> >         not seem to have any rampart code in it. If I run the server
> >         without
> >         WSSE it works but not when I try to secure it. I've managed to
> >         find
> >         documentation scattered about but nothing comprehensive.
> >
> >         All I'm trying to do is use UserName/Password authentication
> >         across
> >         https. This is probably real simple but I can't seem to find
> >         the last
> >         little bit of info to get it done.
> >
> >         ASE
> >
> >
> >
> >
> > --
> > Samisa Abeysinghe
> > Director, Engineering - WSO2 Inc.
> >
> > http://www.wso2.com/ - "The Open Source SOA Company"
> >
>
>
>


-- 
Samisa Abeysinghe
Director, Engineering - WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"

Mime
View raw message