Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception Description: Missing class for indicator field value while using AXIS client  RSS feed

 
Lakeview erty
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I'm trying to consume a https wsdl using axis client thats generated using ADB(AxisDataBinding). When I consume the service using HTTP, no errors. everything is smooth. When I change the wsdl to https, below is the error I get. I added server certificate into jssecacerts into JDK. I have additionally added protocol.registerProtocol for handling HTTPS and get 200 OK. But not able to get past this error..Can you please let me know whats wrong? or what can I add?

ERROR:
SSSS_AuthenticateUserMethod AxisFault ERROR =>
org.apache.axis2.AxisFault: javax.xml.bind.JAXBException
- with linked exception:
[org.xml.sax.SAXException:
Exception Description: Missing class for indicator field value [ns1:ssssAuthenticateUserVOIn] of type [class java.lang.String].
Descriptor: XMLDescriptor(oracle.e1.bssv.JP55USRB.valueobject.SSSS_AuthenticateUserVOIn --> [DatabaseTable(ns0:SSSS_AuthenticateUserMethod)])
Exception [EclipseLink-43] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: Missing class for indicator field value [ns1:ssssAuthenticateUserVOIn] of type [class java.lang.String].
Descriptor: XMLDescriptor(oracle.e1.bssv.JP55USRB.valueobject.SSSS_AuthenticateUserVOIn --> [DatabaseTable(ns0:SSSS_AuthenticateUserMethod)])]
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at jp55usrb.bssv.e1.oracle.SSSS_AuthenticateUserClassServiceStub.sSSS_AuthenticateUserMethod(SSSS_AuthenticateUserClassServiceStub.java:217)
at com.ssss.ssjdesecurityws.proxy.client.SSSS_AuthenticateUserClassServiceClient.SSSS_AuthenticateUserMethod(SSSS_AuthenticateUserClassServiceClient.java:128)
at com.ssss.ssjdesecurityws.webservices.JDESecurityWS.ValidateUser(JDESecurityWS.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:559)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340)
at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:353)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:911)
at org.apache.tomcat.util.net.NioEndpoint$ChannelProcessor.run(NioEndpoint.java:920)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

WSDL:
<definitions xmlns:wssutil="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://oracle.e1.bssv.JP55USRB/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://oracle.e1.bssv.JP55USRB/" name="SSSS_AuthenticateUserClassService">
<wsp:UsingPolicy wssutil:Required="true"/>
<wsp1_2:Policy wssutil:Id="bssvpolicy">
<ns1:TransportBinding xmlns:ns1="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
<wsp1_2:Policy>
<ns1:TransportToken>
<wsp1_2:Policy>
<ns1:HttpsToken/>
</wsp1_2:Policy>
</ns1:TransportToken>
<ns1:AlgorithmSuite>
<wsp1_2:Policy>
<ns1:Basic256/>
</wsp1_2:Policy>
</ns1:AlgorithmSuite>
<ns1:Layout>
<wsp1_2:Policy>
<ns1:Lax/>
</wsp1_2:Policy>
</ns1:Layout>
</wsp1_2:Policy>
</ns1:TransportBinding>
<ns2:SupportingTokens xmlns:ns2="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
<wsp1_2:Policy>
<ns2:UsernameToken ns2:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient">
<wsp1_2:Policy>
<ns2:WssUsernameToken10/>
</wsp1_2:Policy>
</ns2:UsernameToken>
</wsp1_2:Policy>
</ns2:SupportingTokens>
</wsp1_2:Policy>
<types>
<xsd:schema>
<xsd:import namespace="http://oracle.e1.bssv.JP55USRB/" schemaLocation="https://py910bssv.ssss.com:8193/PY910/SSSS_AuthenticateUserClass?xsd=1"/>
</xsd:schema>
</types>
<message name="SSSS_AuthenticateUserMethod">
<part name="SSSS_AuthenticateUserMethod" element="tns:SSSS_AuthenticateUserMethod"/>
</message>
<message name="SSSS_AuthenticateUserMethodResponse">
<part name="SSSS_AuthenticateUserMethodResponse" element="tns:SSSS_AuthenticateUserMethodResponse"/>
</message>
<message name="BusinessServiceException">
<part name="fault" element="tns:BusinessServiceException"/>
</message>
<portType name="SSSS_AuthenticateUserClass">
<operation name="SSSS_AuthenticateUserMethod">
<input wsam:Action="http://oracle.e1.bssv.JP55USRB/SSSS_AuthenticateUserClass/SSSS_AuthenticateUserMethodRequest" message="tns:SSSS_AuthenticateUserMethod"/>
<output wsam:Action="http://oracle.e1.bssv.JP55USRB/SSSS_AuthenticateUserClass/SSSS_AuthenticateUserMethodResponse" message="tns:SSSS_AuthenticateUserMethodResponse"/>
<fault message="tns:BusinessServiceException" name="BusinessServiceException" wsam:Action="http://oracle.e1.bssv.JP55USRB/SSSS_AuthenticateUserClass/SSSS_AuthenticateUserMethod/Fault/BusinessServiceException"/>
</operation>
</portType>
<binding name="SSSS_AuthenticateUserClassPortBinding" type="tns:SSSS_AuthenticateUserClass">
<wsp:PolicyReference URI="#bssvpolicy"/>
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="SSSS_AuthenticateUserMethod">
<soapperation soapAction=""/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
<fault name="BusinessServiceException">
<soap:fault name="BusinessServiceException" use="literal"/>
</fault>
</operation>
</binding>
<service name="SSSS_AuthenticateUserClassService">
<port name="SSSS_AuthenticateUserClassPort" binding="tns:SSSS_AuthenticateUserClassPortBinding">
<soap:address location="https://py910bssv.ssss.com:8193/PY910/SSSS_AuthenticateUserClass"/>
</port>
</service>
</definitions>
SCHEMA:
<xsd:complexType name="ssss_AuthenticateUserVOOut">
<xsd:complexContent>
<xsd:extension base="ns0:messageValueObject">
<xsd:sequence>
<xsd:element name="description" type="xsd:string" minOccurs="0"/>
<xsd:element name="enterpriseOnePassword" type="xsd:string" minOccurs="0"/>
<xsd:element name="errorCode" type="xsd:string" minOccurs="0"/>
<xsd:element name="scheduledUserRole" type="xsd:string" minOccurs="0"/>
<xsd:element name="userID" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ssss_AuthenticateUserVOIn">
<xsd:complexContent>
<xsd:extension base="ns0:valueObject">
<xsd:sequence>
<xsd:element name="description" type="xsd:string" minOccurs="0"/>
<xsd:element name="enterpriseOnePassword" type="xsd:string" minOccurs="0"/>
<xsd:element name="errorCode" type="xsd:string" minOccurs="0"/>
<xsd:element name="scheduledUserRole" type="xsd:string" minOccurs="0"/>
<xsd:element name="userID" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="BusinessServiceException" type="ns0:BusinessServiceException"/>
<xsd:element name="SSSS_AuthenticateUserMethodResponse" type="ns0:ssss_AuthenticateUserVOOut" nillable="true"/>
<xsd:element name="SSSS_AuthenticateUserMethod" type="ns0:ssss_AuthenticateUserVOIn" nillable="true"/>

CODE:
 
Lakeview erty
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lakeview erty wrote:Hi, I'm trying to consume a https wsdl using axis client thats generated using ADB(AxisDataBinding). When I consume the service using HTTP, no errors. everything is smooth. When I change the wsdl to https, below is the error I get. I added server certificate into jssecacerts into JDK. I have additionally added protocol.registerProtocol for handling HTTPS and get 200 OK. But not able to get past this error..Can you please let me know whats wrong? or what can I add?

ERROR:
SSSS_AuthenticateUserMethod AxisFault ERROR =>
org.apache.axis2.AxisFault: javax.xml.bind.JAXBException
- with linked exception:
[org.xml.sax.SAXException:
Exception Description: Missing class for indicator field value [ns1:ssssAuthenticateUserVOIn] of type [class java.lang.String].
Descriptor: XMLDescriptor(oracle.e1.bssv.JP55USRB.valueobject.SSSS_AuthenticateUserVOIn --> [DatabaseTable(ns0:SSSS_AuthenticateUserMethod)])
Exception [EclipseLink-43] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: Missing class for indicator field value [ns1:ssssAuthenticateUserVOIn] of type [class java.lang.String].
Descriptor: XMLDescriptor(oracle.e1.bssv.JP55USRB.valueobject.SSSS_AuthenticateUserVOIn --> [DatabaseTable(ns0:SSSS_AuthenticateUserMethod)])]
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at jp55usrb.bssv.e1.oracle.SSSS_AuthenticateUserClassServiceStub.sSSS_AuthenticateUserMethod(SSSS_AuthenticateUserClassServiceStub.java:217)
at com.ssss.ssjdesecurityws.proxy.client.SSSS_AuthenticateUserClassServiceClient.SSSS_AuthenticateUserMethod(SSSS_AuthenticateUserClassServiceClient.java:128)
at com.ssss.ssjdesecurityws.webservices.JDESecurityWS.ValidateUser(JDESecurityWS.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:559)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340)
at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:353)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:911)
at org.apache.tomcat.util.net.NioEndpoint$ChannelProcessor.run(NioEndpoint.java:920)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

WSDL:
<definitions xmlns:wssutil="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://oracle.e1.bssv.JP55USRB/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://oracle.e1.bssv.JP55USRB/" name="SSSS_AuthenticateUserClassService">
<wsp:UsingPolicy wssutil:Required="true"/>
<wsp1_2:Policy wssutil:Id="bssvpolicy">
<ns1:TransportBinding xmlns:ns1="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
<wsp1_2:Policy>
<ns1:TransportToken>
<wsp1_2:Policy>
<ns1:HttpsToken/>
</wsp1_2:Policy>
</ns1:TransportToken>
<ns1:AlgorithmSuite>
<wsp1_2:Policy>
<ns1:Basic256/>
</wsp1_2:Policy>
</ns1:AlgorithmSuite>
<ns1:Layout>
<wsp1_2:Policy>
<ns1:Lax/>
</wsp1_2:Policy>
</ns1:Layout>
</wsp1_2:Policy>
</ns1:TransportBinding>
<ns2:SupportingTokens xmlns:ns2="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
<wsp1_2:Policy>
<ns2:UsernameToken ns2:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient">
<wsp1_2:Policy>
<ns2:WssUsernameToken10/>
</wsp1_2:Policy>
</ns2:UsernameToken>
</wsp1_2:Policy>
</ns2:SupportingTokens>
</wsp1_2:Policy>
<types>
<xsd:schema>
<xsd:import namespace="http://oracle.e1.bssv.JP55USRB/" schemaLocation="https://py910bssv.ssss.com:8193/PY910/SSSS_AuthenticateUserClass?xsd=1"/>
</xsd:schema>
</types>
<message name="SSSS_AuthenticateUserMethod">
<part name="SSSS_AuthenticateUserMethod" element="tns:SSSS_AuthenticateUserMethod"/>
</message>
<message name="SSSS_AuthenticateUserMethodResponse">
<part name="SSSS_AuthenticateUserMethodResponse" element="tns:SSSS_AuthenticateUserMethodResponse"/>
</message>
<message name="BusinessServiceException">
<part name="fault" element="tns:BusinessServiceException"/>
</message>
<portType name="SSSS_AuthenticateUserClass">
<operation name="SSSS_AuthenticateUserMethod">
<input wsam:Action="http://oracle.e1.bssv.JP55USRB/SSSS_AuthenticateUserClass/SSSS_AuthenticateUserMethodRequest" message="tns:SSSS_AuthenticateUserMethod"/>
<output wsam:Action="http://oracle.e1.bssv.JP55USRB/SSSS_AuthenticateUserClass/SSSS_AuthenticateUserMethodResponse" message="tns:SSSS_AuthenticateUserMethodResponse"/>
<fault message="tns:BusinessServiceException" name="BusinessServiceException" wsam:Action="http://oracle.e1.bssv.JP55USRB/SSSS_AuthenticateUserClass/SSSS_AuthenticateUserMethod/Fault/BusinessServiceException"/>
</operation>
</portType>
<binding name="SSSS_AuthenticateUserClassPortBinding" type="tns:SSSS_AuthenticateUserClass">
<wsp:PolicyReference URI="#bssvpolicy"/>
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="SSSS_AuthenticateUserMethod">
<soapperation soapAction=""/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
<fault name="BusinessServiceException">
<soap:fault name="BusinessServiceException" use="literal"/>
</fault>
</operation>
</binding>
<service name="SSSS_AuthenticateUserClassService">
<port name="SSSS_AuthenticateUserClassPort" binding="tns:SSSS_AuthenticateUserClassPortBinding">
<soap:address location="https://py910bssv.ssss.com:8193/PY910/SSSS_AuthenticateUserClass"/>
</port>
</service>
</definitions>
SCHEMA:
<xsd:complexType name="ssss_AuthenticateUserVOOut">
<xsd:complexContent>
<xsd:extension base="ns0:messageValueObject">
<xsd:sequence>
<xsd:element name="description" type="xsd:string" minOccurs="0"/>
<xsd:element name="enterpriseOnePassword" type="xsd:string" minOccurs="0"/>
<xsd:element name="errorCode" type="xsd:string" minOccurs="0"/>
<xsd:element name="scheduledUserRole" type="xsd:string" minOccurs="0"/>
<xsd:element name="userID" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ssss_AuthenticateUserVOIn">
<xsd:complexContent>
<xsd:extension base="ns0:valueObject">
<xsd:sequence>
<xsd:element name="description" type="xsd:string" minOccurs="0"/>
<xsd:element name="enterpriseOnePassword" type="xsd:string" minOccurs="0"/>
<xsd:element name="errorCode" type="xsd:string" minOccurs="0"/>
<xsd:element name="scheduledUserRole" type="xsd:string" minOccurs="0"/>
<xsd:element name="userID" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="BusinessServiceException" type="ns0:BusinessServiceException"/>
<xsd:element name="SSSS_AuthenticateUserMethodResponse" type="ns0:ssss_AuthenticateUserVOOut" nillable="true"/>
<xsd:element name="SSSS_AuthenticateUserMethod" type="ns0:ssss_AuthenticateUserVOIn" nillable="true"/>

CODE:



In the stub class, it points to _operation.execute(); line. STUB CLASS:
(exception line)

Can you please suggest a way to overcome this error and consume https wsdl? Appreciate your help.


 
Lakeview erty
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I figured out the solution myself. I comapared the xmls thats getting generated by java code and soapui. I noticed that in java code it was
<ns1:SSSS_AuthenticateUserMethod xmlns:ns1="http://oracle.e1.bssv.JP55USRB/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:ssssAuthenticateUserVOIn">
and in SOAPUI it was
<orac:SSSS_AuthenticateUserMethod>
So I went back to the code and commented the place where this xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:ssssAuthenticateUserVOIn" was getting added:

In public void serialize(final javax.xml.namespace.QName parentQName, javax.xml.stream.XMLStreamWriter xmlWriter, boolean serializeType) method I commented this block and it started working:

I dint even need to register protocol for https, nor set any system property for truststore or keystore since I had already added the server certificate into jssecacerts. Apart from commenting this block, the only other change is the URL from http to https. Thats it.
Hope this helps someone out there.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!