Https call from SAP SOAP client tool

Hi,
in order to call a webservice via https using the SAP SOAP client tool, I've done the following:
1. The Client cert field filled with my personal certificate from IE (pcert.pfx)
2. The Trust store field left as it was (cacerts file of the jre).
When calling the service I am getting
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
Very likely this is caused by setting 2.
Could anybody advise how to get an X.509 certificate of trusted root CAs? Any chance to export from IE or would one have to get that from a CA? File types required are ppfx or p12, which is strange since these contain private keys.
Much appreciated.
Rene Funke

Hi Rene,
You need to include the full certificate chain in the p12 file. i.e. private cert and root CA cert.  IE will not export the full certificate path with the private certificate unless it was imported into IE with this flag set. You could use Firefox to generate the pks12 file. It will include the full certificate path.
This private certificate (p12 file) should then be added to the truststore in XI.
Also, .p12 (pkcs#12) file format defines a file format commonly used to store private keys with accompanying public key certificates - not just private keys.
Hope this helps.
Bryan

Similar Messages

  • HTTP POST from SAP to an external server

    Experts.
    I have a XML file encased in MIME and SOAP format. Essentially it's a .xml file.
    I need to post this to an external server (have the IP address and logon credentials) using http post functionality.
    Can this be accomplished in SAP using ABAP, Function module? I need to post the entire file.
    If anyone has done this, can you please post the steps needed?
    Thank you so much.
    Raj

    Hi Raj,
    a good starting point for you would be the SAP Help. [Here|http://help.sap.com/saphelp_nw04/helpdata/en/1f/93163f9959a808e10000000a114084/frameset.htm] is some sample code of how to make a HTTP call from ABAP.
    Cheers
    Graham Robbo
    Edited by: Graham Robinson on Oct 28, 2009 2:44 PM

  • Invoke MII Transaction thru RFC Call from SAP

    Hi,
    We want to get the data from Oracle DB table thru MII (12.0.2).
    We need to use RFC call from SAP to MII.
    Is it possible to invoke the MII transaction thru RFC by setting in Message Listener?
    We have used iDoc messages but not tried with RFC.
    How to do that?
    Regards,
    Senthil

    I feel MII doesn't have anything equivalent to RFC in ECC. You may try web services in an ABAP program
    Hope the article below helps you
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9f101377-0c01-0010-269f-c3ee905d583b&overridelayout=true
    Regards,
    Musarrat

  • Which one is the Dashboard tool in SAP BOBJ Client tool 4.1

    I am unable to identify the 'Dashboard' in SAP BOBJ Client tool 4.1.
    Please find the attached screen shot of all the items present in the complete Suite of BOBJ client 4.1
    If the 'Dashboard' tool in SAP BOBJ 4.0 is 'Xcelsius dashboard'., then what is the Dashboard tool in SAP BOBJ Client 4.1.
    Below are the tools which got installed after installing SAP BOBJ Client 4.1, out of those please help me identify 'Dashboard Tool"
    --regards
    ranendra

    Hi Ranendra,
    Dashboard Designer 4.1 will not be installed automatically with BO Client Tools 4.1. You need to install separately.You can download the Dashboard Designer 4.1 in SAP Market Place(http://service.sap.com).It will ask you license key,you can get temporary license keys for BusinessObjects tools in SAP Market place itself if didn't raise a request for permanent license keys.
    Regards,
    Venkat P

  • How can i debug a rfc being called from sap

    hello Gurus,
    We made a RFC call from SAP r3 to sap grc nfe......we did not receive any data in sap grc .......we go to SM58 and there it gives
    the message "Name or password is incorrect (repeat logon)u201D.
    How can i find out where the data has stuck.
    Please help.
    BR
    Honey

    HI,
    please have a look at the link below..
    this may help u !!!
    [Re: how can i debug a rfc being called from .net connector (NCO) v2.0?;
    Best of Luck !!1
    Regards
    Ravi

  • Subroutine call from SAP Script

    Hi,
    I need to calculate required/outstanding qty. hence am passing existing values of reservation#/item# and issued qty.
    both req/out qty are returned blank by the code. please help.
    Following is my code segment for a external routine call from SAP Script.
    /:   PERFORM P_GET_QTY IN PROGRAM ZTEST
    /:   USING &MSEG-RSNUM&                     
    /:   USING &MSEG-RSPOS&                     
    /:   CHANGING &REQ_QTY&                     
    /:   CHANGING &MSEG-MENGE&                  
    /:   CHANGING &OUT_QTY&                     
    /:   ENDPERFORM
    REPORT ztest .
    TABLES resb.
    DATA: wa_resb TYPE resb,
          req_qty TYPE resb-bdmng,
          isd_qty TYPE mseg-menge,
          out_qty TYPE resb-bdmng.
    FORM p_get_qty TABLES input  STRUCTURE itcsy
                          output STRUCTURE itcsy.
      DATA: avlbl TYPE resb-bdmng.
      READ TABLE input WITH KEY 'MSEG-RSNUM'.
      CHECK sy-subrc = 0.
      wa_resb-rsnum = input-value.
      READ TABLE input WITH KEY 'MSEG-RSPOS'.
      CHECK sy-subrc = 0.
      wa_resb-rspos = input-value.
      READ TABLE input WITH KEY 'REQ_QTY'.
      CHECK sy-subrc = 0.
      req_qty = input-value.
      READ TABLE input WITH KEY 'MSEG-MENGE'.
      CHECK sy-subrc = 0.
      isd_qty = input-value.
      SELECT SINGLE * INTO wa_resb
                      FROM resb
                      WHERE rsnum = wa_resb-rsnum
                      AND   rspos = wa_resb-rspos.
      CHECK sy-subrc = 0.
      avlbl   = wa_resb-bdmng - wa_resb-enmng.
      req_qty = avlbl - out_qty.
      out_qty = req_qty - isd_qty.
      output-name = 'REQ_QTY'.
      output-value = req_qty.
    MODIFY output TRANSPORTING name value WHERE name = 'REQ_QTY'.
      APPEND output.
      output-name = 'OUT_QTY'.
      output-value = out_qty.
    MODIFY output TRANSPORTING name value WHERE name = 'OUT_QTY'.
      APPEND output.
    ENDFORM.
    Thanks,
    Ram.

    Hi Ram,
    I think you have to use MODIFY instead of append for the OUTPUT table.
    MOdify the table with KEY. This should resolve the problem.
    Ram, you can check this code and see how the MODIFY is to be used.
    REPORT YLSD999A.
    DATA  W_LENGTH TYPE I.
    *   GENERAL PURPOSE SUBROUTINES FOR CALLING FROM SAPSCRIPTS
    FORM DISPLAY_POUND TABLES IN_TAB STRUCTURE ITCSY
                              OUT_TAB STRUCTURE ITCSY.
      DATA: COUNT TYPE P VALUE 16.
      DATA: W_VALUE(17) TYPE C.        "defined as 7 chars to remove pence
      DATA: W_CHAR TYPE C.
      DATA: W_DUMMY TYPE C.
      DATA: W_CURR(3) TYPE C.
    *    Get first  parameter in input table.
      READ TABLE IN_TAB INDEX 1.
      WRITE IN_TAB-VALUE TO W_VALUE .
    * get second parameter in input table
      READ TABLE IN_TAB INDEX 2.
      MOVE IN_TAB-VALUE TO W_CURR.
      IF W_CURR = 'GBP'.
        W_CURR = '£'.
      ENDIF.
      W_LENGTH = STRLEN( W_CURR ).
    *    look for first space starting at right.
      WHILE COUNT > -1.
        W_CHAR = W_VALUE+COUNT(1).
    *  W_CHAR = IN_TAB-VALUE+COUNT(1).
        IF W_CHAR = ' '.
          COUNT = COUNT - W_LENGTH + 1.
          W_VALUE+COUNT(W_LENGTH) = W_CURR.
          COUNT = -1.
        ELSE.
    *     W_VALUE+COUNT(1) = W_CHAR.
          COUNT = COUNT - 1.
        ENDIF.
      ENDWHILE.
    * read only parameter in output table
      READ TABLE OUT_TAB INDEX 1.
      OUT_TAB-VALUE = W_VALUE.
      MODIFY OUT_TAB INDEX SY-TABIX.
    ENDFORM.
    Cheers
    VJ

  • Hiding business-logic methods from the SOAP Client

    Hello,
    Is there any way to hide a method from the SOAP Client.
    For Example, Lets say I have two methods in my object Foo. And the client of this web-service can create Foo thru SOAP API. The method are:
    public String getName();
    public Group getGroup();
    I want the SOAP client to see the Foo object only with getName() and not getGroup().
    Can I control this thru Java2Wsdl or something else?
    Thanks,
    Neeta.

    You can use source2wsdd with @wlws:exclude tag for the methods you want to hide.

  • Asyn Webservice call from SAP

    Hi All,
    We have created  client proxy using URL for Asyn method and for the proxy we created the  logical port in SOAMANAGER .
    then used  method of  Client Proxy in program and execued the same .
    Then we checked the result in SXI_monitor. The request for this method can be seen there but it shows an Error.
    Error type is "Sequence" and Execution state is "WSRM_CREATE_FAILED".
    I get an error
    XRFC>                                                                
    <
    XRFC> TRACE SOAP RUNTIME - trace records                             
    <
    XRFC>                                                                
    <
    XRFC> ------------------------------------------------------------------  <
    XRFC> E SOAP_RUNTIME 20120510151904.4227980 : CL_SOAP_RUNTIME_CLIENT 
    <
    XRFC> ->EXEC_PROCESSING Exception handling in SOAP runtime           
    <
    XRFC>                                                                
    <
    XRFC>                                                                
    <
    XRFC> E HTTP_TRANSPORT_BINDING 20120510151904.4121990 : CL_SOAP_HTTP 
    <
    XRFC> _TPBND_ROOT ->HANDLE_STATUS_CODE Received return code 500 (    
    <
    XRFC> Internal Server Error )                                        
    <
    XRFC>                                                                
    <
    XRFC>                                                                
    <
    XRFC> E SOAP_RUNTIME 20120510151904.4227690 : CL_SOAP_RUNTIME_CLIENT 
    <
    XRFC> ->EXEC_PROCESSING SOAP Fault Exception caught: : The message with   <
    XRFC> Action 'http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence'
    <
    XRFC> cannot be processed at the receiver, due to a ContractFilter   
    <
    XRFC> mismatch at the EndpointDispatcher. This may be because of either   <
    XRFC> a contract mismatch (mismatched Actions between sender and     
    <
    XRFC> receiver) or a binding/security mismatch between the sender and
    <
    XRFC> the receiver. Check that sender and receiver have the same     
    <
    XRFC> contract and the same binding (including security requirements,
    <
    XRFC> e.g. Message, Transport, None).                                
    <
    XRFC>                                                                
    <
    XRFC> ---------------------------------------------------------------------
    XRFC> End of user trace
    The request is reaching the server with error.
    Attached are the screen shot of the input from SAP and the message at the receiver side .

    Hi,
    ist it, you want to consume a web service in ABAP?
    That can be done, yes. Searching exactly this on SDN brings up a lot of content like this: [Providing and Consuming Web Services in ABAP|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30f1b585-0a01-0010-3d96-ad0ea291c4f9] from my colleague Peter Mc Nulty.
    Regards,
    Benny

  • SAP BI Client tools are not communicating with BO server

    Hi Experts,
    We've recently installed BI 4.1 . We're having few issues:
    1. When client is installed on different machine then it is not communicating with server. We've already tried few things like untick auto assign from Request server and manually assign static port but it didn't work .
    2. Our BO Server is running on AWS Cloud.
    3. Client is communicating when installed on server machine.
    4. Could you please help our how to resolve this error.
    5. CMC and BI launch pad are installed on server side as they're web browser tool and we need to install these on client machine as well. Qns is Do we need to install them or provide just URL link? If just URL like where to get these URL links.
    6. We can't see SAP Lumira and SAP Dashboard on Service market place to install. Where we can find these software on Service maket place?
    7. Could someone please send screenshot to install Dashboard, Lumira, Analysis office and Crystal report enterprise and crystal report 2013.
    8. Do we need to install all these on client machine?
    9. Could you please give me software list which should be installed on client machine?
    10. As i know there is life cycle management tool but it is not even available from server side not even on client side. Could you please recommend how it can be installed??
    Thanks in advance.

    1. When client is installed on different machine then it is not communicating with server. We've already tried few things like untick auto assign from Request server and manually assign static port but it didn't work .
    Could you confirm that you are able to ping the BO server from Client machine. Also use telnet command from commandline of  CMD in client machine. It will help to confirm that port communication is successful. Use ipaddress:cmsport for the system while logging into the client software. Update the hosts file entries at client machine with BO server name and ip address. Create an exception for BO installation location at client machine and check the results
    2. Our BO Server is running on AWS Cloud.
    3. Client is communicating when installed on server machine.
    4. Could you please help our how to resolve this error.
    5. CMC and BI launch pad are installed on server side as they're web browser tool and we need to install these on client machine as well. Qns is Do we need to install them or provide just URL link? If just URL like where to get these URL links.
    Check on the server side first where your web server is installed (I am assuming tomcat in your scenario). Use http://serverame:8080/BOE/BI and http://servername:8080/BOE/CMC (8080 is default port. If it has been changed use the correct port).
    If its working well. Perform the same activity using ipaddress:8080 at server. Next chek whether using the same URL you are able to get BILaunchPad and CMC pages and able to login from the same.
    6. We can't see SAP Lumira and SAP Dashboard on Service market place to install. Where we can find these software on Service maket place (https://service.sap.com)?
    Software and downloads-->Installations and Upgrades
    - D" SBOP DASHBOARDS (XCELSIUS)
    7. Could someone please send screenshot to install Dashboard, Lumira, Analysis office and Crystal report enterprise and crystal report 2013.
    Look into the admin guide for installation pre-requisites. These are available at Analytics Knowledge Center
    We have a drop down for all products. Look for the guide and proceed with the installation.
    8. Do we need to install all these on client machine?
    Dashboard,Lumira,analysis office, CRE and CR2013 are client tools and hence need to be installed on client machine.
    We also have CRS 2013 which is a server software and has to be downloaded from service market place. The li
    9. Could you please give me software list which should be installed on client machine?
    These vary according to user requirements. Check with developers for their softwares needed
    10. As i know there is life cycle management tool but it is not even available from server side not even on client side. Could you please recommend how it can be installed??
    In BI4.1 LCM comes by default. It is a server application. You can find it in CMC named as Promotion management and version management.
    Use the admin guide and installation guide for all of the above. It will help you.

  • Ports used by SAP BO Client tools

    Hi Team ,
    We  are planning to put our BO Landscape( BO 4.0 SP7 patch 2 ) to be accessible by SAP to trouble shoot. We needs a list of ports we may need to open the from out network to SAP. Could you please tell which all ports are used by BO Client tools to connect to the BO platform , in case SAP may need to connect via client tools.
    Regards ,
    Abhinav

    Hello,
    as per default the following Ports need to be open bi- directional on your Firewall as TCP:
    6400
    8080
    8443 (in case you use HTTPS)
    But this is not sufficient enough. You also need to narrow down the IFRS and OFRS and open these ports aswell.
    I recommend you check the Chapter 7.15 from the BI 4.0 Admin Guide - there is everything explained. And when you start configuring your Firewall, never forget the local Windows Firewall (when your BI deployment is on Windows).
    Regards
    -Seb.

  • HTTPs connection from SAP WebAS

    Hello,
    I have to establish a connection from SAP WebAS to an iSaSiLk server via HTTPS.
    The iSaSiLk authentication is based on client certificates.
    I've created a SSL client PSE, generated the Certificate Request, imported the certificate response and the chain of certificates associated  with no errors. When testing the connection we're getting the following error message:
    SAP icm log:
    [Thr 1087400256] ->> SapSSLSessionInit(&sssl_hdl=0x2aaaba679980, role=1 (CLIENT), auth_type=3 (USE_CLIENT_CERT))
    [Thr 1087400256] <<- SapSSLSessionInit()==SAP_O_K
    [Thr 1087400256]      in: args = "role=1 (CLIENT), auth_type=3 (USE_CLIENT_CERT)"
    [Thr 1087400256]     out: sssl_hdl = 0x1a3310c0
    [Thr 1087400256] ->> SapSSLSetNiHdl(sssl_hdl=0x1a3310c0, ni_hdl=22)
    [Thr 1087400256] NiIBlockMode: set blockmode for hdl 22 TRUE
    [Thr 1087400256] <<- SapSSLSetNiHdl(sssl_hdl=0x1a3310c0, ni_hdl=22)==SAP_O_K
    [Thr 1087400256] ->> SapSSLSetSessionCredential(sssl_hdl=0x1a3310c0, &cred_name=0x1a49e4e0)
    [Thr 1087400256]   SapISSLComposeFilename(): Filename = "/usr/sap/XID/DVEBMGS00/sec/SAPSSLSPHTID.pse"
    [Thr 1087400256] <<- SapSSLSetSessionCredential(sssl_hdl=0x1a3310c0)==SAP_O_K
    [Thr 1087400256]      in: cred_name = "/usr/sap/XID/DVEBMGS00/sec/SAPSSLSPHTID.pse"
    [Thr 1087400256] ->> SapSSLSetTargetHostname(sssl_hdl=0x1a3310c0, &hostname=0x1a4a09e0)
    [Thr 1087400256] <<- SapSSLSetTargetHostname(sssl_hdl=0x1a3310c0)==SAP_O_K
    [Thr 1087400256]      in: hostname = "<remoteServer_to_be_accessed>"
    [Thr 1087400256] ->> SapSSLSessionStart(sssl_hdl=0x1a3310c0)
    [Thr 1087400256]   SapISSLUseSessionCache(): Creating NEW session (0 cached)
    [Thr 1087400256] Tue Jan 13 10:10:22 2009
    *[Thr 1087400256] *** ERROR during SecudeSSL_SessionStart() from SSL_connect()==SSL_ERROR_SSL*
    [Thr 1087400256]    session uses PSE file "/usr/sap/XID/DVEBMGS00/sec/SAPSSLSPHTID.pse"
    [Thr 1087400256] SecudeSSL_SessionStart: SSL_connect() failed
      secude_error 536871693 (0x2000030d) = "none of the PSEs registered with hSsl can suffice the negotiated SSL cipher suite"
    [Thr 1087400256] >>            Begin of Secude-SSL Errorstack            >>
    [Thr 1087400256] ERROR in ssl3_get_certificate_request: (536871693/0x2000030d) none of the PSEs registered with hSsl can suffice
    [Thr 1087400256] <<            End of Secude-SSL Errorstack
    [Thr 1087400256]   SSL_get_state() returned 0x00002150 "SSLv3 read server certificate request A"
    [Thr 1087400256]   No certificate request received from Server
    [Thr 1087400256] <<- ERROR: SapSSLSessionStart(sssl_hdl=0x1a3310c0)==SSSLERR_SSL_CONNECT
    [Thr 1087400256] ->> SapSSLErrorName(rc=-57)
    [Thr 1087400256] <<- SapSSLErrorName()==SSSLERR_SSL_CONNECT
    [Thr 1087400256] *** ERROR => IcmConnInitClientSSL: SapSSLSessionStart failed (-57): SSSLERR_SSL_CONNECT [icxxconn_mt
    On the iSaSiLk server we're getting:
    ssl_debug(2): Starting handshake (iSaSiLk 3.06)...
    ssl_debug(2): Received v3 client_hello handshake message.
    ssl_debug(2): Client requested SSL version 3.0, selecting version 3.0.
    ssl_debug(2): Creating new session 11:5F:04:C9:0D:32:15:B9...
    ssl_debug(2): CipherSuites supported by the client:
    ssl_debug(2): SSL_RSA_WITH_RC4_128_SHA
    ssl_debug(2): SSL_RSA_WITH_RC4_128_MD5
    ssl_debug(2): SSL_RSA_WITH_3DES_EDE_CBC_SHA
    ssl_debug(2): SSL_RSA_WITH_DES_CBC_SHA
    ssl_debug(2): SSL_RSA_EXPORT_WITH_DES40_CBC_SHA
    ssl_debug(2): SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5
    ssl_debug(2): SSL_RSA_EXPORT_WITH_RC4_40_MD5
    ssl_debug(2): CompressionMethods supported by the client:
    ssl_debug(2): NULL
    ssl_debug(2): Sending server_hello handshake message.
    ssl_debug(2): Selecting CipherSuite: SSL_RSA_WITH_RC4_128_SHA
    ssl_debug(2): Selecting CompressionMethod: NULL
    ssl_debug(2): Sending certificate handshake message with server certificate...
    ssl_debug(2): Sending certificate_request handshake message...
    ssl_debug(2): Sending server_hello_done handshake message...
    ssl_debug(2): IOException while handshaking: Connection closed by remote host.
    ssl_debug(2): Sending alert: Alert Fatal: handshake failure
    ssl_debug(2): Shutting down SSL layer...
    ssl_debug(2): Closing transport...
    From the iSaSiLk everything seems to be OK, but on the SAP WebAS the error "none of the PSEs registered with hSsl can suffice the negotiated SSL cipher suite" is really unclear, since the cipher chosen by the iSaSiLk is one of the ciphers sent by SAP WebAS...
    Can anyone give me any suggestion?

    Hello Olivier,
    Thanks for your answer.
    I've implemented note 800240 which facilitates the PSE analysis by implementing the report ZSSF_TEST_PSE. With this report I'm able to check all the PSE content, which are:
    Filename            SAPSSLSPHTID.pse
    PIN                 <no>
    Signature           X
    Encryption          X
    Profile Parameter
    DIR_INSTANCE                   /usr/sap/XID/DVEBMGS00                       /usr/sap/XID/D00
    sec/dsakeylengthdefault                                                     1024
    sec/libsapsecu                 /usr/sap/XID/SYS/exe/run/libsapcrypto.so
    sec/rsakeylengthdefault                                                     1024
    ssf/name                       SAPSECULIB
    ssf/ssf_md_alg                                                              SHA1
    ssf/ssf_symencr_alg                                                         DES-CBC
    ssf/ssfapi_lib                 /usr/sap/XID/SYS/exe/run/libsapcrypto.so
    ssf2/name
    ssf2/ssf_md_alg                                                             SHA1
    ssf2/ssf_symencr_alg                                                        DES-CBC
    ssf2/ssfapi_lib
    ssf3/name
    ssf3/ssf_md_alg                                                             SHA1
    ssf3/ssf_symencr_alg                                                        DES-CBC
    ssf3/ssfapi_lib
    Environment variables
    USER                xidadm
    SECUDIR             /usr/sap/XID/DVEBMGS00/sec
    PSE
    Validity            18.12.2008 19:47:04   18.12.2009 19:47:04
    Algorithm           RSA (OID 1.2.840.113549.1.1.1)
    Test signature
    Signature OK
    Verification OK
    Test encryption
    Encryption OK
    Decryption OK
    As you can see, the cipher algorithm used is RSA. Any suggestion... ?
    An iSaSiLk server "is a Java programming language implementation of the SSLv2 (client-side), SSLv3, TLS 1.0 and TLS 1.1 protocols. It supports all defined cipher suites (except for Fortezza), including all AES and PSK cipher suites. iSaSiLk implements all standard TLS extensions, comes with an easy to use API and operates on top of the IAIK-JCE Javau2122 Cryptography Extension. iSaSiLk is highly configurable and will work with any alternative JCE implementation supported by a proper provider for supplying the required cryptographic algorithms".
    Once again thanks for your answer.

  • Can you make an SSL (https) call from a Java Stored Procedure?

    I have loaded a bunch of java classes. Ultimately, one of my routines makes an
    https call to another machine (https://machine:443/foo?xml...). I am receiving
    the following error message:
    SSL implementation not available
    I read
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_
    id=NOT&p_id=103051.1
    Which states
    3.17.6 You can not do SSL callouts from within 8i to other CORBA or EJBs. This
    also means that you can not callback with an SSL connection a CORBA object
    running in an 8i client.
    Does this mean that I can't do what I am trying to do from within 8.1.7?
    If there is any way to do this, I would really appreciate the advice. I need
    to call this Java API from a pl/sql routine, and it has to be via SSL. I would
    prefer to load all the Java into the database and avoid an exproc call.

    Anton/Joe,
    Yes, you can do this, but it might not be straightforward based on the version of Oracle you have. I've noticed there's a higher chance of getting this to work with 8.1.7 or higher (otherwise, you may need to load more classes, etc.). Mark Piermarini posted a nice example in a previous thread in this group:
    http://osi.oracle.com/~mbpierma/SSL_Java_DB.html
    Basically, he connected to UPS to get package tracking info.
    Hope this helps,
    -Dan
    http://www.compuware.com/products/devpartner/db/oracle_debug.htm
    Debug PL/SQL and Java in the Oracle Database

  • Web Service Call from SAP DS 4.2

    Hello all,
    Thank you for any insight you can provide:
    When calling a web service from a function call in SAP DS 4.2, it constantly provides an XML formatting error. We can call the web service fine through SOAPUI.
    Here is what SAP DS sends back as the error message:
    I believe the issue is highlighted
    Error importing XML Schema from file
    adapter_schema_in.xsd:
    XML parser failed: Error namespace 'http://businessobjects.com/service/RTJob_DMO_Address_Cleanse/input'
    is referenced without import declaration
    at line 11, Char 119 in
    xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:aw_RTJob_DMO_Address_Cleanse_Input_Realtime_DMO_Address_Cleanse_Input="http://businessobjects.com/service/RTJob_DMO_Address_Cleanse/input"
    xmlns:diws="http://www.businessobjects.com/diwebservice" targetNamespace="http://www.businessobjects.com/diwebservice"
    xsd:import namespace='http://businessobjects.com/service/RTJob_DMO_Address_Cleanse/input'
    schemaLocation='C:\ProgramData\SAP BusinessObjects\Data Services\ext\webservice\DataServices_ServerRTJob_DMO_Address_CleanseRTJob_DMO_Address_Cleanse_Input_Realtime_DMO_Address_Cleanse_Input0.xsd'
    xsd:element name="RTJob_DMO_Address_Cleanse_Input_Realtime_DMO_Address_Cleanse_Input"
    xsd:complexType
    xsd:sequence
    xsd:element ref="aw_RTJob_DMO_Address_Cleanse_Input_Realtime_DMO_Address_Cleanse_Input:AddressCleanseRequest"
    /xsd:sequence
    /xsd:complexType
    /xsd:element
    /xsd:schema
    . Validate your XML Schema using external schema validators (found at w3.org).
    How do we get around that issue, it shouldn't be passing that.
    This happens when running the job from the Admin Console as well as the Designer
    Again, thank you for any help.
    Ryan

    Update:
    Still having the issue, now manifesting trying to create/reimport a nested schema.
    Local Error Message
    Citrix Error Message
    XML Files attached as text files
    Version of Designer: 14.2.2.446
    Version of Job Server: 14.2.2.527
    Version of Job Engine: 14.2.2.527

  • WebService call from SAP outside NetWeaver

    Hi,
    can I call a webService from SAP outside NetWeaver? E.g. to call it directly from a RFC function module or other components?
    Best regards
    Nicole

    Hi,
    ist it, you want to consume a web service in ABAP?
    That can be done, yes. Searching exactly this on SDN brings up a lot of content like this: [Providing and Consuming Web Services in ABAP|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30f1b585-0a01-0010-3d96-ad0ea291c4f9] from my colleague Peter Mc Nulty.
    Regards,
    Benny

  • How to do Handshake with tired party(bank) HTTPS URL from SAP PI server

    Dear Expert,
    I have developed bunch of scenarios, all are synchronous ABAP proxy to HTTP_AAE with bank on PI 7.4(dual stack). Bank web server is HTTPS enabled server. Our ABAP developments are still in progress also we have few issue in connection from ECC to PI.but that is not the focus of discussion here.
    we want to do the handshake to check the connectivity with bank on their HTTPS URL from PI. Bank has provided the privet key for SSL from their server and corresponding public key they have maintained on their server. I have imported the private key under NWA -> Certificates -> Key Storage -> TrustedCA->Import Entry->Entry Type->PKCS#12->select the SSL.p12 file->import , also I have selected the option to "Use SSL" in HTTP_AAE receiver communication channel and selected the corresponding entryin  "keystore view" and "keystore entry". All these I have done in our DEV system, and we are trying to connect our PI dev to bank Dev server.
    Questions
    Is there any specific steps to do the handshake with third party HTTPS(bank in my case) server? if not, how can we just test the HTTPS connectivity by using the SSL private installed on our PI server, without running the complete scenarios. Our PI has been installed on UNIX, and "telnet https url 443" is working, as network team has opened the HTTPS port.
    We have not enabled the SSL technically on our PI server, and we have not installed any generated certificate from our PI server. Moreover, we have not made our PI url as "https:hostname:port" as we just need to communicate with bank by using their private key. Do you guys think we should enable the SSL? if yes, please explain why.
    What is the best practice to test the connection with third party having HTTPS URL? how can I just assure HTTPS communication is working fine, before testing my actual scenarios.
    Thanks for helping always.
    Regards,
    Farhan

    Hi Farhan,
    Some part of the blog is applicable for sending HTTPS request to partners/third party (Receiver SOAP Adapter).
    If banks certificates are already in trustedCA, then,  can you check if it also imported under user PIISuser under Identity management in NWA. If above 2 steps are done then i think your are good to go. But be careful when you install certificate, it should be in proper order.
    As you already mentioned, connectivity is already established and you are able to PIng/telnet from pi server, connectivity looks ok.
    While sending request, if you are getting 401 unauthorized, below might be the reason -
    1. Certificate not installed correctly or some missing steps
    2. Partner or TP is not ready to receive it, some certificate issue in there side.
    other than 401 means you are ok (As per certificate and Connectivity) - 403 and 500 errors are next stops.
    403 - error because of encoding method.
    500 - data issue.
    Regards
    Aashish Sinha

Maybe you are looking for

  • After upgrade to BI NW4.0S issue in loading cube from ODS

    Hi,   I have an SAP delivered ODS(0CRM_OPPT_H) which I was loading for some time. The cube 0CRM_C04 was loaded from the ODS a couple of times. I have now deleted all the data from the cube and want to load the data from the cube to ODS, In between ou

  • Search problem with ActiveDirectory - please help

    Hi, I've tried to get a list of the users out of the Active Directory. But I just can't get my code to work. It returns nothing back. The problem should be simple. But I can not figure out why. Please help! Raymond import javax.naming.*; import javax

  • Is there any way to password protect a shared library?

    I have 2 shared libraries in my home network.  I have 6 iPad minis (I've got a lot of kids) and 2 AppleTVs using those libraries.  However, one library is more adult content (Rated PG-13 and R stuff) while the other one contains lots of cartoons and

  • Sending .pages doc to iWeb

    i created a document in Pages, my resume actually, that I want to add as a page in iWeb. In Pages, I select from the menu "Send to iWeb." Then, when iWeb opens, I am asked to select a kind of theme page in iWeb. I select just a blank page theme. My .

  • How to use the result of a sql query for a max () function

    Hi I wrote a query on which i wrote "select max(id) from users " how can i use the returned value. if i made the var name ="userid" can it be userid.rows[0] or what. thnx for any help