[
https://issues.apache.org/jira/browse/AXIS2-5572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nitin Chawla updated AXIS2-5572:
--------------------------------
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>
********************************************************************************************************************************************************************************************
was: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
> Axis2 Deployment on WebSphere 8.0.0.6
> -------------------------------------
>
> Key: AXIS2-5572
> URL: https://issues.apache.org/jira/browse/AXIS2-5572
> Project: Axis2
> Issue Type: Test
> Components: jaxws
> Affects Versions: 1.6.2
> Environment: Windows 7 64 bit
> Reporter: Nitin Chawla
> Labels: axis2_1.6.2, websphere
> Attachments: SystemOut.log
>
>
> 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>
> ********************************************************************************************************************************************************************************************
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]