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

Axis2 Deployment on WebSphere 8.0.0.6

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6.2
    • None
    • jaxws
    • Windows 7 64 bit

    Description

      I have created a service and hosted on Tomcat. The service works fine and gives the result when I run on Tomcat. When I try to deploy axis2 package on websphere as EAR. I encounter java.lang.reflect.InvocationTargetException

      WSDL
      ********************************************************************************************************************************************************************************************
      <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ns="http://PersonalClientEnquiry.msp.csc" xmlns:ax21="http://in.ENQ.AAA.msp.csc/xsd" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ax23="http://out.ENQ.AAA.msp.csc/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:ns1="http://org.apache.axis2/xsd" targetNamespace="http://PersonalClientEnquiry.msp.csc">
      <wsdl:documentation>PersonalClientEnquiry</wsdl:documentation>
      <wsdl:types>
      <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://out.ENQ.AAA.msp.csc/xsd">
      <xs:complexType name="OUTPUT">
      <xs:sequence>
      <xs:element maxOccurs="unbounded" minOccurs="0" name="AAAENQ" nillable="true" type="ax23:OUTPUT_AAAENQ"/>
      <xs:element maxOccurs="unbounded" minOccurs="0" name="ERROR" nillable="true" type="ax23:OUTPUT_ERROR"/>
      <xs:element minOccurs="0" name="STATUS" nillable="true" type="xs:string"/>
      </xs:sequence>
      </xs:complexType>
      <xs:complexType name="OUTPUT_AAAENQ">
      <xs:sequence>
      <xs:element minOccurs="0" name="MOREIND" nillable="true" type="xs:string"/>
      <xs:element minOccurs="0" name="STATUS" nillable="true" type="xs:string"/>
      <xs:element maxOccurs="unbounded" minOccurs="0" name="s2465" nillable="true" type="ax23:OUTPUT_AAAENQ_S2465"/>
      </xs:sequence>
      </xs:complexType>
      <xs:complexType name="OUTPUT_AAAENQ_S2465">
      <xs:sequence>
      <xs:element minOccurs="0" name="LGIVNAME" nillable="true" type="xs:string"/>
      <xs:element minOccurs="0" name="LSURNAME" nillable="true" type="xs:string"/>
      </xs:sequence>
      </xs:complexType>
      <xs:complexType name="OUTPUT_ERROR">
      <xs:sequence>
      <xs:element maxOccurs="unbounded" minOccurs="0" name="REASON" nillable="true" type="ax23:OUTPUT_ERROR_REASON"/>
      <xs:element minOccurs="0" name="STATUS" nillable="true" type="xs:string"/>
      </xs:sequence>
      </xs:complexType>
      <xs:complexType name="OUTPUT_ERROR_REASON">
      <xs:sequence>
      <xs:element minOccurs="0" name="ERRORDESC" nillable="true" type="xs:string"/>
      <xs:element minOccurs="0" name="ERROREROR" nillable="true" type="xs:string"/>
      <xs:element maxOccurs="unbounded" minOccurs="0" name="FIELD" nillable="true" type="ax23:OUTPUT_ERROR_REASON_FIELD"/>
      </xs:sequence>
      </xs:complexType>
      <xs:complexType name="OUTPUT_ERROR_REASON_FIELD">
      <xs:sequence>
      <xs:element minOccurs="0" name="ERRORFIELD" nillable="true" type="xs:string"/>
      </xs:sequence>
      </xs:complexType>
      </xs:schema>
      <xs:schema xmlns:ax22="http://in.ENQ.AAA.msp.csc/xsd" xmlns:ax24="http://out.ENQ.AAA.msp.csc/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://PersonalClientEnquiry.msp.csc">
      <xs:import namespace="http://in.ENQ.AAA.msp.csc/xsd"/>
      <xs:import namespace="http://out.ENQ.AAA.msp.csc/xsd"/>
      <xs:element name="enquiry">
      <xs:complexType>
      <xs:sequence>
      <xs:element minOccurs="0" name="args0" nillable="true" type="ax22:INPUT"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      <xs:element name="enquiryResponse">
      <xs:complexType>
      <xs:sequence>
      <xs:element minOccurs="0" name="return" nillable="true" type="ax24:OUTPUT"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      </xs:schema>
      <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://in.ENQ.AAA.msp.csc/xsd">
      <xs:complexType name="INPUT">
      <xs:sequence>
      <xs:element minOccurs="0" name="ACTION" nillable="true" type="xs:string"/>
      <xs:element minOccurs="0" name="BRANCH" nillable="true" type="xs:string"/>
      <xs:element minOccurs="0" name="CLTTWO" nillable="true" type="xs:string"/>
      <xs:element minOccurs="0" name="COMMITFLAG" nillable="true" type="xs:string"/>
      <xs:element minOccurs="0" name="COMPANY" nillable="true" type="xs:string"/>
      <xs:element minOccurs="0" name="IGNOREDRIVERHELD" nillable="true" type="xs:string"/>
      <xs:element minOccurs="0" name="LANGUAGE" nillable="true" type="xs:string"/>
      <xs:element minOccurs="0" name="OBJECTID" nillable="true" type="xs:string"/>
      <xs:element minOccurs="0" name="PASSWORD" nillable="true" type="xs:string"/>
      <xs:element minOccurs="0" name="SUPPRESSRCLRSC" nillable="true" type="xs:string"/>
      <xs:element minOccurs="0" name="USRPRF" nillable="true" type="xs:string"/>
      <xs:element minOccurs="0" name="VERBID" nillable="true" type="xs:string"/>
      </xs:sequence>
      </xs:complexType>
      </xs:schema>
      </wsdl:types>
      <wsdl:message name="enquiryRequest">
      <wsdl:part name="parameters" element="ns:enquiry"/>
      </wsdl:message>
      <wsdl:message name="enquiryResponse">
      <wsdl:part name="parameters" element="ns:enquiryResponse"/>
      </wsdl:message>
      <wsdl:message name="serviceRequest"/>
      <wsdl:message name="serviceResponse"/>
      <wsdl:portType name="PersonalClientEnquiryPortType">
      <wsdl:operation name="enquiry">
      <wsdl:input message="ns:enquiryRequest" wsaw:Action="urn:enquiry"/>
      <wsdl:output message="ns:enquiryResponse" wsaw:Action="urn:enquiryResponse"/>
      </wsdl:operation>
      <wsdl:operation name="service">
      <wsdl:input message="ns:serviceRequest" wsaw:Action="urn:service"/>
      <wsdl:output message="ns:serviceResponse" wsaw:Action="urn:serviceResponse"/>
      </wsdl:operation>
      </wsdl:portType>
      <wsdl:binding name="PersonalClientEnquirySoap11Binding" type="ns:PersonalClientEnquiryPortType">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
      <wsdl:operation name="service">
      <soap:operation soapAction="urn:service" style="document"/>
      <wsdl:input>
      <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output>
      <soap:body use="literal"/>
      </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="enquiry">
      <soap:operation soapAction="urn:enquiry" style="document"/>
      <wsdl:input>
      <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output>
      <soap:body use="literal"/>
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
      <wsdl:binding name="PersonalClientEnquiryHttpBinding" type="ns:PersonalClientEnquiryPortType">
      <http:binding verb="POST"/>
      <wsdl:operation name="service">
      <http:operation location="service"/>
      <wsdl:input>
      <mime:content type="application/xml" part="parameters"/>
      </wsdl:input>
      <wsdl:output>
      <mime:content type="application/xml" part="parameters"/>
      </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="enquiry">
      <http:operation location="enquiry"/>
      <wsdl:input>
      <mime:content type="application/xml" part="parameters"/>
      </wsdl:input>
      <wsdl:output>
      <mime:content type="application/xml" part="parameters"/>
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
      <wsdl:service name="PersonalClientEnquiry">
      <wsdl:port name="PersonalClientEnquiryHttpSoap11Endpoint" binding="ns:PersonalClientEnquirySoap11Binding">
      <soap:address location="http://localhost:9080/axis2-1.6.2/services/PersonalClientEnquiry.PersonalClientEnquiryHttpSoap11Endpoint/"/>
      </wsdl:port>
      <wsdl:port name="PersonalClientEnquiryHttpEndpoint" binding="ns:PersonalClientEnquiryHttpBinding">
      <http:address location="http://localhost:9080/axis2-1.6.2/services/PersonalClientEnquiry.PersonalClientEnquiryHttpEndpoint/"/>
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>
      ********************************************************************************************************************************************************************************************

      Output from Tomcat :
      ********************************************************************************************************************************************************************************************
      DE: Starting Call
      INPUT MESSAGE=<COMMITFLAG>Y</COMMITFLAG><IGNOREDRIVERHELD></IGNOREDRIVERHELD><SUPPRESSRCLRSC></SUPPRESSRCLRSC><PASSWORD>NCHAWLA</PASSWORD><USRPRF>NCHAWLA</USRPRF><OBJECTID></OBJECTID><VERBID></VERBID><COMPANY>2</COMPANY><BRANCH>10</BRANCH><LANGUAGE>E</LANGUAGE><ACTION>D</ACTION><CLTTWO>50001634</CLTTWO>
      BUG FIX - CONVERTING CHARS LENGTH=2254
      SOAP BODY ELEMENT<MSP_ENVELOPE xmlns="http://csc/msp/data"><MSP_HEADER xmlns=""><MSP_SERVICE_NAME>AAAENQ</MSP_SERVICE_NAME><MSP_MESSAGE_ID>b36a7f9d975842cd-6f0a8bf3e7ba37f</MSP_MESSAGE_ID><MSP_SYNC_FLAG>S</MSP_SYNC_FLAG><MSP_COMMIT_FLAG>Y</MSP_COMMIT_FLAG><MSP_STATUS>0</MSP_STATUS><MSP_USER_PROFILE>NCHAWLA</MSP_USER_PROFILE><MSP_USER_PASSWORD/><MSP_TARGET_STATUS>0</MSP_TARGET_STATUS></MSP_HEADER><MSP_RESPONSE_BODY xmlns=""><OUTPUT><AAA_ENQ><STATUS/><MORE_IND/><S2465><LGIVNAME>Ah Goo</LGIVNAME><LSURNAME>Tan</LSURNAME></S2465></AAA_ENQ></OUTPUT></MSP_RESPONSE_BODY></MSP_ENVELOPE>
      ARRAY SIZED TO : 0 ARRAY LEN=0
      BUG FIX - CONVERTING CHARS LENGTH=2254
      SOAP BODY ELEMENT<MSP_ENVELOPE xmlns="http://csc/msp/data"><MSP_HEADER xmlns=""><MSP_SERVICE_NAME>AAAENQ</MSP_SERVICE_NAME><MSP_MESSAGE_ID>356a117f4a575823-26d98e5252bf58d1</MSP_MESSAGE_ID><MSP_SYNC_FLAG>S</MSP_SYNC_FLAG><MSP_COMMIT_FLAG>Y</MSP_COMMIT_FLAG><MSP_STATUS>0</MSP_STATUS><MSP_USER_PROFILE>NCHAWLA</MSP_USER_PROFILE><MSP_USER_PASSWORD/><MSP_TARGET_STATUS>0</MSP_TARGET_STATUS></MSP_HEADER><MSP_RESPONSE_BODY xmlns=""><OUTPUT><AAA_ENQ><STATUS/><MORE_IND/><S2465><LGIVNAME/><LSURNAME>ABC Insurance Corp</LSURNAME></S2465></AAA_ENQ></OUTPUT></MSP_RESPONSE_BODY></MSP_ENVELOPE>
      ARRAY SIZED TO : 0 ARRAY LEN=0
      ********************************************************************************************************************************************************************************************

      Pls suggest.

      Attachments

        1. SystemOut.log
          46 kB
          Nitin Chawla

        Activity

          People

            Unassigned Unassigned
            write2nc Nitin Chawla
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: