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 "Brennan Spies (JIRA)" <ji...@apache.org> on 2006/10/14 00:13:35 UTC

[jira] Created: (AXIS2-1381) Need to enhance code generation from WSDL to support JMS extensions

Need to enhance code generation from WSDL to support JMS extensions
-------------------------------------------------------------------

                 Key: AXIS2-1381
                 URL: http://issues.apache.org/jira/browse/AXIS2-1381
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: New Feature
          Components: codegen
    Affects Versions: 1.1
         Environment: All
            Reporter: Brennan Spies


Currently, there is no support for JMS WSDL extensions in Axis 2.0. Code generation for a WSDL service with JMS bindings succeeds, but the client stub is missing a default JMS endpoint reference, and transport elements and appropriate properties from <jms:address> should be placed into the generated services.xml file.

To do this, the appropriate extension elements for JMS in the WSDL must be recognized. This requires adding them to WSDL4J's extensibility mechanism. The appropriate implementations already exist in the Apache WSIF project: http://ws.apache.org/wsif/providers/wsdl_extensions/jms_extension.html.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Assigned: (AXIS2-1381) Need to enhance code generation from WSDL to support JMS extensions

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1381?page=all ]

Davanum Srinivas reassigned AXIS2-1381:
---------------------------------------

    Assignee: Davanum Srinivas

> Need to enhance code generation from WSDL to support JMS extensions
> -------------------------------------------------------------------
>
>                 Key: AXIS2-1381
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1381
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.1
>         Environment: All
>            Reporter: Brennan Spies
>         Assigned To: Davanum Srinivas
>         Attachments: files.zip
>
>
> Currently, there is no support for JMS WSDL extensions in Axis 2.0. Code generation for a WSDL service with JMS bindings succeeds, but the client stub is missing a default JMS endpoint reference, and transport elements and appropriate properties from <jms:address> should be placed into the generated services.xml file.
> To do this, the appropriate extension elements for JMS in the WSDL must be recognized. This requires adding them to WSDL4J's extensibility mechanism. The appropriate implementations already exist in the Apache WSIF project: http://ws.apache.org/wsif/providers/wsdl_extensions/jms_extension.html.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2-1381) Need to enhance code generation from WSDL to support JMS extensions

Posted by "Brennan Spies (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1381?page=comments#action_12444196 ] 
            
Brennan Spies commented on AXIS2-1381:
--------------------------------------

For the WSIF, that's essentially what I've already done. What I was referring to was that there is one method within the the JMS extensions that is out of date with the current version of WSDL4J; also, there is a custom logger (org.apache.wsif.logging.Trc), which is a bit out of place in Axis 2.0 (replace with commons-logging). So the classes need a little updating.

OK, I'll get started on the patch. Should I just attach to this JIRA when I'm done?

> Need to enhance code generation from WSDL to support JMS extensions
> -------------------------------------------------------------------
>
>                 Key: AXIS2-1381
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1381
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.1
>         Environment: All
>            Reporter: Brennan Spies
>         Assigned To: Davanum Srinivas
>         Attachments: files.zip
>
>
> Currently, there is no support for JMS WSDL extensions in Axis 2.0. Code generation for a WSDL service with JMS bindings succeeds, but the client stub is missing a default JMS endpoint reference, and transport elements and appropriate properties from <jms:address> should be placed into the generated services.xml file.
> To do this, the appropriate extension elements for JMS in the WSDL must be recognized. This requires adding them to WSDL4J's extensibility mechanism. The appropriate implementations already exist in the Apache WSIF project: http://ws.apache.org/wsif/providers/wsdl_extensions/jms_extension.html.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (AXIS2-1381) Need to enhance code generation from WSDL to support JMS extensions

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

Davanum Srinivas updated AXIS2-1381:
------------------------------------

    Assignee:     (was: Davanum Srinivas)

> Need to enhance code generation from WSDL to support JMS extensions
> -------------------------------------------------------------------
>
>                 Key: AXIS2-1381
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1381
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.1
>         Environment: All
>            Reporter: Brennan Spies
>         Attachments: files.zip, patch.zip
>
>
> Currently, there is no support for JMS WSDL extensions in Axis 2.0. Code generation for a WSDL service with JMS bindings succeeds, but the client stub is missing a default JMS endpoint reference, and transport elements and appropriate properties from <jms:address> should be placed into the generated services.xml file.
> To do this, the appropriate extension elements for JMS in the WSDL must be recognized. This requires adding them to WSDL4J's extensibility mechanism. The appropriate implementations already exist in the Apache WSIF project: http://ws.apache.org/wsif/providers/wsdl_extensions/jms_extension.html.

-- 
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-1381) Need to enhance code generation from WSDL to support JMS extensions

Posted by "Brennan Spies (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1381?page=all ]

Brennan Spies updated AXIS2-1381:
---------------------------------

    Attachment: files.zip

Example files to use.

> Need to enhance code generation from WSDL to support JMS extensions
> -------------------------------------------------------------------
>
>                 Key: AXIS2-1381
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1381
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.1
>         Environment: All
>            Reporter: Brennan Spies
>         Attachments: files.zip
>
>
> Currently, there is no support for JMS WSDL extensions in Axis 2.0. Code generation for a WSDL service with JMS bindings succeeds, but the client stub is missing a default JMS endpoint reference, and transport elements and appropriate properties from <jms:address> should be placed into the generated services.xml file.
> To do this, the appropriate extension elements for JMS in the WSDL must be recognized. This requires adding them to WSDL4J's extensibility mechanism. The appropriate implementations already exist in the Apache WSIF project: http://ws.apache.org/wsif/providers/wsdl_extensions/jms_extension.html.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2-1381) Need to enhance code generation from WSDL to support JMS extensions

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1381?page=comments#action_12444288 ] 
            
Davanum Srinivas commented on AXIS2-1381:
-----------------------------------------

sounds good. yes please.

> Need to enhance code generation from WSDL to support JMS extensions
> -------------------------------------------------------------------
>
>                 Key: AXIS2-1381
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1381
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.1
>         Environment: All
>            Reporter: Brennan Spies
>         Assigned To: Davanum Srinivas
>         Attachments: files.zip
>
>
> Currently, there is no support for JMS WSDL extensions in Axis 2.0. Code generation for a WSDL service with JMS bindings succeeds, but the client stub is missing a default JMS endpoint reference, and transport elements and appropriate properties from <jms:address> should be placed into the generated services.xml file.
> To do this, the appropriate extension elements for JMS in the WSDL must be recognized. This requires adding them to WSDL4J's extensibility mechanism. The appropriate implementations already exist in the Apache WSIF project: http://ws.apache.org/wsif/providers/wsdl_extensions/jms_extension.html.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (AXIS2-1381) Need to enhance code generation from WSDL to support JMS extensions

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

Eran Chinthaka updated AXIS2-1381:
----------------------------------

    Priority: Major  (was: Blocker)

Bring down the priority of the bug as I don't think this is a critical feature for Axis2 1.3. 

> Need to enhance code generation from WSDL to support JMS extensions
> -------------------------------------------------------------------
>
>                 Key: AXIS2-1381
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1381
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.1
>         Environment: All
>            Reporter: Brennan Spies
>            Assignee: Davanum Srinivas
>         Attachments: files.zip, patch.zip
>
>
> Currently, there is no support for JMS WSDL extensions in Axis 2.0. Code generation for a WSDL service with JMS bindings succeeds, but the client stub is missing a default JMS endpoint reference, and transport elements and appropriate properties from <jms:address> should be placed into the generated services.xml file.
> To do this, the appropriate extension elements for JMS in the WSDL must be recognized. This requires adding them to WSDL4J's extensibility mechanism. The appropriate implementations already exist in the Apache WSIF project: http://ws.apache.org/wsif/providers/wsdl_extensions/jms_extension.html.

-- 
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


Re: SOAP 1.2 extensibility elements

Posted by Davanum Srinivas <da...@gmail.com>.
Good catch Brennan!!! we need to fix this ASAP!

-- dims

On 10/29/06, Brennan Spies <br...@sbcglobal.net> wrote:
> One thing that I didn't mention in the JIRA is that I noticed in
> WSDL11ToAxisServiceBuilder that there is code in a few places that handles
> SOAP 1.2 extensibility elements by testing for UnknownExtensibilityElement
> and manually testing for SOAP 1.2 elements (most notably in
> copyExtensibleElements()). As of the current version of WSDL4J (1.6.1),
> possibly earlier, this should be a bug since all of the SOAP 1.2
> extensibility elements are in there, and are registered by the default
> ExtensionRegistry implementation (also by the custom version which I have
> included in the patch).
>
> I didn't address this in the patch since it was specific to JMS support.
>
>
>
> -----Original Message-----
> From: Brennan Spies (JIRA) [mailto:jira@apache.org]
> Sent: Saturday, October 28, 2006 7:02 PM
> To: axis-dev@ws.apache.org
> Subject: [jira] Updated: (AXIS2-1381) Need to enhance code generation from
> WSDL to support JMS extensions
>
>      [ http://issues.apache.org/jira/browse/AXIS2-1381?page=all ]
>
> Brennan Spies updated AXIS2-1381:
> ---------------------------------
>
>     Attachment: patch.zip
>
> This is a patch to fix this issue.
>
> Notes:
>
> 1. Have not dealt with native JMS binding, but the more common use case of
> SOAP JMS binding with a JMS address as the <port> subelement.
>
> 2. See changelog notes on how to set the WSDL4J ExtensionRegistry, so that
> WSDL4J can auto-discover the correct implmentation.
>
>
> Changelog (also included in attachment):
>
> CHANGELOG for JMS extensions patch:
>
> Module: codegen
>
> 1. Added JMS WSDL extensions for WSDL4J from the Apache WSIF project. Minor
> modifications to get them to work with WSDL4J 1.6.1 and Axis 2 (change to
> method call and removal of custom trace logging). To enable them, you must
> use the META-INF/services/ properties file in the attached zip (or use
> System property).
>
> 2. Added two methods, getJmsAttributes(String,Document,Element) and
> getJmsAddress(Port) to AxisServiceBasedMultiLanguageEmitter. Modified
> getServiceElement(string,String,Document) to use these. The result is that
> the custom XML that gets passed to the XSLT is modified with extra
> attributes if jms:address extensibility elements are present.
>
> 3. Modified ServiceXMLTemplate.xsl to detect the extra attributes in #2, and
> generate the <transports> block and appropriate JMS <property> elements.
>
> Module: kernel
>
> 1. Added two custom classes for registering and using extensibility elements
> with WSDL4J, org.apache.axis.wsdl.WSDLExtensionRegistry and AxisWSDLFactory
> (which uses the former).
>
> 2. AxisService2OM. Current version before patch only generates bindings for
> HTTP (SOAP 1.1 and 1.2). I've modified this class to generate SOAP 1.1 and
> 1.2 bindings for each endpoint/transport that is passed into the constructor
> (the String[] urls). Added code to generate the appropriate transport URI to
> the binding, as well as map the appropriate binding to a port.
>
> 3. Fixed a bug where AxisService2OM would generate <soap:body> subelements
> of an operation's fault element rather than the appropriate <soap:fault>.
>
> 4. Added utility method in JMSUtils to convert a jms:address into a
> soap:address of the form
> jms:/topicOrQueue?[property=value]&amp;[property=value]...(entity ref for
> ampersand for valid XML). This is used to set the endpoint on the
> AxisService so that the generated client stub has the correct default
> endpoint.
>
> 5. Added some constants for namespaces, etc.
>
> 6. Added ability to recognize JMSAddress as legitimate element in both
> findSOAPPort() and copyExtensibilityElements() in
> WSDL11ToAxisServiceBuilder.
>
> > Need to enhance code generation from WSDL to support JMS extensions
> > -------------------------------------------------------------------
> >
> >                 Key: AXIS2-1381
> >                 URL: http://issues.apache.org/jira/browse/AXIS2-1381
> >             Project: Apache Axis 2.0 (Axis2)
> >          Issue Type: New Feature
> >          Components: codegen
> >    Affects Versions: 1.1
> >         Environment: All
> >            Reporter: Brennan Spies
> >         Assigned To: Davanum Srinivas
> >         Attachments: files.zip, patch.zip
> >
> >
> > Currently, there is no support for JMS WSDL extensions in Axis 2.0. Code
> generation for a WSDL service with JMS bindings succeeds, but the client
> stub is missing a default JMS endpoint reference, and transport elements and
> appropriate properties from <jms:address> should be placed into the
> generated services.xml file.
> > To do this, the appropriate extension elements for JMS in the WSDL must be
> recognized. This requires adding them to WSDL4J's extensibility mechanism.
> The appropriate implementations already exist in the Apache WSIF project:
> http://ws.apache.org/wsif/providers/wsdl_extensions/jms_extension.html.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

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


SOAP 1.2 extensibility elements

Posted by Brennan Spies <br...@sbcglobal.net>.
One thing that I didn't mention in the JIRA is that I noticed in
WSDL11ToAxisServiceBuilder that there is code in a few places that handles
SOAP 1.2 extensibility elements by testing for UnknownExtensibilityElement
and manually testing for SOAP 1.2 elements (most notably in
copyExtensibleElements()). As of the current version of WSDL4J (1.6.1),
possibly earlier, this should be a bug since all of the SOAP 1.2
extensibility elements are in there, and are registered by the default
ExtensionRegistry implementation (also by the custom version which I have
included in the patch).

I didn't address this in the patch since it was specific to JMS support. 



-----Original Message-----
From: Brennan Spies (JIRA) [mailto:jira@apache.org] 
Sent: Saturday, October 28, 2006 7:02 PM
To: axis-dev@ws.apache.org
Subject: [jira] Updated: (AXIS2-1381) Need to enhance code generation from
WSDL to support JMS extensions

     [ http://issues.apache.org/jira/browse/AXIS2-1381?page=all ]

Brennan Spies updated AXIS2-1381:
---------------------------------

    Attachment: patch.zip

This is a patch to fix this issue.

Notes:

1. Have not dealt with native JMS binding, but the more common use case of
SOAP JMS binding with a JMS address as the <port> subelement.

2. See changelog notes on how to set the WSDL4J ExtensionRegistry, so that
WSDL4J can auto-discover the correct implmentation.


Changelog (also included in attachment):

CHANGELOG for JMS extensions patch:

Module: codegen

1. Added JMS WSDL extensions for WSDL4J from the Apache WSIF project. Minor
modifications to get them to work with WSDL4J 1.6.1 and Axis 2 (change to
method call and removal of custom trace logging). To enable them, you must
use the META-INF/services/ properties file in the attached zip (or use
System property).

2. Added two methods, getJmsAttributes(String,Document,Element) and
getJmsAddress(Port) to AxisServiceBasedMultiLanguageEmitter. Modified
getServiceElement(string,String,Document) to use these. The result is that
the custom XML that gets passed to the XSLT is modified with extra
attributes if jms:address extensibility elements are present.

3. Modified ServiceXMLTemplate.xsl to detect the extra attributes in #2, and
generate the <transports> block and appropriate JMS <property> elements.

Module: kernel

1. Added two custom classes for registering and using extensibility elements
with WSDL4J, org.apache.axis.wsdl.WSDLExtensionRegistry and AxisWSDLFactory
(which uses the former).

2. AxisService2OM. Current version before patch only generates bindings for
HTTP (SOAP 1.1 and 1.2). I've modified this class to generate SOAP 1.1 and
1.2 bindings for each endpoint/transport that is passed into the constructor
(the String[] urls). Added code to generate the appropriate transport URI to
the binding, as well as map the appropriate binding to a port.

3. Fixed a bug where AxisService2OM would generate <soap:body> subelements
of an operation's fault element rather than the appropriate <soap:fault>.

4. Added utility method in JMSUtils to convert a jms:address into a
soap:address of the form
jms:/topicOrQueue?[property=value]&amp;[property=value]...(entity ref for
ampersand for valid XML). This is used to set the endpoint on the
AxisService so that the generated client stub has the correct default
endpoint.

5. Added some constants for namespaces, etc.

6. Added ability to recognize JMSAddress as legitimate element in both
findSOAPPort() and copyExtensibilityElements() in
WSDL11ToAxisServiceBuilder.

> Need to enhance code generation from WSDL to support JMS extensions
> -------------------------------------------------------------------
>
>                 Key: AXIS2-1381
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1381
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.1
>         Environment: All
>            Reporter: Brennan Spies
>         Assigned To: Davanum Srinivas
>         Attachments: files.zip, patch.zip
>
>
> Currently, there is no support for JMS WSDL extensions in Axis 2.0. Code
generation for a WSDL service with JMS bindings succeeds, but the client
stub is missing a default JMS endpoint reference, and transport elements and
appropriate properties from <jms:address> should be placed into the
generated services.xml file.
> To do this, the appropriate extension elements for JMS in the WSDL must be
recognized. This requires adding them to WSDL4J's extensibility mechanism.
The appropriate implementations already exist in the Apache WSIF project:
http://ws.apache.org/wsif/providers/wsdl_extensions/jms_extension.html.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


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


[jira] Updated: (AXIS2-1381) Need to enhance code generation from WSDL to support JMS extensions

Posted by "Brennan Spies (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1381?page=all ]

Brennan Spies updated AXIS2-1381:
---------------------------------

    Attachment: patch.zip

This is a patch to fix this issue.

Notes:

1. Have not dealt with native JMS binding, but the more common use case of SOAP JMS binding with a JMS address as the <port> subelement.

2. See changelog notes on how to set the WSDL4J ExtensionRegistry, so that WSDL4J can auto-discover the correct implmentation.


Changelog (also included in attachment):

CHANGELOG for JMS extensions patch:

Module: codegen

1. Added JMS WSDL extensions for WSDL4J from the Apache WSIF project. Minor modifications to get them to work with WSDL4J 1.6.1 and Axis 2 (change to method call and removal of custom trace logging). To enable them, you must use the META-INF/services/ properties file in the attached zip (or use System property).

2. Added two methods, getJmsAttributes(String,Document,Element) and getJmsAddress(Port) to AxisServiceBasedMultiLanguageEmitter. Modified getServiceElement(string,String,Document) to use these. The result is that the custom XML that gets passed to the XSLT is modified with extra attributes if jms:address extensibility elements are present.

3. Modified ServiceXMLTemplate.xsl to detect the extra attributes in #2, and generate the <transports> block and appropriate JMS <property> elements.

Module: kernel

1. Added two custom classes for registering and using extensibility elements with WSDL4J, org.apache.axis.wsdl.WSDLExtensionRegistry and AxisWSDLFactory (which uses the former).

2. AxisService2OM. Current version before patch only generates bindings for HTTP (SOAP 1.1 and 1.2). I've modified this class to generate SOAP 1.1 and 1.2 bindings for each endpoint/transport that is passed into the constructor (the String[] urls). Added code to generate the appropriate transport URI to the binding, as well as map the appropriate binding to a port.

3. Fixed a bug where AxisService2OM would generate <soap:body> subelements of an operation's fault element rather than the appropriate <soap:fault>.

4. Added utility method in JMSUtils to convert a jms:address into a soap:address of the form jms:/topicOrQueue?[property=value]&amp;[property=value]...(entity ref for ampersand for valid XML). This is used to set the endpoint on the AxisService so that the generated client stub has the correct default endpoint.

5. Added some constants for namespaces, etc.

6. Added ability to recognize JMSAddress as legitimate element in both findSOAPPort() and copyExtensibilityElements() in WSDL11ToAxisServiceBuilder.

> Need to enhance code generation from WSDL to support JMS extensions
> -------------------------------------------------------------------
>
>                 Key: AXIS2-1381
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1381
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.1
>         Environment: All
>            Reporter: Brennan Spies
>         Assigned To: Davanum Srinivas
>         Attachments: files.zip, patch.zip
>
>
> Currently, there is no support for JMS WSDL extensions in Axis 2.0. Code generation for a WSDL service with JMS bindings succeeds, but the client stub is missing a default JMS endpoint reference, and transport elements and appropriate properties from <jms:address> should be placed into the generated services.xml file.
> To do this, the appropriate extension elements for JMS in the WSDL must be recognized. This requires adding them to WSDL4J's extensibility mechanism. The appropriate implementations already exist in the Apache WSIF project: http://ws.apache.org/wsif/providers/wsdl_extensions/jms_extension.html.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (AXIS2-1381) Need to enhance code generation from WSDL to support JMS extensions

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

Deepal Jayasinghe updated AXIS2-1381:
-------------------------------------

    Priority: Blocker  (was: Major)

Let's try to do this for 1.3 

> Need to enhance code generation from WSDL to support JMS extensions
> -------------------------------------------------------------------
>
>                 Key: AXIS2-1381
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1381
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.1
>         Environment: All
>            Reporter: Brennan Spies
>            Assignee: Davanum Srinivas
>            Priority: Blocker
>         Attachments: files.zip, patch.zip
>
>
> Currently, there is no support for JMS WSDL extensions in Axis 2.0. Code generation for a WSDL service with JMS bindings succeeds, but the client stub is missing a default JMS endpoint reference, and transport elements and appropriate properties from <jms:address> should be placed into the generated services.xml file.
> To do this, the appropriate extension elements for JMS in the WSDL must be recognized. This requires adding them to WSDL4J's extensibility mechanism. The appropriate implementations already exist in the Apache WSIF project: http://ws.apache.org/wsif/providers/wsdl_extensions/jms_extension.html.

-- 
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] Commented: (AXIS2-1381) Need to enhance code generation from WSDL to support JMS extensions

Posted by "Brennan Spies (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1381?page=comments#action_12445051 ] 
            
Brennan Spies commented on AXIS2-1381:
--------------------------------------

I'm putting the finishing touches on the patch, and am getting ready to test it. A few issues I've run across...

1. In revamping the org.apache.axis2.description.AxisServiceOM class to handle different protocol bindings (so that JMS can be included), I've realized that SMTP and TCP have no standard uri for <soap:binding transport="uri"/>. What to do in this case? Put in a dummy URI, similar to the example in the WSDL 1.1 spec? Or exclude the 'transport' attribute?

2. WSDL4J's ExtensionRegistry was not really designed with reusability in mind. So I've added a class that will register all of the appropriate WSDL 1.1 extensibility elements and the JMS stuff. In order to get this to work, we also need a WSDLFactory impl that will reference it, and some mechanism for WSDL4J discovering this impl. System property (javax.wsdl.WSDLFactory=...) would be the easiest, but has two issues: 1) there doesn't seem to be a natural "choke point" to add this line of code in Axis 2, so it would have to be in multiple places 2) In managed environments, having a System property set might cause issues with other apps that are sharing the JVM. The other approach is to put a properties file under META-INF/services/ for each jar that uses WSDL4J's WSDLFactory. Which approach do you prefer?

Brennan

> Need to enhance code generation from WSDL to support JMS extensions
> -------------------------------------------------------------------
>
>                 Key: AXIS2-1381
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1381
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.1
>         Environment: All
>            Reporter: Brennan Spies
>         Assigned To: Davanum Srinivas
>         Attachments: files.zip
>
>
> Currently, there is no support for JMS WSDL extensions in Axis 2.0. Code generation for a WSDL service with JMS bindings succeeds, but the client stub is missing a default JMS endpoint reference, and transport elements and appropriate properties from <jms:address> should be placed into the generated services.xml file.
> To do this, the appropriate extension elements for JMS in the WSDL must be recognized. This requires adding them to WSDL4J's extensibility mechanism. The appropriate implementations already exist in the Apache WSIF project: http://ws.apache.org/wsif/providers/wsdl_extensions/jms_extension.html.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Resolved: (AXIS2-1381) Need to enhance code generation from WSDL to support JMS extensions

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

Asankha C. Perera resolved AXIS2-1381.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.1

This issue is very old.. AFAIK this is working with 1.4.x etc..please feel free to re-open if there is any issue pending

> Need to enhance code generation from WSDL to support JMS extensions
> -------------------------------------------------------------------
>
>                 Key: AXIS2-1381
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1381
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.1
>         Environment: All
>            Reporter: Brennan Spies
>             Fix For: 1.4.1
>
>         Attachments: files.zip, patch.zip
>
>
> Currently, there is no support for JMS WSDL extensions in Axis 2.0. Code generation for a WSDL service with JMS bindings succeeds, but the client stub is missing a default JMS endpoint reference, and transport elements and appropriate properties from <jms:address> should be placed into the generated services.xml file.
> To do this, the appropriate extension elements for JMS in the WSDL must be recognized. This requires adding them to WSDL4J's extensibility mechanism. The appropriate implementations already exist in the Apache WSIF project: http://ws.apache.org/wsif/providers/wsdl_extensions/jms_extension.html.

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


[jira] Commented: (AXIS2-1381) Need to enhance code generation from WSDL to support JMS extensions

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1381?page=comments#action_12445444 ] 
            
Davanum Srinivas commented on AXIS2-1381:
-----------------------------------------

Brennan,

Thanks a ton for your help. I just fixed "3. Fixed a bug where AxisService2OM would generate <soap:body> subelements of an operation's fault element rather than the appropriate <soap:fault>. " in the 1.1 branch. 

I think we may need to move the jms-ext classes somewhere else, may be ws-commons. Give us a bit of time to figure this out. I may need your help merging stuff once we get 1.1 final out 

thanks in advance,
dims


> Need to enhance code generation from WSDL to support JMS extensions
> -------------------------------------------------------------------
>
>                 Key: AXIS2-1381
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1381
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.1
>         Environment: All
>            Reporter: Brennan Spies
>         Assigned To: Davanum Srinivas
>         Attachments: files.zip, patch.zip
>
>
> Currently, there is no support for JMS WSDL extensions in Axis 2.0. Code generation for a WSDL service with JMS bindings succeeds, but the client stub is missing a default JMS endpoint reference, and transport elements and appropriate properties from <jms:address> should be placed into the generated services.xml file.
> To do this, the appropriate extension elements for JMS in the WSDL must be recognized. This requires adding them to WSDL4J's extensibility mechanism. The appropriate implementations already exist in the Apache WSIF project: http://ws.apache.org/wsif/providers/wsdl_extensions/jms_extension.html.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


RE: [jira] Commented: (AXIS2-1381) Need to enhance code generationfrom WSDL to support JMS extensions

Posted by Brennan Spies <br...@sbcglobal.net>.
See comments.

-----Original Message-----
From: Sanjiva Weerawarana [mailto:sanjiva@opensource.lk] 
Sent: Sunday, October 29, 2006 8:04 PM
To: axis-dev@ws.apache.org
Subject: Re: [jira] Commented: (AXIS2-1381) Need to enhance code
generationfrom WSDL to support JMS extensions

On Sun, 2006-10-29 at 19:57 -0800, Brennan Spies (JIRA) wrote:
>     [
http://issues.apache.org/jira/browse/AXIS2-1381?page=comments#action_1244548
9 ] 
>             
> Brennan Spies commented on AXIS2-1381:
> --------------------------------------
> 
> No problem. Glad to be of help. I personally would not mind getting
>  more actively involved with the project, if you need the extra pair of
>  hands (and eyes).

> ABSOLUTELY! We can always use help .. and especially on the JMS front
> and related codegen fronts.

Sure--sign me up! I would not mind helping out. I would not mind (also)
enhancing the code generator to generate service groups rather than a single
service from the WSDL. I think this would be perceived by end users as a
positive thing.

> The jms-ext.jar probably belongs in the WSDL4J project itself, but it's
>  beyond my jurisdiction to say so. Short of that, ws-commons is
>  probably a good place for it. Someone should probably ping the owners
>  of WSIF to see if they want to carve that piece out and move it there.
>  But I'll let you guys focus on the 1.1 release, since I know it's
>  crunch time for you. Get in touch with me when you are ready.

> I'm one of the WSIF folks and its sort of slow/sleeping now. I have been
> working on bringing that function to Axis2 and have most of it working.
> More on that soon I hope. 

That's too bad about WSIF, it had some interesting potential, especially in
the ESB-based SOA concept. It will be interesting to see how it can
integrate with Axis 2.

> I'd be fine with bringing that code into Axis2 for now and then figuring
> it out as we go forward.

Sanjiva.



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


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


Re: [jira] Commented: (AXIS2-1381) Need to enhance code generation from WSDL to support JMS extensions

Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
On Sun, 2006-10-29 at 19:57 -0800, Brennan Spies (JIRA) wrote:
>     [ http://issues.apache.org/jira/browse/AXIS2-1381?page=comments#action_12445489 ] 
>             
> Brennan Spies commented on AXIS2-1381:
> --------------------------------------
> 
> No problem. Glad to be of help. I personally would not mind getting
>  more actively involved with the project, if you need the extra pair of
>  hands (and eyes).

ABSOLUTELY! We can always use help .. and especially on the JMS front
and related codegen fronts.

> The jms-ext.jar probably belongs in the WSDL4J project itself, but it's
>  beyond my jurisdiction to say so. Short of that, ws-commons is
>  probably a good place for it. Someone should probably ping the owners
>  of WSIF to see if they want to carve that piece out and move it there.
>  But I'll let you guys focus on the 1.1 release, since I know it's
>  crunch time for you. Get in touch with me when you are ready.

I'm one of the WSIF folks and its sort of slow/sleeping now. I have been
working on bringing that function to Axis2 and have most of it working.
More on that soon I hope. 

I'd be fine with bringing that code into Axis2 for now and then figuring
it out as we go forward.

Sanjiva.



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


[jira] Commented: (AXIS2-1381) Need to enhance code generation from WSDL to support JMS extensions

Posted by "Brennan Spies (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1381?page=comments#action_12445489 ] 
            
Brennan Spies commented on AXIS2-1381:
--------------------------------------

No problem. Glad to be of help. I personally would not mind getting more actively involved with the project, if you need the extra pair of hands (and eyes).

The jms-ext.jar probably belongs in the WSDL4J project itself, but it's beyond my jurisdiction to say so. Short of that, ws-commons is probably a good place for it. Someone should probably ping the owners of WSIF to see if they want to carve that piece out and move it there. But I'll let you guys focus on the 1.1 release, since I know it's crunch time for you. Get in touch with me when you are ready.

> Need to enhance code generation from WSDL to support JMS extensions
> -------------------------------------------------------------------
>
>                 Key: AXIS2-1381
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1381
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.1
>         Environment: All
>            Reporter: Brennan Spies
>         Assigned To: Davanum Srinivas
>         Attachments: files.zip, patch.zip
>
>
> Currently, there is no support for JMS WSDL extensions in Axis 2.0. Code generation for a WSDL service with JMS bindings succeeds, but the client stub is missing a default JMS endpoint reference, and transport elements and appropriate properties from <jms:address> should be placed into the generated services.xml file.
> To do this, the appropriate extension elements for JMS in the WSDL must be recognized. This requires adding them to WSDL4J's extensibility mechanism. The appropriate implementations already exist in the Apache WSIF project: http://ws.apache.org/wsif/providers/wsdl_extensions/jms_extension.html.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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