Can we use receiver enhancement feature for a web service scenario?

Hi Experts,
We have to send across an invoice to web service enabled legacy system from ECC.
ECC>ABAP Proxy>SAP PI>SOAP Adapter>Legacy System1
ECC>ABAP Proxy>SAP PI>SOAP Adapter>Legacy System2
Requirement is like if the invoice number starts with 1A, it should go to Legacy System1 & if the invoice number starts with 2A, it should go to Legacy System2.
Can we do it in one single scenario using receiver enhancement and if yes How?
Regards
Nidhi Kukreja

You can make use of the XPATH function starts-with(string1,string2) and customize your condition as shown in this blog:
/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
Update:
It can even be done without using any XPATH function.....just make use of the option Contains Pattern from the dropdown available for the Middle Operand....right operand will be 1A*
Regards,
Abhishek.
Edited by: abhishek salvi on Feb 3, 2010 1:00 PM

Similar Messages

  • (268625273) Q WSI-29 Can you give any performance benchmarks for WLS web services?

    Q<WSI-29> Can you give any performance benchmarks for WLS web services?
    A<WSI-29>: It is very difficult to quantify performance aspects of web services
    since they depend on so many variables including but not limited to: backend system
    processing by stateless session beans and message driven beans, size of XML SOAP
    message sent, system hardware (CPU speed, parallel processing, RAM speed) and
    system software (JVM type and version of WebLogic server). However, let me point
    out that the EJB backend processing of requests both have the best possible scalability
    within the EJB2.0 specification (both stateless session and message driven beans
    can be pooled) and servlets have a proven scalable track record. Thus it should
    be possible to scale your web service deployment to meet demand. The overhead
    in processing XML within the servlet can be significant depending on the size
    of XML data (either as a parameter or a return type). While WLS6.1 does not have
    any features to address this performance concern, WLS7.0 will feature Serializer
    and Deserializer classes which can be dedicated to the XML to Java and Java to
    XML translation (they can also be automatically be generated from a DTD, XML Schema
    or regular JavaBean).
    It is true that web services are not the fastest way to process client requests
    but BEA is committed to making WebLogic server the fastest possible service provider.
    Adam

    see http://www.oracle.com/support/products/oas/sparc30/html/ows08811.html

  • We are using the Azure server for our web services. Server is generating an error "Unable to connect to the remote server". What is this error means

    We are using the Azure server for our web services. Server is generating an error "Unable to connect to the remote server". What is this error means  

    Hello,
    Did you means that you use the Windows Azure Virtual Machine DNS name as the server name in the Reporting Server Web Services URL?
    For example:
    Report server:http://uebi.cloudapp.net/reportserver
    Report manager:http://uebi.cloudapp.net/reports
    If you want to connect to Report Manager on the virtual machine from a remote computer, you should create a  virtual machine TCP Endpoint and open the port in the virtual machine’s firewall. By default, the report server listens for HTTP requests
    on port 80.
    Reference:http://msdn.microsoft.com/en-us/library/jj992719.aspx#bkmk_ssrs_connect_2_remote_RM
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Creating SOAP Receiver comm.channel for axis web service

    Hi,
    I created Soap Receiver comm. channel fro Axis web service like below:
    *Target URL* : http://<IP>:<Port>/<x>/service
    *User:* <user>
    *Password :* <password>
    *SOAP Action:* <target namespace>/method
    when i drive PI Message that use Soap Receiver it get error below
    I do same method for .Net web service, it runs properly.
    How can i solve this problem?
    Error
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!--  Call Adapter -->
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code>
      <SAP:P1>Object ID B3004965647F340C997B5F2CC9EA7E22 Software Component 4CF44F80503211DEB2A0D3F40A194B29</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Mapping program is not available in runtime cache: Object ID B3004965647F340C997B5F2CC9EA7E22 Software Component 4CF44F80503211DEB2A0D3F40A194B29</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Hi,
    I did all  but nothing changed?
    I have doubt about axis side. Because respose like below.
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="UNKNOWN">APPLICATION_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>application fault</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="http://xml.apache.org/axis/">hostname</SAP:ApplicationFaultMessage>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    May be Soap Receiver setting for axis web service must be different.
    Thanks.

  • Migrating to Sharepoint 2013 from 2010 - Can you use the same URL for the Web Application without affecting the 2010 environment?

    Hi,
    I am currently trying to migrate our SharePoint 2010 environment to SharePoint 2013. The first thing I'm doing is creating a 2013 development environment to verify that this migration goes smoothly. I'm also doing this so that we will have a testing environment
    after the upgrade to 2013 is complete. 
    So here is my question: I have a 3 tier farm including; 1 app server, 1 wfe, and 1 sql server. I have made a copy of our SharePoint 2010 database and installed that on our sql server 2012 sever (This new environment is on 3 completely separate servers from
    our 2010 environment). I have also installed the prereqs and configured SharePoint 2013 on the App server and wfe servers, as well as configuring the necessary service applications (I have created a completely new 2013 database where I will migrate my 2010
    database content when I'm ready).
    I am now at the point where I need to create a new web application on the 2013 app server, where I will be migrating the copied 2010 database.  (Also note that we have a 2010 development site called https://[email protected])
    When I go to create a new web application in our 2013 dev environment, can I use the same url (https://[email protected]) to create this web app, or will this screw up our current 2010 dev environment?
    I'm new to SharePoint migrations, so I apologize if this is a stupid question.
    Thanks in advance for any insight you can share on this!
    Boe Barlage

    So, what you are recommending is that before I create a web application in my new 2013 environment, I need go into my hosts file on my 2013 app server and alter it to point to my 2013 wfe.
    Then after I do that, then I can create my new web application on my 2013 app server with the same url as my 2010 testing environment
    (https://[email protected]). 
    Then after that I should be able to access my new sharepoint 2013 environment at the same URL (https://[email protected])?
    I must be missing something.
    In your first reply, you told me to alter the host file on my 2010 app server and point it to my 2010
    wfe (I guess I thought it probably already is). You also told me to alter the host file on my 2013 app server and point it to my 2013 wfe. 
    so I am confused on after I do this, what url would I access my 2010 test environment, and what url would
    I access my 2013 test environment?
    I am fine with having my test environment as a different URL until I am totally ready to roll everything over and kill the 2010 site. But I want to make sure that when I migrate my database, none of the site links are broken.
    I also want to make sure that if I proceed this way, I want to be sure that I will be able to modify the URL to what my 2010 environment is (without a lot of headaches) when I am ready to kill the 2010 site.
    Thanks again for your help, it's much appreciated!
    Boe Barlage

  • Configuring use of clinet certificates for jax web services  configuring u

    Hello dear people,
    I have a very simple jax web service under glassfish v.2.1 and I want to secure it using mutual authentication. I could configure using server certificates but I have problems with configuring the server to ask client certificates. The problem is that the clients are not asked to provide a valid client certificate to use the service. The clients can easily use the service without having a certificate.
    Can anyone tell me what should I do to have this?
    I got the example code from http://java.net/projects/javaeetutorial/downloads and the sample code that I used is in the folder : javaeetutorial5/examples/jaxws/helloservice-clientcert
    Best regards,
    Arash.

    Did you resolve your issue?
    I´m posting some comments that maybe can help newer administrators facing similar doubts.
    I´m using NW PI 7.1 EHP1 also and some interfaces were developed for using an external site providing web services through SSL (HTTPS) connection.
    As in browser navigation, secure sites protected with SSL has a certificate emited by a international CA. We didn´t perceive the "handshake" in the most of cases because normally the web browser has a group of trusted CAs loaded on its certificate store.
    With SAP PI and its WAS Java a similar procedure occurs with a small difference. The WAS Java didn´t have the trusted CAs loaded on KeyStorage. So, when the adapter tries to establishing a connection with an HTTPS site (it is a background process)  a "handshake" is required to accepting the certificate and produces a error.
    We completes the handshake importing the entire certificate chain (you can upload the site´s certificate to your browser and export it as file) on Keytore under the Trusted CAs view.
    Hope this can help someone. It´s an "easy" part of SSL communication.
    Now I´m trying to configure the inverse: Some third party consuming the PI web services using SSL. I have an additional component on inbound/ incoming connections that is the SAP Web Dispatcher.
    The Help.sap.com is the reference but as always its a little difficult to find the (sequential) path following the links (go ahead, go ahead, go ahead, go back, go back, go ahead)...
    Regards,
    Rodrigo Aoki

  • Xcelsius can't use transfer the default date to web service

    Hi all visitors
    i created one web service that use store procedure.
    in my store has 2 parameters( shopcode,MonthYear),so in web method, i also create two parameters too(shopcode,MonthYear).
    for xcelsius, i create one calender( for MonthYear param) and the default month is "April/2011 and the default of shopcode is "s01". when the dashboard load the the first time, it doesn't show any data to my listview. but if i input that parameters to the store procedure, the store will show 20 record. and in dashboard, after load i change the default shopcode "s01' to "s02", it will show the data of shop2 "s02" and i change from shop2 "s02" to shop1"s01",It will show 20 records the same with store.
    The problem is when the dashboard load at the first time even the default shopcode and MonthYear are right, It can't show the data.
    Anybody know about this? This i of WebService or Dashboard?

    Hi Chamnan Heng,
    It seems your connection refreshes before those values (s01, date) are populating in the binded cells.
    For this you can use a alternate method.
    add a connection refresh button.
    Set that button to refresh your web service connection.then,
    (ii)Connection button`s properties>behaviour>Trigger behaviour check the "Refresh after components Are loaded "check box.
    regards,
    Sriramvijay.R

  • Can config wallet on cloud DB for security web service invoke ?

    Currently, I can invoke the security web service by APEX at my local DB env.
    based the apex_web_service API
    http://docs.oracle.com/cd/E37546_01/doc/doc.41/e28475/apex_web_service.htm#AEAPI537
    we need wallet to store the cert files.
    want to confirm that
    --> Can we config wallet to import cert files on cloud DB?
    Thanks
    Edited by: 985754 on Feb 6, 2013 2:17 AM

    Hello 985754,
    Unfortunately, you cannot import your own certificates into the wallet used by Application Express in the Database Cloud Service. However, this wallet already contains many common CA certificates. Unless the web service you are consuming uses a self-signed certificate, chances are you will be able to use this functionality in the Cloud.
    -- Vlad

  • Can we use same program ID for more than one RFC scenarios

    Hi experts,
                I am working on a RFC to FILE scenario. I have created one TCP/IP connection in SM59 with a program ID. Can we use this program ID for more than one scenario. I have written code as below
    data: iquote type standard table of ZIQMD initial size 0,
          IPRODUCT type standard table of ZPMS initial size 0,
          wa_quote type ZIQMD,
          wa_PRODUCT type ZPMS.
    CALL FUNCTION 'Z_CBT_RFC_QUOTEMASTER'
      TABLES
        I_QUOTE       = iquote          .
    CALL FUNCTION 'Z_CBT_RFC_QUOTEMASTER' in background task DESTINATION
    'ID4'
      TABLES
        I_QUOTE       = iquote          .
      COMMIT WORK.
    CALL FUNCTION 'Z_CBT_RFC_PRODUCTMASTER'
      TABLES
        IPRODUCT       = IPRODUCT          .
    CALL FUNCTION 'Z_CBT_RFC_PRODUCTMASTER' in background task DESTINATION
    'ID4'
      TABLES
        IPRODUCT       = IPRODUCT          .
        COMMIT WORK.
    when i am executing the code like this. i am able to send the data to 'Z_CBT_RFC_QUOTEMASTER'  , but iam not getting data  for 'Z_CBT_RFC_PRODUCTMASTER'  interface. ID4 is the connection that i have created in SM59. with program ID as ABCD.
                  Can i use the same connection for all interfaces.Please help in this, if we can use same connection for all interfaces. then how to make changes in XI.
    Thanks in advance.
    Thanks & Regards,
    Poorna.

    Just tried this and I can confirm that my earlier understanding was correct!
    One of my colleagues confused me out and the conclusion is,
    1. You need a separate TCP IP Connection for every interface with a Unique program ID.
    Regards
    Bhavesh

  • Can we use OWSM in OSB for ServiceType Other than WSDL Webservice

    Hi all,
    We want to use OWSM in OSB can we use OWSM in OSB for all the Service Type like WSDL,Messaging service(mfl,text,binary) , SOAP , ANY XML service????
    Is there any restriction in the service Type???
    What bout Adapters like JMS,FTP,File can we use OWSM in the adapters for authentication ??????????
    Thanks
    Phani

    you can attach OWSM policies to the "WSDL" and "Any SOAP" types of proxy and business services in Oracle Service Bus on the Policies page. See section "50.2.2 Attaching Oracle Web Services Manager Policies to Oracle Service Bus Services" at below link -
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15866/owsm.htm#CHDBIJHD
    Regards,
    Anuj

  • OWSM and Webservices -Define policies once for multiple web services

    I thought that through using OWSM we had the possibility to use the same Policy Lines for multiple web services.
    Mostly when web services are used/integrated within an application, the same rules need to be defined and I thought this requirement could be met when using OWSM.
    But you need to define the policy requirements on each web service that's passing through a gateway or agent, why isn't it supported to define policy lines one level higher to be able to use the same requirements for multiple web services?

    Nathalie,
    For this purpose OWSM allows you to use Template Policy Pipelines.
    For individual services, you can than replace the pipeline with the Template.
    But I have to agree with you here: the templating functions are rough on the edges, e.g. limited editing capabilities.
    Hope this helps.
    Best regards, Sjoerd

  • Can i use the 'Record' feature in Applescript editor to automate bulk mail

    Hi,
    Is it possible to use the 'Record' feature of the Applescript editor to create a script that will automatically copy a website address into a new email message and then send that email message to everyone in my Friends category from the Address Book.
    I want to do this because I want to alert my friends to changes on my website once a week, but I don't want to have to sit and type out the email and copy the website address and everything like that. So I was thinking I could do it with one click using Applescript.
    Is that right and how dangerous is it. Like if i somehow manage to mess up the script can I just delete it and start again without causing any damage to my Mac
    Thanks
    Jason

    JayTelford wrote:
    Hi,
    Is it possible to use the 'Record' feature of the Applescript editor to create a script that will automatically copy a website address into a new email message and then send that email message to everyone in my Friends category from the Address Book.
    I want to do this because I want to alert my friends to changes on my website once a week, but I don't want to have to sit and type out the email and copy the website address and everything like that. So I was thinking I could do it with one click using Applescript.
    Is that right and how dangerous is it. Like if i somehow manage to mess up the script can I just delete it and start again without causing any damage to my Mac
    Thanks
    Jason
    Perhaps I should make myself more clear what I want to do.
    I want to do the following.
    1: Open Mail
    2: Create a new email message
    3: Set the recipients from my contact group "Friends" so that everyone in my my 'Friends" contact group will receive the email
    4: Set the subject as: "Check out these great new updates to my site"
    4: Set the body of the mail message as follows:
    Hi There,
    Thanks to you all for subscribing to these updates. Here are this weeks updates from Jason's Online Mag. [website address]
    Regards
    Jason Telford
    http;//web.me.com/jasongtelford
    5: Send the email
    Am I correct in thinking that I will need to use Automator and schedule the automation to run a script as per a weekly iCal event.
    If this is correct, then how would I do that. Can I use the 'Record' feature of Automator and the Applescript Editor, to create the automation and the script. I am new to doing this kind of thing so I am unsure of the procedure for accomplishing the task I described above automatically.
    Also I should apologise for not making my original post clearer.
    Regards
    Jason
    Message was edited by: JayTelford> Corrected a spelling error

  • HT204053 Can I use one Apple ID for two Apple IPhones?

    Can I use one Apple ID for two Apple IPhones? I received an answer of yes.
    Now another question.  I have one ICloud Account, Two IPhones.  Can I use Find my IPhone via the one ICloud Account?  Can I see two IPhones on the map at the same time?  or do I need to view the second phone via some other method.
    Message was edited by: Hunter3D

    Yes.
    Cheers,
    GB

  • Problem in using the enhancement SAPLV01Z for batch no assignment

    Hi,
    i am using the enhancement SAPLV01Z for using the user defined batch number.
    In which i am allowing the system to generate the internal batch number if it is newly created batch for that particular material,site and MRP combination.For this i am using the function module EXIT_SAPLV01Z_001 and if the batch is already available in ztable suppress the internal batch number generation.
    And by using the function module exit EXIT_SAPLV01Z_002 i am copying the already available batch and passing to the variable new_charge in that function module.
    every thing is OK. But the prob is system checking the availability of the batch for combination of materila and site in batch master table MCHA and throwing an error saying that no batch is found,enter batch.
    Now i want to skip the checking of MCHA table if it is already there in my ztable.For that i am implemented the OSS Note 1035372 but it is not working.
    And one variable call_vb_create i need to pass X for that i need access key.
    Can any body have solution with out using the access key..
    Thanks and regards
    anil

    Sorry I hadn't seen this question.
    I got the same issue today and used EXIT_SAPMM07M_010. It works fine.
    This user exit fix the issue

  • Problem in using the enhancement SAPLV01Z for batch no assignement in MIGO

    Hi,
    i am using the enhancement SAPLV01Z for using the user defined batch number.
    In which i am allowing the system to generate the internal batch number if it is newly created batch for that particular material,site and MRP combination.For this i am using the function module EXIT_SAPLV01Z_001 and if the batch is already available in ztable suppress the internal batch number generation.
    And by using the function module exit EXIT_SAPLV01Z_002 i am copying the already available batch and passing to the variable new_charge in that function module.
    every thing is OK. But the prob is system checking the availability of the batch for combination of materila and site in batch master table MCHA and throwing an error saying that no batch is found,enter batch.
    Now i want to skip the checking of MCHA table if it is already there in my ztable.For that i am implemented the OSS Note 1035372 but it is not working.
    And one variable call_vb_create i need to pass X for that i need access key.
    Can any body have solution with out using the access key..
    Thanks and regards
    anil

    Sorry I hadn't seen this question.
    I got the same issue today and used EXIT_SAPMM07M_010. It works fine.
    This user exit fix the issue

Maybe you are looking for