You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Peter Danielsen (JIRA)" <ji...@apache.org> on 2007/06/17 23:41:25 UTC

[jira] Created: (AXIS2-2810) Provide WSDL2 styles to Emitter templates

Provide WSDL2 styles to Emitter templates
-----------------------------------------

                 Key: AXIS2-2810
                 URL: https://issues.apache.org/jira/browse/AXIS2-2810
             Project: Axis 2.0 (Axis2)
          Issue Type: Improvement
          Components: codegen
            Reporter: Peter Danielsen


I've been trying to create an Axis2 code generation template that would make some decisions based on the value of the "style" attribute in a WSDL2 document.  I'm unable to do so because that value doesn't appear in the Documents created by the AxisServiceBasedMultiLanguageEmitter.  There is a "style" attribute, but it's related to WSDL1.1.

A recent change to WSDL20ToAxisServiceBuilder added the styles from the Woden InterfaceOperation object to the AxisOperation object, but to be accessible to the emitter templates it needs to be in the Documents the Emitter creates.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2-2810) Provide WSDL2 styles to Emitter templates

Posted by "Peter Danielsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Danielsen updated AXIS2-2810:
-----------------------------------

    Attachment: AxisServiceBasedMultiLanguageEmitter.patch.txt

I'm attaching a patch to AxisServiceBasedMultiLanguageEmitter that
shows one way to add the styles to the Documents.  It suits my needs and, hopefully, others.  With this change, the styles are preserved unchanged from the WSDL
all the way through to the Documents used by the templates.  This allows
template developers to accommodate some new styles as they are developed
without having to modify the internal codegen framework.

> Provide WSDL2 styles to Emitter templates
> -----------------------------------------
>
>                 Key: AXIS2-2810
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2810
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: codegen
>            Reporter: Peter Danielsen
>         Attachments: AxisServiceBasedMultiLanguageEmitter.patch.txt
>
>
> I've been trying to create an Axis2 code generation template that would make some decisions based on the value of the "style" attribute in a WSDL2 document.  I'm unable to do so because that value doesn't appear in the Documents created by the AxisServiceBasedMultiLanguageEmitter.  There is a "style" attribute, but it's related to WSDL1.1.
> A recent change to WSDL20ToAxisServiceBuilder added the styles from the Woden InterfaceOperation object to the AxisOperation object, but to be accessible to the emitter templates it needs to be in the Documents the Emitter creates.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (AXIS2-2810) Provide WSDL2 styles to Emitter templates

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-2810.
-------------------------------------------------

    Resolution: Fixed

appled the patch to the trunk. with  revision 549229. Thanks Perter.

> Provide WSDL2 styles to Emitter templates
> -----------------------------------------
>
>                 Key: AXIS2-2810
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2810
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: codegen
>            Reporter: Peter Danielsen
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: AxisServiceBasedMultiLanguageEmitter.patch.txt
>
>
> I've been trying to create an Axis2 code generation template that would make some decisions based on the value of the "style" attribute in a WSDL2 document.  I'm unable to do so because that value doesn't appear in the Documents created by the AxisServiceBasedMultiLanguageEmitter.  There is a "style" attribute, but it's related to WSDL1.1.
> A recent change to WSDL20ToAxisServiceBuilder added the styles from the Woden InterfaceOperation object to the AxisOperation object, but to be accessible to the emitter templates it needs to be in the Documents the Emitter creates.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2-2810) Provide WSDL2 styles to Emitter templates

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-2810:
------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> Provide WSDL2 styles to Emitter templates
> -----------------------------------------
>
>                 Key: AXIS2-2810
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2810
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: codegen
>            Reporter: Peter Danielsen
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: AxisServiceBasedMultiLanguageEmitter.patch.txt
>
>
> I've been trying to create an Axis2 code generation template that would make some decisions based on the value of the "style" attribute in a WSDL2 document.  I'm unable to do so because that value doesn't appear in the Documents created by the AxisServiceBasedMultiLanguageEmitter.  There is a "style" attribute, but it's related to WSDL1.1.
> A recent change to WSDL20ToAxisServiceBuilder added the styles from the Woden InterfaceOperation object to the AxisOperation object, but to be accessible to the emitter templates it needs to be in the Documents the Emitter creates.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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