Third part Webservice Consumer

Hello guys, how are you doing?
I created a WS via SOAMANAGER that uses a custom BAPI.
It seems working fine. My problem is that this WS must be accessed by an 3rd Part application ( developed in Java ).
When it tries to execute the WS, it got a "401 Unauthorized" error.
There is no way to use a SSO ... We need to provide the user/pwd hard-coded into R/3 environment or something like that! 
Can it be done?
Best Regards

You should be able to use WS-Security.
This indeed requires you to (hard)code a Service-User and Password into the Java application you're using.
A quick search on sdn gave me this page on WS-Security :
http://www.sdn.sap.com/irj/sdn;jsessionid=(J2EE3414700)ID0360898750DB00827155732540955202End?rid=/webcontent/uuid/b367e803-0b01-0010-fb9b-ff8ab6fa47a2

Similar Messages

  • ABAP Webservice and Third Party Webservices Consume in Webdynpro

    Hi Everyone,
    My Landscape is
    ECC 6.0 SP16.
    PORTAL is Netweaver 2004s SP16
    NWDS SP14.
    I Need How To Develop Webservice From RFC's in ECC.[I Need Step By Step Documents Making Webservice From RFC].
    Because I read so many documents,Blogs But i am not getting what i want.
    What Configuration I Will Do On SOAMANAGER.
    How To Cosume in Webdynpo.
    I Exposed RFC As Webservices but When I Testing in wsnavigator
    I Am getting Below Error
    An error has occurred. Maybe the request is not accepted by the server:
    Connection refused (errno:239)
    The above ABAPWebservice i consumed in Webdynpro.After Deploying i will get the error.
    Exception on execution of web service on destination 'DEFAULT_WS_EXECUTION_DEST' for operation 'ZK2GenProjInfo' in interface 'z_k2_gen_proj_info'
    I Am in confused State What I Will Do.
    I Am Thinking the Webservice is not correct.
    And also We have some Internet Webservices.
    https://usint.skire.com/ws/services/mainservice?wsdl
    the above Webservice Protocol is https.
    But Our Portal Run under http.
    Thanks
    Subba Rao

    Hi,
    The given Document is helpful to me.
    But in My ECC 6.0 SP18.WSConfig and WSADMIN Transaction codes are Absolete.
    New Transaction code SOAMANAGER We get the exposed Webservice.
    But What the Problem is We forget some things while creating Webservices.
    We are getting the Error While Testing Webservice Under Wsnavigator Of Portal.
    I Am getting Below Error
    An error has occurred. Maybe the request is not accepted by the server:
    Connection refused (errno:239)
    The above ABAPWebservice i consumed in Webdynpro.After Deploying i will get the error.
    Exception on execution of web service on destination 'DEFAULT_WS_EXECUTION_DEST' for operation 'ZK2GenProjInfo' in interface 'z_k2_gen_proj_info'
    I Am in confused State What I Will Do.
    I Am Thinking the Webservice is not correct.
    And also We have some Internet Webservices.
    https://usint.skire.com/ws/services/mainservice?wsdl
    the above Webservice Protocol is https.
    But Our Portal Run under http.
    Thanks
    Subba Rao

  • Error while activating webservice-consumer-proxy

    Hi,
    I'm trying to generate a webservice-consumer-proxy from a Salesforce.com-WSDL-File. When trying to activate the proxy I receive an error-message from class CX_ESD_EXCEPTION stating "Beim Aktivieren des Proxys ist ein Fehler aufgetreten." (in english: "Error occured when activating the proxy"). The WSDL-File is SOAP-Version 1.1, Document/Literal.
    Thank you very much in advance,
    Olli
    [SAP Consulting by mindsquare|http://mindsquare.de]

    I have a similar issue and it says that the reason is one of the exception classes in XML  in not derived from either cx_static_check or cx_dynamic_check.  
    Please let me know if anyone have ideas how to resolve this

  • Error in soap header when use webservice consumer proxy

    Hi all,
    I create a webservice consumer proxy to external server. the webservice provider is .Net  and it required a message level security.
    The soap message should include a soap header, like this:
    <SOAP-ENV:Header>
    <m:AuthHeader xmlns:m="http://tempuri.org/">
    <m:Username>test1</m:Username>
    <m:Password>test</m:Password>
    </m:AuthHeader>
    </SOAP-ENV:Header>
    I have found many information from here. Now I used  IF_WSPROTOCOL_WS_HEADER in my program, like this:
    REPORT  zws_jp_test01.
    DATA: lo_zws_jp_co_service_soap TYPE REF TO zws_jp_co_service_soap .
    DATA: lo_fault TYPE REF TO cx_ai_system_fault.
    DATA: lo_appl_fault TYPE REF TO cx_ai_application_fault.
    TRY.
        CREATE OBJECT lo_zws_jp_co_service_soap
          EXPORTING
            logical_port_name = 'ZWS_JP_LP4'.
      CATCH cx_ai_system_fault INTO lo_fault.
        MESSAGE lo_fault TYPE 'I'.
    ENDTRY.
    DATA: output TYPE zws_jp_create_job_ad_soap_out .
    DATA: input TYPE zws_jp_create_job_ad_soap_in .
    DATA: lr_ws_header TYPE REF TO if_wsprotocol_ws_header.
    DATA: lv_name TYPE string,
          lv_namespace TYPE string.
    DATA l_xstring TYPE xstring.
    DATA l_string TYPE string.
    DATA: ixml TYPE REF TO if_ixml,
         xml_document TYPE REF TO if_ixml_document,
         xml_root TYPE REF TO if_ixml_element,
         xml_element TYPE REF TO if_ixml_element,
         xml_node TYPE REF TO if_ixml_node.
    lr_ws_header ?= lo_zws_jp_co_service_soap->get_protocol(
                                               if_wsprotocol=>ws_header ).
    CONCATENATE
      '<SOAP-ENV:Header>'
        '<m:AuthHeader xmlns:m="http://tempuri.org/">'
          '<m:Username>test1</m:Username>'
          '<m:Password>test</m:Password>'
        '</m:AuthHeader>'
      '</SOAP-ENV:Header>'
    INTO l_string.
    l_xstring = cl_proxy_service=>cstring2xstring( l_string ).
    CALL FUNCTION 'SDIXML_XML_TO_DOM'
      EXPORTING
        xml           = l_xstring
      IMPORTING
        document      = xml_document
      EXCEPTIONS
        invalid_input = 1
        OTHERS        = 2.
    IF sy-subrc = 0 AND NOT xml_document IS INITIAL.
      xml_root = xml_document->get_root_element( ).
      xml_element ?= xml_root->get_first_child( ).
      WHILE NOT xml_element IS INITIAL.
        lv_name = xml_element->get_name( ).
        lv_namespace = xml_element->get_namespace_uri( ).
        lr_ws_header->set_request_header(
            name            = lv_name
            namespace       = lv_namespace
            dom             = xml_element
            must_understand = SPACE
        xml_element ?= xml_element->get_next( ).
      ENDWHILE.
    ENDIF.
    input-job_ad-id = 0.
    input-job_ad_text-id = 0.
    input-job_ad-publish_location = 1.
    TRY.
        CALL METHOD lo_zws_jp_co_service_soap->create_job_ad
          EXPORTING
            input  = input
          IMPORTING
            output = output.
      CATCH cx_ai_system_fault INTO lo_fault .
        MESSAGE lo_fault TYPE 'I'.
      CATCH cx_ai_application_fault INTO lo_appl_fault.
        MESSAGE lo_appl_fault TYPE 'I'.
        WRITE: output-create_job_ad_result-id.
    ENDTRY.
    But there is error when I run this program. the error is "SoapFaultCode:1"
    In tcode ST11, I see this log:
    E SOAP_RUNTIME 20100624004837.9280000 : CL_SOAP_RUNTIME_CLIENT
    ->EXEC_PROCESSING SOAP Fault Exception caught: : SOAP header To
    was not understood.
    btw the release is  701.
    Any one can navigate me to solved the problem?

    Hi,
      I have the same problem as you did before and I posted my code in this [thread|Change SOAP Header: Consuming Webservice;.
      In order to to solve your problem, I need to know what is the header that you want to add into the header, what is WSDL, and have you try testing that web service using other tool such as SOAPUI or XMLSPY and what is the result of testing tool?
    Regards,
    Chaiphon

  • I have had Adobe XI for about two years and My harddrive just crashed. My backups were part of the failure so I can't get it back. I purchased it from a third part supplier and it was a download. I need to find out how to get it restored. I can send scree

    I have had Adobe XI for about two years and My harddrive just crashed. My backups were part of the failure so I can't get it back. I purchased it from a third part supplier and it was a download. I need to find out how to get it restored. I can send screen shots of all of the drive location where the drive is still good and I can see my Adobe Acrobat pro information, but the download itself is missing. NEXT STEP?

    If you are talking about Reader (you did post in the Reader forum), then just download http://get.adobe.com/reader/enterprise. However Reader is free not purchasable. You can download a trial then install using your serial number, which if you didn’t register or write down somewhere you will be out of luck to track down.
    Download a free trial or buy Adobe products | Adobe downloads

  • Using third part loops in Logic : bpm changes not following by the loop

    i use lots of third part loops. with other audio soft when i choose a loop and drag/drop it to my project, the loop follow every change of the project (for exemple changing the bpm). In logic, when i do so, the loop do not follow project changes such as bpm.
    Someone do knows how to fix my problem ?

    I just found that you can drag/drop your third part loops from the Finder window where they are to the "Media/loops library" in Logic. By this way Logic recignize your loop as apple loop. But it works for apple loop third part loop and not for wav third part loop. For those you have to transform them by the "Apple loops utility" given with Logic. It's a bit long with big loops database but it's the first way I found.
    If someone know a quicky way, I'm interested

  • How to develop dll towards VB and Delphi for vi's of a third-part usb device

    Hello, dear lv'ers:
    Recently i am evolved in a project where i want to reuse my developed ac measurement modules (certainly in .vi format) in target computers. The related information has been collected below:
    0) Develope machine: win7, lv2010 sp1 development suite bought last year, third-part usb devices (Rigol DG1022 for instance, recognized in MAX as USB0::0x0957::0x0407::MY44012174::INSTR), ac measurement vi's with VISA function calling.
    1) Target computer A: MultiVu for squid vsm from QD(quantum design) bought in 2009, allowing third-part extension script written in visual basic .bas format. MAX was installed by QD, but our third-part usb devices could unfortunately not be recognized and assigned a visa resource name.
    2) Target computer B: MultiVu for squid-xl from QD bought 2007, allowing third-part extension script writen in Delphi .dpr format. Its MAX has the same problem.
    i have got familiar with extending such two MultiVu's for dc measurement based on Keithley 2400 & 2182, successfully using VB and Delphi, respectively.  Such dc module has nothing to do with labview and has already installed with GPIB interface in MAX.
    i have already overviewed some related posts here for dll building for VB and Delphi, and i could build my hellow-world dll for vb(simply following reversstring one in ni knowledgebase). However, at the moment, my main concerning is how to build dll's installation package for our two target computers, so that they can use the third-part usb devices as in my development machine?
    Your answers, direct or indirectly, would be quite appreciated.
    Faithfully
    Jun Lu
    Member of Technical Staff in State Key Laboratory of Magnetism
    Beijing National Laboratory for Condensed Matter Physics
    Institute of Physics, Chinese Academy of Sciences
    100190 Beijing, P.R. China
    http://www.instrument.com.cn/ilog/handsomeland/

    Probably, i have just got a solution for this problem.
    The way seems  quite simple: what i need to do, before importing dll or exe files, is installing a VISA  4.0 (http://download.ni.com/support/softlib/visa/NI-VISA/4.0/win32/visa400full.exe) in target computers, which can communicate fine with our devices.
    Afterwards, you know, everthing goes ok as does in the development computer.
    When i got further problems, i shall return here. :-).

  • I can't get my iphone 5. Ios 7, to accept cookies. I have set the 'block cookies' field ti either never or from third parties. I have cleared history and cookies and data, restart the iphone. Please help...

    I upgraded my iphone to os 7 two days ago. However, now it cant accept cookies at all. I have set field 'block cookies' to never or from third parties. I have cleared history and cookies, then reboot my iphone. I have tries to force close all applications. Still, cant accept cookies. Please help...

    Make sure you have the latest iTunes version installed and hopefully you have the most recent backup of your iPhone.  Do a DFU restore.  While it's plugged in to your computer, press and hold the Home and Sleep/Wake buttons together until the screen is off.  When the screen's off, release only the Sleep/Wake button and keep holding down the Home button.  Wait until you see in iTunes on your computer to show that it detected it in recovery mode.  When it does, proceed with the restore.  It will be restored and updated to the latest iOS 7.0.2.  If you have a backup, restore from that backup once iOS 7.0.2 is successfully installed on your iPhone.
    If your iPhone still won't activate, I agree with gail, you will have to get in touch with that developer.

  • PI SOAP access to third party Webservice,Return ERROR

    Hi Experts,
    I have one soap synchronous scenario access to third party WEBSERVICE,Return error.While testing the wsdl in soap ui, I am getting response, messages showing successfully processed. I think it is pi to send  xmlns:ns1='http://tempuri.org/'  on both sides should not be a single quotation mark, but I don't know how to adjust  PI set. how do you see.
    1、SOAP UI submitted to Webserver XML
    [2014-05-26 08:47:24.662] --- Recv data from SocketId=272 Socket=10880
    POST /MWGate/wmgw.asmx HTTP/1.1
    Accept-Encoding: gzip,deflate
    Content-Type: text/xml;charset=UTF-8
    SOAPAction: "http://tempuri.org/MongateCsSpSendSmsNew"
    User-Agent: Jakarta Commons-HttpClient/3.1
    Host: 10.0.0.253:8082
    Content-Length: 520
    <soapen:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
        <soapen:Header />
        <soapen:Body>
            <tem:MongateCsSpSendSmsNew>
                <tem:userId>DOA001</tem:userId>
                <tem:password>dennis</tem:password>
                <tem:pszMobis>1313773654</tem:pszMobis>
                <tem:pszMsg>1111</tem:pszMsg>
                <tem:iMobiCount>1</tem:iMobiCount>
                <tem:pszSubPort>*</tem:pszSubPort>
            </tem:MongateCsSpSendSmsNew>
        </soapen:Body>
    </soapen:Envelope>
    2、PI submitted to Webserver XML
    [2014-05-26 08:36:08.725] --- Recv data from SocketId=271 Socket=10704
    POST /MWGate/wmgw.asmx HTTP/1.0
    Accept: */*
    Host: 10.0.0.253:8082
    User-Agent: SAP-Messaging-com.sap.aii.af.sdk.xi/1.0505
    CallingType: SA
    content-id: <[email protected]>
    Content-Type: text/xml; charset=utf-8
    Content-Length: 417
    SOAPACTION: "http://tempuri.org/MongateCsSpSendSmsNew"
        <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>
            <SOAP:Header />
            <SOAP:Body>
                <ns1:MongateCsSpSendSmsNew xmlns:ns1='http://tempuri.org/'>
                    <ns1:userId>DOA001</ns1:userId>
                    <ns1:password>dennis</ns1:password>
                    <ns1:pszMobis>13637731567</ns1:pszMobis>
                    <ns1:pszMsg>Constant</ns1:pszMsg>
                    <ns1:iMobiCount>1</ns1:iMobiCount>
                    <ns1:pszSubPort>*</ns1:pszSubPort>
                </ns1:MongateCsSpSendSmsNew>
            </SOAP:Body>
        </SOAP:Envelope>
    3、SXI_MONITOR   Payloads content:
      <ns1:MongateCsSpSendSmsNew xmlns:ns1="http://tempuri.org/">
            <ns1:userId>DOA001</ns1:userId>
            <ns1:password>dennis</ns1:password>
            <ns1:pszMobis>13637731567</ns1:pszMobis>
            <ns1:pszMsg>Constant</ns1:pszMsg>
            <ns1:iMobiCount>1</ns1:iMobiCount>
            <ns1:pszSubPort>*</ns1:pszSubPort>
        </ns1:MongateCsSpSendSmsNew>
    4、PI channel

    Hi Nathan,
    Have you tried the SOAP HTTP Axis function.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b092777b-ee47-2a10-17b3-c5f59380957f?overridelayout=t…
    https://help.sap.com/saphelp_nw04/helpdata/en/45/a39e244b030063e10000000a11466f/content.htm
    Configuring the Receiver Axis SOAP Adapter (SAP Library - SAP Exchange Infrastructure)
    Regards,
    Jannus Botha

  • How to invoke third party webservices in oracle apps R12 when wsdl is provided and no SOA server exists

    Hello Everyone,
    I am working on Oracle apps R12 and we don't have any SOA server setup. I got a requirement to invoke a third party webservice and send some of the data from oracle apps database to the third party and they provided the wsdl file to invoke their webservice. How can I achieve this? Any help or suggestions would be greatly appreciated.
    Thanks,
    Ravi

    ca0c5e8e-8457-46de-896f-fd9dcc13299e wrote:
    Hello Everyone,
    I am working on Oracle apps R12 and we don't have any SOA server setup. I got a requirement to invoke a third party webservice and send some of the data from oracle apps database to the third party and they provided the wsdl file to invoke their webservice. How can I achieve this? Any help or suggestions would be greatly appreciated.
    Thanks,
    Ravi
    Ravi,
    I believe you need to have SOA configured with EBS to run those webservices.
    Please log a SR to confirm the same with Oracle support.
    Thanks,
    Hussein

  • Preventing third parties from using the TouchUp Text Tool on generated documents

    While perusing the options of Adobe Acrobat at work I had the good fortune of finding the TouchUp Text Tool. Now I am trying find a relatively simple solution in order prevent third parties from using this same tool to easily modify pdfs we create from Mac Word 2011. My research has come up with applying a password/certificate/security policy but I have been unable to figure out how to apply one of these solutions automatically to all newly generated documents.
    Is there a way to automatically apply a password/certificate/security policy on every pdf that is converted from Word 2011? Preferably one that does not involve additional investment in software. Or another similar work around.
    Thank you in advance!

    Please try to re print the document using Adobe PDF printer and make sure you embed the fonts during the conversion to new file.
    Can you also upload few sample files for further investigation ?

  • How to create "service group" (ABAP webservice consumer) for SOAMANAGER

    HI experts,
    I'm trying to setup ABAP as a proper webservice consumer using SOAMANAGER in a 7.01 system. I would like to use Business Scenario Communication for this. I want to add Service Groups in the Consumer tab, and I find 2 servicegroups in the 7.01 (ERP 6.04) system: SRT_SG_TEST_01 and SRT_TEST_GROUP. However, I want to create my own Serivce Groups (Consumer), where do I do that? SE80?
    All help appreciated, please don't bother describing the ABAP-as-Provider setup, which is the more common approach.
    Gr, Wout

    Hi ganesh,
    Please look at the SAP note 376424 - BAPI_PO_CREATE1: Error messages for parked POs.
    Sap recommends to install the support service pack. Take a look at the note for detailed understanding.
    Also take a look at SAP NOte
    767284 - SE518 occurs although account assignment is supplied to BAPI (this requires Note 552114 must be applied as a prerequisite)
    Consider contacting basis team after your analysis about the issue.
    Regards,
    Sivaganesh

  • Apps Secretly Sharing Personal Data With Third Parties--

    just read this article on the huffingtonpost.com
    how can i tell who is obtaining persoanl data without telling me ?
    are there supposed to be safeguards against this ?
    *what can i do to prevent this ?*
    *Apps Secretly Sharing Personal Data With Third Parties--Without Telling You*
    JORDAN ROBERTSON | 07/28/10 10:40 PM | AP
    LAS VEGAS — Your smart phone applications are watching you – much more closely than you might like.
    Lookout Inc., a mobile-phone security firm, scanned nearly 300,000 free applications for Apple Inc.'s iPhone and phones built around Google Inc.'s Android software. It found that many of them secretly pull sensitive data off users' phones and ship them off to third parties without notification.
    That's a major concern that has been bubbling up in privacy and security circles.
    The data can include full details about users' contacts, their pictures, text messages and Internet and search histories. The third parties can include advertisers and companies that analyze data on users.
    The information is used by companies to target ads and learn more about their users. The danger, though, is that the data become vulnerable to hacking and use in identity theft if the third party isn't careful about securing the information.
    Lookout reported its findings this week in conjunction with the Black Hat computer security conference in Las Vegas.
    Lookout found that nearly a quarter of the iPhone apps and almost half the Android apps contained software code that contained those capabilities.
    The code had been written by the third parties and inserted into the applications by the developers, usually for a specific purpose, such as allowing the applications to run ads. But the code winds up forcing the application to collect more data on users than even the developers may realize, Lookout executives said.
    "We found that not only users, but developers as well, don't know what's happening in their apps, even in their own apps, which is fascinating," said John Hering, CEO of the San Francisco-based Lookout.
    Part of the problem is smart phones don't alert users to all the different types of data the applications running on them are collecting. IPhones only alert users when applications want to use their locations.
    And while Android phones offer robust warnings when applications are first installed, many people breeze through them for the gratification of using the apps quickly. Google said it tries to limit users' risk with the warnings but consistently advises users to only install apps they trust.
    Apple didn't respond to a request for comment on Lookout's research.

    The best way to handle this, depending on the app, is to turn off things like sharing on the world wide boards. (This can often be done in settings, although you may have to do so in app.)
    Also--and this may sound a bit lame--choose your apps (especially free ones) carefully. There are a whole range of games that all track certain info bits. I have a few of those, but have have turned off that part of it.
    Finally...the same things go for apps as with any program for your computer: use common sense.
    Doc

  • Import Payroll from Third-Part System

    Hello,
    We're trying to implement a standard payroll import from a third-part system (through transaction PU12_IDOC_CREATE\PROCESS).
    We're trying to find out the required file format for importing it as an iDOC to the system.
    We're aware of the possibility to generate an example using report RPUOUTIDOC, but this report requires existing data in the payroll tables (T558E, T558B, T558D - listed in Bapi BAPI_EXTPAYROLL_INSERT_OUT documentation).
    This is quite a problem because in order to fill the initial data in those tables, an IDOC import is needed.
    Is there another possibility to somehow insert data into those tables or maybe generate a file example without existing data?
    Thanks in advance,
    Jenny

    Hi,
    Can you please tell what solution did you apply.
    Many Thanks!
    Ritin

  • How to install a third part plugin?

    Hi, I am trying to install a third part plugin (fileopen) but it is not possible because I am in certified mode on: how can I turn it off?

    Hi disable certified mode,
    Please contact the manufacturer of that particular plug-in for detailed instructions on how to install it.
    Best,
    Sara

Maybe you are looking for