web services - Consuming webservice from application deployed on websphere -
i have been trying consume webservice(ws-jax) in java. have generated java artifacts using wsimport tool. constructed standalone test class(on eclipse) , able call webservice successfully. when use same actifacts , code in application(deployed on websphere 8) below exception `
[2/5/16 10:54:13:531 mst] ffdc exception:java.lang.stackoverflowerror sourceid:com.ibm.ejs.container.remoteexceptionmappingstrategy.setuncheckedexception probeid:200 reporter:com.ibm.ejs.container.remoteexceptionmappingstrategy@625fad44 java.lang.stackoverflowerror @ java.util.hashmap.<init>(hashmap.java:367) @ com.ibm.wsdl.definitionimpl.getallservices(definitionimpl.java:859) @ com.ibm.wsdl.definitionimpl.getallservices(definitionimpl.java:873) @ org.apache.axis2.wsdl.util.wsdlwrapperreloadimpl.getallservices(wsdlwrapperreloadimpl.java:903) @ org.apache.axis2.wsdl.util.wsdldefinitionwrapper.getallservices(wsdldefinitionwrapper.java:478) @ com.ibm.wspolicy.wsdl.internal.subject.definitionsubjectprocessor.<init>(definitionsubjectprocessor.java:60) @ com.ibm.wspolicy.wsdl.internal.wsdlprocessorimpl.buildwsdlpolicymodel(wsdlprocessorimpl.java:79) @ com.ibm.ws.wspolicy.wsdl.wsdlprocessor.<init>(wsdlprocessor.java:137) @ com.ibm.ws.wspolicy.policyset.wsdlhelperimpl.processwspolicyinpackagedwsdl(wsdlhelperimpl.java:80) @ com.ibm.ws.websvcs.deployment.wasaxis2policysetconfigurator.associatepolicysets(wasaxis2policysetconfigurator.java:385) @ com.ibm.ws.websvcs.client.wsclientconfigurationfactory.completeaxis2configuration(wsclientconfigurationfactory.java:459) @ org.apache.axis2.jaxws.description.impl.endpointdescriptionimpl.<init>(endpointdescriptionimpl.java:286) @ org.apache.axis2.jaxws.description.impl.endpointdescriptionimpl.<init>(endpointdescriptionimpl.java:223) @ org.apache.axis2.jaxws.description.impl.servicedescriptionimpl.updateendpointdescription(servicedescriptionimpl.java:534) @ org.apache.axis2.jaxws.description.impl.descriptionfactoryimpl.updateendpoint(descriptionfactoryimpl.java:382) @ org.apache.axis2.jaxws.description.descriptionfactory.updateendpoint(descriptionfactory.java:180) @ org.apache.axis2.jaxws.spi.servicedelegate.getport(servicedelegate.java:597) @ org.apache.axis2.jaxws.spi.servicedelegate.getport(servicedelegate.java:513) @ javax.xml.ws.service.getport(service.java:99)`
could shed light on why webservice call failing when originating inside application server?
note: have installed proper server certificates in application server truststore.
so found solution, had 2 different jre's installed on computer. 1 oracle , other jre bundled websphere application server. application deployed on websphere have generate java artifacts using ibm jre thats bundled websphere.
thanks, harsha
Comments
Post a Comment