cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-7130) Maven plugin to invoke SOAP service
Date Wed, 09 Nov 2016 17:52:58 GMT

    [ https://issues.apache.org/jira/browse/CXF-7130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15651569#comment-15651569
] 

ASF GitHub Bot commented on CXF-7130:
-------------------------------------

GitHub user zregvart opened a pull request:

    https://github.com/apache/cxf/pull/192

    CXF-7130  Maven plugin to invoke SOAP service

    I needed a Maven plugin that would allow me to invoke SOAP service as a part of Maven
lifecycle so I implemented one, and I'm hoping that you can include it in CXF.
    
    The plugin has the functionality of calling SOAP service given a WSDL, port, service,
operation, request body and optional SOAP headers. Additionally Maven project properties can
be set from the response using XPath expressions and additional XPath expression can be used
to determine if the request needs to be repeated.
    
    This is a minimal implementation that I needed for my use-case, hope you find it useful
and that it can be incorporated in CXF.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zregvart/cxf master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cxf/pull/192.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #192
    
----
commit 23e5f76645e1dffb5253103c3a100187ccfd16da
Author: Zoran Regvart <zregvart@redhat.com>
Date:   2016-11-03T12:07:28Z

    Initial plugin version

commit cd5a0bedb8981b763cd282d5265f18301a42970f
Author: Zoran Regvart <zregvart+github@gmail.com>
Date:   2016-11-03T12:28:50Z

    Created README.md

commit ae9195f0ed634910e65f292f366c65814b48d4fa
Author: Zoran Regvart <zregvart@redhat.com>
Date:   2016-11-06T12:42:04Z

    Extract properties out of SOAP responses
    
    Properties are extracted using XPATH expressions, and set in the Maven
    project properties, so they can be used in the rest of the build.

commit 999c60571bd2aa309e0f5c8e16967d8e3ff242a8
Author: Zoran Regvart <zregvart@redhat.com>
Date:   2016-11-06T13:02:25Z

    Added Maven Wrapper (mvnw)

commit 9d7317ef7734978e8ec0b502b1e0514a55bbd8f7
Author: Zoran Regvart <zregvart@redhat.com>
Date:   2016-11-06T13:08:14Z

    Added Travis CI integration

commit b30f98f90a68434af1a47ae0c3097874eac5eeec
Author: Zoran Regvart <zregvart@redhat.com>
Date:   2016-11-06T13:35:04Z

    Make `portName` optional if there is only one port in WSDL

commit df4e7bfc221f5bb808819e1bc76871c79bc6a54e
Author: Zoran Regvart <zregvart@redhat.com>
Date:   2016-11-06T14:15:05Z

    Allow SOAP endpoint override

commit 59415eac553802a116d7f08e3a29c636e6a2a0ce
Author: Zoran Regvart <zregvart@redhat.com>
Date:   2016-11-06T15:45:01Z

    Implement CXF native debug logging it's nicer and more verbose

commit 4fbc3dd5060fa2abb083cb8260fc52c61f0263c5
Author: Zoran Regvart <zoran@regvart.com>
Date:   2016-11-07T14:11:20Z

    Support for SOAP headers, reworked XML parameters, repeat functionality
    
    Added support for SOAP headers, while adding found out that XML
    parameters where a bad fit in previous concept, so implemented custom
    converter to extract XML as Strings from Maven configuration.
    
    SOAP headers can be now specified using `headers` property.
    
    Request will be repeated if `repeatUntil` XPath expression is defined
    and returns `true`, `repeatInterval` (default 5 sec) can be used to
    change the frequency of the repetition.

commit 1515a5840ead9731c7a42711f53b83550ec1e514
Author: Zoran Regvart <zoran@regvart.com>
Date:   2016-11-09T12:14:25Z

    Documentation, code cleanup and tests

commit 130d65d3f0481cbcf1a8ad1dae448a6f3f5625fa
Author: Zoran Regvart <zregvart@redhat.com>
Date:   2016-11-09T16:12:12Z

    Moved cxf-invoke-plugin to maven-plugins/invoke-plugin

commit 69de22055e43e6b33296b89c91463d1fe86381df
Author: Zoran Regvart <zregvart@redhat.com>
Date:   2016-11-09T16:12:37Z

    Merge branch 'invoke-plugin'

commit 249c0177259ceea004d580ecdf26d958b3ff2762
Author: Zoran Regvart <zregvart@redhat.com>
Date:   2016-11-09T16:14:33Z

    Added cxf-invoke-plugin to cxf-maven-plugins as module

commit 656fe5ff5d49d8806af24a6acdb9f08f5f0ee8d0
Author: Zoran Regvart <zregvart@redhat.com>
Date:   2016-11-09T17:32:45Z

    Maven CXF Invoke plugin POM tidy up

----


> Maven plugin to invoke SOAP service
> -----------------------------------
>
>                 Key: CXF-7130
>                 URL: https://issues.apache.org/jira/browse/CXF-7130
>             Project: CXF
>          Issue Type: Improvement
>          Components: Tooling
>    Affects Versions: 3.2.0
>         Environment: Any
>            Reporter: Zoran Regvart
>            Priority: Minor
>
> I needed a Maven plugin that would allow me to invoke SOAP service as a part of Maven
lifecycle so I implemented one, and I'm hoping that you can include it in CXF.
> The plugin has the functionality of calling SOAP service given a WSDL, port, service,
operation, request body and optional SOAP headers. Additionally Maven project properties can
be set from the response using XPath expressions and additional XPath expression can be used
to determine if the request needs to be repeated.
> This is a minimal implementation that I needed for my use-case, hope you find it useful
and that it can be incorporated in CXF.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message