Error while invoking web service over SSL
While making a SSL Connections to web service i am getting the below mentioned error in spite of configuring the certificate provided by the client onto WLS.
I tried adding the certificate to the default DemoTrust and DemoIdentity Keystores. The error still persisted.
I also tried importing the certificate(into cacerts keystore) as Java Standard Trust as well as tried pointing it to the custom keystores. None of it worked :(
Could somebody please give a solution to resolve this error ASAP.
The error is:
Message:exception occured, due to org.apache.axis2.AxisFault: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
org.apache.axis2.AxisFault: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:83)
at org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:84)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
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:199)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at com.intel.services.warrantyservice.Get_Warranty_Details_OutServiceStub.get_Warranty_Details_Out(Get_Warranty_Details_OutServiceStub.java:184)
at com.intel.www.PortalServices.PortalServicesSOAPImpl.getWarrantyDetails(PortalServicesSOAPImpl.java:1865)
at com.intel.www.PortalServices.PortalServicesSOAPSkeleton.getWarrantyDetails(PortalServicesSOAPSkeleton.java:213)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3590)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: javax.xml.stream.XMLStreamException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at weblogic.xml.stax.XMLWriterBase.flush(XMLWriterBase.java:504)
at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:168)
at org.apache.axis2.databinding.utils.writer.MTOMAwareXMLSerializer.flush(MTOMAwareXMLSerializer.java:79)
at org.apache.axis2.databinding.ADBDataSource.serialize(ADBDataSource.java:94)
at org.apache.axiom.om.impl.llom.OMSourcedElementImpl.internalSerializeAndConsume(OMSourcedElementImpl.java:738)
at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:966)
at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:995)
at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.serializeInternally(SOAPEnvelopeImpl.java:254)
at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java:242)
at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:995)
at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:486)
at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:79)
... 48 more
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1035)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:124)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:623)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at org.apache.commons.httpclient.ChunkedOutputStream.flush(ChunkedOutputStream.java:191)
at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:278)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
at java.io.BufferedWriter.flush(BufferedWriter.java:236)
at weblogic.xml.stax.XMLWriterBase.flush(XMLWriterBase.java:502)
... 59 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:285)
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:191)
at sun.security.validator.Validator.validate(Validator.java:218)
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1014)
... 74 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:280)
... 80 more
Which version/platform are you using?
The thing you need to consider here is that the JDev proxy settings do not affect the BPEL server.
So if the BPEL server cannot connect to your webservice, it will not be because of any Jdev setting.
Check the proxy settings on your BPEL server (on 10.1.2 developer install it will be in obsetenv.bat, on 10.1.3 it will be a commandline property of the JVM - see AS Control administration page for the JVM)
Similar Messages
-
BAD_CERTIFICATE error calling a web service over SSL in ALSB 2.6
We have a business service on an ALSB 2.6 server (running on WL 9.2.1) that connects to a web service over SSL. When we try to run it, we get the following exception:
<Sep 17, 2009 7:49:17 AM PDT> <Error> <ALSB Kernel> <BEA-380001> <Exception on TransportManagerImpl.sendMessageToService, com.bea.
wli.sb.transports.TransportException: FATAL Alert:BAD_CERTIFICATE - A corrupt or unuseable certificate was received.
com.bea.wli.sb.transports.TransportException: FATAL Alert:BAD_CERTIFICATE - A corrupt or unuseable certificate was received.
at com.bea.wli.sb.transports.TransportException.newInstance(TransportException.java:146)
at com.bea.wli.sb.transports.http.HttpOutboundMessageContext.send(HttpOu
tboundMessageContext.java:310)
at com.bea.wli.sb.transports.http.HttpsTransportProvider.sendMessageAsync(HttpsTransportProvider.java:435)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
Truncated. see log file for complete stacktrace
javax.net.ssl.SSLKeyException: FATAL Alert:BAD_CERTIFICATE - A corrupt or unuseable certificate was received.
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireException(Unknown Source)
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknown Source)
at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown Source)
at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown Source)
at com.certicom.tls.record.handshake.ClientStateReceivedServerHello.handle(Unknown Source)
Truncated. see log file for complete stacktrace
This exception only occurs when hitting the web service through the bus. I have written a standalone Java application that posts to the web service and it works fine. I ran the application on the server where the ALSB is running using the same jdk (1.5.0_06 - the version that ships with 9.2.1) and the same cacerts file so I know it's not a problem with the certificate not being trusted. I have tried updating the cacerts file to the latest one distributed with JRE 1.6 and it still doesn't work.
After 8 hours of troubleshooting, I'm out of ideas. Does anyone have any suggestiosn?
Thanks.
Matt
Edited by: user6946981 on Sep 17, 2009 7:58 AMAre you sure that your standalone application is using the same keystore (eg. cacert)? Default WebLogic configuration uses different keystore (demo).
I saw BAD_CERTIFICATE error only once and the cause was in keytool that somehow corrupted certificate during import. Deleting and importing certificate again helped me, but I doubt you have the same problem as your standalone application works.
Another idea ... Is hostname varification used? I know that the error message would look different if this was the cause, but try to add this parameter to your weblogic startup script: -Dweblogic.security.SSL.ignoreHostnameVerification=true
Last but not least, there is difference between your standalone application and ALSB runtime as WebLogic uses Certicom SSL provider. If you don't find the reason, contact Oracle support. Maybe they can help you to tweak Certicom provider in some way. -
Getting the error while invoking Web services
Hi,
I am getting the error while invoking an webservive method *** follows
{color:#3366ff}2009-01-28 04:49:38.994 Error Occured inMesage Now
2009-01-28 04:49:38.994 javax.xml.rpc.ServiceException: Unable to create Service Factory: oracle.j2ee.ws.client.ServiceFactoryImpl
2009-01-28 04:49:38.995 at javax.xml.rpc.ServiceFactory.newInstance(ServiceFactory.java:75)
2009-01-28 04:49:38.995 at ccaproxy.proxy.ISessionClient.<init>(ISessionClient.java:25)
2009-01-28 04:49:38.995 at oracle.apps.contactCenter.mct.model.connector.cca.CCAInternalConnImpl.cstaMonitorStart(CCAInternalConnImpl.java:86)
2009-01-28 04:49:38.995 at oracle.apps.contactCenter.mct.model.connector.CCAMangConnImpl.cstaMonitorStart(CCAMangConnImpl.java:440)
2009-01-28 04:49:38.995 at oracle.apps.contactCenter.mct.model.connector.CCAConnectionImpl.cstaMonitorStart(CCAConnectionImpl.java:107)
2009-01-28 04:49:38.995 at testcca.Class1.GetConnection(Class1.java:54)
2009-01-28 04:49:38.995 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2009-01-28 04:49:38.995 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2009-01-28 04:49:38.995 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2009-01-28 04:49:38.995 at java.lang.reflect.Method.invoke(Method.java:585)
2009-01-28 04:49:38.995 at oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:283)
2009-01-28 04:49:38.995 at oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:147)
2009-01-28 04:49:38.995 at oracle.j2ee.ws.server.jaxws.JAXWSRuntimeDelegate.processMessage(JAXWSRuntimeDelegate.java:403)
2009-01-28 04:49:38.995 at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1055)
2009-01-28 04:49:38.995 at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:763)
2009-01-28 04:49:38.995 at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:528)
2009-01-28 04:49:38.995 at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:212)
2009-01-28 04:49:38.995 at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:176)
2009-01-28 04:49:38.995 at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:311)
2009-01-28 04:49:38.995 at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
2009-01-28 04:49:38.995 at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
2009-01-28 04:49:38.996 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:692)
2009-01-28 04:49:38.996 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:351)
2009-01-28 04:49:38.996 at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:977)
2009-01-28 04:49:38.996 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:878)
2009-01-28 04:49:38.996 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:676)
2009-01-28 04:49:38.996 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:644)
2009-01-28 04:49:38.996 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:436)
2009-01-28 04:49:38.996 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:185)
2009-01-28 04:49:38.996 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:153)
2009-01-28 04:49:38.996 at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:276)
2009-01-28 04:49:38.996 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:223)
2009-01-28 04:49:38.996 at oracle.oc4j.network.ServerSocketAcceptHandler.access$900(ServerSocketAcceptHandler.java:39)
2009-01-28 04:49:38.996 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:841)
2009-01-28 04:49:38.996 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
2009-01-28 04:49:38.996 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
2009-01-28 04:49:38.996 at java.lang.Thread.run(Thread.java:595)
{color}{color:#000000}The Scenarios is as follows:
I am having a JCA connector which is calling the CCA Method.
CCA uses the web services for method invocation and i have created the jar file for the web service proxies. teh proxies are of RPC type. I have include the jar file in the connector project for reference.
I have written a webservice client which will get the connection abject and invoke a method which internally invokes the CCA method.
During this time it is giving this error.
Please note that i have included the wsclient-extend.jar file ,wsclient jar file in both the connector project and the client project.
Thanks
Santosh{color}You have to add the jaxrpc library in the server.xml configuration of your embedded oc4j.
Line:
<import-shared-library name="oracle.ws.jaxrpc"/>
You have to do this twice: in the adf.oracle.domain and the adf.generic.domain shared lib entries.
Then, you have to do this again in the system-application.xml file (only once).
Edited by: remcoscc on Aug 23, 2010 4:30 PM -
Hi,
1) Used clientgen utility to create stub classes based on wsdl file
application is build using following ant task
2) Created a java application which acts as a client for invoking generated stubs (in step 1) for comunicating with webservice over HTTPS protocol.
3) Able to comunicate with required webservice through normal java client.
4) Integrate the above created java application in weblogic workflows. All the required jar (stubs and application) files are available in APP-INF/lib directory ofworrkflow application.
5) While invoking java application from work flow (to communicate with webservice) we get the following error
SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: The server at https://www.3pv.
net/3PVWebServices/3PVWebServices.asmx returned a 403 error code (Forbidden). P
lease ensure that your URL is correct and that the correct protocol is in use.
Detail:
<detail>
<bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webse
rvice/fault/1.0.0">weblogic.webservice.util.AccessException: The server at https
://www.3pv.net/3PVWebServices/3PVWebServices.asmx returned a 403 error code (For
bidden). Please ensure that your URL is correct and that the correct protocol i
s in use.
at weblogic.webservice.binding.soap.HttpClientBinding.handleErrorRespons
e(HttpClientBinding.java:371)
at weblogic.webservice.binding.soap.HttpClientBinding.receive(HttpClient
Binding.java:233)
at weblogic.webservice.core.handler.ClientHandler.handleResponse(ClientH
Thanks
Sandip MehtaHey exact problem i am facing
1. Can access webservice through my thin java client using the stubs generated by clientgen.
2. But get 403 error when running inside weblogic.
8.1 SP2
Also saw in SP4 release notes....
CR185228:
The WebService SSL client failed to connect the service when "weblogic.webservice.client.ssl.strictcertchecking" was not set to false. WebLogic Server now connects to the service with this property set to either true or false."
Does this mean if i set
weblogic.webservice.client.ssl.strictcertchecking =false in SP2 my call from within weblogic will work
I appreciate immediate feedback.
Sachin -
Error while invoking web service through weblogic 10
While invoking a particular web service from other system it gives following error in instance finder
exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Read timed out
After that when it is invoked and run without error, we are getting double identical entiries in our database one for failed one and other for successful.
suppose if it is failed 3 times and after that it succeeds then we are getting 4 identical entries in DB (3 failed and 1 success).
Entries updated in DB as per API so we cant change logic.
Can anyone suggest how it can be avoided.?
what is the root cause of this error and how it can be handled?
Edited by: 911694 on Mar 13, 2012 12:11 PM
Edited by: 911694 on Mar 13, 2012 2:19 PMWhich version/platform are you using?
The thing you need to consider here is that the JDev proxy settings do not affect the BPEL server.
So if the BPEL server cannot connect to your webservice, it will not be because of any Jdev setting.
Check the proxy settings on your BPEL server (on 10.1.2 developer install it will be in obsetenv.bat, on 10.1.3 it will be a commandline property of the JVM - see AS Control administration page for the JVM) -
Deserialization Error while invoking web service from JDeveloper 10g
When we tried to invoke a web service from JDeveloper version 10.1.3.4.0.4270, we got deserialization error.Here are the steps that we did to invoke the web service.
1. Using WSDL URL, downloaded WSDL file and associated XSD files into local machine using wsa.jar utility.
2. Using JDeveloper, created web service proxy project by referring the local WSDL file.Proxy got generated successfully.
3. Secured the proxy using "secure proxy" option.
4. Assigned all required values for parameters for web method.
5. When tried to invoke the web service, got deserialization error.
Exception in thread "main" deserialization error: java.lang.NumberFormatException
at oracle.j2ee.ws.common.encoding.literal.LiteralSimpleTypeSerializer.deserialize(LiteralSimpleTypeSerializer.java:155)
at com.oracle.xmlns.apps.ego.extfwk.service.out.runtime.ValuesetType_LiteralSerializer.doDeserialize(ValuesetType_LiteralSerializer.java:151)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at com.oracle.xmlns.apps.ego.extfwk.service.out.runtime.ListOfVSType_LiteralSerializer.doDeserialize(ListOfVSType_LiteralSerializer.java:67)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at com.oracle.xmlns.valuesetservice.runtime.GetVSRespType_LiteralSerializer.doDeserialize(GetVSRespType_LiteralSerializer.java:57)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub._deserialize_getValueSetDetails(ValuesetServiceSoapHttp_Stub.java:129)
at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub._readFirstBodyElement(ValuesetServiceSoapHttp_Stub.java:115)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:334)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:113)
at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub.getValueSetDetails(ValuesetServiceSoapHttp_Stub.java:79)
at pimut.proxy.ValuesetServiceSoapHttpPortClient.getValueSetDetails(ValuesetServiceSoapHttpPortClient.java:40)
at pimut.ValuesetServiceClient.get_object(ValuesetServiceClient.java:87)
at pimut.ValuesetServiceClient.main(ValuesetServiceClient.java:34)
CAUSE:
java.lang.NumberFormatException
at oracle.j2ee.ws.common.encoding.literal.LiteralSimpleTypeSerializer.deserialize(LiteralSimpleTypeSerializer.java:155)
at com.oracle.xmlns.apps.ego.extfwk.service.out.runtime.ValuesetType_LiteralSerializer.doDeserialize(ValuesetType_LiteralSerializer.java:151)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at com.oracle.xmlns.apps.ego.extfwk.service.out.runtime.ListOfVSType_LiteralSerializer.doDeserialize(ListOfVSType_LiteralSerializer.java:67)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at com.oracle.xmlns.valuesetservice.runtime.GetVSRespType_LiteralSerializer.doDeserialize(GetVSRespType_LiteralSerializer.java:57)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub._deserialize_getValueSetDetails(ValuesetServiceSoapHttp_Stub.java:129)
at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub._readFirstBodyElement(ValuesetServiceSoapHttp_Stub.java:115)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:334)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:113)
at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub.getValueSetDetails(ValuesetServiceSoapHttp_Stub.java:79)
at pimut.proxy.ValuesetServiceSoapHttpPortClient.getValueSetDetails(ValuesetServiceSoapHttpPortClient.java:40)
at pimut.ValuesetServiceClient.get_object(ValuesetServiceClient.java:87)
at pimut.ValuesetServiceClient.main(ValuesetServiceClient.java:34)
Caused by: java.lang.NumberFormatException
at java.math.BigDecimal.<init>(BigDecimal.java:457)
at java.math.BigDecimal.<init>(BigDecimal.java:647)
at oracle.j2ee.ws.common.encoding.simpletype.XSDDecimalEncoder.stringToObject(XSDDecimalEncoder.java:51)
at oracle.j2ee.ws.common.encoding.literal.LiteralSimpleTypeSerializer.deserialize(LiteralSimpleTypeSerializer.java:142)
... 17 more
Process exited with exit code 1.
We think that the exact cause for the problem is as follows.
1. If we check the XSD file corresponds to response object, for one of the element, the type is decimal
<xsd:element minOccurs="0" name="ParentValueSetId" nillable="true" type="xsd:decimal"/>
2. In the SOAP response, this element is empty so during deserialization, the numer format exception occurred in LiteralSimpleTypeSerializer class.
Any help is greatly appreciated.Hi Suresh & Mukesh,
Suresh:
I started the service by going through the following path System Administrator > System Configuration > Service Configuration > Application > <SERVICE_NAME> in system configuration of portal
Mukesh: Here I don't have any proxy settings.
Can you please let me know where I'm going wrong.
Thanx,
Dheeram -
Error while invoking web services from Proxy services in OSB
I have a Proxy Service of message type in Oracel Service Bus 10gR3 and it passes the incoming messages from a JMS Queue to Business Service of Web Services type. This Web Service is hosted in Glass Fish v3 and it's binding style is RPC. The JRE used in both the servers are 1.6.0_20. The JMS message is of Text type. The Web Services at the Glass Fish throws MessageCreationException for any content of the JMS message. However, it works fine if Business Service's test client is invoked from the OSB'S Admin Console. However, the same will not work if Proxy Service's test client is called.
The detailed exception stack is given below :
Thanks for the help.
- Raj
com.sun.xml.ws.protocol.soap.MessageCreationException: Couldn't create SOAP message due to exception: XML reader error: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
at [row,col {unknown-source}]: [1,0]
at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:359)
at com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:318)
at com.sun.xml.ws.transport.http.HttpAdapter.access$500(HttpAdapter.java:92)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:501)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:285)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143)
at org.glassfish.webservices.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:116)
at org.glassfish.webservices.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:87)
at org.glassfish.webservices.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:196)
at org.glassfish.webservices.EjbWebServiceServlet.service(EjbWebServiceServlet.java:127)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at com.sun.grizzly.http.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:195)
at com.sun.grizzly.http.servlet.FilterChainImpl.invokeFilterChain(FilterChainImpl.java:139)
at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:376)
at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:329)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.xml.ws.streaming.XMLStreamReaderException: XML reader error: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
at [row,col {unknown-source}]: [1,0]
at com.sun.xml.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamReaderUtil.java:267)
at com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:95)
at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextContent(XMLStreamReaderUtil.java:110)
at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextElementContent(XMLStreamReaderUtil.java:100)
at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:175)
at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:303)
at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:129)
at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:354)Let me explain what I am trying to achieve. Our application receives data from multiple sources - from mainframe using FTP, JMS Queue and BPM application using Web Services. The data from all these sources are sending to a Web Service running in GlassFish V3. To handle this I have created three Proxy Services and one Business Service on OSB. The Business Service is of type Web Service using the same WSDL from the target Web Service.
The Proxy Services are configured as follows:
Proxy 1 (type - Messaging service) listens to the JMS Queue and receives JMS Text Message -> Business Service(B1) (Web Service).
Proxy 2 (type - Messaging service Polls files from the FTP Server -> Business Service(B1) (Web Service).
Proxy 3 (type - Web service) is invoked by the BPM application and sends a String -> Business Service(B1) (Web Service).
All the Proxies route to the same Business Service - B1 which calls the Web Service in GlassFish. The only Proxy that works fine is Proxy 3 which is created using the same WSDL of the Web Service. In the other two proxies it thows the same exception in GlassFish as I mentioned before.
com.sun.xml.ws.protocol.soap.MessageCreationException: Couldn't create SOAP message due to exception: XML reader error: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog at [row,col {unknown-source}]: [1,0] at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:359)
Is this configuration correct to achieve my requirements?
Once again thanks for the help.
- Raj -
Error while invoking web service from PDK
Hi,
I had written code to invoke a sample web service which is generated through WSDL file. Started the web service and followed the sequence of steps that are described in this blog:
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2947. [original link is broken] [original link is broken] [original link is broken]
But it is throwing expection - Service Not Found.
I followed the below 2 threads also, but with no success:
Google Service Example
Can not access custom portal service on EP6
Can any one please let me know where I'm going wrong.
Would appreciate if some can provide sample code/document in invoking the web service from PDK.
Appreciate your help.
Thanx,
DheeramHi Suresh & Mukesh,
Suresh:
I started the service by going through the following path System Administrator > System Configuration > Service Configuration > Application > <SERVICE_NAME> in system configuration of portal
Mukesh: Here I don't have any proxy settings.
Can you please let me know where I'm going wrong.
Thanx,
Dheeram -
Jdeveloper WS proxy error while invoking web service deployed on weblogic
Hello experts, can you please help me. I have web service deployed on weblogic server.
I have not set any credential for this web service. I can test the service from SOAPUI without providing any credentials.
Then I generated WS proxy client using Jdeveloper. When I try to run the client, I do not know why I get security execption (shown below) eventhough I have not secured the web service deployed on weblogic server.
java.lang.SecurityException: keyStoreFilename is either null or empty string
at weblogic.wsee.security.util.CertUtils.getCertificate(CertUtils.java:87)
at pilot1.ContactWSPortTypePortClient.getBSTCredentialProvider(ContactWSPortTypePortClient.java:104)
at pilot1.ContactWSPortTypePortClient.setPortCredentialProviderList(ContactWSPortTypePortClient.java:78)
at pilot1.ContactWSPortTypePortClient.main(ContactWSPortTypePortClient.java:46)
Process exited with exit code 0.
Here is my client class :
public static void main(String[] args) {
try {
contactWSService = new ContactWSService();
ContactWSPortType contactWSPortType = contactWSService.getContactWSPortTypePort();
Map<String, Object> requestContext = ((BindingProvider) contactWSPortType).getRequestContext();
setPortCredentialProviderList(requestContext);
// Add your code to call the desired methods.
// QueryPageInputSecondPage qpisp= new QueryPageInputSecondPage(); //I have commented it in order to resolve security issue
System.out.println("Inside the client class");
} catch (Exception ex) {
ex.printStackTrace();
Inside the method setPortCredentialProviderList(), I have not provided any credentials, keystores etc. Because weblogic is not setup with SSL and also I have not set up any authorization or authentication for the web service. I do not know why I am able to test it through SOAPUI and why not using WS proxy.
Appreciate your quick response.
thanks a lot
jyothiHello experts, can you please help me. I have web service deployed on weblogic server.
I have not set any credential for this web service. I can test the service from SOAPUI without providing any credentials.
Then I generated WS proxy client using Jdeveloper. When I try to run the client, I do not know why I get security execption (shown below) eventhough I have not secured the web service deployed on weblogic server.
java.lang.SecurityException: keyStoreFilename is either null or empty string
at weblogic.wsee.security.util.CertUtils.getCertificate(CertUtils.java:87)
at pilot1.ContactWSPortTypePortClient.getBSTCredentialProvider(ContactWSPortTypePortClient.java:104)
at pilot1.ContactWSPortTypePortClient.setPortCredentialProviderList(ContactWSPortTypePortClient.java:78)
at pilot1.ContactWSPortTypePortClient.main(ContactWSPortTypePortClient.java:46)
Process exited with exit code 0.
Here is my client class :
public static void main(String[] args) {
try {
contactWSService = new ContactWSService();
ContactWSPortType contactWSPortType = contactWSService.getContactWSPortTypePort();
Map<String, Object> requestContext = ((BindingProvider) contactWSPortType).getRequestContext();
setPortCredentialProviderList(requestContext);
// Add your code to call the desired methods.
// QueryPageInputSecondPage qpisp= new QueryPageInputSecondPage(); //I have commented it in order to resolve security issue
System.out.println("Inside the client class");
} catch (Exception ex) {
ex.printStackTrace();
Inside the method setPortCredentialProviderList(), I have not provided any credentials, keystores etc. Because weblogic is not setup with SSL and also I have not set up any authorization or authentication for the web service. I do not know why I am able to test it through SOAPUI and why not using WS proxy.
Appreciate your quick response.
thanks a lot
jyothi -
Weblogic9.1 Error while invoking web services
We are in the process of migrating from webogic8.1 to 9.1
there are some webservces that are deployed using service gen.
When these services are invoked in 9.1 the following exception is caught
The web service is invoked using the client which was generated using axis 1.3 and jdk1.5
"java.lang.IllegalStateException: Current state = FLUSHED, new state = CODING_END
at java.nio.charset.CharsetEncoder.throwIllegalStateException(CharsetEncoder.java:941)
at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:537)
at weblogic.webservice.util.NoFlushOutputStreamWriter.write(NoFlushOutputStreamWriter.java:219)
at weblogic.webservice.util.NoFlushOutputStreamWriter.write(NoFlushOutputStreamWriter.java:187)
at weblogic.xml.babel.stream.XMLWriter.write(XMLWriter.java:71)
Truncated. see log file for complete stacktrace"Hi Kumar Reddy
any luck? we are alo geting the same kind of exception,
please see the stack trace below..and also let us know if u could solve this,
thx in advance..
-karthi
java.lang.IllegalStateException: Current state = FLUSHED, new state = CODING_END
at weblogic.webservice.util.NoFlushOutputStreamWriter.write(NoFlushOutputStreamWriter.java:250)
at java.io.Writer.write(Writer.java:126)
at weblogic.xml.babel.stream.XMLWriter.write(XMLWriter.java:62)
at weblogic.xml.babel.stream.XMLWriter.write(XMLWriter.java:126)
at weblogic.xml.babel.stream.XMLWriter.write(XMLWriter.java:360)
at weblogic.xml.babel.stream.XMLOutputStreamBase.writeXMLEvent(XMLOutputStreamBase.java:77)
at weblogic.xml.babel.stream.XMLOutputStreamBase.write(XMLOutputStreamBase.java:83)
at weblogic.xml.babel.stream.XMLOutputStreamBase.flush(XMLOutputStreamBase.java:208)
at weblogic.xml.babel.stream.XMLOutputStreamBase.flush(XMLOutputStreamBase.java:215)
at weblogic.xml.babel.stream.XMLOutputStreamBase.addXMLEvent(XMLOutputStreamBase.java:125) -
Error while Invoking Web Service: Fusion Payables( CreateInvoiceInterface)
HI,
We are testing the webservice from fusion/em site but encountered with an error 'oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : MOAC Priv Name cannot be null; Initialize MOAC"
Details:-
Url: Fusion EM site
Navigation: Oracle Fusion Financials > Fusion Applications> PayablesApp> PayabelsApp(PayableServer_1)
WSDL ***Https:/*****//finApInvQuickInvoicesModel/InvoiceInterfaceService?wsdl
Service: InvoiceInterfaceService
Port:InvoiceInterfaceServiceSoapHttpPort
Operation:createInvoiceInterface
Security used: HTTP Bsi Auth
Input Arguments used:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:createInvoiceInterface xmlns:ns1="http://xmlns.oracle.com/apps/financials/payables/invoices/quickInvoices/invoiceInterfaceService/types/">
<ns1:invoiceInterfaceHeader xmlns:ns2="http://xmlns.oracle.com/apps/financials/payables/invoices/quickInvoices/invoiceInterfaceService/">
<ns2:ApplicationId>200</ns2:ApplicationId>
<ns2:Attribute1></ns2:Attribute1>
<ns2:Attribute10></ns2:Attribute10>
<ns2:Attribute11></ns2:Attribute11>
<ns2:Attribute12></ns2:Attribute12>
<ns2:Attribute13></ns2:Attribute13>
<ns2:Attribute14></ns2:Attribute14>
<ns2:Attribute15></ns2:Attribute15>
<ns2:Attribute2></ns2:Attribute2>
<ns2:Attribute3></ns2:Attribute3>
<ns2:Attribute4></ns2:Attribute4>
<ns2:Attribute5></ns2:Attribute5>
<ns2:Attribute6></ns2:Attribute6>
<ns2:Attribute7></ns2:Attribute7>
<ns2:Attribute8></ns2:Attribute8>
<ns2:Attribute9></ns2:Attribute9>
<ns2:AttributeCategory></ns2:AttributeCategory>
<ns2:AwtGroupName></ns2:AwtGroupName>
<ns2:BankChargeBearer></ns2:BankChargeBearer>
<ns2:ControlAmount currencyCode=""></ns2:ControlAmount>
<ns2:CorrectionPeriod></ns2:CorrectionPeriod>
<ns2:CustomerRegistrationCode></ns2:CustomerRegistrationCode>
<ns2:CustomerRegistrationNumber></ns2:CustomerRegistrationNumber>
<ns2:DeliveryChannelCode></ns2:DeliveryChannelCode>
<ns2:Description></ns2:Description>
<ns2:DocumentCategoryCode></ns2:DocumentCategoryCode>
<ns2:DocumentSubType></ns2:DocumentSubType>
<ns2:ExchangeRateType></ns2:ExchangeRateType>
<ns2:ExternalDocumentReference></ns2:ExternalDocumentReference>
<ns2:GlobalAttribute1></ns2:GlobalAttribute1>
<ns2:GlobalAttribute10></ns2:GlobalAttribute10>
<ns2:GlobalAttribute11></ns2:GlobalAttribute11>
<ns2:GlobalAttribute12></ns2:GlobalAttribute12>
<ns2:GlobalAttribute13></ns2:GlobalAttribute13>
<ns2:GlobalAttribute14></ns2:GlobalAttribute14>
<ns2:GlobalAttribute15></ns2:GlobalAttribute15>
<ns2:GlobalAttribute16></ns2:GlobalAttribute16>
<ns2:GlobalAttribute17></ns2:GlobalAttribute17>
<ns2:GlobalAttribute18></ns2:GlobalAttribute18>
<ns2:GlobalAttribute19></ns2:GlobalAttribute19>
<ns2:GlobalAttribute2></ns2:GlobalAttribute2>
<ns2:GlobalAttribute20></ns2:GlobalAttribute20>
<ns2:GlobalAttribute3></ns2:GlobalAttribute3>
<ns2:GlobalAttribute4></ns2:GlobalAttribute4>
<ns2:GlobalAttribute5></ns2:GlobalAttribute5>
<ns2:GlobalAttribute6></ns2:GlobalAttribute6>
<ns2:GlobalAttribute7></ns2:GlobalAttribute7>
<ns2:GlobalAttribute8></ns2:GlobalAttribute8>
<ns2:GlobalAttribute9></ns2:GlobalAttribute9>
<ns2:GlobalAttributeCategory></ns2:GlobalAttributeCategory>
<ns2:GroupId></ns2:GroupId>
<ns2:ImportDocumentNumber></ns2:ImportDocumentNumber>
<ns2:InvoiceAmount currencyCode=""></ns2:InvoiceAmount>
<ns2:InvoiceCurrencyCode></ns2:InvoiceCurrencyCode>
<ns2:InvoiceNumber>1551</ns2:InvoiceNumber>
<ns2:InvoiceTypeLookupCode></ns2:InvoiceTypeLookupCode>
<ns2:LegalEntityName></ns2:LegalEntityName>
<ns2:NoExchangeRateBaseAmount currencyCode=""></ns2:NoExchangeRateBaseAmount>
<ns2:OperatingUnit></ns2:OperatingUnit>
<ns2:OrgId>300000000693070</ns2:OrgId>
<ns2:PayGroupLookupCode></ns2:PayGroupLookupCode>
<ns2:PayProcTrxnTypeCode></ns2:PayProcTrxnTypeCode>
<ns2:PaymentCrossRateType></ns2:PaymentCrossRateType>
<ns2:PaymentCurrencyCode></ns2:PaymentCurrencyCode>
<ns2:PaymentFunction></ns2:PaymentFunction>
<ns2:PaymentMethodCode></ns2:PaymentMethodCode>
<ns2:PaymentMethodLookupCode></ns2:PaymentMethodLookupCode>
<ns2:PaymentReasonCode></ns2:PaymentReasonCode>
<ns2:PaymentReasonComments></ns2:PaymentReasonComments>
<ns2:PONumber></ns2:PONumber>
<ns2:PortOfEntryCode></ns2:PortOfEntryCode>
<ns2:PrepayApplyAmount currencyCode=""></ns2:PrepayApplyAmount>
<ns2:PrepayNumber></ns2:PrepayNumber>
<ns2:ProductTable></ns2:ProductTable>
<ns2:Reference1></ns2:Reference1>
<ns2:Reference2></ns2:Reference2>
<ns2:ReferenceKey1></ns2:ReferenceKey1>
<ns2:ReferenceKey2></ns2:ReferenceKey2>
<ns2:ReferenceKey3></ns2:ReferenceKey3>
<ns2:ReferenceKey4></ns2:ReferenceKey4>
<ns2:ReferenceKey5></ns2:ReferenceKey5>
<ns2:RemittanceMessage1></ns2:RemittanceMessage1>
<ns2:RemittanceMessage2></ns2:RemittanceMessage2>
<ns2:RemittanceMessage3></ns2:RemittanceMessage3>
<ns2:RequesterEmployeeNumber></ns2:RequesterEmployeeNumber>
<ns2:RequesterFirstName></ns2:RequesterFirstName>
<ns2:RequesterLastName></ns2:RequesterLastName>
<ns2:SettlementPriority></ns2:SettlementPriority>
<ns2:ShipToLocation></ns2:ShipToLocation>
<ns2:SupplierTaxInvoiceNumber></ns2:SupplierTaxInvoiceNumber>
<ns2:TaxInvoiceInternalSequence></ns2:TaxInvoiceInternalSequence>
<ns2:TaxationCountry></ns2:TaxationCountry>
<ns2:TermsName></ns2:TermsName>
<ns2:UniqueRemittanceIdentifier></ns2:UniqueRemittanceIdentifier>
<ns2:UriCheckDigit></ns2:UriCheckDigit>
<ns2:USSGLTransactionCode></ns2:USSGLTransactionCode>
<ns2:VendorEmailAddress></ns2:VendorEmailAddress>
<ns2:VendorId>300000000672070</ns2:VendorId>
<ns2:VendorName></ns2:VendorName>
<ns2:VendorNumber></ns2:VendorNumber>
<ns2:VendorSiteCode></ns2:VendorSiteCode>
<ns2:VendorSiteId>300000000694062</ns2:VendorSiteId>
<ns2:VoucherNumber></ns2:VoucherNumber>
<ns2:B2BSiteCode></ns2:B2BSiteCode>
<ns2:B2BProgramName></ns2:B2BProgramName>
</ns1:invoiceInterfaceHeader>
</ns1:createInvoiceInterface>
</soap:Body>
</soap:Envelope>
If any one encountered with similar issues , please guide us with the steps to resolve this issue.
thanks & Regards
Rakeshhi Jani,
Thanks and really appreciating your fast response. We already referred that thread and our DBA's have gone through it. Hope the log file might help you to find the reason for the issue.
Please see the Trace information ( Exception report)
java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException:
Client received SOAP Fault from server : MOAC Priv Name cannot be null; Initialize
MOAC at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation
(WSTestModel.java:808) at
oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:384) at
oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:302) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke
(Method.java:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:187) at
com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297) at
org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invok
e(MethodExpressionMethodBinding.java:53) at
org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBind
ing(UIXComponentBase.java:1256) at
org.apache.myfaces.trinidad.component.UIXCommand.broadcast
(UIXCommand.java:183) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run
(ContextSwitchingComponent.java:93) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhas
e(ContextSwitchingComponent.java:361) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast
(ContextSwitchingComponent.java:96) at
oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run
(ContextSwitchingComponent.java:93) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhas
e(ContextSwitchingComponent.java:361) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast
(ContextSwitchingComponent.java:96) at
oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase
(LifecycleImpl.java:407) at
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:197) at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
(StubSecurityHelper.java:227) at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet
(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute
(ServletStubImpl.java:301) at weblogic.servlet.internal.TailFilter.doFilter
(TailFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:57) at oracle.sysman.emSDK.license.LicenseFilter.doFilter
(LicenseFilter.java:102) at weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:57) at oracle.adf.model.servlet.ADFBindingFilter.doFilter
(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:57) at
oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter
(RegistrationFilter.java:131) at
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilte
r(TrinidadFilterImpl.java:447) at
oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilte
r(TrinidadFilterImpl.java:447) at
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl
(TrinidadFilterImpl.java:271) at
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter
(TrinidadFilterImpl.java:177) at
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at
oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at
oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter
(SSOSessionSynchronizationFilter.java:292) at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at
oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at
oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180) at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at
oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:183) at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at
oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at
oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter
(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:57) at oracle.sysman.core.app.perf.PerfFilter.doFilter
(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:57) at oracle.sysman.eml.app.ContextInitFilter.doFilter
(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:57) at oracle.security.jps.ee.http.JpsAbsFilter$1.run
(JpsAbsFilter.java:119) at oracle.security.jps.util.JpsSubject.doAsPrivileged
(JpsSubject.java:315) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode
(JpsPlatformUtil.java:442) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode
(JpsAbsFilter.java:103) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter
(JpsAbsFilter.java:171) at oracle.security.jps.ee.http.JpsFilter.doFilter
(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:57) at oracle.dms.servlet.DMSServletFilter.doFilter
(DMSServletFilter.java:164) at weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:57) at weblogic.servlet.internal.RequestEventsFilter.doFilter
(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:57) at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun
(WebAppServletContext.java:3730) at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run
(WebAppServletContext.java:3696) at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at
weblogic.servlet.internal.WebAppServletContext.securedExecute
(WebAppServletContext.java:2273) at
weblogic.servlet.internal.WebAppServletContext.execute
(WebAppServletContext.java:2179) at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490) at
weblogic.work.ExecuteThread.run(ExecuteThread.java:221) Caused by:
oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP
Fault from server : MOAC Priv Name cannot be null; Initialize MOAC at
oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke
(DispatchUtil.java:362) at
oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatc
h(OperationInfoImpl.java:1004) at
oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:750) at
oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation
(WSTestModel.java:803) ... 77 more Caused by:
oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from
server : MOAC Priv Name cannot be null; Initialize MOAC at
oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException
(DispatchImpl.java:1040) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke
(DispatchImpl.java:826) at
oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry
(OracleDispatchImpl.java:235) at
oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106)
at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke
(DispatchUtil.java:358) at
oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatc
h(OperationInfoImpl.java:1004) at
oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:750) at
oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation
(WSTestModel.java:802) at
oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:384) at
oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:301) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke
(Method.java:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:187) at
com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297) at
org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invok
e(MethodExpressionMethodBinding.java:53) at
org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBind
ing(UIXComponentBase.java:1256) at
org.apache.myfaces.trinidad.component.UIXCommand.broadcast
(UIXCommand.java:183) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run
(ContextSwitchingComponent.java:92) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhas
e(ContextSwitchingComponent.java:361) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast
(ContextSwitchingComponent.java:96) at
oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run
(ContextSwitchingComponent.java:92) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhas
e(ContextSwitchingComponent.java:361) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast
(ContextSwitchingComponent.java:96) at
oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication
(LifecycleImpl.java:920) at
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase
(LifecycleImpl.java:406) at
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:197) at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
(StubSecurityHelper.java:227) at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet
(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute
(ServletStubImpl.java:301) at weblogic.servlet.internal.TailFilter.doFilter
(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter
(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter
(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:56) at
oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter
(RegistrationFilter.java:128) at
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilte
r(TrinidadFilterImpl.java:446) at
oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilte
r(TrinidadFilterImpl.java:446) at
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl
(TrinidadFilterImpl.java:271) at
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter
(TrinidadFilterImpl.java:177) at
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at
oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at
oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter
(SSOSessionSynchronizationFilter.java:291) at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at
oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at
oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179) at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at
oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at
oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at
oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter
(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter
(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter
(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run
(JpsAbsFilter.java:119) at oracle.security.jps.util.JpsSubject.doAsPrivileged
(JpsSubject.java:315) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode
(JpsPlatformUtil.java:442) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode
(JpsAbsFilter.java:103) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter
(JpsAbsFilter.java:171) at oracle.security.jps.ee.http.JpsFilter.doFilter
(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter
(DMSServletFilter.java:164) at weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter
(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:56) at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun
(WebAppServletContext.java:3730) at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run
(WebAppServletContext.java:3696) at
weblogic.security.acl.internal.AuthenticatedSubject.doAs
(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs
(SecurityManager.java:120) at
weblogic.servlet.internal.WebAppServletContext.securedExecute
(WebAppServletContext.java:2273) at
weblogic.servlet.internal.WebAppServletContext.execute
(WebAppServletContext.java:2179) at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490) at
weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) ...
Thanks
Rakesh Radhakrishnan -
Error while invoking web service from BPEL 11g
Hello All,
I am creating a webservice using java.
I created service using java and deployed it on the SOA server 11g.
I am able to test it from the weblogic console.
When i am trying to invoke it from BPEL, i am getting the remote fault:
Error Message: {http://schemas.oracle.com/bpel/extension}remoteFault
Fault ID default/TestADWebServiceBPEL!1.0soa_d7638bee-192e-419e-9b1a-2f356c13712c/TestADServiceBPEL/80015-BpInv0-BpSeq0.3-3*
Fault Time Sep 28, 2010 1:31:01 PM
Non Recoverable System Fault :
<bpelFault><faultType>0</faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): http://10.6.61.93:7001/TestApplication-ADUserManagement-context-root/ActiveDirectoryUserPort</summary></part><part name="detail"><detail>Unable to access the following endpoint(s): http://10.6.61.93:7001/TestApplication-ADUserManagement-context-root/ActiveDirectoryUserPort</detail></part><part name="code"><code>200</code></part></remoteFault></bpelFault>
Does anyone has any idea, what can be the reason.
Is it realted to some proxy server settings. Where these settings can be made in the weblogic server.
Thanks and Regards,
Saurav SinglaHi Suresh & Mukesh,
Suresh:
I started the service by going through the following path System Administrator > System Configuration > Service Configuration > Application > <SERVICE_NAME> in system configuration of portal
Mukesh: Here I don't have any proxy settings.
Can you please let me know where I'm going wrong.
Thanx,
Dheeram -
Web service client behind a proxy server connecting to web service over SSL
Hi Friends,
A web service is exposed by an external system over SSL. We are behind a proxy server and are trying to get connected to web service over SSL. <p>
We are getting the following error on the test browser of workshop<p><p>
External Service Failure: FATAL Alert:HANDSHAKE_FAILURE - The handshake handler was unable to negotiate an acceptable set of security parameters.<p><p>
the whole trace is <p>
<p>JDIProxy attached
<Sep 24, 2005 9:27:25 AM EDT> <Warning> <WLW> <000000> <Id=creditCheckCtrl:salesExpertServiceControl; Method=creditcheckcontr
ol.SalesExpertServiceControl.doCreditVerification(); Failure=com.bea.control.ServiceControlException: SERVICE FAULT:
Code:javax.net.ssl.SSLHandshakeException
String:FATAL Alert:HANDSHAKE_FAILURE - The handshake handler was unable to negotiate an acceptable set of security parameters
Detail:
END SERVICE FAULT>
<Sep 24, 2005 9:27:26 AM EDT> <Warning> <WLW> <000000> <Id=creditCheckCtrl; Method=creditcheckcontrol.CreditCheck.testCreditC
heck(); Failure=com.bea.control.ServiceControlException: SERVICE FAULT:
Code:javax.net.ssl.SSLHandshakeException
String:FATAL Alert:HANDSHAKE_FAILURE - The handshake handler was unable to negotiate an acceptable set of security parameters
Detail:
END SERVICE FAULT [ServiceException]>
<Sep 24, 2005 9:27:26 AM EDT> <Warning> <WLW> <000000> <Id=top-level; Method=processes.CreditCheck_wf.$__clientRequest(); Fai
lure=com.bea.wli.bpm.runtime.UnhandledProcessException: Unhandled process exception [ServiceException]>
<Sep 24, 2005 9:27:26 AM EDT> <Error> <WLW> <000000> <Failure=com.bea.wli.bpm.runtime.UnhandledProcessException: Unhandled pr
ocess exception [ServiceException]><p>
I am not able to make out what could be possibly wrong. Please let me know if you guys have any ideas about how to resolve it.
Thanks
Sridhardid you resolve this problem. I am looking at the same issue. If you did I would really appreciate your response.
Thanks. -
Web Service over SSL failing in BEA Workshop
I have deployed a web service on weblogic 9.2
I have enabled one-way ssl on it. got a trial ssl certificate from verisign. installed them on the keystore/truststore on the server as well as the jre (cacerts and jssecacerts truststores) being used by the client. the client is on different machine than the server.
i have developed the service through 'bea weblogic workshop 9.2' now when i try to test the service through the 'web services explorer' within bea weblogic workshop i receive the following error:
IWAB0135E An unexpected error has occurred.
IOException
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
on server:
<Jul 13, 2009 6:45:44 PM EDT> <Warning> <Security> <BEA-090485> <CERTIFICATE_UNKNOWN alert was received from yunus.l1id.local - 10.10.2.72. The peer has an unspecified issue with the certificate. SSL debug tracing should be enabled on the peer to determine what the issue is.>
if i try to access the web service (over ssl) through the browser (ie/firefox), it works fine. i have generated a proxy class to access this web service through the same bea workshop and that works fine too. certificates are identified and all. i also created a small .net (c#) application that calls this secure web service over ssl from another machine and it works fine too!
of course non-secure url for the web service is working fine in every case.
what can be the reason for this failing only in 'web services explorer' in bea workshop?
cross posted at: http://www.coderanch.com/t/453879/Web-Services/java/Web-Service-over-SSL-failing
thanks.Hello,
I used this example, when I made my experiments with SSL and Glassfish (GF):
http://java.sun.com/developer/EJTechTips/2006/tt0527.html#1
If you have problems with GF I suggest to post a message here:
http://forums.java.net/jive/forum.jspa?forumID=56
e.g. here is one thread:
http://forums.java.net/jive/thread.jspa?threadID=59993&tstart=0
Miro. -
XML Parser Error while creating Web service Client using JAX RPC
hello evryone,
Im facing XML Parser Error while creating web service client using JAX RPC. Im using Net Beans IDE for development purpose. I have wrote configuration file for client. Now i want to create Client stub. However i dont know how to do this in Net Beans. So i tried to do it from Command promt using command :
wscompile -gen:client -d build -classpath build config-wsdl.xml
here im getting Error:
error parsing configuration file: XML parsing error: com.sun.xml.rpc.sp.ParseException:10: XML declaration may only begin entities
Please help me out.
Many thanks in advance,
KaceeCan i use the client generated using jdeveloper 11g to import into the oracle forms 10g, i.e., form builder 10g. Currently this is the version we have in our office.
Maybe you are looking for
-
Unable to Open any Models in the VC storyboard
Hi, I am unable to open any models in the Visual Composer Storyboards. The moment I login to VC, I get the standard IE error and the window closes. Has any one come accross this issue before? -Ashwini.
-
Help opening a .mat file
Hi, I am new to labview and need some assistance trying to open a .mat file for further analysis (example file attached). The file formate is level 5 and I believe the data is in arrays. I do not have access to confirm the structure but have been tol
-
Build array of elements in a for loop
Hello, I have a program where I am taking voltage measurements and computing resistances inside of a for loop. I then want to take these values an place them in individual arrays which are then sent to another subVI to compute the mean and standard d
-
How to optimize the memory for a large labview array?
I am running LabView on Windows XP with 4 Gb of RAM. The array is 51X256X256 complex numbers, but I want 300x256x256. The program runs out of memory when I use more than 51-53 arrays of 256X256. I do not know how to use the in place element structure
-
Dear friends, I have such a requirement. We are implementing PO workflow. A PO is created with centralized and decentralized purchasing groups. If itu2019s created from a plant, it has to be approved by plant manager and purchasing manager at headqua