cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "asic (JIRA)" <>
Subject [jira] [Commented] (CXF-6218) CXF client not use proxy server
Date Thu, 22 Jan 2015 16:20:34 GMT


asic commented on CXF-6218:

The helloworld WSDL : 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions xmlns:apachesoap="" xmlns:impl=""
xmlns:intf="" xmlns:wsdl=""
xmlns:wsdlsoap="" xmlns:xsd=""
  <schema xmlns="" elementFormDefault="qualified" targetNamespace="">
   <element name="sayHello">
      <element name="name" type="xsd:string"/>
   <element name="sayHelloResponse">
      <element name="sayHelloReturn" type="xsd:string"/>
   <wsdl:message name="sayHelloResponse">
      <wsdl:part element="impl:sayHelloResponse" name="parameters">
   <wsdl:message name="sayHelloRequest">
      <wsdl:part element="impl:sayHello" name="parameters">
   <wsdl:portType name="HelloWorld">
      <wsdl:operation name="sayHello">
         <wsdl:input message="impl:sayHelloRequest" name="sayHelloRequest">
         <wsdl:output message="impl:sayHelloResponse" name="sayHelloResponse">

   <wsdl:binding name="HelloWorldSoapBinding" type="impl:HelloWorld">
      <wsdlsoap:binding style="document" transport=""/>
      <wsdl:operation name="sayHello">
         <wsdlsoap:operation soapAction=""/>
         <wsdl:input name="sayHelloRequest">
            <wsdlsoap:body use="literal"/>
         <wsdl:output name="sayHelloResponse">
            <wsdlsoap:body use="literal"/>

   <wsdl:service name="HelloWorldService">
      <wsdl:port binding="impl:HelloWorldSoapBinding" name="HelloWorld">
         <wsdlsoap:address location="http://localhost:8080/WebService/services/HelloWorld"/>


> CXF client not use proxy server
> -------------------------------
>                 Key: CXF-6218
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.7.11
>         Environment: windows 7, Java 1.6.0_45
>            Reporter: asic
>              Labels: proxy, sll
>             Fix For: 2.7.15
> We have a CXF (2.7.x) client (see code below) in a Java 1.6.0_45 application.
> The CXF client calls a Soap WS through a proxy server.
> Despite all our efforts, that CXF client performs some requests directly to the WS bypassing
the proxy (spy with wireshark).
> The only solution for the moment is to force proxy on the JVM options.
> But this solution is not acceptable.
> To reproduce the problem, we create the following elements : 
> - create a mock server with soapui 5.0.0
> - launch ccproxy (our proxy server)
> - execute the client
> - spy all with wireshark

This message was sent by Atlassian JIRA

View raw message