Web Service Consumption + SM59 ( HTTPS)

Hello ABAP Gurus,
I have issue to consume web service. I am trying to consume web service form external plm server. it has https protocol. For this i tried to create rfc type G for external server but I am wondering that what i need to know to create rfc to ping https web service. I created rfc but not able to ping by sm59 and only reason i am finding is this it is http not https but i am sure you can create rfc for https also. we are on ecc6.0 and SAP_ABA patch level 21. I will greatly appreciate if someone can help me out from this issue.
Thanks in advance.
Regards.
Dave

Hi Sanoosh,
There seems to be a routine problem with Adobe on HTTPs even when it says HTTP/HTTPS in dataconection.
follow the below post with similar issue.
Re: Calling HTTPS Webservice error
the final post from Otto there gives you series of steps to resolve this.
Regards,
Sai

Similar Messages

  • Somehelp regarding Web service consumption in portal component

    hi all,
    I need Somehelp regarding External Web Service consumption in portal component.
    I have a wsdl file, but when i try to create a model using wsdl in portal it is showing cannot to read the wsdl file.
    is there any other way i consume wsdl in portal.

    Hi,
    mybe it's an authorization problem while reading the WSDL file?
    Try to include it like this:
    http://mycompany.net:8000/sap/bc/srt/rfc/sap/Z_Webservice_Test?sap-client=800&wsdl=1.1&sap-user=USERNAME_ON_BACKEND&sap-password=XXXXXXXXX
    Thomas

  • Can Web Service Consumption in SAP CRM 7.0 handle multiple records

    Hi All,
    I have a requirement where in I need to Consume a web service in SAP CRM. The response of the web service will have multiple records.
    My questions is will Web Service Consumption in SAP CRM 7.0 be able to handle these records in a popup or not.
    I would like to know whether it is feasible or not.
    Thanks,
    Deepika

    Hi Kavita,
    There is a standard column in UWL with name 'Sent Date'. Other functionalities in UWL for example deadline monitoring (Due date column) are based on this sent date. This shows an employee what was the date workitem was created (sent date) and when it will get escalated (due date). Displaying forwarding date in Sent date will not give clear picture to employee as the deadline will be calculated based on sent date only not based on forwarding date. this was just an example.
    even though if your client is insisting, i dont think it can be done without any enhancement in UWL web dynpro com sort of thing. you can check with your portal consultant too.
    Regards,
    Ibrahim

  • Calling web service with SSL (HTTPS) hangs client stub

    If anyone can help it would make my day! I've spent way too much time on this!!!
    I'm running:
    - Web service is running on Linux RedHat with Oracle9iAS 9.0.3
    - Client is running from Windows XP under Jdeveloper
    I've successfully installed and run the web security demo "ws_security" at http://otn.oracle.com/sample_code/tech/java/web_services/wssecurity/ws_security.jar.
    This demo goes through installing the web service, certificates, etc... and the demo runs fine. I'm also able to connect to the web service from a browser using https://server1:4443/CreditCardValidator/CreditCardValidator. I can download the proxy, look at the WSDL, etc...
    Now I've written my own very simple stateless java class web service, deployed it to 9iAS , and then downloaded the proxy stub jar. Using the proxy stub I can call my web service and everything works fine.
    Then I configure the web service to use HTTPS by making the following changes to the proxy stub (per the ws_security demo).
    1) Copy the following 5 lines to the proxy stub
    System.setProperty("ssl.SocketFactory.provider","oracle.security.ssl.OracleSSLSocketFactoryImpl");
    System.setProperty("ssl.ServerSocketFactory.provider","oracle.security.ssl.OracleSSLServerSocketFactoryImpl");
    System.setProperty("java.protocol.handler.pkgs","HTTPClient");
    System.setProperty("oracle.wallet.location","C:\\Data\\Oracle\\WALLETS\\ws_security\\wallet.txt");
    System.setProperty("oracle.wallet.password","thewalletpassword");
    2) modify the "m_soapURL" by changing "http" to "https" and the port number to 4443
    3) add the following 3 jar files to my projects library class list:
    C:\Program Files\jdev9031\jlib\jssl-1_2.jar
    C:\Program Files\jdev9031\jdk\jre\lib\ext\jcert.jar
    C:\Program Files\jdev9031\lib\jsse.jar;C:\Program Files\jdev9031\jlib\javax-ssl-1_2.jar
    When I run the proxy stub it just hangs. I've traced the hang to the "Response response = call.invoke(new URL(m_soapURL), soapActionURI);" statement in the "makeSOAPCallRPC" method in the proxy stub.
    Again, this works fine if I simply change the "m_soapURL" to use "http" instead of "https". It looks like it's hanging on the client side and the call is never making it to the server.
    Any help is GREATLY appreciated!!!!!

    Could you explain it a little more, please.
    Since my first message, I used the wallet manager to add the certificate the server where the web service is at, uses.
    What else do I need to make it work??
    Thanks in advance again.

  • How to access SOAP web service with authentication, HTTP basic Authentication

    Dear All
    i use Flash Builder 4.5, flex 4..1, i am developing a flex client to soap webservices hosted over Glassfish 2 Java server, the web services is protected by HTTP Basic Authentication, everythime i run my code , the prombt for username and password show up, i need to pass user name and password through action script, i followed the flollowing (but was for http web service, not soap) but really did not work.
    http://stackoverflow.com/questions/490806/http-basic-authentication-wi th-httpservice-objects-in-adobe-flex-air
    http://forums.adobe.com/message/4262868
    private function authAndSend(service:HTTPService):void
            var encoder:Base64Encoder = new Base64Encoder();
            encoder.insertNewLines = false; // see below for why you need to do this
            encoder.encode("someusername:somepassword");
            service.headers = {Authorization:"Basic " +encoder.toString()};                                               
            service.send();
    Also i noticed in debug mode, always that WARNNING raised up
    Warning: Ignoring 'secure' attribute in policy file from http://fpdownload.adobe.com/pub/swz/crossdomain.xml.  The 'secure' attribute is only permitted in HTTPS and socket policy files.  See http://www.adobe.com/go/strict_policy_files for details.
    any idea ?

    Hello,
    I don't know if this could help.
    Another way to connect to a web service by SOAP and WSDL is to click on the Data/Services panel, then click on "Connect to Data/Services" and then select the "Web Service" (WSDL) icon. This could help as well.

  • Web Service consumption in Apex 3.1

    Hi -
    Are there any guidelines on how web services should be built for apex?
    I had a sample WSDL one time, which worked for other reporting tool, but did not work in apex. I was getting err message saying '...there is no result tree node...'.
    Thanks in advance,
    Tom

    Hi,
    If you are calling web service using PLSQL then definitely DBMS_SCHEDULER will do.
    Refer: http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_sched.htm
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • Can not set up Web Service datastore using HTTPS WSDL DS 4.1

    I have been trying to configure a Web services data store to connect to an HTTPS Wsdl file
    Here is some background.
    DS Version: 14.1.1.210
    Job Server Windows 2008
    if i configure the datastore and leave the field for Keystore path empty, i get the following error:
    Error loading [https://stgbbaaviation.taleo.net/enterprise/soap?ServiceName=CorporateRecruitmentSourceService&wsdl]:
    org.apache.xmlbeans.XmlException: java.io.IOException: Server returned HTTP response code: 401 for URL: https://stgbbaaviation.taleo.net/enterprise/soap?ServiceName=CorporateRecruitmentSourceService&wsdl
    If i put the path C:\Program Files (x86)\SAP BusinessObjects\Data Services\ssl\mds\DSJavaKeyStore.keystore for the keystone path,
    I get the following different error:
    An error ocurred while importing metadata: WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at 'https://stgbbaaviation.taleo.net/enterprise/soap?ServiceName=CandidateService&wsdl':javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building faild: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (BODI-1111469) (BODI-1112446)
    I have recreated the DSJavaKeyStore.keystore and added in additional certificates but nothing seems to work.
    As a workaround i saved the wsdl file down to the local machine (I'm currently running designer on the job server machine)
    i can then save the web service datastore and import the wsdl function.  but at runtime I get the following error:
    There is no response for the web service <getMessageByIdentifier>. Ensure that the network, web server, and service are running
    properly. Also ensure that the service client call time out is set properly.
    I have edited the
    C:\Program Files (x86)\SAP BusinessObjects\Data Services\ext\webservice-c\axis2.xml file as follows for the sections that are listed in the documentation:
        <transportReceiver name="https" class="axis2_http_receiver">
            <parameter name="port" locked="false">6060</parameter>
            <parameter name="exposeHeaders" locked="true">false</parameter>
        </transportReceiver>
    <!-- Uncomment the following with appropriate parameters to enable the SSL transport sender.
             Also make sure that the appropriate transport receiver is enabled above.-->
        <transportSender name="https" class="axis2_http_sender">
            <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
            <parameter name="xml-declaration" insert="false"/>
        </transportSender>
        <parameter name="SERVER_CERT">C:\Program Files (x86)\SAP BusinessObjects\Data Services\ssl\server\DS_server_cert.crt</parameter>
        <parameter name="KEY_FILE">C:\Program Files (x86)\SAP BusinessObjects\Data Services\ssl\server\DS_server_privatekey.pem</parameter>
        <parameter name="SSL_PASSPHRASE">C:\Program Files (x86)\SAP BusinessObjects\Data Services\ssl\server\DS_server_privatekey_password.txt</parameter>
    I'm not sure what i'm doing wrong.  Not much detail in the documentation on what to enter for the Keystore path in the Datastore config.
    also it is unclear if i don't have the correct certifications added to the keystore.
    Please help

    Hi Prashant,
    Please refer the below KBA related to BODI-1111469 issue in SAP Data Services 4.1 Support Pack 1 Patch 1 (Version 14.1.1.284).
    ADAPT01664699
    An importing operation from a WSDL that has a recursive import of a schema would fail with the error:  "An error occurred while importing metadata: Unknown JNI error... (BODI-1111469)”. This issue has been fixed in this release.
    1804623 - Release Notes for SAP BusinessObjects Data Services 4.1 Support Pack 1 Patch 1 (Version 14.1.1.284)
    https://service.sap.com/sap/support/notes/1804623
    Thanks,
    Daya

  • Web Service Consumption in Web Dynpro Java

    Hi,
    I'm using NetWeaver 2004s for Java. I have generated a Web Service out of a BAPI. I use that Web Service in a Web Dynpro Java Application as Model. Model generation works fine. But when I call the Web Service during execution of the corresponding Web Dynpro Application, I get the following Exception:
    "java.rmi.RemoteException: Service call exception; nested exception is: java.lang.Exception: Call to returned http code 500 with unacceptable content type (text/html; charset=iso-8859-1). <HTML> <HEAD> <TITLE>Unknown Host</TITLE> </HEAD> <BODY BGCOLOR="white" FGCOLOR="black"> <H1>Unknown Host</H1> <HR> <FONT FACE="Helvetica,Arial"><B> Description: Unable to locate the server named "<EM>us0308.wdf.sap.corp</EM>" --- the server does not have a DNS entry.  Perhaps there is a misspelling in the server name, or the server no longer exists.  Double-check the name and try again. </B></FONT> <HR> </BODY>"
    Testing the Web Service via transaction WSADMIN works fine. Can anybody give me an advise how to solve that problem?
    Thanks in advance!
    Regards,
    Frank

    Had Exactly same problem with authorization issues on the server hosting the webservices.
    Create a CPIC user Id on the server hosting the webservice. The user id should have authorization to execute the webservice.
    Create a webservice destination in VA for the said webservice using the user id
    1. Log on to the J2EE Engine as an administrator using the Visual Administrator.
    2. Expand -> Server ->Services.
    3. Select the Destinations service.
    4. Under Destinations, select HTTP and choose New
    You need to create two destinations one for matadata and another for execution data.
    Use the destinations while creating the WS model in NWDS.
    if you have issues importing the model using the URL, you can create the model using the WSDL and use the WS Destinations to execute it.
    I am following the same approach after i had faced similar issues with webservices on PI7.1 and Portal 7.0
    About the option to use _setusername, _set...., not all webservices come with the _set methods.
    and moreover if you do that, it would be more of hardcoding in the code, which should be avoided.
    Regards,
    Nitin
    Edited by: Nitin Mahajan on Jun 11, 2009 6:11 PM

  • WebDynpro Consuming a Web Service via SSL (https)

    Hello dovelopers,
    i want to consume a Web Service in a WebDynpro Application via https.
    can anybody give me a few links to pdfs etc.
    Thank You
    Michel

    Try this:
    Are you trying to create https trust relation ship between two SAP Portals or SAP Portal to Non Sap Portal?
    Help on How to Consume a Web Service in SAP Portal?
    http://help.sap.com/saphelp_nw04/helpdata/en/f5/30c5aca7f92f418d889b99ccc9ee08/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/df/a08340d990ce62e10000000a155106/content.htm
    http://www.sapportalguide.com/web_services.html
    Here the documents helps you how to integreate https authentication betweeen two portals:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/2235260b413fe1e10000000a11466f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/62/881e3e3986f701e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/14/29236de1864c6e8d46e77192adaa95/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/d3/41c8efb31d11d5993800508b6b8b11/frameset.htm
    Thanks
    Krishna

  • Web Service Client over HTTPS

    Hello everyone,
    need help -
    my project requires making a SOAP call to access a web service over HTTPS. We are using WSAD 5.0 server with IIS web server. I am very new to this. Could anyone sort of guide me?
    I have the WSDL file & I generated Java Proxy clients using WSDL2Client. How do I go about ensuring that the SOAP goes over SSL/HTTPS? Are there any security changes required at the app server level? Should I have made any changes to WSDL document itself as it has http:// references in the soap binding.
    The service provider uses real certificates (veriSign). How do I handle exchange of certificates?
    Any help is greatly appreciated. Thanks in advance.

    HI,
    See the below links
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/cc81c710460d87e10000000a1553f7/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/2a91429cd5d665e10000000a155106/content.htm
    Regards
    Chilla

  • Web service client ignores http proxy settings

    I have a web service client using Weblogic's web service client library. I'm trying to instruct it to use a http proxy. I've set all the following system properties:
    -Dhttp.proxyHost=127.0.0.1
    -Dhttp.proxyPort=8080 -Dweblogic.webservice.transport.http.proxy.host=127.0.0.1 -Dweblogic.webservice.transport.http.proxy.port=8080
    No traffic is passing through the proxy.
    When the proxy is down, the application works fine too. I suspect that the proxy settings are completely ignored for some reason.
    I'm using Weblogic 8.1 SP4 on a Windows XP box and JDK 1.4.2 (Sun's bundled JDK with Weblogic).

    Sorry about the delay,
    You just need to use the standard java http proxy properties, take a look at:
    http://download-west.oracle.com/docs/cd/A97329_03/web.902/a95453/useservices.htm
    Does this help?
    Gerard

  • Weblogic 10.3: web service client enable HTTP/HTTPS connection reuse?

    hi all,
    i am writing an client app to call a web service, through a client proxy generated by jdeveloper/weblogic.
    My question is:
    for the weblogic web service client proxy, is it possible to enable HTTP/HTTPS connection reuse/pooling?
    i see there is many connection created when calling the web service (by command netstat)?
    thank you.
    lsp

    anybody can help?
    thanks

  • Web Service and Oracle HTTP Server

    I have a web environment with Oracle Database 10.2.0.3 , oracle http server (using mod_plsql), Oracle pl/sql web toolkit. I need to create a web service that is accessed externally which will interact with the database (select, insert, delete). Is it possible to publish a web service to the Oracle Http Server or to implement web services with the environment above

    Hello,
    In RDBMS 10g you cannot directly expose WS from the DB you need to use the OracleAS Web Service Runtime to do it, following this documentation:
    - Developing Web Services that Expose Database Resources
    This is true if we are talking about "tooling/runtime/API" but after all Web Services are mainly XML (WSDL and SOAP) so it is still possible to create by hands (PL/SQL & static files) but it is probably a long work depending of the complexity of your services.
    Also, in RDBMS 11, you can now directly expose WS from the DB using the embedded HTTP server, see this Oracle 11g New Features Document
    Note that before taking one approach you must take time to write up your requirement regarding Web Services eg: do I need security, which time of encoding, interoperability, ..., ... For example WS-Security that is the standard to secure SOAP messages is not (yet) supported by the Oracle 11g RDBMS Native Web Services... where when you do use the WS-Runtime you can secure the Web Service..
    Regards
    Tugdual Grall

  • Safe to retry Flex Web Service calls on HTTP request failures?

    I'm using Flex's web services layer to make SOAP calls to a back-end server. Once in a while, those calls fail with a generic RPC fault that looks like this:
    faultString="HTTP request error"
    faultCode="Server.Error.Request"
    faultDetail="Error #2032: Stream Error..."
    When this happens, is it safe to assume that the server didn't get the message and retry an otherwise non-idempotent request?

    Anyone have any ideas?

  • Web Service consumption in Web Intelligence

    Dear Community Members,
    does anyone  have an idea how-to consume Web Services in Web Intelligence?
    The scenario is the following:
    The data is stored as XSTRING (ABAP AS) and it is retrieved via ABAP Web Service which translate the XSTRING into STRING.
    However, is there a possibility to consum this web service in Web Intelligence resp. is it possible to access the data via SQL as Ingo Hilgefort has it posted on his wiki Page to access SAP via SQL:
    /people/frederic.vanborre/blog/2009/05/18/how-to-configure-the-sql-bw-connector
    /people/thomas.zurek/blog/2009/03/06/sql-access-to-bw-via-data-federator
    /people/frederic.vanborre/blog/2009/05/07/do-you-want-to-query-sap-bw-using-sql
    Thanks in advance for any suggestions.
    Best Regards,
    Marcel

    Use the WebI rich client (assuming you are using XI 3.x) to build a new report.  Activate the Other data sources option and choose there Web services . It will enable you to choose a Web service as data source.
    Starting with SP3 this type of provider can be refreshed dynamically when the report is viewed in the InfoVIew.
    I would recommend to take a look at the WebI rich client user's manual:
    http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_webi_rich_en.pdf
    Regards,
    Stratos

Maybe you are looking for

  • How do I see the group that my contact has been assigned  to when I view the individual contact card?

    I have added my contacts to specifics groups via icloud. I want to be able to see the group my contact belongs to when I bring a contact up (either on my iphone or on icloud).  How can I get the "Group"  the contact has been assigned to to show on th

  • Want to turn this into a varable

    have not used lingo in a really long time and cant rember how to do this i want to do make a varable called val_nameof sprie "val_"&sprite(me.spriteNum).member.name

  • Loading with sqlloader utility

    i'm running sql loader utility to append rows into an oracle table; my control card has the following fields: jobid position(01:05) char, jobnm position(06:25) char, create_date position(26:35) date "yyyy-mm-dd" the problem is that create_date may or

  • Uploadng videos from 3GS to MobileMe issue

    Hi I am having problems uploading a video from the 3GS to my mobileme account which is longer than 60 secs .Is there some kind of restriction on the size of file you can upload ? Regards Nick.

  • Import bookmarks to new profile

    My firefox couldnt open anymore so i had to create a new profile... now i want to import my bookmarks from my old profile BUT i can't access this profile.... firefox refuse to open if i launch this profile.... how do i get my bookmarks from my old pr