You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Pete <pw...@yahoo.com> on 2008/01/15 17:03:01 UTC

Policy driven code generation problem Axis v1.3

Hello,

Can someone say if the Axis2 v1.3 code generator (eclipse plugin) supports WS-Policy 1.2? Or just 1.5? Or ?

Based on some info that Anne previously offered, it seems that I can't get Axis 2 to generate the stubs (ADB) with the necessary policy code, this was for policy v1.2...

I did try to change the name space definition for policy in the WSDL to v1.5 to see if that would cause it to do anything different, but that didn't do anything. I also removed a non standard policy element, that did not change the behavior either.

No errors/warnings, etc... (Using eclipse plugin v1.3)

Thanks for any assistance!
-P

The input policy is:
    

The WSDL is:
                                                                The description of enumerated value is listed as follows :--  1. CALENDAR-OK value-->                         http://SYSD/CICS/XML3/XMLPC003?Request=Policy&Template=TMCALN04&Type=Input"/>http://SYSD/CICS/XML3/XMLPC003?Request=Policy&Template=TMCALN04&Type=Output"/>http://SYSD/CICS/XML/XMLPC000"/>                                                                                







      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Policy driven code generation problem Axis v1.3

Posted by Martin Gainty <mg...@hotmail.com>.
for some reason the attachments were truncated with the end result of the
inline wsdl being crippled
can you attach the wsdl as well as the policy file?

Thanks
M-
----- Original Message -----
From: "Pete" <pw...@yahoo.com>
To: <ax...@ws.apache.org>
Sent: Tuesday, January 15, 2008 11:03 AM
Subject: Policy driven code generation problem Axis v1.3


> Hello,
>
> Can someone say if the Axis2 v1.3 code generator (eclipse plugin) supports
WS-Policy 1.2? Or just 1.5? Or ?
>
> Based on some info that Anne previously offered, it seems that I can't get
Axis 2 to generate the stubs (ADB) with the necessary policy code, this was
for policy v1.2...
>
> I did try to change the name space definition for policy in the WSDL to
v1.5 to see if that would cause it to do anything different, but that didn't
do anything. I also removed a non standard policy element, that did not
change the behavior either.
>
> No errors/warnings, etc... (Using eclipse plugin v1.3)
>
> Thanks for any assistance!
> -P
>
> The input policy is:
>
>
> The WSDL is:
>                                                                 The
description of enumerated value is listed as follows :--  1. CALENDAR-OK
value-->
http://SYSD/CICS/XML3/XMLPC003?Request=Policy&Template=TMCALN04&Type=Input"/
>http://SYSD/CICS/XML3/XMLPC003?Request=Policy&Template=TMCALN04&Type=Output
"/>http://SYSD/CICS/XML/XMLPC000"/>
>
>
>
>
>
>
>
>
____________________________________________________________________________
________
> Never miss a thing.  Make Yahoo your home page.
> http://www.yahoo.com/r/hs
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Policy driven code generation problem Axis v1.3

Posted by Sanka Samaranayake <ss...@gmail.com>.
Pete wrote:
> Hello,
>
> Can someone say if the Axis2 v1.3 code generator (eclipse plugin) supports WS-Policy 1.2? Or just 1.5? Or ?
>   

Currently Axis2 support only WS-Policy 1.2 version. Both 1.2 and 1.5 
version will be supported in (next) Axis2-1.4 release.

> Based on some info that Anne previously offered, it seems that I can't get Axis 2 to generate the stubs (ADB) with the necessary policy code, this was for policy v1.2...
>
> I did try to change the name space definition for policy in the WSDL to v1.5 to see if that would cause it to do anything different, but that didn't do anything. I also removed a non standard policy element, that did not change the behavior either.
>   

Any policy expressions which belong to 1.5 namespace will be ignored in 
code generation process. That is because policy expressions are 
recognized as qnames,
 policy expression of a 1.5 namespace would just be a qname of an 
unknown namespace.

HTH

Sanka
> No errors/warnings, etc... (Using eclipse plugin v1.3)
>
> Thanks for any assistance!
> -P
>
> The input policy is:
>     
>
> The WSDL is:
>                                                                 The description of enumerated value is listed as follows :--  1. CALENDAR-OK value-->                         http://SYSD/CICS/XML3/XMLPC003?Request=Policy&Template=TMCALN04&Type=Input"/>http://SYSD/CICS/XML3/XMLPC003?Request=Policy&Template=TMCALN04&Type=Output"/>http://SYSD/CICS/XML/XMLPC000"/>                                                                                
>
>
>
>
>
>
>
>       ____________________________________________________________________________________
> Never miss a thing.  Make Yahoo your home page. 
> http://www.yahoo.com/r/hs
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>   


-- 
Sanka Samaranayake
WSO2 Inc.

http://sankas.blogspot.com/
http://www.wso2.org/ 


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org