Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DD9F2200BCB for ; Wed, 9 Nov 2016 18:53:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id DC84A160AEB; Wed, 9 Nov 2016 17:53:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3768D160AFA for ; Wed, 9 Nov 2016 18:53:00 +0100 (CET) Received: (qmail 97343 invoked by uid 500); 9 Nov 2016 17:52:59 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 97096 invoked by uid 99); 9 Nov 2016 17:52:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2016 17:52:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E2F662C1F54 for ; Wed, 9 Nov 2016 17:52:58 +0000 (UTC) Date: Wed, 9 Nov 2016 17:52:58 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-7130) Maven plugin to invoke SOAP service MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 09 Nov 2016 17:53:01 -0000 [ 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 Date: 2016-11-03T12:07:28Z Initial plugin version commit cd5a0bedb8981b763cd282d5265f18301a42970f Author: Zoran Regvart Date: 2016-11-03T12:28:50Z Created README.md commit ae9195f0ed634910e65f292f366c65814b48d4fa Author: Zoran Regvart 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 Date: 2016-11-06T13:02:25Z Added Maven Wrapper (mvnw) commit 9d7317ef7734978e8ec0b502b1e0514a55bbd8f7 Author: Zoran Regvart Date: 2016-11-06T13:08:14Z Added Travis CI integration commit b30f98f90a68434af1a47ae0c3097874eac5eeec Author: Zoran Regvart Date: 2016-11-06T13:35:04Z Make `portName` optional if there is only one port in WSDL commit df4e7bfc221f5bb808819e1bc76871c79bc6a54e Author: Zoran Regvart Date: 2016-11-06T14:15:05Z Allow SOAP endpoint override commit 59415eac553802a116d7f08e3a29c636e6a2a0ce Author: Zoran Regvart Date: 2016-11-06T15:45:01Z Implement CXF native debug logging it's nicer and more verbose commit 4fbc3dd5060fa2abb083cb8260fc52c61f0263c5 Author: Zoran Regvart 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 Date: 2016-11-09T12:14:25Z Documentation, code cleanup and tests commit 130d65d3f0481cbcf1a8ad1dae448a6f3f5625fa Author: Zoran Regvart Date: 2016-11-09T16:12:12Z Moved cxf-invoke-plugin to maven-plugins/invoke-plugin commit 69de22055e43e6b33296b89c91463d1fe86381df Author: Zoran Regvart Date: 2016-11-09T16:12:37Z Merge branch 'invoke-plugin' commit 249c0177259ceea004d580ecdf26d958b3ff2762 Author: Zoran Regvart Date: 2016-11-09T16:14:33Z Added cxf-invoke-plugin to cxf-maven-plugins as module commit 656fe5ff5d49d8806af24a6acdb9f08f5f0ee8d0 Author: Zoran Regvart 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)