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

ASF GitHub Bot commented on NIFI-3536:
--------------------------------------

Github user pvillard31 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/1824#discussion_r124473078
  
    --- Diff: 
nifi-nar-bundles/nifi-soap-bundle/nifi-soap-processors/src/test/java/org/apache/nifi/processors/soap/GetSOAPTest.java
 ---
    @@ -0,0 +1,283 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one or more
    + * contributor license agreements.  See the NOTICE file distributed with
    + * this work for additional information regarding copyright ownership.
    + * The ASF licenses this file to You under the Apache License, Version 2.0
    + * (the "License"); you may not use this file except in compliance with
    + * the License.  You may obtain a copy of the License at
    + *
    + *     http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +package org.apache.nifi.processors.soap;
    +
    +import org.apache.axiom.om.OMAbstractFactory;
    +import org.apache.axiom.om.OMElement;
    +import org.apache.axiom.om.OMFactory;
    +import org.apache.axiom.om.OMNamespace;
    +import org.apache.axiom.om.impl.common.OMNamespaceImpl;
    +import org.apache.axiom.om.impl.llom.OMElementImpl;
    +import org.apache.nifi.components.PropertyDescriptor;
    +import org.apache.nifi.processor.Relationship;
    +import org.apache.nifi.util.MockFlowFile;
    +import org.apache.nifi.util.TestRunner;
    +import org.apache.nifi.util.TestRunners;
    +import org.junit.After;
    +import org.junit.AfterClass;
    +import org.junit.Before;
    +import org.junit.BeforeClass;
    +import org.junit.Test;
    +import org.mockserver.integration.ClientAndServer;
    +import org.mockserver.model.HttpCallback;
    +import org.slf4j.Logger;
    +import org.slf4j.LoggerFactory;
    +
    +import java.io.IOException;
    +import java.util.HashMap;
    +import java.util.Iterator;
    +import java.util.List;
    +import java.util.Map;
    +import java.util.Set;
    +
    +import static org.apache.nifi.processors.soap.GetSOAP.REL_SUCCESS;
    +import static 
org.mockserver.integration.ClientAndServer.startClientAndServer;
    +import static org.mockserver.model.HttpRequest.request;
    +import static org.mockserver.model.HttpResponse.response;
    +
    +public class GetSOAPTest {
    +
    +    private static final Logger logger = 
LoggerFactory.getLogger(GetSOAPTest.class);
    +
    +    private TestRunner testRunner;
    +
    +    private static ClientAndServer mockServer;
    +
    +    @BeforeClass
    +    public static void setup() {
    +        mockServer = startClientAndServer(1080);
    --- End diff --
    
    I think we should dynamically choose a port as we are doing in some other 
places instead of selecting 1080. What do you think?


> Add GetSOAP Processor
> ---------------------
>
>                 Key: NIFI-3536
>                 URL: https://issues.apache.org/jira/browse/NIFI-3536
>             Project: Apache NiFi
>          Issue Type: New Feature
>            Reporter: Andrew Psaltis
>            Assignee: Andrew Psaltis
>
> Although it may seem like everyone is now using REST or at least RESTful 
> services there still remains a need for many enterprises to interact with 
> SOAP endpoints. This JIRA is for a new processor that supports interacting 
> with SOAP endpoints.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to