Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4703

connection reset error while trying to access my web service using a port redirect url.

    XMLWordPrintableJSON

    Details

      Description

      Hi I am having a web service running @ http://ecwstest:80/axis2/services/TransactionProcessor. .aar file and the client both are created using eclipse code generator plug-in. .aar file is hosted with axis2.war file on WebSphere server running on a AIX machine. with the above URL my web service is working fine.

      Now I am trying to use a URL created using port redirection entry on our citrix server for DNS name wwwtest.powert.com. I am able to view the service bound to url http://wwwtest.powert.com/axis2/services/TransactionProcessor under services list http://wwwtest.powert.com/axis2/services/listServices. But when I am trying to call the web service using my java client, I am getting the following exception.

      org.apache.axis2.AxisFault: Connection reset
      at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
      at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193)
      at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
      at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:364)
      at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
      at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)
      at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)
      at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
      at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
      at com.michaels.commerce.client.online.shopping.TransactionProcessorStub.runTransaction(TransactionProcessorStub.java:198)
      at com.michaels.commerce.client.online.shopping.RealStub.main(RealStub.java:118)
      Caused by: java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(SocketInputStream.java:168)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
      at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
      at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
      at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
      at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
      at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
      at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
      at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
      at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
      at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
      at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542)
      at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:189)
      ... 9 more

      my WSDL is

      <?xml version="1.0" encoding="UTF-8" ?>

      • <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ax26="http://advantage.michaels.com/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ax22="http://exception.common.michaels.com/xsd" xmlns:ax21="http://user.commerce.michaels.com/xsd" xmlns:ns="http://shopping.online.client.commerce.michaels.com" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" targetNamespace="http://shopping.online.client.commerce.michaels.com">
        <wsdl:documentation>TransactionProcessor</wsdl:documentation>
      • <wsdl:types>
      • <xs:schema xmlns:ax27="http://exception.common.michaels.com/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://advantage.michaels.com/xsd">
        <xs:import namespace="http://exception.common.michaels.com/xsd" />
      • <xs:complexType name="InvalidZipCodeException">
      • <xs:complexContent>
      • <xs:extension base="ax22:BusinessException">
        <xs:sequence />
        </xs:extension>
        </xs:complexContent>
        </xs:complexType>
        </xs:schema>
      • <xs:schema xmlns:ax23="http://shopping.online.client.commerce.michaels.com" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://exception.common.michaels.com/xsd">
        <xs:import namespace="http://shopping.online.client.commerce.michaels.com" />
      • <xs:complexType name="BusinessException">
      • <xs:complexContent>
      • <xs:extension base="ns:Exception">
        <xs:sequence />
        </xs:extension>
        </xs:complexContent>
        </xs:complexType>
        </xs:schema>
      • <xs:schema xmlns:ax24="http://exception.common.michaels.com/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://user.commerce.michaels.com/xsd">
        <xs:import namespace="http://exception.common.michaels.com/xsd" />
      • <xs:complexType name="DuplicateAddressNickNameException">
      • <xs:complexContent>
      • <xs:extension base="ax22:BusinessException">
        <xs:sequence />
        </xs:extension>
        </xs:complexContent>
        </xs:complexType>
        </xs:schema>
      • <xs:schema xmlns:ax28="http://advantage.michaels.com/xsd" xmlns:ax25="http://user.commerce.michaels.com/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://shopping.online.client.commerce.michaels.com">
        <xs:import namespace="http://user.commerce.michaels.com/xsd" />
        <xs:import namespace="http://advantage.michaels.com/xsd" />
      • <xs:complexType name="Exception">
      • <xs:sequence>
        <xs:element minOccurs="0" name="Exception" nillable="true" type="xs:anyType" />
        </xs:sequence>
        </xs:complexType>
      • <xs:element name="DuplicateAddressNickNameException">
      • <xs:complexType>
      • <xs:sequence>
        <xs:element minOccurs="0" name="DuplicateAddressNickNameException" nillable="true" type="ax21:DuplicateAddressNickNameException" />
        </xs:sequence>
        </xs:complexType>
        </xs:element>
      • <xs:element name="InvalidZipCodeException">
      • <xs:complexType>
      • <xs:sequence>
        <xs:element minOccurs="0" name="InvalidZipCodeException" nillable="true" type="ax26:InvalidZipCodeException" />
        </xs:sequence>
        </xs:complexType>
        </xs:element>
      • <xs:element name="runTransaction">
      • <xs:complexType>
      • <xs:sequence>
        <xs:element minOccurs="0" name="inputMessageIn" nillable="true" type="xs:string" />
        </xs:sequence>
        </xs:complexType>
        </xs:element>
      • <xs:element name="runTransactionResponse">
      • <xs:complexType>
      • <xs:sequence>
        <xs:element minOccurs="0" name="return" nillable="true" type="xs:string" />
        </xs:sequence>
        </xs:complexType>
        </xs:element>
        </xs:schema>
        </wsdl:types>
      • <wsdl:message name="runTransactionRequest">
        <wsdl:part name="parameters" element="ns:runTransaction" />
        </wsdl:message>
      • <wsdl:message name="runTransactionResponse">
        <wsdl:part name="parameters" element="ns:runTransactionResponse" />
        </wsdl:message>
      • <wsdl:message name="DuplicateAddressNickNameException">
        <wsdl:part name="parameters" element="ns:DuplicateAddressNickNameException" />
        </wsdl:message>
      • <wsdl:message name="InvalidZipCodeException">
        <wsdl:part name="parameters" element="ns:InvalidZipCodeException" />
        </wsdl:message>
      • <wsdl:portType name="TransactionProcessorPortType">
      • <wsdl:operation name="runTransaction">
        <wsdl:input message="ns:runTransactionRequest" wsaw:Action="urn:runTransaction" />
        <wsdl:output message="ns:runTransactionResponse" wsaw:Action="urn:runTransactionResponse" />
        <wsdl:fault message="ns:DuplicateAddressNickNameException" name="DuplicateAddressNickNameException" wsaw:Action="urn:runTransactionDuplicateAddressNickNameException" />
        <wsdl:fault message="ns:InvalidZipCodeException" name="InvalidZipCodeException" wsaw:Action="urn:runTransactionInvalidZipCodeException" />
        </wsdl:operation>
        </wsdl:portType>
      • <wsdl:binding name="TransactionProcessorSoap11Binding" type="ns:TransactionProcessorPortType">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
      • <wsdl:operation name="runTransaction">
        <soap:operation soapAction="urn:runTransaction" style="document" />
      • <wsdl:input>
        <soap:body use="literal" />
        </wsdl:input>
      • <wsdl:output>
        <soap:body use="literal" />
        </wsdl:output>
      • <wsdl:fault name="InvalidZipCodeException">
        <soap:fault use="literal" name="InvalidZipCodeException" />
        </wsdl:fault>
      • <wsdl:fault name="DuplicateAddressNickNameException">
        <soap:fault use="literal" name="DuplicateAddressNickNameException" />
        </wsdl:fault>
        </wsdl:operation>
        </wsdl:binding>
      • <wsdl:binding name="TransactionProcessorSoap12Binding" type="ns:TransactionProcessorPortType">
        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
      • <wsdl:operation name="runTransaction">
        <soap12:operation soapAction="urn:runTransaction" style="document" />
      • <wsdl:input>
        <soap12:body use="literal" />
        </wsdl:input>
      • <wsdl:output>
        <soap12:body use="literal" />
        </wsdl:output>
      • <wsdl:fault name="InvalidZipCodeException">
        <soap12:fault use="literal" name="InvalidZipCodeException" />
        </wsdl:fault>
      • <wsdl:fault name="DuplicateAddressNickNameException">
        <soap12:fault use="literal" name="DuplicateAddressNickNameException" />
        </wsdl:fault>
        </wsdl:operation>
        </wsdl:binding>
      • <wsdl:binding name="TransactionProcessorHttpBinding" type="ns:TransactionProcessorPortType">
        <http:binding verb="POST" />
      • <wsdl:operation name="runTransaction">
        <http:operation location="TransactionProcessor/runTransaction" />
      • <wsdl:input>
        <mime:content type="text/xml" part="runTransaction" />
        </wsdl:input>
      • <wsdl:output>
        <mime:content type="text/xml" part="runTransaction" />
        </wsdl:output>
        </wsdl:operation>
        </wsdl:binding>
      • <wsdl:service name="TransactionProcessor">
      • <wsdl:port name="TransactionProcessorHttpSoap11Endpoint" binding="ns:TransactionProcessorSoap11Binding">
        <soap:address location="http://10.5.4.100:80/axis2/services/TransactionProcessor.TransactionProcessorHttpSoap11Endpoint" />
        </wsdl:port>
      • <wsdl:port name="TransactionProcessorHttpSoap12Endpoint" binding="ns:TransactionProcessorSoap12Binding">
        <soap12:address location="http://10.5.4.100:80/axis2/services/TransactionProcessor.TransactionProcessorHttpSoap12Endpoint" />
        </wsdl:port>
      • <wsdl:port name="TransactionProcessorHttpEndpoint" binding="ns:TransactionProcessorHttpBinding">
        <http:address location="http://10.5.4.100:80/axis2/services/TransactionProcessor.TransactionProcessorHttpEndpoint" />
        </wsdl:port>
        </wsdl:service>
        </wsdl:definitions>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bheemi Bheemeswara Rao Amruthavakkula
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 240h
                240h
                Remaining:
                Remaining Estimate - 240h
                240h
                Logged:
                Time Spent - Not Specified
                Not Specified