Need to publish SAP Web Service without Authintication

Hello Everyone,
I have created a web service for my XI congiguration scenario for my outbound interface. Now each time when client system (Non SAP System) tries to publish my SAP Web Service, it asks the authentication of credentials (SAP username & Password).
We want to publish our SAP Web Service without Authintication.
Please suggest us how can we do that?
Regards,
Pranil Shinde.

Hi,
The user authentication of the SOAP adapter is not part of the SOAP adapter but of the web container of the J2EE engine. The default authentication setting is defined in the web.xml descriptor file of the SOAP adapter web application. This setting may be modified from Visual Administrator with some restriction. Please refer to the security documentation for the J2EE engine fro the same.
Regards,
Swetha.

Similar Messages

  • How to publish a SAP Web Service in SAP XI/PI 7.0

    Hi,
    First I've to say that I'n new in this deals with SAP Web Services and SAP XI/PI.
    I've created a Web Service with TX SE80 using a standard BAPI.
    I've created the Client Proxy with TX SE80.
    I've created a Logical Port wiht TX LPCONFIG.
    I've tried this is SOAMANAGER but I have this error...
    "SRT Framework exception: Uninstantiated object "subject sidl service" in method IF_SRT_WSP_CONFIG_SIDL~CREATE_CLNT_CFG_FROM_WSDL_D of class CL_SRT_WSP_CONFIG_SIDL"
    I would like to publish this service in my SAP XI/PI 7.0
    How can I solve the error in SOAMANAGER?
    How can I publish de SAP WS that I've created in SAP XI/PI?
    Thanks a lot.
    Waiting for your news.
    Fernando.

    Hi Dimitri,
    I had the same problem:
    "SRT Framework exception: Uninstantiated object "subject sidl service" in method IF_SRT_WSP_CONFIG_SIDL~CREATE_CLNT_CFG_FROM_WSDL_D of class CL_SRT_WSP_CONFIG_SIDL"
    And by following Nags hints I got solution:
    1, On the system where is your service provider, run transaction SICF
    2, Execute this transaction
    3, Go to node: default_host/sap/bc/srt/wsil
    4, Right click on "wsil" -> choose "Test service" - web browser should open with XML definition of service
    5, Find your service provider. In my case it looks like this:
    <service>
    <name>ZTEST_WS</name>
    u2212
    <wsdlNamespace>
    urn:sap-com:document:sap:soap:functions:mc-style/service
    </wsdlNamespace>
    <wsdlName>service</wsdlName>
    u2212
    <wsdl>
    http://xxx.yyy.com:8000/sap/bc/srt/wsdl/srvc_DF838C999AA282F18829001CC4D74176/wsdl11/service/ws_policy/document?sap-client=800
    </wsdl>
    </service>
    5, Look for WSDL link -> in my case:
    http://xxx.yyy.com:8000/sap/bc/srt/wsdl/srvc_DF838C999AA282F18829001CC4D74176/wsdl11/service/ws_policy/document?sap-client=800
    I dont know why, but this link is different like WSDL link in service definition which I can see in SE80:
    http://xxx.yyy.com:8000/sap/bc/srt/wsdl/sdef_ZTEST_WS/wsdl11/ws_policy/document?sap-client=800
    6, Use this link (from "wsil") instead of link from SE80 in SOAMANAGER to create logical port
    7, Yours logicall port should be created without errors.
    My question - have anybody idea, why this links are different and why only that second one works?
    Peter

  • Publishing pl/sql as web service without AS or OC4J

    Hi,
    I've read about new Native Web Services in Oracle 11g and I like the idea.
    But how to do similar approach in 10g or even 9.2 database?
    I would like to have database only web service without AS, but I cannot use 11g right now.
    I didn't find any discussion about the new native WS within 11g database. It's great, isn't?
    Libor

    Hello,
    The OracleAS Database Web Service is only available for OracleAS using the Oracle Web Service runtime and tools as documented here.
    If you are not using OracleAS or if you want to use another Web Service stack you can still manually program you Web Service manually using JDBC and is features.
    Here a generic article: http://www.onjava.com/pub/a/onjava/2003/08/13/stored_procedures.html
    and you can use advanced features of JDBC and JPublisher if needed:
    Simplifying Database Access
    Regards
    Tugdual Grall

  • Errors when compiling the web service (SAP Web Service Design Tool)

    After downloading and installing the SAP de Web Service Design Tool (for Crystal Reports Server) I created a connection, a simple query and was able to deploy a web services. I tested the web service with an Xcelsius dashboard within InfoView. Thereafter I created a second connection (other name but same ODBC connection / server) and created another simple query with two date(range) parameters and a group by year and month function in order to do a select count(). It executes fine, but when I try to publish the web service I get an error.
    There are errors when compiling the web service.
    Is does not say whatu2019s wrong or how I can solve this problem.
    Who can help me?
    Some notes:
    1) Within expert mode I used a MONTH() SQL function which does not show in the normal mode.
    2) It seams that the u2018administrationu2019 of Web Service Design Tool got u2018corruptedu2019 after only creating the two connections, queries and services mentioned above. I believe so because I could select one of two queries when I created the second service, but within the current connection I had only one query.
    Thanks for any help,
    Ron
    ADDITIONAL INFO: The parameters seam to be the problem. After removing the parameters I can publish the service. But without parameters it is NO SOLOTION.
    Edited by: RonKoudijs on Aug 26, 2010 6:28 PM

    Hello Taylan,
    I think the error that you received was due to packaging issues.I placed the
    UtilClass.java file under a directory called data which was present under
    the project directory.
    When you want to access a java class, you can either place the compiled
    class file in the WEB-INF/classes folder or you can place the java file
    under the project directory.
    I have attached the sample project that I created with your files.
    Let me know if you have any other questions.
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "taylan" <[email protected]> wrote in message
    news:3d6351b0$[email protected]..
    >
    I am trying to write a simpe web service in WebLogic Workshop, but havingan error
    which I could not understand. Could you please help me? Thanks in advance.
    Regards,
    Taylan
    My web service code is like belows:
    import weblogic.jws.control.JwsContext;
    import data.*;
    public class WebService1
    /** @jws:context */
    JwsContext context;
    * @jws:operation
    public UtilClass testType(UtilClass tTest){
    UtilClass returnObj=new UtilClass();
    if(tTest.getName()!= null){
    returnObj.setName(tTest.getName());
    return returnObj;
    and my UtilClass is placed in the data directory under the same directorywith
    my web service code. It is a simpe class as belows:
    package data;
    public class UtilClass
    private String name;
    public void setName(String name){
    this.name=name;
    public String getName(){
    return name;
    However I got an error when I try to compile the webservice class. Theerror is
    like belows:
    File Line Message
    WebService1.jws 0 Resource found on system classpath: data.UtilClass
    Build complete - 1 error(s), 0 warning(s)
    [ngroup.zip]

  • How to remove user authentication for SAP Web Service?

    Hi there,
    I am using SAP Web Services in my flex application. Every time wsdl url is called, the username\password window pops up. I want to remove this.
    I searched in the forum and based on the discussions, I tried giving the user name password under Web Service Administration using SOAMANAGER, by selecting No Authentication option. But this did not work. I still get that pop up.
    I also tried giving the credentials in SICF, under Logon Data tab of the service. This too failed. I kept getting the pop up.
    Can someone pls let me know how can I remove this? If username password in mandatory to be passed, I can create a temporary username which will be used to access all of my webservices and use it. But I want to remove this authentication part when I am using the flex application ang calling the web service url from within it.
    Appreciate your help.....
    -Deepak

    Hi,
    It is a little bit tricky, because the interface has changed several times in different releases. I know that it is possible without authentification.
    I remember that i defined somewhere the default client, the username and password in the ERP system to use by this web service.
    Maybe it helps if you try the old transactions WSADMIN, WSCONFIG or WSADMIN2 ?
    Sorry that I cannot help you more. I hope it helps.
    Best regards,
    Joern

  • InvalidCategory error when publishing a Web Service

    I am using EM to deploy an EAR file and publish a Web Service, which is a simple Java class. But I got following error:
    The application was deployed successfully, but an error occurred while publishing the web services. You can attempt to re-publish the services from the deployed application. [UDDI SOAP Fault - errno= 20000 ; errCodeE_invalidCategory ; faultcode=Client; faultstring=Client Error; faultactor=null]
    Could someone please explain why I hit this error, and what do I need to change to fix it?
    Thanks.

    Hello,
    First, I would like to thank you for your help.
    Below is the SOAP envelope (request) that was created by the Application Express engine based on the Web service reference definition.
    Input parameters:
    Obra: 35078
    Processo: 2073/DCEOD/I/1960
    Morada: BECO BUGIO
    <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <SOAP-ENV:Body><ns1:ObterResultadosEmObjecto xmlns:ns1="urn:webservices.x-arq.mind.pt/urn:webservices.x-arq.mind.pt/ResultadosPesquisa.xsd"><ns1:Obra>35078</ns1:Obra><ns1:Processo>2073/DCEOD/I/1960</ns1:Processo><ns1:Morada>BECO BUGIO</ns1:Morada></ns1:ObterResultadosEmObjecto></SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    From Portugal,
    Helder Dinis

  • Consuming a sap web service via jde 4.5.7 (ecc 6.0)

    Hi all,
    I have a question here, if u could help me, i have to call a sap webeservice via jde , but before i test a jde example by calling a public web service which is not a sap web service , i used to  give  url  as:
    connThread.get("http://www.webservicex.net/globalweather.asmx/GetCitiesByCountry?CountryName="Morocco;deviceside=true";
    i was not obliged to set the apn parameters and it does work
    here as it's mentioned , there is the access point, getcities ...  the method  name and the parameter name and the parameter value
    "Morocco", but i m asking how did we precise the methods  of an rfc sap, and the name parmeter and his value.
    have u any idea to help me understand how we call sap rfc, method name, parmaeter name, cz i m a newbie to sap and bb.
    but now when i try to call an rfc sap , i give the link
      connThread.get("http://hca-ecc.hca.group:8000/sap/bc/srt/wsdl/sdef_Z_WS/wsdl11/ws_policy/document?sap-client=800;deviceside=true;apn=hca-ecc.hca.group;tunnelauthusername=forma02;tunnelauthpassword=hcaforma" );
    but it's always giving me transmission failed without any error that may help me when debugger run.
    Thakx in advance.

    Hello Merry,
    Have you tried searching 'blackberry' in SDN. I found following and many more links. It gives me impression that you may have to use MDS and also may be SAP Webdynpro technology for UI rendering.
    blackberry integration with Mobile Infraestructure
    There seems to be special site from blackberry for SAP integration (free registration).
    https://www.blackberry.com/CorpDevZone/download/SAP/sap.shtml
    Re: Steps to show data on actual Blackberry :) Urgent please....
    Hope this will give you some headway in resolving your issues.
    Regards,
    Vandana.

  • Consuming SAP web services with tables

    I'm doing kind of feasibility study on consuming SAP web
    services from CF.
    So far so good, but I'm stuck dealing with tables
    (import/export parameters in SAP world).
    I know how to receive a table object from SAP functions:
    * With Apache Axis v1.2: pass an empty CF structure as a
    parameter
    * With Apache Axis v1.4: pass an empty CF array as a
    parameter
    Then the parameter is filled with data (replaced with Java
    object) and we can just parse the object accordingly.
    My question here is whether or not we can pass a *table with
    actual records*.
    For example, I want to pass a table with multiple records to
    update DB records under SAP.
    I tried passing (1) CF array of structure and (2) Java
    ArrayList with no chance.
    The web service call itself completes without errors (no
    method signature error), but the SAP function seems to see the
    parameter as an empty table.
    Anyone has been successful with this case?
    Any suggestion would be much appreciated.

    Thanks Dan,
    Unfortunately CF query object didn't work either.
    Now I'm looking at the code generated by Flex Builder to see
    how the classes are like ;-)
    It's just an ArrayCollection of simple value objects
    (representing a row).
    So CF array of structure or Java ArrayList looks a reasonable
    approach though they don't at all.

  • Publish Abap Web Service in ICF virtual host

    Hello
    We have configured our abap aplication server with two virtual host in SICF
    one the default_host that listen in http 8080 port and other virtual host that
    listen in http 8090 port.
    We need define some ABAP web services that listen in default_host:8080  and other virtual host in virtualhost2:8090.
    We define de web service with SE80 wizard and then create the configuration end point
    with SOAMANAGER.
    Our problem is that soamanager ever create the entrie of endpoint in sicf transaction, under default_host:8080 service tree not under virtualhost2 service tree. and so we can not call
    the web service like http://virtualhost2:8090/sap/bc.... because don't exist, only exist
    http://defaul_host:8080/sap/bc....
    we try to copy the entry of the tree under virtualhost2 in the proper place of the tree,
    but when call the webservice with soaui the system report the error:
         No Web service configuration for this access path: ""
    i can see that there are entries in the table SRT_CFG_SRV_ASGN that are related with this
    problem, because assign the url of the endpoint of the ws to virtual host, but i don't
    know how the system generate this entries.
    someone know how call ABAP web service with icf virtual host?
    thanks
    regards
    diego

    Hi Trevor
    For test purpose i can do it works.
    The key point is create the proper entry in the table SRT_CFG_SRV_ASGN that refer to the correct VIRTUAL_HOST.
    When you genreate the endpoint of the service with soamanager, the system generate an entrty in this table with the fiel VIRTUAL_HOST = 0, you can copy this entry and change only two fields.
    VIRTUAL_HOST = <the number of your virtual host>
    HASH --> you can calculate this field with the FM CALCULATE_HASH_FOR_CHAR, in the parameter DATA contatenate the content of the fiels VIRTUAL_HOST and URL (be careful with the upercase), this function module return you the hash.
    (First you have to replicate the icf tree that soamanager create under your virtual host tree)
    With this configuration i can call to my WS over the virtaual host, using soaui.
    I hope this can be useful for you.
    Regards
    diego

  • SAP Web services performance tuning in terms of concurrent users?

    Hello,
    we in our organisation are planning to build a web portal which can connect to our sap environment and perform various tasks.
    Hence to find out the performance capabilities we exposed some web services from SAP end and did a load test on the same.
    The test results were not promising, with only 25 concurrent users the response time was as high as 12 seconds.
    Now we need to fine tune the SAP web service module to get the max performance.
    Can anybody point us in the right direction?

    One of the function module code is as follows
    FUNCTION ZHRPULSE_CREATECONTACTS3.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(EMPL_CONTACT_DETAILSIN) TYPE  ZHR_CONTACT_DETAILS
    *"  EXPORTING
    *"     VALUE(EMPL_CONTACT_DETAILSOUT) TYPE  ZHR_CONTACT_DETAILS
    *"     VALUE(STATUS) TYPE  ZHR_STATUS
    *"  TABLES
    *"      SUBTYPE_TABLE STRUCTURE  ZHR_CONTACT
    DATA: tempRet type BAPIRETURN1,
          oref   TYPE REF TO cx_root.
    DATA: E_IT0001 type P0001.
    CALL FUNCTION 'HREIC_READ_INFOTYPE_0001'
      EXPORTING
        I_PERNR         = EMPL_CONTACT_DETAILSIN-EMPLOYEE_ID
        I_DATE          = sy-datum
    IMPORTING
        E_RETURN        = tempRet
        E_IT0001        = E_IT0001
    EXCEPTIONS
       NOT_FOUND       = 1
       OTHERS          = 2.
    IF SY-SUBRC <> 0.
      Status-status = 'Failure'.
      status-information = 'ID Not Found in Master Data.'.
      exit.
    ENDIF.
    EMPL_CONTACT_DETAILSOUT-EMPLOYEE_ID = E_IT0001-PERNR.
    EMPL_CONTACT_DETAILSOUT-EMPLOYEE_NAME = E_IT0001-ENAME.
    SELECT single Btext from t001p into EMPL_CONTACT_DETAILSOUT-location where btrtl = E_IT0001-btrtl.
    CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
        EXPORTING
          NUMBER             = EMPL_CONTACT_DETAILSIN-Employee_ID.
      IF sy-subrc NE 0.
        Status-status = 'Failure'.
      status-information = 'NOT able to get a lock on the Employee ID'.
        EXIT.
      ENDIF.
      CALL FUNCTION 'BAPI_ADDRESSEMP_CREATE'
        EXPORTING
          EMPLOYEENUMBER         = EMPL_CONTACT_DETAILSIN-Employee_ID
          VALIDITYBEGIN          = SY-DATUM
          VALIDITYEND            = '99991231'
          ADDRESSTYPE            = '1'
          STREETANDHOUSENO       = EMPL_CONTACT_DETAILSIN-ADDRESS1
          SCNDADDRESSLINE        = EMPL_CONTACT_DETAILSIN-ADDRESS2
          CITY                   = EMPL_CONTACT_DETAILSIN-CITY
          POSTALCODECITY         = EMPL_CONTACT_DETAILSIN-PIN_CODE
       IMPORTING
          RETURN                 = tempRet
          EMPLOYEENUMBER         = EMPL_CONTACT_DETAILSIN-Employee_ID
    If sy-subrc eq 0.
      Status-status = 'Success'.
      status-information = 'Executed successfully'.
    else.
      Status-status = 'Failure'.
      status-information = tempRet-message.
      exit.
    endif.
    "For creating communication details
    subtype_table-subtype = '9100'.
    subtype_table-communicationid = EMPL_CONTACT_DETAILSIN-EXTENTION.
    append subtype_table.
    subtype_table-subtype = '9200'.
    subtype_table-communicationid = EMPL_CONTACT_DETAILSIN-EMERGENCY_NO.
    append subtype_table.
    subtype_table-subtype = '9300'.
    subtype_table-communicationid = EMPL_CONTACT_DETAILSIN-AVAYA.
    append subtype_table.
    subtype_table-subtype = '9400'.
    subtype_table-communicationid = EMPL_CONTACT_DETAILSIN-MOBILE_NO1.
    append subtype_table.
    subtype_table-subtype = '9450'.
    subtype_table-communicationid = EMPL_CONTACT_DETAILSIN-MOBILE_NO2.
    append subtype_table.
    subtype_table-subtype = '9500'.
    subtype_table-communicationid = EMPL_CONTACT_DETAILSIN-DIRECT.
    append subtype_table.
    subtype_table-subtype = '9600'.
    subtype_table-communicationid = EMPL_CONTACT_DETAILSIN-HOME.
    append subtype_table.
    if subtype_table[] is not initial.
    Loop at subtype_table.
      CALL FUNCTION 'BAPI_EMPLCOMM_CREATE'
        EXPORTING
          employeenumber        = EMPL_CONTACT_DETAILSIN-Employee_ID
          subtype               = subtype_table-SUBTYPE
          validitybegin         = sy-datum
          validityend           = '99991231'
          communicationid       = subtype_table-communicationid
       IMPORTING
          return                = tempRet
    If sy-subrc eq 0.
      Status-status = 'Success'.
      status-information = 'Executed successfully'.
    else.
      Status-status = 'Failure'.
      status-information = tempRet-message.
      exit.
    endif.
      Endloop.
      CLEAR subtype_table.
    ENDIF.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    * EXPORTING
    *   WAIT          =
    * IMPORTING
    *   RETURN        =
      "for unlocking the employee ID
      CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
        EXPORTING
          number = EMPL_CONTACT_DETAILSIN-Employee_ID
    "   IMPORTING
      "    return =
    EMPL_CONTACT_DETAILSOUT-ADDRESS1 = EMPL_CONTACT_DETAILSIN-ADDRESS1.
    EMPL_CONTACT_DETAILSOUT-ADDRESS2 = EMPL_CONTACT_DETAILSIN-ADDRESS2.
    EMPL_CONTACT_DETAILSOUT-CITY = EMPL_CONTACT_DETAILSIN-CITY.
    EMPL_CONTACT_DETAILSOUT-PIN_CODE = EMPL_CONTACT_DETAILSIN-PIN_CODE.
    EMPL_CONTACT_DETAILSOUT-EXTENTION = EMPL_CONTACT_DETAILSIN-EXTENTION.
    EMPL_CONTACT_DETAILSOUT-EMERGENCY_NO = EMPL_CONTACT_DETAILSIN-EMERGENCY_NO.
    EMPL_CONTACT_DETAILSOUT-AVAYA = EMPL_CONTACT_DETAILSIN-AVAYA.
    EMPL_CONTACT_DETAILSOUT-MOBILE_NO1 = EMPL_CONTACT_DETAILSIN-MOBILE_NO1.
    EMPL_CONTACT_DETAILSOUT-MOBILE_NO2 = EMPL_CONTACT_DETAILSIN-MOBILE_NO2.
    EMPL_CONTACT_DETAILSOUT-DIRECT = EMPL_CONTACT_DETAILSIN-DIRECT.
    EMPL_CONTACT_DETAILSOUT-HOME = EMPL_CONTACT_DETAILSIN-HOME.
    ENDFUNCTION.

  • Problem using an SAP Web service??

    Hi I am currently trying to use a Web Dynpro interface to link into an SAP Web Service and search for some data. However this is not working at the moment as I believe there is an issue with my system landscape and i don't know how to resolve it. I get this error:
    Caused by: com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for web service mass config parameters service reference ID 'ac92ed3a-770d-428f-8b89-3dd26332b858' and application name 'demo.sap.com/poc2'. Check mass configuration has been done properly.
    I already had this issue when I was trying to create a web dynpro interface of a web service that i had created. I did solve that issue however then when i published that project The data was not within the table. I am now trying this as I did not seem to be getting a reply to my previous thread which is here:
    Re: Cannot get Web Dynpro app to work??!
    Ok so now I have started this new project just to see weather it was the web service that was the issue. However when i publish this project i get the error. The things I have tried are below:
    1. Going to the NWA of the server and going to SOA Management --> System Connection and then setting up a new connection with these settings:
    General
    System Type:                                        ABAP
    System Name:                                       HU2
    DB Host:                                                iwdf4158
    Client:                                                    800
    Installation number:                               0120003411
    Connectivity
    Services Source:                                 WSDL
    URL:                                                     http://sr.esworkplace.sap.com:80/ServicesRegistrySiService/ServicesRegistrySiPort
    Username:                                            sruser
    Password:                                           eswork123
    then from this I then tried to apply this connection to my project by going to NWA of the server and going to SOA Management --> Application and Scenario Communication --> Application Communication then I selected my project and added the provider system I had just set up as i presumed with me using a web service from SAP I would have to do this.
    I then tried adding another provider system which was the local server that the instance is installed on.
    Edited by: anixan on Apr 15, 2010 2:31 PM

    Hi Experts,
    I have found that the particular web service that I amusing is running from sr2.esworkplace.sap.com is there any way to find the settings of how to set this up in the Destination Template Manager of my server in order for the app to work. I would appreciate any help that can be offered. Thanks

  • Report published as web service with parameters

    Post Author: kevinzebeste
    CA Forum: Publishing
    hi,I have a problem in a report published as web service.indeed, the report has a parameter, a date.Client side I do this://I create the parameter             ParameterFields paramFields = new ParameterFields();            ParameterField paramField = new ParameterField();            ParameterDiscreteValue paramDiscreteValue = new ParameterDiscreteValue();            paramField.Name = "date";            paramDiscreteValue.Value = "10/10/2006";            paramField.CurrentValues.Add(paramDiscreteValue);            paramFields.Add(paramField);//I add the parameter into the crVievwer            crystalReportViewer.ParameterFieldInfo = paramFields;//I call the web service to get data            crystalReportViewer.ReportSource = "http://localhost/WebService/Rapport1Service.asmx"; Server Side :Now, I want to get back the parameter in the web service (in Rapport1Service.asmx, so server-side) to be able to call my storedprocedure with the good parameter, this one which was put on the client side (10/10/2006).I tried to do crystalReportViewer.ReportSource = "http://localhost/WebService/Rapport1Service.asmx?date=22/10/2006" on the client side but no way. i don't find a solution, is there any way to make this possible ?Moreover, i have one database for each user, so i need to pass the user name, password and account too..

    Post Author: kevinzebeste
    CA Forum: Publishing
    I have found a solution.
    I  create a web service in which i return a dataset, filled with the data wanted.the web service take as parameter: the report name we want, the parameter(s), and the username and password (to check if the user has right to access to data.)After that, I fill the report, client side, with the datasen given. i don't know if it's the best solution but it works !

  • Publishing a Web Service

    Hello experts,
    Could anyone give me a step by step guide on how to properly publish a web service in SAP. I've been trying to expose various BAPI's / RFC, but when I attempt to call them in Microsoft Visual Studio via the wsdl, I get a 503 error - server unavailable.
    I think I am missing some level of configuration when creating the SAP web service. Any help gratefully appreciated.

    Hi,
    Use the SEARCH button here on SDN, there have been already several blogs explaining how to publish web services.
    By the way, SAP is a software vendor. You have to tell which SAP software product and release you are using...
    Regards,
    Olivier

  • How to integrate Oracle BI Publisher via Web Services in Oracle Forms.

    hi
    I hope you fine and happy. I think you hear about the new reporting tool (Oracle BI Publisher).
    Really it is a great tool. I need someone help me; How I can integrate Oracle BI Publisher via Web Services in Oracle Forms.
    I got the guidelines of this integration process from ORACLE.
    But, when I compile the script of publicreportserviceclient.callRunReport - the script running the report -, I get some errors in PL/SQL compiler
    http://www.oracle.com/technology/products/xml-publisher/index.html

    ==========================
    PL/SQL CODE:
    ==========================
    DECLARE
         RAISEDEXCEPTION ORA_JAVA.JOBJECT;
    REPORT_PATH VARCHAR2(200);
    PARAM_NAME VARCHAR2(200);
    PARAM_VALUE VARCHAR2(200);
    UN VARCHAR2(200);
    PW VARCHAR2(200);
    FORMAT VARCHAR2(200);
    TEMPLATE VARCHAR2(200);
    OUT_FILE VARCHAR2(200);
    OBJ ORA_JAVA.JOBJECT;
    BEGIN
    OBJ := PUBLICREPORTSERVICECLIENT.NEW();
    REPORT_PATH := '/LEARN/EMPLOYEES/EMPLOYEES.XDO';
    PARAM_NAME := 'P_DEPTNO';
    PARAM_VALUE := '50';
    UN := 'Administrator';
    PW := 'Administrator';
    FORMAT := 'PDF';
    TEMPLATE := 'Simple';
    OUT_FILE := 'C:\DevSuiteHome_1\j2ee\home\default-web-app\' || 'TEST';
    --PUBLICREPORTSERVICECLIENT.CALLRUNREPORT(OBJ,:REPORT_PATH,PARAM_NAME,:PARAM_VALUE,UN,PW,:FORMAT,:TEMPLATE,OUT_FILE);
    PublicReportServiceClient.callRunReport( REPORT_PATH,
    PARAM_NAME,
    PARAM_VALUE,
    UN,
    PW,
    FORMAT,
    TEMPLATE,
    OUT_FILE);
    WEB.SHOW_DOCUMENT('HTTP://127.0.0.1:8889/j2ee/' || 'TEST');
    END;
    ==========================
    JAVA CODE FOR callRunReport FUNCTION:
    ==========================
    public void callRunReport (String reportPath, String[] paramName, String[] paramValue, String
    username, String password, String format, String template, String outFile)
    try {
    bip_webservice.proxy.PublicReportServiceClient myPort =
    new bip_webservice.proxy.PublicReportServiceClient();
    // Calling runReport
    ReportRequest repRequest = new ReportRequest();
    repRequest.setReportAbsolutePath(reportPath);
    repRequest.setAttributeTemplate(template);
    repRequest.setAttributeFormat(format);
    repRequest.setAttributeLocale("en-US");
    repRequest.setSizeOfDataChunkDownload(-1);
    if (paramName != null)
    ParamNameValue[] paramNameValue = new ParamNameValue[paramName.length];
    String[] values = null;
    for (int i=0; i<paramName.length; i++)
    paramNameValue[i] = new ParamNameValue();
    paramNameValue.setName(paramName[i]);
    values = new String[1];
    values[0] = paramValue[i];
    paramNameValue[i].setValues(values);
    repRequest.setParameterNameValues(paramNameValue);
    else
    repRequest.setParameterNameValues(null);
    ReportResponse repResponse = new ReportResponse();
    repResponse = myPort.runReport(repRequest,username,password);
    byte[] baReport = repResponse.getReportBytes();
    FileOutputStream fio = new FileOutputStream(outFile);
    fio.write(baReport);
    fio.close();
    } catch (Exception ex) {
    ex.printStackTrace();

  • Steps to expose a web service without using SR

    Hello,
    How can I expose a web service without using the service registry?  Is there some documentation for this process?
    Thanks,
    Matt

    Thanks for the response.  Although, I do not have an * in the Sender Agreement.
    Here is the situation:
    When I attempt to reach the URL for my Web Service but using NWA instead of the Service Call I get into NWA.
    https://xxxxx.steelcasedev.com/nwa
    Result: Success
    When I use SOAPSonar to run this URL I get the CPA error:
    https://xxxxx.steelcasedev.com//XISOAPAdapter/MessageServlet?senderParty=&senderService=WSProcurement_Async_Sender&receiverParty=&receiverService=Steelcase_Dev&interface=WSProcure_Out&interfaceNamespace=urn:steelcasedev.com:wsprocure:xsuppliers
    Result:  Error
    <context>XIAdapter</context>
              <code>ADAPTER.JAVA_EXCEPTION</code>
              <text><![CDATA[
    com.sap.aii.af.service.cpa.CPAException: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=WSProcurement_Async_Sender;TS=Steelcase_SAPR3_D01;AN=WSProcurement_Out;ANS=urn:steelcase.com:wsprocurement:xml2suppliers;
         at com.sap.aii.af.service.cpa.impl.lookup.CommonLookup.checkForError(CommonLookup.java:53)
         at com.sap.aii.af.service.cpa.InboundRuntimeLookup.getBinding(InboundRuntimeLookup.java:411)
         at com.sap.aii.af.service.cpa.impl.lookup.AbstractLookupManager.getBinding(AbstractLookupManager.java:714)
         at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:430)
    The sender adapter is active in ID but in RTWB it is "Started but Inactive".  I have found that this status could be related to the fact that I have not had a successful transaction for that channel yet.
    My NW Admin says he found this error: 
    Marked transaction for rollback for message 0015605e-09d7-1ddf-94f7-d5031c019713(INBOUND). Reason: Channel has been configured as inactive and cannot accept messages
    I am quite confused. 
    Thanks,
    Matt

Maybe you are looking for

  • Web Interface doesn't work after installing 11g

    A couple days ago I decided to install Oracle 11g (after already having 10g Express Edition), after successfully installing 11g, I tried to access 10g EE using http://127.0.0.1:8080/apex/apex, and it doesn't work anymore. I tried using a java program

  • Purchase/sales for 2nd stage dealers in trading company

    Hi all My client owns a trading company. There are two types of purchases 1st stage and 2nd stage. 1. In 1st stage client purchases from manufacturer  with excise which he passes to its customer later on during sale. For this i have managed item by b

  • Buffer Hit % ?

    Hi Guys, My DB Buffer Hit % (from awr): is very low 69% (9am to 6pm daily). Is this ratio a good indicator for me to increase my db cache? (<90%) I have read several articles. Some suggest that it's a good indicator and some suggest not. Anyone can g

  • I'm trying to access a Mac OSX xserve's shared folder from a windows xp pc

    So I'm trying to access the Shared Folders on a Mac OSX Xserve Server. this server does not provide authentication or home folders, etc. Pretty much using it for network storage. I've been able to successfuly connect to the folders using Windows 7, b

  • Verizon's Gift Card Gallery won't open

    So I got an email from Verizon about a new "Perk" called Gift Card Gallery.  I checked it out on Friday.  I'm trying to get back to it today, but it won't work from any browser.  The link is in the bottom right of the Verizon Central page, but all it