Handshake between tomcat and sap xi over https
I have a webservice which is hosted on sap xi server. My class in tomcat will call it over https protocol. For that, tomcat needs to import the xi certificate. I did it in cacerts which resides in jre's lib/security directory. Still, it doesn't work. But the strange thing is, if i write the stand alone class, and use the same cacerts file, it works.
// For standalone class
System.setProperty("javax.net.ssl.trustStore", "C:\\certs\\cacerts");
//For class which is in tomcat
System.setProperty("javax.net.ssl.trustStore", <cacerts file path>);
System.setProperty("javax.net.ssl.trustStorePassword", "changeit");
I am getting the following exception :
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
org.apache.axis.client.Call.invokeEngine(Call.java:2784)
org.apache.axis.client.Call.invoke(Call.java:2767)
org.apache.axis.client.Call.invoke(Call.java:2443)
org.apache.axis.client.Call.invoke(Call.java:2366)
org.apache.axis.client.Call.invoke(Call.java:1812)
com.reliant.ws.xi.client.Os_getDocumentRequestBindingStub.os_getDocumentRequest(Os_getDocumentRequestBindingStub.java:164)
com.reliant.ws.xi.client.BillFetchClient.fetchContent(BillFetchClient.java:83)
org.apache.jsp.en_005fUS.EBillViewer.EBillWSCall_jsp._jspService(EBillWSCall_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
The problem was with the certificate. The XI certificate was expired. It was valid from 2002 to 2005. And Tomcat ignores the certificates which are expired. So I was getting No trusted certificate found.
Similar Messages
-
What is the difference between ERP2004 and SAP 47 Enterprise?
Currently we have SAP 47 Enterprise with WAS 6.2. I understand ERP2004 is NW and 6.4 sp9. Can any one please let me know the major difference between ERP2004 and SAP 4.7 Enterprise ( more from abap / workflow view)?
Thanks
SwamyFrom Abap point of view some of the major add-on in erp2004,netwever :
1) Development of webdynpro studio for java development for portal and iviews.
2) Major abap development uses <b>Abap object oriented</b> methodology, rathet hten old conventional Abap,i.e MVC model (Model,View,Controller) where in it uses concept of classes,interfaces,etc.
3) Advanced BSP tech using MVC model to develop web based modules
4) It is closesly integrated with web-based CRM and BW/APO -
What is the difference between mySAP2004 and SAP ERP 2004?
Hi,
Can anybody tell me what is the difference between mySAP2004 and SAP ERP 2004?
If someone has the document, then please mail me at [email protected]
With Regards
tiffnyHi Tiffny,
actually I don't see a difference as "mySAP2004" is not an official name for anything
There is "mySAP ERP 2004" which is the marketing name for a bunch of functionality provided by several different bits of software components.
Hth,
Michael -
Relation between EDI and SAP MM
Hello Gurus,
Is there any relation between SAP MM and EDI...?
Omkar--Hello Omkar,
There is no specific relation between EDI and SAP MM. SAP MM module is for your internal data while Industry EDI is communication media.
E.g.
If you create a PO in your system , it is related to your MM part while information with regards to craeted PO is supplied to vendor by EDI _ Electronic data interchange.
Hope this will help you.
Amit C kulkarni. -
Integration between Ariba and SAP R/3 4.7
Hi All,
Have anyone implementing the integration between Ariba Software and SAP R/3 4.7?
In my project has using Ariba TIBCO and SAP Adapter as the integration tool that connect to SAP R/3 4.7 Non-Unicode system (using MDM for Thai language).
I found that when I pull data from SAP through Ariba TIBCO and SAP Adater, the Thai character showed as unreadable character like a garbage character.
Please help me.
ThanksHi Bimal,
Please go through this document which contains end to end steps to integrate R/3 HR with CRM
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84dd0c97-0901-0010-4ab2-9849fba57e31
Best Regards,
Pratik Patel
<b>Reward with Points!</b> -
How can I know the end of TCP stream and/or SOAP over HTTP flow
Hi all!
I want to read SOAP messages over HTTP, from sniffed TCP fragments.
How can I decide that the TCP and/or the HTTP fragmenst finished?
For example there is a SOAP message sliced to 5 TCP packets, and the first packet contains the HTTP header and some SOAP content too. The last packet contains the SOAP XML's ending XML-tag </soap:Envelope>.
I don't want to watch every packet's end like "if the end string is </soap:Envelope> then it is the last packet", I just simply want to know which is the last packet of that message.
The TCP connection won't be closed after the message arrives, and let's say the HTTP header doesn't contain a Content-Length field.A TCP connection is just a stream of bytes. It doesn't care what those bytes are. HTTP is built on top of TCP and specifies the ability to make a request without closing the connection (HTTP 1.1 Keep Alive). So you need to understand the HTTP protocol, understand whether it's a Keep Alive connection or not, and then do the same thing a browser would to do understand when a reply has been completed and the connection is available for the next request. Otherwise, you'll just look like you're getting loads of unrelated data as you sniff the connection. Oh, and you'll probably need to understand the HTTP chunking protocol too.
-
Hi can some tell me what is the difference between sapr3 and sap business 1
is there any difference between sap business one and sap r3 if i learn sd module
Hi Siva,
The SD module from R/3 is completely unrelated to the business processes and technologies used in SAP Business One (SBO). R/3 and SBO are completely different products and direct comparisons are difficult. I don't think learning one will help in any degree in learning the other. With R/3 you tend to specialise in one area (eg SD) as the complexity and scale of implementations requires this specialisation. With SBO, a single consultant would be expected to know the whole product. SBO is a much simpler product designed for small to medium sized companies so the processes are much more generic.
Kind Regards,
Owen -
Process of Integration between QTP and SAP
we are in process of integrating QTP with SAP for test scenarios
how to install QTP and SAP and their connections .
Request you all to share your experience and knowledge in this. It will be really helpful.
Thanks
Rajesh BurraNot answered
-
Interaction between BSP and SAP GUI
Hello all,
I am having trouble with interaction between BSP and dynpros:
I have a dynpro with a container where a BSP is shown.
I would like to be able to return a value from the BSP to the control program of the dynpro.
Any ideas of how to do it?
Thanks a lot!
Helpful answers will be regarded.Hello both,
thank you for your replies, but I am still not able of performing this.
I have tried using GET/SET parameters but it is not working, I get no parameter (perhaps I am not using the sentences correctly or in the correct place).
I have also tried the code of demo program SAPHTML_EVENTS_DEMO and I think I cannot do it, I explain it a bit more:
I have a button on my BSP with some code programmed on event OnInputProcessing to be executed, and at the end I would like to return one value to the control program of the dynpro.
But if I set the html form of the BSP as action:SAPEVENT, the bsp code is not executed...
Am I doing something wrong?
Thanks!! -
Standard-interfaces between crm and sap for insurance
Hello,
are there existing documentations to connect crm and sap for insurance components (policy management, claims managment, fs-cd)?
Best regrads
Oliver Prodinger20,000 is on quite higher side for IDOC.
IBIP help doc says it needs 2 Kbyte for each record, i.e. 40 Mb for 20,000 rec. that should be ok. Since it has structures for Partner & classification data , I don't think u need to modify the BAPI.
Transaction IE01 - Create equipment
Transaction IE02 - Change equipment
Structure - IBIPEQUI Equipment record
|-> IBIPNSTA New status profile if necessary
|->> IBIPSTAT User status records
|->> IBIPDOCU Doc. from Doc. management system
|->> IBIPPART Partner details (comment below)
|-->> IBIPTEXT (see comment below)
for long text: TEXT_MARK = " " empty
for internal comment: TEXT_MARK = "1"
|-->> IBIPCLAS Classification record (eqpmt class)
|-->> IBIPFEAT Classification characteristics,
ie. features for the class
|-->> IBIPBDCD see below (from screen 102) -
Differences between Oracle and SAP ERP
Hi All
I have a Industrial project which is currently having oracle.
I would like to give them a presentation on SAP ERP and its modules.
Does any1 have a ppt which highlights the advantages of SAP over Oracle. and stating its major differences.
Please send it ASAP.
Thanks and RegardsHi.......
Check this link :
The key difference between SAP and Oracle
http://searchsap.techtarget.com/news/article/0,289142,sid21_gci1294788,00.html
http://www.itjungle.com/two/two032807-story03.html
http://searchmanufacturingerp.techtarget.com/news/article/0,289142,sid193_gci1325932,00.html
Hope this helps you...........
Regards,
Debjani.......... -
Is there a way to find all config changes between clients and sap system
We have our Dev system with clients
310 - Developer make changes and create transport
400 - Test client
410 - a copy of our Production system (over 1 year ago0
TST - this is our quality system with one client
101
Production system one client
101
I know if i do a database copy from Production to our TST system, both systems would be exact.
Abaper Director wants to know all the configuration changes that are different between Devopment client 310 - Test and production.
I told him that in development client 310 the abaper or functional users make most of the changes if they do not get transported they would be missing.
I cannot copy to client 310 otherwise we would loose all of our version management.
Is there another way that I can see the config changes between all these clients.
Thanks
JoeYou should be able to use tcode SCU0
Regards,
Brian -
Communicate link between Java and ABAP Stack for https
I have configured https in both the java and abap stacks (we have a double stack configuration). Due to our future configuration I have changed the hostnames to fully qualified hostnames per SAP instructions.
The question I have is does anyone know what RFC destinations or JCo settings I need to change to make https complete?
I have the problem where when I fire off the Integration Builder from within the ABAP stack (SXMB_IFR) I get a straight hostname (no domain name). Where is this configured? Any help is appreciated..Check the exchange profile (Administratio tab in /rep/start/index.jsp page; you will have to enter it manually since it is throwing error from SXMB_IFR).
Regards,
Henrique. -
Connectivity between SSRS and SAP HANA
Hi all
We currently use SSRS as our main Reporting tool, the company is considering to implement SAP HANA, is it possible to connect SQL Server Reporting Services to SAP HAHA? And what if any are the draw backs?
Thanks
RuanHi ruancra,
According to your description, you want to connect SSRS to SAP HANA. Right?
In Reporting Services, it just works on helping us create, deploy, and manage reports. We can only connect to a data source to retrieve data. It is not supported connecting to another report tool. Also we are not sure if reports
created by SSRS (.rdl/.rdlc files)can be opened in SAP HANA. For more information about SAP HANA, please visit the SAP HANA official site:
http://hana.sap.com/abouthana.html
Best Regards,
Simon Hou -
How to configure SSL in tomcat and transfer data through HTTPS.
Hi all,
I hav an urgent requirement for transfering data through HTTPS.But hav no idea how to achieve that,using SSL.
For that i have to configure tomcat.What and all i hav to do
download and which and all files i hav to alter for configuring the tomcat.
seeking for ur help,
thank youMulti-posted.
http://forum.java.sun.com/thread.jspa?threadID=591116&messageID=3079266#3079266
http://forum.java.sun.com/thread.jspa?threadID=591062&messageID=3078566#3078566
http://forum.java.sun.com/thread.jspa?threadID=590987&messageID=3077736#3077736
Maybe you are looking for
-
MSI KT3 Ultra ARU PCI/AGP divider
Hey, I'm using the overclocking features on the board, but i can't find the PCI/AGP adjustment in the BIOS, any body know what i can do?? I'm using the latest BIOS which is 5.6 Cheers
-
Movies are on Itunes but don't show on my Ipod
Hello I'm not sure what I'm doing wrong... I have a few mp4 movies and they are showing up on my Itunes and it says they sync with my Ipod, but then when I look at my Ipod there are no movies, videos or anything under there... Does anyone have any th
-
Photoshop CS6 on a Mac using an Epson Stylus PRO 3800 printer.
Installed Photoshop CS6 on a Mac Version 10.9.4. Installed an Epson Stylus PRO 3800 printer. When I try to print through Photoshop the dialogue box won't give the option to color manage. I followed the link suggested in the print dialogue box but tha
-
PCI 6220 how to route I/O signals?
Hi I am using a PCI 6220 connected with a SCC 2345, on labview 71 XP based. I have 24 V signal and I want to divide the frequency, and send out divided signal on RTSI 0. I tryed to use a SC-DI on the 2345, but I don't know how to route the DI signal
-
I recently attempted to put some files on my Nomad Zen Xtra with the most recent PlaysForSure firmware after a format of my PC and a fresh driver install, but when I attempted to do so, the Creative transfer software was not working properly. As a re