ABAP proxy exception to SOAP fault and vice versa not getting mapped

Hi there,
I have these scenario's: ABAP proxy to SOAP (AXIS framework) and the other way around, synchronous, using AAE.
When declaring the Synchronous Service interfaces we also defined error message types in order to pass system and application exceptions back to the service consumers.
The behavior we are observing is as follows;
When an exception is generated on the ABAP proxy, the error message type is correct generated and filled with the corresponding values in the ABAP proxy runtime. However, when the response arrives at the service consumer, it only contains a SOAP fault filled with some kind of generic PI mapping exception information.
1. Why is the original ABAP proxy exception not mapped/passed into the SOAP response?
2. What can we do in order to change that situation?
3. Does it has to do with the use of the AAE - Advanced Adapter Engine or the AXIS framework?
PS: We have performed a test of the Operation Mapping - OM using the ABAP exception as input and it did work correctly, so the error structure seems to be Ok.
Many thanks for your replies.
Edited by: Roberto Viana on Jul 26, 2010 8:30 PM

Problem was caused by some differences in namespaces between source and target.

Similar Messages

  • Changing m4a extension to mp3 and Vice Versa not working why?

    I was bored but any idea why ITUNES or Winamp won't open a file if I change the extension to m4a to mp3 or vice versa since both programs open both files, isn't the extension only telling which program to run?

    isn't the extension only telling which program to run?
    No. The extension tells the OS what the file type is.
    Changing the extension will not actually change the file but the OS will think it is a different type and it will not work.
    Putting a Ferrari logo on your Yugo will not make it a Ferrari.

  • Create a web service from java bean and map exceptions to SOAP faults

    Hi,
    We have to expose our Session stateless EJB3 as web services. I've tried to use annotations and jdev wizard "java bean to web service" and it works fine.
    Our problem now is that our methods can throw a business exception that contains a list of error message strings to be presented on the client.
    I did not find any way to use annotations to make it build a wsdl with soap fault mapped to our exception class. Neither I could to make the wizard to create wsdl with faults.
    As we are exposing already designed and implemented classes as web services, I think the bottom-top (java->wsdl) approach is better that top->botton (wsdl->java). Therefore, I'm looking for a possibility to generate the web services from the java beans and have the exception be mapped to a soap fault message.
    We are using jdev 10.1.3.1 and OAS 10.1.3.1., is there a way to map exceptions to soap faults using bottom->top approach?
    thank you

    A couple of links that may be of help:
    http://www.netbeans.org/servlets/ReadMsg?listName=nbj2ee&msgNo=1218
    My last question concerning web services:
    I have already written a session bean and I'd like to add some methods
    as a web service to it, how do I do that?
    Or I can only create another bean for a webservice and cannot modify the
    original one?You might create web service with existing sources and select you bean. New web services with appropriate lookup method will be generated.
    All web service method, that will be exposed in web service, you
    should add itself (Pop-up menu Web Service -> Add operation)
    http://usersguide.netbeans.org/files/documents/40/73/Chapter9-WebServices.pdf

  • Synchronous abap proxy to sysnchronous soap: complex problem

    Hi experts,
    My scenario is synchronous abap proxy to sysnchronous soap. for proxy I am using business system name as ERDCLNT220 and soap business system name as BS_HRS_DEV
    client proxy to soap(request) i have configured. But when I am doing the configuration for soap to server proxy(response) I am not able to get the message interface name in the configuration.
    Note: In the soap BS_HRS_DEV business system receiver only we will get the message interface.
    but we cannot get sender side in the same business system BS_HRS_DEV find message interface. as we are aware as a synchronous scenario both side we have to get the message interface(sender and receiver BS_HRS_DEV).
    2. what are the configuration steps  i have to do for response message
    Kindly help me.
    advance thanks
    thanks and regards
    elton

    Hello,
    client proxy to soap(request) i have configured. But when I am doing the configuration for soap to server proxy(response) I am not able to get the message interface name in the configuration.
    In a synch scenario, you only need to configure it like it is an asynch scenario. The only exception is that the service interfaces are synchronous. Each synch service interface requires at least two messages (request and response), fault message is optional. So for your scenario, at least four messages are required
    1.) 1st message (Outbound request) -> Proxy message type request that will be entering PI
    2.) 2nd message (Inbound request) -> Soap request message type going to the webservice
    3.) 3rd message (Inbound response) -> Soap response message type from webservice going to PI
    4.) 4th message (Outbound response) -> contains the message type that has the values that you want
    So the flow could be like this (fault messages not shown)
    Outbound SI (1) -> PI -> Inbound SI (2)
                (4) <- PI <-            (3)
    what are the configuration steps i have to do for response message
    No additional steps in ID. Just make sure you handle the mapping of response message in ESR (if you have one)
    Hope this helps,
    Mark
    Edited by: Mark Dihiansan on May 3, 2011 10:01 AM

  • Abap Proxy exception Handling

    Hi guys,
    I've implemented the following scenario:
    BPM Process where I've got a async receive (from a file receiver), a sync send (to an ABAP PROXY) and a send async (to a file sender).
    The scenario is working great, I've catched 'Communication exceptions', and the proxy contemplates the necessary exception throwers too, but I'm now trying to Handle one specific exception. Imagine you force a dump, with a divide by zero in the proxy code...the proxy will dump and the XI gets a mapping exception (like is supposed to).
    The exception is:
    <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
    <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
    <SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
    The thing is, I want to catch this exception on the mapping and handle it, so the bpm process sends the handle response with the file sender.
    I've looked to Alessandro Guarneri blog, but it's a little bit different, because I don't want to throw an exception but I'd like to handle it....
    Can you guys help me with this question?

    Hi Vijaya,
    I was able to catch the exception like you said, on the proxy side.
    I'm trying to conceive some real and feasible dumps scenarios and for that I'm forcing dumps, and catching exceptions. Divisions by zero was one of the examples.
    For division by zero I was able to catch it with a cx_sy_no_handler exception, but I've another example which I'm not being able to catch it.
    I'm sendind an message e001(zisa), which will exit automatically from the function module. Am I able to catch that message? Meaning, can I catch it and treat it, instead of the system exiting the function and showing the corresponding message?Is there any cx_* ?
    Even better, on sxmb_moni I get:
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>500</SAP:P1>
      <SAP:P2>Internal Server Error</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText><html> <body> <H1> 500 SAP Internal Server Error </H1> <B> Error message: </B> O centro nao existe ou nao esta preenchido. ( <B> type of termination: </B> ERROR_MESSAGE_STATE ) <BR /> </body> </html></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP response contains status code 500 with the description Internal Server Error Error when sending by HTTP (error code: 500, error text: Internal Server Error)</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    So, the SOAP adapter receives something. If it's not possible to catch this exception on the abap proxy side, can I catch and map that soap adapter error text on the BPM side?
    Thanks a lot for all of your attention

  • Help needed XML to Internal table and vice versa

    Hello frnds, I need to convert Internal table to XML and Vice versa.
    Now I am able to most of the part except for this...
    the xml which I have to generate looks something like this...
    - <trade_dt>
    - <![CDATA[ 20111108000000:20111108235959
      ]]>
      </trade_dt>
    its a range I think
    And then the reponse which I get back the XML is like
    - <lockinfo>
    - <![CDATA[
    TRD_HEADER     1045     1          2
    ACT_CASHFLOW     1042               1
    TRD_TERM     1045               2
      ]]>
      </lockinfo>
    Is there any provision in class cl_ixml or class if_ixml_element to handle this part.....
    Edited by: Amit Sawant on Dec 28, 2011 3:51 PM

    Hello Amit,
    I would suggest you, to use the XSL-Transformations, which can be inbound used in ABAP.
    For example:
    DATA:
      l_xml       TYPE string,
      lt_flights  TYPE TABLE OF SFLIGHT.
    SELECT * FROM SFLIGHT INTO TABLE LT_FLIGHT.
    CALL TRANSFORMATION id
      SOURCE DATA = lt_flights
      RESULT XML l_xml.
    Now, you have a XML-String which is in the ABAP-XML Notation, which means, that ABAP can move this XML-Data back into an internal table/structure.
    For the backward, you have to use the following statement:
    CALL TRANSFORMATION id
      SOURCE XML l_xml
      RESULT DATA = lt_flights.
    As you will see, it is very easy. The Transformation "id" is just one example and build in. When you have to transform the data, or do not want to have the ASX-Notation in it, you should at least define your own transformations with the transaction XSLT_TOOL and use it similar to the transformation "id".
    Kind Regards,
    Hendrik

  • Documents related to SUP complete flow(Device to Server and Vice versa).

    Hi,
    Iam using SUP 2.1 ESD#1 licensed version, Please send some documents related to SUP complete flow(Device to Server and Vice versa.
    Thanks,
    B.Ushasri

    Hi Ushasri,
    I assume you are aware that SUP2.1.x offers you two kind of functionality.
    1. Typical SUP (Using MBOs) functionality.
    2. Online data proxy (ODP) -- For online application using REST services.
    You can find the complete  2.1ESD1 documentation @ http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.pubs.docset-SUP-2.1.1/doc/html/title.html
    However if you looking to start with ODP functionality you can refer to below doc as well.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/607b76a7-c345-2f10-d5b3-f236ea676cb1
    Regards
    Rohith

  • How to link idoc with its corresponding documents and vice versa...

    Hello Experts,
    What are the tables, transactions, etc that can link a certain document(e.g. PO, GR, invoice) to its IDoc and
    vice versa.
    Thank you guys and take care!

    Hi,
    The Message Control parameters from the partner profiles must also match the corresponding
    fields in the output type. These parameters include:
    u2212 Application
    u2212 Partner
    u2212 Partner function
    u2212 Output type
    Tcode  - NACE  (Output Control)
    Tables - SRRELROLES  (Object Relationship Service: Roles)
    Message Control is a mechanism by which documents are output based on certain conditions.
    1) The application id, communication structure and o/p determination procedure are responsible for triggering IDocs corresponding to a particular application document. For this to happen message control settings have to be done.
    2) Message Control u2013 also referred to as output control or conditioning technique u2013 is a cross-application component used as a service program in several areas. The basic concept behind Message control is to generate and manage outputs from an application and control their timings and medium of exchange.
    3) Message control settings can be done via transaction NACE or via transaction NACO.
    4) Starting point in message control in the u201COutput Determination Procedureu201D (Procedure within NACE txn.). Depending upon the configuration setting in SPRO this procedure is determined.
    A procedure defines a set of possible outputs for an application. We can define several procedures for an application, but only one can be configured as
    active (i.e. for a particular transaction document within an application only one procedure will be determined based on configuration settings).
    Eg->
    a) For Delivery (txn. VL01NO) the document type setting in configuration (SPRO -> Logistics Execution -> Shipping -> Deliveries -> Define Delivery types) determines the procedure.
    So whenever we save a document of particular application (of particular application id) and of particular document type, the particular o/p determination procedure is triggered.
    b) For sales, SPRO -> Sales and Distribution -> Basic Functions -> Output Control -> Output Determination -> Output Determination Using the Condition Technique.
    5) In the transaction NACE we can see that corresponding to application id (say u2018V2u2019 (shipping)) various procedures are defined:
    6) Before making the entry of the output type corresponding to a particular procedure, we have to define it with its attributes.
    The output type defines the characteristics and attributes of the output itself. We can access the output types on transaction NACE by selecting an application and clicking the Output type button.
    7) Access sequence defines a sequence in which business rules are checked for proposing an output type. It has following attributes:
    - A set of business rules or conditions.
    - A sequence in which the rules or conditions are checked.
    - A requirement that checks for business rules using ABAP programs.
    - An exclusive or inclusive strategy.
    We can access the access sequences on transaction NACE by selecting an application and clicking the Access Sequences button.
    Business rule 1 is based on SOrg./Distrib.Ch/Division/Customer. Business rule 2 is based on Sales Organization/Customer Number. Each business rule is, effectively, a set of fields defined in a condition table.
    8) Condition table specifies the key fields for a business rule. Hence for Business rule 1 the key is Sales Org., Distribution Channel, Division and Customer.
    9) Condition records are inserted in the condition table. The transaction is evaluated with the key (of the condition table based on business rule) and if the transactional data matches with the condition record the output is proposed.
    Condition records are defined at last.
    10) Several programs and tables are part of Message Control. For EDI, the following tables and programs will frequently be dealt with:
    *NAST - This table has an entry for the processing program used for an output type.
    *TNAPR - This table has an entry for the processing program used for an output type.
    *RSNAST00 - This program is used to process entries in the NAST table.
    *RSNASTED - This processing program exists for each output medium. ALE_PROCESSING is the routine in the RSNASTED program to process ALE outputs.
    11) Final overview of the components used in Message control to propose outputs.
    12) After doing all the settings for message control, the partner profile setting for this ALE scenario needs to be accomplished. We need to add the following entry to the outbound parameters of the partner profile:
    13) One important question that arises at this juncture is, how is the partner profile determined from the output type is case of ALE?
    This is information is stored in table EDP12 (Partner Profile: Outbound with Message Control). Based on the Partner type of receiver (RCVPRT), output type (KSCHL) and Application for message conditions - without value table (KAPPL), the Partner number of receiver (RCVPRN), Outbound process code(EVCODA), Message type (MESTYP) and other related values are determined.
    Regards
    Pugazhenthi.P

  • How to convert SOAPEnvelope or SOAPBody to org.w3c.dom.Node and vice versa?

    How to convert javax.xml.soap.SOAPEnvelope or javax.xml.soapSOAPBody to org.w3c.dom.Node and vice versa?If this convertion is very diffcult , how to convert String to org.w3c.dom.Node?
    Thanks a lot

    vj008 wrote:
    while parsing a DOM i want to convert
    org.w3c.dom.Element to xml string and after certain processing on that xml string i want to convert back it to
    org.w3c.dom.Element.[This might help. xml transformations in java. |http://tejaspurohit.blogspot.com/2009/08/xml-transformations-in-java.html]

  • Syncing contacts from iPhone to Outlook and vice versa

    I have the new iPhone and I have set up an account in Outlook and have it sync from my MSN Hotmail account. Everything syncs and looks good with the exception of my contacts. I need to know how to put a contact into my phone and have it sync into my Outlook and vice versa. Currently if I put a contract in my phone it does not go to Outlook and if I put a contact in Outlook it does not go to my iPhone.
    Do I have to add a new contact to the MSN hotmail account and then it will sync to my Outlook and then my iPhone? How do I get the contacts to go from my iPhone to my Outlook and then to my Hotmail?
    Same issue with Calendars.
    Thanks!

    The iPhone supports syncing contacts and calendar events with Outlook 2003 or 2007, which is selected under the Info tab for your iPhone sync preferences with iTunes. Syncing contacts and calendar events direct with Outlook 2003 or 2007 via the iTunes sync process syncs direct with the Outlook address book and calendar - with what is available locally on your computer in the Outlook address book and calendar.

  • My family of four (2 iPhones, 2 iPods) all share the same iTunes account.  Many text messages sent to or from mine or my husband's phones are also received on my daughter's iPod, and vice versa. How do I fix this?

    How can I keep text messages sent from my or husband's phone from being received on daughter's iPod, and vice versa? We have five devices on one iTunes account - 2 iPhones, 2 iPods and an iPad.

    Hello Hrd1977,
    This is typically caused by both devices sharing an Apple ID for iMessage and FaceTime.  I would recommend signing out of iMessage on your daughter's device.  Go to Settings > Messages > Send & Receive, tap your Apple ID, and select Sign Out. Then sign in with the desired Apple ID.
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Cheers,
    Allen

  • While inserting numeric data into a character datatype field and vice versa

    Sir,
        I have a very basic qiestion.Why am i not getting any error while inserting to say employees table a character type data to a numeric type field and vice versa?Iam using Oracle Database 10g Enterprise edition.

    Why am i not getting any error while inserting to say employees table a character type data to a numeric type field and vice versa?
    Oracle tries an automatic conversion, when possible. Post an example of a character type data inserted into a numeric column.

  • I just got 2 new iphone 4 (verizon) i have a issue, i have 2 itunes account 2 phone seperate names and emails. but when i update or sync my phone it copys my wife stuff on to my phone and vice versa.

    hello
    i need some help.
    well you see up above where i have 2 iphone 2 different names for the phones and 2 different accounts with 1 itunes on widows 7.
    my problem is when i update or sync my phone it grabs all her info and apps ect. and vice versa when she does it to. is there any way that i can stop this from happing again?
    1 more thing this happens just on her phone when she goes to download a app for some reason my email is on her phone, we have to sign out from her phone and sign back in and put her email in any thoughts on this?

    By far the simplest way to do this is create separate accounts on the computer for each person.  That way, you each log into your own separate account, sync your own device(s) to your own contacts/calendars/apps/music and so forth.

  • My nephew and I use the same iTunes account and when I add an app it is loaded on to his iPhone and vice versa... How do I make that stop?

    My nephew and I use the same iTunes account and when I add an app it is loaded on to his iPhone and vice versa... How do I make that stop? I have already unchecked the "Auto Update Apps" button. It happens with all purchases in the app store and on iTunes. HELP!

    I also think separate accounts is the way to go....if he is over 13yrs also remember if you do make an account for him and use your bank card all purchases will be charged to your card.

  • HT1766 Hi, I share an iTunes account with my wife. Sometimes she gets my iMessages and I don't and vice versa. Also if people face time me it goes to her phone. How can I stop this from happening?

    Hi, I share an iTunes account with my wife. Sometimes she gets my iMessages and I don't and vice versa. Also if people face time me it goes to her phone. How can I stop this from happening?

    You can share the same Apple ID in
    Settings > iTunes & App Store > Apple ID: here
    But for all other Apple services like:
    FaceTime, iMessage, iCloud, etc, one of you should use a different Apple ID.

Maybe you are looking for

  • How to get rid of: Would You Like To See Your Photos on a Map?

    Every single time I edit a photo in Aperture I get this annoying question: "Would you like to see your photos on a map?" Enable GPS tracking - yes or no. How can I get this pop-up screen permanently off of Aperture? Sometimes this causes Aperture to

  • Downloading Mac updates through a windows pc

    Is it possible to download OS X, iLife and other firmware updates to a windows pc, burn a disc and then copy to a mac for updating? We have a new mac at home with the slowest dial-up service in the west. However, I have DSL at work on a pc. Is this p

  • Javascript to add "Specify Open Preference" dialog when linking with "Go to a page view"

    Hi, all! We're needing to file a brief with the Court.  Within our .pdf brief, we link to exhibits and transcripts. For the exhibits, we hyperlink using "open a file," because going to the first page of the exhibit is fine.  Here, after selecting our

  • Deskjet 3520e all in one printer network problems

    Hi All. I have a brain teaser for the technical types out there hoping someone can shed some light on a weird sort of problem. History: All has been fine with my g6 Pavillion latop 64bit W8 and 3520e all in one printer and working as always very well

  • Doubt pertaining Partner Function Role ES..

    Hi, What is the significance of the Role ES defined as a Partner Function in a One time customer. I am using the default system created Account assignement Group: CPD. THNX n Regards, Subbzz..