Webservice scenario. pls suggest

Hi All,
Please let me know what it means when we say call Webeservice from Java or SAP using Service bus.
It will come under which given below scenario  or this wil be some other scenario
When PI 7.1 is consumer of Webservice
Scenario -  we import wsdl as external defination and use Soap Receiver adapter
When PI 7.1 is provider of Webservice
Scenario -  For Outbound Interface Sender Aggrement we take Endpoint WSDL and login to Service Registry and publish that
Endpoint WSDL and send that Endpoint WSDL to 3rd party and use Soap Sender adapter
Thanks

>
Rick R wrote:
> Please let me know what it means when we say call Webeservice from Java or SAP using Service bus.
> It will come under which given below scenario  or this wil be some other scenario
in this case, when ever a system is calling a webservice and that system is not PI, then ideally it will be PI who is hosting that webservice

Similar Messages

  • Can I include 2 diff strctures in d same wsdl file in a webservice scenario

    Hii all,
    We are using webservice to webservice scenario in which sender shld b able to send all the new rquest to the target and receive any updations or modifications from the receiver.
    Few fields are different for request and modification structures. so i created 2 diff structures for source and target.
    can any one suggest me who can i use single wsdl file for both the msgs( Creation and modifications) mean how to implement multi maping ( 1 to many) using wsdl
    Regards
    Anu

    A simple way to include the 2 structures in one WSDL would be to create a combined structure similar to the one below:
    <RequestPackage> (1 occurrence)
       <Request> (0 to n occurrence)
          <Create> (0 to 1 occurrence)
             ... Create Fields u2026
          </Create>
          <Modify> (0 to 1 occurrence)
             u2026 Modify Fields u2026
          </Modify>
       </Request>
    </RequestPackage>
    This is more complex than using 2 wsdls but it would allow you to easily send multiple create and modify records in the same message.
    - Craig

  • Error in SXMB_MONI for HTML to Webservice Scenario

    Hi Experts,
    I am facing following error Error in SXMB_MONI for HTML to Webservice Scenario
    "Runtime exception occurred during application mapping com/sap/xi/tf/_MM_EmailRequest_To_ValidateEmail_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Content is not allowed in prolog."
    Only one field is used i.e. email address and mapped properly in IR but still the error is persisting, Please suggest some way out.
    Regards,
    Nitin

    Hi,
    Mapping internall follows the SAX parser. Please check if you are trying to process the data of large size.
    generally while parsing the large data this exception get raised. Even though there is just one field, what is the data size you are trying to pass.
    Thanks
    Swarup

  • XI Contents : Error Handling : Syncronous Proxy - WebService Scenario

    Hi,
    I am working on Syncronous : Proxy <-> XI <-> WebService Scenario.
    I am using Standard XI Contents from XI and SAP side.
    Meaning : All the design objects like Message Interface / Message Types / Data Types etc are NOT created by me, but I am using from Standard XI Contents EA-HR 600. I did all the Configuration of the Scenario by using these Design objects.
    In short , I can not change any of the Design object as it belongs to SAP.
    Now, the scenario works fine. But I need to cater for Error handling.
    Any suggestion.
    I can not create fault messages as it is SAP's objects.
    Thanks.
    Dk

    Thanks for suggestions.
    Now my comment on these suggestions:
    Option1 by Bhavesh. Copy Contents to my namespsce :  I can do that, but here I need to tell you something. I have used Contents (Design Objects) and I didnt have to even create or activate any proxy ( I was amzed to see that ). Now, coping all the contents to my namespace will give me flexibility to add Fault Message (which is currently not avilable in standard content). but..but..I will have to create and generate / activate the proxy. ( Am I right?). Then where should I use this proxy? How my application will talk to this proxy? (I am not sure if I made my point clear). Currently I dont have to worry about communication between this HR application with standard Proxy ( which belongs to standard contents).
    Option2 by Jai. Webservice changes : Webservice is not developed by me. I am consuming it. but I can ask this vendor who is WebService owner to change his webservice to suit my needs. But it wont solve the problem as I do not have Fault message at XI side.
    I can consider Option1 by Bhavesh, if the proxy problem is solved.
    Thanks,
    DK

  • Testing webservice scenario

    Hi Experts,
    How to test the webservice scenario with more than 10 users at a time?
    Thanks & Regards
    Sara

    Hi Sara,
    As u metioned to calculate the CPU utilization for the scenario which are invoked at the same time for more users.We can create multiple users with different user id's
    and coming to the point of calculating the CPU usage pls consult ur SAP XI BASIS team they would be helping u out and allow n users to access the service parallel
    sara pls chk this link
    Good One *********************
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/07ddd490-0201-0010-698b-e240c0f58bbd
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e00ac676-7b92-2910-6b81-dad421126406
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/7dc33a0f374932e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a6c4d505211d189550000e829fbbd/frameset.htm
    /people/sap.user72/blog/2006/03/22/how-to-stop-xi-server-utilizing-99-cpu-cycles
    if found worth pls do the req
    ok
    Regards
    Sampath

  • BPM webservice scenario

    Hi All,
    Could you please provide some sample BPM webservice scenario for the Approval process?
    Actually, don't want to get top to bottom info. for this request, prefer to have just layout info.
    Regards
    Sara

    Hi Sara!
    There was a document written by SAP describing exactly this process - XI (BPM) + approve in R/3. Try to find it on SDN...  If you're not succesful and want REALLY to have it    I have it on my pers NB somewhere, so in this case provide pls yr email adress.
    regards,
    P.

  • Rfc to webservices  scenario

    hi,
        i am taking 2 FM's in rfc side and i am taking external definition in receiverside i.e in soap side
    rfc to webservices scenario
    could any one help me immediately.
    urs
    suman

    HI
    Refer this
    RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
    RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
    Steps
    Import the RFC meta data to PI
    Import the WSDL to PI
    Create MI for RFC -outbound Sync (if response is involved else Async)
    Create MI for WSDL service you want type Inbound Sync (If response involved)
    Create MM(external definition and RFC), IM for these
    Create Sender RFC adapters with SA
    Create Receiver SOAP and do necessary pipline steps
    Thats it
    Thanks
    Gaurav

  • Hi  urgent pls suggest when i press enter the data disappears...

    hi
    i have develop,ed a module pool for table maintianece
    in which  there are theree fields
    customer number name  email id
    now when i dont press enter at first field ie customer number after entering all data
    and save the data is saved properly for all three fields
    but if after e ntering the customer number i press enter and then enter name and email id
    and save the data for email is not saved and also if i just press enter again the data in email id column which i entered disappears
    can anyone suggest reason and solution for it
    regards
    Arora

    hi
    here is my code
    PROCESS BEFORE OUTPUT.
      LOOP   WITH CONTROL TABLE_ZCUST_EM_CREATE."AT T_ZCUST_EM_CREATE
        MODULE STATUS_0200.
      ENDLOOP.
    *Process after input
    PROCESS AFTER INPUT.
      MODULE CANCEL_200 AT EXIT-COMMAND.
      LOOP WITH CONTROL TABLE_ZCUST_EM_CREATE ."AT T_zcust_em_CREATE ." .".
       MODULE USER_COMMAND_0200.
        CHAIN.
          FIELD t_ZCUST_EM_create-ship_to .
         MODULE set_field_validation ON CHAIN-REQUEST.
        ENDCHAIN.
        MODULE USER_COMMAND_0200.
      ENDLOOP.
    here ship_to is customer number
    ship_to_name is name
    and email id is email id field
    pls suggest on this code also if u want i can give code for the module validation and user commarnd 2000
    as below
    MODULE STATUS_0200 OUTPUT.
      w_lines_200 = sy-loopc.
    *Reading table t_zcust_em_create for screen 200.
      read table t_zcust_em_create
        index table_zcust_em_create-current_line.
    *Refreshing The Internal table 't_zcust_em_temp'
      refresh:t_zcust_em_temp.
    ENDMODULE. 
    MODULE set_field_validation INPUT.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                EXPORTING
                   INPUT         = t_zcust_em_create-ship_to
                IMPORTING
                    OUTPUT       = t_zcust_em_create-ship_to.
      select single kunnr from kna1 into v_kunnr
              where kunnr = t_zcust_em_create-ship_to.
          if sy-subrc = 0.
           select single name1 from kna1 into t_zcust_em_create-ship_to_name
           where kunnr = t_zcust_em_create-ship_to.
          else.
          t_gui1-fcode = 'BACK'.
          append t_gui1.
          t_gui1-fcode = 'EXIT'.
          append t_gui1.
          t_gui1-fcode = 'SAVE'.
          append t_gui1.
          SET PF-STATUS 'AIMS_200' excluding t_gui1.
          message E002 with t_zcust_em_create-ship_to.
             endif. "kna1
    ENDMODULE.                 " set_field_validation  INPUT
    MODULE USER_COMMAND_0200 INPUT.
    *Setting it for select/deselect entries
      move:t_zcust_em_create to t_zcust_em_create_sel.
      append t_zcust_em_create_sel.
      clear:t_zcust_em_create_sel.
    *Getting internal table t_zcust_em_create with control
      read table t_zcust_em_create
             with key ship_to = t_zcust_em_create-ship_to.
    *Getting internal table for create entries: screen-200
      if sy-subrc ne 0 and t_zcust_em_create-ship_to ne space .
        append  t_zcust_em_create     .
        move:t_zcust_em_create to t_zcust_em_create_tmp.
        append t_zcust_em_create_tmp .
        clear:t_zcust_em_create_tmp  ,
              t_zcust_em_create      .
      endif.
      clear:t_cols.
    *Getting the value of  w_fill_200.
      describe table t_zcust_em_create lines w_fill_200.
    ENDMODULE.                 " USER_COMMAND_0200  INPUT
    PLEASE SUGGEST
    REGARDS
    ARORA
      module read_table_value_0200.

  • Want to create IDoc to Webservice Scenario

    Hi All,
    I wan to do Idoc to Web Service Scenario, I have already done Idoc to File Scenario and I have mapped the file of both end in ESR and I am done with Configuration in Integration Directory.
    Now If I want to convert it to IDoc to Web Service Scenario, what all steps need to be done. and also want to know that How we can access and Send the files from Web Service to PI 7.1. As such web service is not available need to create the same also.
    Can anyone provide How to guide on this scenario.
    Regards,
    Nitin Patil
    Edited by: Nitin Patil on Dec 19, 2008 2:44 PM

    Hey,
         as you have familiar with idoc to file, the idoc to webservice scenario is not different.
         You need to do the ALE settings on the R\3 side. import the Idoc in XI.
         Now for mapping purpose you need the source and the target structure.
         In case of webservice you need to import the WSLD (unlike the file in which you wold have created the data type and message type)
    In order to import the WSLD, you need to do following things.
    Ou require NWDS and the following settings needs to be done
    Deployement of Web Services:-
    Step 1)
         Goto Windows->Open Perspective->J2EE development.
    Step 2)
         Goto File->new->Ejb module(give project name).
    Step 3)
         Right Click on the <project name> eg. work_ejb select new->Ejb.
    Step 4)
         Give an appropriate EJB name and default package (eg. com.xxx.yyy).
         Also select stateless Ejb.
         Click next then next and then next.
    Step 5)
         Add method with an appropriate name.
         Mention the return type and also assign the required parameters.
         Logic is written in the EJB module bean.
    Step 6)
         Right click on the <project name> and build.
         Creates .jar
    Step 7)
         Goto File->new->Enterprise Application project(to create EAR)
    Step 8)
         Give project name, assign EJB and build.
         Creates EAR.
    Step 9)
         Right Click on the EJB.
         Goto new->Web services.
         Specify name of the web service.
         Specify EAR in the WEB service.
    Step 10)
         Build EAR.
         Build Ejb.
    Step 11)
         Goto Windows->Prefrences->SAP j2EE engine.
         Give the message server host name.
    Step 12)
         Right Click on EAR and deploy.
    Step 13)
         Goto-> http://<host name>:<port no.>/index.
    Step 14)
         Choose the web service name,test it and download it(default WSDL).
    Step 15)
         Import port(WSDL) in External definition of SAP PI.
    After you import the wsld, you need to follow the same procedure as idoc to file.
    regards,
    Milan

  • RFC - XI - WEBSERVICES scenario - Where to create RFC Destination

    Hi  Experts
    For my RFC - XI - WEBSERVICES scenario, I have to create one TCP/IP RFC destination on R/3 system with the following details
    RFC Destination Name    : XXXX
    Connection Type            : T (TCP/IP)
    Activation Type              : u201CRegistered Server Programu201D
    Program ID                      : YYYY
    Gateway Host                : R/3 Details ..??
    Gateway Service           : R/3 Details ..??
    My Function Module (Remote-Enabled) - u201CZZZZu201D is defined in R/3 System.
    This Function Module should be communicated with the target system i.e. NW XI system 
    As per the Note from SAP Help: To be able to communicate using RFC, you need to define the target systems as RFC destinations in the sending system(R/3)
    Target system u2013 XI Server
    Sending system u2013 R/3 System
    Are my details provided are good enough as per my explanation? Please guide me in this regard.
    QUESTION : Where exactly do I need to create the RFC Destination(SM59)? on R/3 side or on XI side?

    Refer the following link-
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414700)ID1636235450DB01012070359836134304End?blog=/pub/wlg/1438
    what are the inputs should be given to Gateway Host and Gateway Service while creating RFC Destination??
    Open transaction SMGW on the R/3 system and choose
    Goto -> Parameters -> Display. Beneath Attributes there will be the
    entries 'gateway hostname' and 'gateway service'.#

  • I have lost my facetime option when moved to another country. pls suggest how can i get it back

    Hi ,
    Recenlty i have bouhgt  new iphone5s from middle east . When i was using the phone over there the facetime was working perfect for me .
    Now when i moved to another country i can not see the facetime option in the iphone .
    Could you pls suggest how can i get it back .

    Hi Stedman ,
    Thanks for the information !!
    I have checked the article and i can clear see that my Wireless carrier support the facetime feature
    so what could be the reason am not able to use the facetime option .

  • Polling in webservice scenario

    Hi Experts,
    I know Sender File Adapter and JDBC Adapter supports polling. Is it possible to use polling in webservice scenario?
    Is it possible to expose a File Adapter and JDBC Adpaters scenarios as a webserice?
    Regards
    Sara

    Sara,
    Can you go through the urls:
    sender JDBC by schedule function
    JDBC
    If it doesnot work for you, then try to see the SXMB_MONI or the JDBC
    Try using:
    "Disconnect from Database After Processing Each Message" indicator
    http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    Polling at intervals
    Thanks,
    Satya Kumar.
    Edited by: SATYA KUMAR AKKARABOYANA on Apr 25, 2008 2:25 PM

  • Authorization object coding -problem. Pls suggest.

    Hi experts
    I have created authorization fields and assigned in objects properly.
    My case is i am calling the transaction ZMAST which is create through table maintenance(ZMASTER) of the table ZMASTER.
    Now where to implement this coding part and how to do.
    Please explain me clearly the steps , the following coding part i put in dialog programming right now and can you tell me will this code work fine.
    If we can do in Table maintenance Events, do we need to write in standard program. pls suggest me on this.
    WHEN 'MAST'.
    AT SELECTION-SCREEN.
    AUTHORITY-CHECK OBJECT 'ZRAJ_TEST1'
    0 ID 'ACTVT' FIELD '03'.
    IF sy-subrc <> 0.
    MESSAGE 'No authorization' TYPE 'E'.
    ENDIF.
    CALL TRANSACTION 'ZMAST'.
    Thanks in advance.
    Regards
    Rajaram

    Hi,
    The coding can be done in the "Events" section of the table maintenance.
    Chk this link for further help on this:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
    Best Regards,
    Anjali

  • How to maintain EOIO for JMS to multiple webservices scenario

    Hi,
    I have a requirement that
    how to maintain EOIO for JMS to multiple webservices scenario.
    JMS queue has multiple messages, each message has to be sent to either of 2 receivers.
    How to maintain EOIO in case, when there are 2 receivers.
    Regards
    Sekhar

    Hi,
    since messages are split between 2 webservices receivers, each would have its own SOAP adapter.
    So if order of messages in the JMS queues is M1, M2, M3 and M4 . There is a field based on which split happens.
    Say, if M1 and M3 have to go Webservice1 (will have its own mapping)
    and M2 and M4 have to go Webservice2. (will have its own mapping)
    we'll have two receivers in the receiver determination and hence two Interface determinations.
    The result should be
    M1 delivered to Webservice1
    M2 delivered to Webservice2
    M3 delivered to Webservice1
    M4 delivered to Webservice2
    How will we maintain EOIO in this case?
    Regards,
    Balaji.M

  • Webservice scenario required

    does any one has a webservice scenario step by step....I mean Enterprise service repository with PI 7.1
    how to deal with ESR....Enterprise service bundels.....etc....

    Hi,
    just now I was also looking in the same video..its good one
    Web Services Reliable Messaging in SAP NetWeaver Process Integration 7.1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/304335f7-f33c-2a10-ae80-9c9ffdc86415
    Supported XML Schema and WSDL (SAP NW PI 7.1)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40c3a137-1769-2a10-bda9-ad62d508af9c
    Webservice Client for PI 7.1
    Webservice Client for PI 7.1?
    have some more material
    Mapping Enhancements in SAP NetWeaver Process Integration 7.1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/909e33f0-738c-2a10-4f87-ce73398bcf08
    SAP NetWeaver Process Integration - Simple Use Cases
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b030691f-8b8b-2a10-5d94-8dd064dc2aa7
    Introduction to Global Data Types in SAP NetWeaver Process Integration 7.1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4037b3fc-fb52-2a10-4888-e28362af626e
    SAP Network Blog: SAP PI 7.1 Mapping Enhancements Series: Mapping Enhancements Demo
    /people/jin.shin/blog/2008/01/11/sap-pi-71-mapping-enhancements-series-mapping-enhancements-demo
    Thanks
    Swarup
    Edited by: Swarup Sawant on Jun 12, 2008 10:33 PM

Maybe you are looking for