You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Dennis Sosnoski (JIRA)" <ji...@apache.org> on 2007/07/14 09:57:04 UTC

[jira] Resolved: (AXIS2-2686) setting MC_GZIP_REQUEST to true with Jibx databinding framework

     [ https://issues.apache.org/jira/browse/AXIS2-2686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Sosnoski resolved AXIS2-2686.
------------------------------------

    Resolution: Cannot Reproduce

Tried setting this option for both ADB and JiBX:

        stub._getServiceClient().getOptions().setProperty(HTTPConstants.MC_GZIP_REQUEST, Boolean.TRUE);

worked as expected for both data bindings. I suggest you try setting the option directly rather than through Spring, and check the behavior that way. If you can recreate the problem without going through Spring, please upload the sample.

> setting MC_GZIP_REQUEST to true with Jibx databinding framework
> ---------------------------------------------------------------
>
>                 Key: AXIS2-2686
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2686
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.1.1
>            Reporter: Paul Mahoney
>            Assignee: Dennis Sosnoski
>            Priority: Minor
>         Attachments: XmlSelectConnection.java
>
>
> If have set MC_GZIP_REQUEST to true, but on looking at the "httpclient.wire" logger I find the contents have not been zipped.
> I'm using the jibx framework [org.apache.axis2.wsdl.WSDL2Java-d jibx].
> What have I forgotten, or is this a bug?
> Log snippet:
> DEBUG [httpclient.wire.header] | >> "POST /B2BGateway/service/XMLSelect HTTP/1.1[\r][\n]"^M
> DEBUG [httpclient.wire.header] | >> "SOAPAction: "http://webservices.galileo.com/SubmitXml"[\r][\n]"^M
> DEBUG [httpclient.wire.header] | >> "User-Agent: Axis2[\r][\n]"^M
> DEBUG [httpclient.wire.header] | >> "Accept-Encoding: gzip[\r][\n]"^M
> DEBUG [httpclient.wire.header] | >> "Content-Encoding: gzip[\r][\n]"^M
> DEBUG [httpclient.wire.header] | >> "Authorization: Basic UENDNTFMUDp0dmwyNTFscA==[\r][\n]"^M
> DEBUG [httpclient.wire.header] | >> "Host: ws.cendant.com[\r][\n]"^M
> DEBUG [httpclient.wire.header] | >> "Content-Length: 1228[\r][\n]"^M
> DEBUG [httpclient.wire.header] | >> "Content-Type: text/xml; charset=UTF-8[\r][\n]"^M
> DEBUG [httpclient.wire.header] | >> "[\r][\n]"^M
> DEBUG [httpclient.wire.content] | >> "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header /><soapenv:Body><SubmitXml xmlns="http://webservices.galileo.com"><Profile>DynGalileoProd_Y6V</Profile><Request><AirAvailability_7><AirAvailMods><AirVPrefInd><AirVIncExcInd>I</AirVIncExcInd></AirVPrefInd><AirVPrefs><AirVAry><AirVInfo><AirV>BA</AirV></AirVInfo><AirVInfo><AirV>AA</AirV></AirVInfo></AirVAry></AirVPrefs><GenAvail><NumSeats>1</NumSeats><Class>Y</Class><StartDt>20071118</StartDt><StartPt>LHR</StartPt><EndPt>JFK</EndPt><TmWndInd>D</TmWndInd><StartPtInd>A</StartPtInd><EndPtInd>A</EndPtInd><WidenSearchWndInd>N</WidenSearchWndInd><MaxNumFlts>48</MaxNumFlts><IncNonStopDirectsInd>Y</IncNonStopDirectsInd><IncStopDirectsInd>Y</IncStopDirectsInd><IncSingleOnlineConxInd>N</IncSingleOnlineConxInd><IncDoubleOnlineConxInd>N</IncDoubleOnlineConxInd><IncTripleOnlineConxInd>N</IncTripleOnlineConxInd><IncSingleInterlineConxInd>N</IncSingleInterlineConxInd><IncDoubleInterlineConxInd>N</IncDoubleInterlineConxInd><IncTripleInterlineConxInd>N</IncTripleInterlineConxInd></GenAvail></AirAvailMods></AirAvailability_7></Request><Filter><_ /></Filter></SubmitXml></soapenv:Body></soapenv:Envelope>"^M

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org