I generated the stubs using the WSDLToJava tool. Sangita Pandit 728 1606
________________________________ From: keith chapman [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2008 11:47 AM To: [email protected] Subject: Re: Error "HTTP :unsupported content-encoding of 'identity' found" Hi, How did you write the client for this service? Did you use ServiceClient API or did you use a generated stub? Thanks, Keith. On Mon, Sep 29, 2008 at 8:26 PM, <[EMAIL PROTECTED]> wrote: I am getting this error when webservice client is trying to make a call to the webservice method. I am using the released version of Axis2 1.4.1. See stack trace here org.apache.axis2.AxisFault: HTTP :unsupported content-encoding of 'identity' found at org.apache.axis2.transport.http.AbstractHTTPSender.processResponse(Abstr actHTTPSender.java:223) at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.jav a:265) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:1 90) at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageW ithCommons(CommonsHTTPTransportSender.java:371) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Common sHTTPTransportSender.java:209) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper ation.java:401) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA xisOperation.java:228) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163 ) at com.dell.gmfs.backlog.cdas.OrderStatusServiceStub.Extract(OrderStatusSer viceStub.java:1056) at com.dell.gmfs.backlog.cdas.OrderStatusServiceTest.testExtract(OrderStatu sServiceTest.java:37) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUn it3TestReference.java:130) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.ja va:38) Please advise what I am doing wrong. I have tried both XMLbean and databinding approach to generate the client code. Thanks Sangita Pandit 728 1606 -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org
