View Javadoc

1   /*
2    * $Id: FixedWsdlWSProxyTestCase.java 21683 2011-04-14 22:07:56Z ddossot $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.module.ws.construct;
12  
13  import java.net.InetAddress;
14  import java.util.Collections;
15  
16  import org.mule.api.endpoint.OutboundEndpoint;
17  
18  public class FixedWsdlWSProxyTestCase extends AbstractWSProxyTestCase
19  {
20      @SuppressWarnings("unchecked")
21      @Override
22      protected WSProxy newWSProxy(final OutboundEndpoint testOutboundEndpoint) throws Exception
23      {
24          return new WSProxy("fixed-wsdl-ws-proxy", muleContext, directInboundMessageSource,
25              testOutboundEndpoint, Collections.EMPTY_LIST, Collections.EMPTY_LIST,
26              "fake_wsdl " + InetAddress.getLocalHost().getHostName());
27      }
28  }