[
https://issues.apache.org/jira/browse/CXF-6218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14287668#comment-14287668
]
asic commented on CXF-6218:
---------------------------
The helloworld WSDL :
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://helloworld.webservice.moodykettle.com"
xmlns:intf="http://helloworld.webservice.moodykettle.com"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://helloworld.webservice.moodykettle.com">
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
targetNamespace="http://helloworld.webservice.moodykettle.com">
<element name="sayHello">
<complexType>
<sequence>
<element name="name" type="xsd:string"/>
</sequence>
</complexType>
</element>
<element name="sayHelloResponse">
<complexType>
<sequence>
<element name="sayHelloReturn" type="xsd:string"/>
</sequence>
</complexType>
</element>
</schema>
</wsdl:types>
<wsdl:message name="sayHelloResponse">
<wsdl:part element="impl:sayHelloResponse" name="parameters">
</wsdl:part>
</wsdl:message>
<wsdl:message name="sayHelloRequest">
<wsdl:part element="impl:sayHello" name="parameters">
</wsdl:part>
</wsdl:message>
<wsdl:portType name="HelloWorld">
<wsdl:operation name="sayHello">
<wsdl:input message="impl:sayHelloRequest" name="sayHelloRequest">
</wsdl:input>
<wsdl:output message="impl:sayHelloResponse" name="sayHelloResponse">
</wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="HelloWorldSoapBinding" type="impl:HelloWorld">
<wsdlsoap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="sayHello">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="sayHelloRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="sayHelloResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="HelloWorldService">
<wsdl:port binding="impl:HelloWorldSoapBinding" name="HelloWorld">
<wsdlsoap:address
location="http://localhost:8080/WebService/services/HelloWorld"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
> CXF client not use proxy server
> -------------------------------
>
> Key: CXF-6218
> URL: https://issues.apache.org/jira/browse/CXF-6218
> 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
(v6.3.4#6332)