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/18 04:37:26 UTC

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

     [ 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