The code that my setup has generated doesn't look much like that.
I suspect that I need something more configured, so that the details for:
AXIS2_XML
AXIS2_REPOSITORY
and
stub._getServiceClient().engageModule("rampart");
will be available to the wsdl2java tool.
PS - the "WSDL for endpoints" link for the "WS-Policy" section on
http://131.107.72.15/ilab/ is broken (404 error).
--
Stephen
Amila Suriarachchi wrote:
When you generate the code it adds the security policies to input and
output messages.
Here codegen tool normalize the policy and attached it as a string so
that runtime
it builds the policy from that.
See the attached test case.
Amila.
On Dec 21, 2007 2:59 AM, Stephen Souness <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Thanks for that Amila.
I've tried the following:
wsdl2java -pn A12Binding -o generated -uri C:\interop.wsdl
I haven't noticed anything in the generated EchoServiceStub.java that
deals with the X509 or other security aspects specified in the
A12Binding_policy policy.
Is their some additional axis2 setup required?
--
Stephen
Amila Suriarachchi wrote:
> see some security samples here
> http://131.107.72.15/ilab/
>
> Amila
>
> On Dec 20, 2007 1:49 AM, Stephen Souness < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
> <mailto: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote:
>
> Hi all,
>
> Can anyone direct me to an example of a WSDL which includes valid
> policy
> references, which wsdl2java can interpret and generate an
appropriate
> client stub from?
>
> Alternatively, is there a better way to generate the client code?
>
> --
> Stephen
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
> <mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>
> For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
> <mailto: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>
>
>
>
>
> --
> Amila Suriarachchi,
> WSO2 Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
--
Amila Suriarachchi,
WSO2 Inc.
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]