OSB How access data "userException" from proxy

Hi all,
Although I have read on this forum some similar post, the proposed solution does not work for me.
We have: Proxy created from the Business ---> from WSDL Business ---> Web-Service
I have a test SOAP message passes a parameter wrong, If I make a test:
1)     SoapUi -> Web-Service:
Occurs the error:
<faultcode> soapenv: Server.userException </ faultcode>
<faultstring> java.rmi.RemoteException: Application XNFI is not authorized. </ faultstring>
2)     SoapUi -> Proxy -> Business -> Web-Service: Error
Occurs the error:
<faultcode> soapenv: Server </ faultcode>
<faultstring> BEA-380001: Internal Server Error </ faultstring>
As I read in the forum, the solution maybe to capture $fault in Route Error handler, but in my case, this variable contains:
<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-380001</con:errorCode>
<con:reason>Internal Server Error</con:reason>
<con:location>
<con:node>RouteTo_ServicioSMSMenTes</con:node>
<con:path>response-pipeline</con:path>
</con:location>
</con:fault>>
I made report of all variables (head, body, inbound, outbound, fault, attachment) but I can´t see “userException”.
However, when trace OSB, in log file, I can see the information that I need: (see Payload)
Service Ref = MENT_OSB / private / definicion_servicios / ServicioSMSMenTes_BS
URI = http://icmaplides01:7778/mentes_ws/services/ServicioSMSMenTes
Error code = BEA-380001
Error Message = Internal Server Error
Message-ID = 4703094898779781414 779b49a0.12ea6706e31.-7ee4
Response metadata =
<xml-fragment>
<Tran: headers xsi: type = "http:HttpResponseHeaders" xmlns: http = "http://www.bea.com/wli/sb/transports/http" xmlns: trans = "http://www.bea.com / wli / sb / transports "xmlns: xsi =" http://www.w3.org /2001/XMLSchema-instance ">
name="Set-cookie" <tran:user-header value="HTTPSession=algo.d017778"/>
<http:Cache-Control> private </ http:Cache-Control>
<http:Connection> close </ http:Connection>
<http:Content-Type> text / xml; charset = utf-8 </ http:Content-Type>
<http:Date> Wed, 16 Mar 2011 12:01:12 GMT </ http:Date>
Oracle-Application-Server-10g/9.0.4.2.0 <http:Server> Oracle-HTTP-Server </ http:Server>
<http:Transfer-Encoding> chunked </ http:Transfer-Encoding>
</ Tran: headers>
<tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports"> 2 </ tran: response-code>
xmlns:tran="http://www.bea.com/wli/sb/transports"> <tran:response-message Internal Server Error </ tran: response-message>
xmlns:tran="http://www.bea.com/wli/sb/transports"> <tran:encoding utf-8 </ tran: encoding>
xmlns:http="http://www.bea.com/wli/sb/transports/http"> <http:http- response-code 500 </ http:http-response-code>
</ Xml-fragment>
Payload =
<? Xml version = "1.0" encoding = "utf-8"?> <Soapenv: Envelope xmlns: soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns: xsd = "http:// www.w3.org/2001/XMLSchema "xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance "> <soapenv:Body> <soapenv:Fault> <faultcode> soapenv: Server.userException </ faultcode> <faultstring> java.rmi.RemoteException: Application XNFI is not authorized. </ faultstring> <detail> <ns1: hostname xmlns: ns1 = "http://xml.apache org / axis / "> icmaplides01.icm.es </ ns1: hostname> </ detail> </ soapenv: Fault> </ soapenv: Body> </ soapenv: Envelope>
How I can access Payload to catch the user error?
Thank you very much,
Victor Muñoz

Hi Anuj,
The variable $body of errror handle hasn´t data, it´s empty.
However i tested another web-service, and the message error is into $body. Therefore, it seems to be a problem of web-service. We will seek what is the cause, it will be util to detect the same problem with other web-service.
Thanks,
Regards,
Victor.

Similar Messages

  • Access data source from plugin

    I have a recorded webtest. I added a csv file as data source in WebAndLoadTestProject. Now I added a PlugIn which containing several class for pre/post request override method. I want to access that added csv file as source of data and want to assign value
    to context parameter or URL parameter created under request. From msdn blogs I did not find any solution. 
    What I want to know...
    1. Is it possible to access data source files which is in WebAndLoadTestProject from PlugIn? How??
    2. How can I assign context parameter with data from data source?
    Thanks to every one...
    R

    Thanks for Adrian's help.
    Hi SCRana,
    Based on your issue, I know that it is possible to access data source files which is in WebAndLoadTestProject from PlugIn.
    I find a similar thread about your issue, please refer the following thread to check this issue.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/a22708ec-77de-4851-84d3-f0096683c009/data-from-the-datasource-in-plugin?forum=vstswebtest
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • MS Access Date problem (from Java program)

    I have written an app. in Java that reads & writes data from a MS Access database.
    I am trying to write an insert class which will add a row of data to one of my database tables - which contains Date fields.
    My problem is that I can update the text fields, but not Date fields - every time I try my program throws an exception:
    java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement
    My simplified code reads as:
    try {
    Statement insertStatement = databaseConnection.createStatement();
    String query = "INSERT INTO myTable(jobId, employeeId, date) VALUES('11', '1', " + "'13/11/2006'" + ");";
    insertStatement.execute(query);
    } //close, etc. etc.
    If I remove the date info from the query, the program executes successfully. I appreciate my problem might be related to the formatting of the date in Access, and if not a 'proper' Java question I give my apologies.
    I have attempted several formats of the date with no success or variation in the exception.
    I am, however, completely stuck and would appreciate any and all help given.
    Regards and thanks
    David

    I have amended my code to use a preparedStatement, but on execution I have the same problem.
    My code is as follows:
    PreparedStatement pstmt = null;
    try {
    String query = "INSERT INTO myTable (jobId, employeeId, date) VALUES(?, ?, ?);";
    pstmt = databaseConnection.prepareStatement(query);
    pstmt.setString(1, "11");
    pstmt.setString(2, "1");
    java.sql.Date sqlDate = getCurrentJavaSqlDate();
    pstmt.setDate(3, sqlDate);
    // execute query, and return number of rows created
    int rowCount = pstmt.executeUpdate();
    System.out.println("rowCount=" + rowCount);
    pstmt.close();
    catch, etc. etc.
    Any ideas or help most welcome
    Regards
    David

  • Access data service from Oracle

    Would like to know how plsql in oracle may access data service in ODSI?
    Have to use web service? or more 'native' library in plsql?
    Thx!

    ODSI can be accessed as a webservice, as a jdbc connection using the provided jdbc driver or using the java client. Check the PL/SQL documentation to see what is possible.
    - Mike

  • XML Form Builder-How to access data saved from a form?

    Hi All,
    I created a form in XML Form Builder. This form include checkboxes and input fields.
    Also i include a Save button.
    I used this form in a iView.
    Many users will access this iView and save their input data.
    So, after the user Save this data, in the KM folder , is created a XML form where i can see the inputed data.
    So for every user's Save is created a XML form .
    The question is,
    how can i collect all these data for each created XML form, so as i can process them?
    Please i will appreciate if anybody has any documentation or can give me step-by step instruction .
    I am new in EP  .
    Regards
    Ari

    Hello Avinash,
    You can directly use query in form personalization Conditions like
    select date_probation_end from per_assignments_x where person_id = :PERIOD_OF_SERVICE.PERSON_ID
    and put in your condition like if you want to validate Probation end date is less then sysdate then in condition put in like.
    TRUNC(SYSDATE) < (select TRUNC(date_probation_end) from per_assignments_x where person_id = :PERIOD_OF_SERVICE.PERSON_ID)
    set the error message.
    Regards,
    Saurabh

  • In OSB, how to poll message from DTAQ(data queue in AS400)??

    Hi,
    In our OSB project, I have a data queue(AS400) in proxy side and Oracle AQ at business side, I can easily connect to Oracle AQ, but I am not able to understand how to connect with DTAQ (data queue). Is there any adapter supporting DTAQ  for OSB. or does OSB support DTAQ?? Please help me out.
    Thanks
    Deb 

    Hi Bolla,
    If I understand correct all you would need to do is in your connectivity map, publish the data to that queue.
    example high level hierarchy
    prj1Data1
    -Indata1 svc
    -Indata1 topic
    -Indata1Translation svc
    -Outdata1Delivery svc
    -queOutdata1
    prj2Data2
    -Indata2 svc
    -Indata2 topic
    -Indata2Translation svc
    -Indata2Delivery svc
    cmData2Out Indata2Delivery publishes to queOutdata1
    Hope this helps and does not add any additional confustion.

  • Creating MS- Access data base from the Internal tables data of an ABAP Prog

    Hi,
    I have a requirement where I have to create Access tables from the Internal tables of ABAP program.
    The tables are like Project systems Header data, WBS elements data, Netwrok data, Activity data, Milestone data and Project revunes. I will have the internal tables for these. I want to transfer these tables data into MS-Access tables onto Users desktop.
    Please adivce me how to do this.
    Thanks,
    Prabhakar

    HI,
    I am trying to create a DB table in the access but I am not successful. The following is the format of the table needs to be created from the ABAP program.
    I have created a table with the following format in MS-Access with the name tblHeader. Is it neccessary to create a DB table ( MS-Access) in advance or by using the FM  STRUCTURE_EXPORT_ TO_MSACCESS  we need to create a structure in MS-Access?
    False tblHeader
    Field Name Type Length
    ProjectDef Text 255
    ProjectDes Text 255
    Created Text 50
    Change Text 50
    RespPerson Text 255
    Profile Text 255
    Plant Text 255
    ObjNo Text 255
    OverheadKey Text 255
    I have created a Z table ZTAB1 with the same format from the SAP fields.
    MS-Access Table name : tblHeader
    ABAP program Internal table : t_tblheader
    Z table Name : ZTAB1.
    First I am trying to create a structure in MS-Access with the following FM.
    CALL FUNCTION 'STRUCTURE_EXPORT_ TO_MSACCESS'
    EXPORTING
    dbname = 'D:\test\db2'
    LANGU = SY-LANGU
    dest = 'PS_ACCESS_1'
    TABLES
    tabname = ttblheader
    EXCEPTIONS
    system_failure = 1
    comm_failure = 2
    OTHERS = 3
    Table ttblheader type is DFIES and I am filling the table with only one record and one field i.e TABNAME and the value is ZTAB1.
    The source code of the FM is using another FM
    CALL FUNCTION 'MSACCESS_STRUCT_ EXPORT_RFC' DESTINATION DEST
    Here I am getting the Error message Object required. I can't able to create a table structure in MS-Access.
    Next I am going to Use the FM
    'TABLE_EXPORT_ TO_MSACCESS'
    and it will create the records in the MS-access table.
    CALL FUNCTION 'TABLE_EXPORT_ TO_MSACCESS'
    EXPORTING
    dbname = 'D:\test\db2'
    langu = sy-langu
    dest = 'PS_ACCESS_2'
    tabname = 'ZTAB1'
    reftable = 'tblheader'
    FLG_NO_DOWNLOAD = ' '
    FLG_APPEND = ' '
    FLG_POPUP = ' '
    TABLES
    dtab = t_tblheader
    here t_tblheader is the internal table.
    Reftable = tblheader is the table which i have created in advance. ( not by using the First FM)
    In this FM i am getting a error message : Unable to connect to Database D:\test\db2.
    Please help me how to create the MS-Access database.

  • How access data?

    How do I accss data from the time capsule?

    I don't think you can, it's only access is TimeMachine I believe, I don't think you could access the data on the drive even if you cracked the thing open and attached a IDE/SATA to USB adapter cable to a PC with MacDrive or a Linux box, or even another Mac w/o TM.
    Anyone try? Inquiring minds would like to know.
    I try to keep my data as easily accessible as possible, if I want it locked down, it's going on a Iron Key or hardware encrypted external drive.
    https://discussions.apple.com/message/16276201#16276201

  • How is data loaded from Infocube to Planning area - need technical info

    I would like to find out how data is loaded from cube to planning area ,
    I know that CUBE has tables, but how does that get loaded to planning area , where is the mapping from which I can compare
    data in CUBE and the same data that reaches planning area.
    Say for example I have below values in the infocube
    Prod1 --> Loc1 -
    > available provisioning qty
    AAA        AB90             100
    Then where do i check in the planning area tables ( are there any tables mapped) after running the TSINPUT program, i know it can be checked in the planning book , but i want to check in planning area tables if they exi

    Hi ,
    The data is loaded from infocube to planning area using update rules. The issue you have mentioned seems to be two requests are having data for the same CVCs in the cube.
    Example: For the same CVC, two requests avilable in the infocube. When you copy the data using TSCUBE transaction, whatever data avilable in the cube for the CVC gets copied into Planning Area.
    CVC1 - cube - Old Request - 100
    CVC1 - cube - Actual Request - 200
    CVC1 - Planning Area = 300 ( The value is supposed to be 200, but since the old request also contains data in the cube for the cvc, it gets copied as 300)
    Issue : There might two request contains data for the same code
    Solution : 1. Check the data in the cube using transaction LISTCUBE  2.  Delete old request and check the data agian. 3. If it matches with your requirement, run the TSCUBE again.
    Please let me know if you need additional information.
    Thanks,
    Jeysraj

  • How the data transfer from r/3 to bw

    Hi gurus,
      for example iam extracting the data from sd module.
    r/3  side some postings are done.that postings are comes exactly which place in r/3 side.
    Then how we have taken that postings of data from r/3 to bw side.
    Can u any one tell me the brief flow.No links please.
    i will appreciate ur help and assign points
    Thanku

    Hi,
    check the following
    http://help.sap.com/bp_biv235/BI_EN/html/bw.htm
    business content
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how%20to%20co-pa%20extraction%203.0x
    https://websmp203.sap-ag.de/co
    http://help.sap.com/saphelp_nw04/helpdata/en/37/5fb13cd0500255e10000000a114084/frameset.htm
    (navigate with expand left nodes)
    also co-pa
    http://help.sap.com/saphelp_nw04/helpdata/en/53/c1143c26b8bc00e10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/fb07ab90-0201-0010-c489-d527d39cc0c6
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1910ab90-0201-0010-eea3-c4ac84080806
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ff61152b-0301-0010-849f-839fec3771f3
    FI-CO 'Data Extraction -Line Item Level-FI-CO'
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a7f2f294-0501-0010-11bb-80e0d67c3e4a
    FI-GL
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/fe943b2bcbd11ee10000000a114084/frameset.htm
    http://help.sap.com/saphelp_470/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
    http://www.sapgenie.com/sapfunc/fi.htm
    FI-SL
    http://help.sap.com/saphelp_nw2004s/helpdata/en/28/5ccfbb45b01140a3b59298c267604f/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/41/65be27836d300ae10000000a114b54/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ee/cd143c5db89b00e10000000a114084/frameset.htm
    Please reward points.

  • How convert date/time from xml in xdp(Designer)?

    Hi, i want to convert date/time format from xml in Designer, date/time value in xml is NOT in common format YYYY-MM-DD (if is in a common format i can do this with pattern)
    I have a "DateTime" Field in Xdp can get from Xml date and time:
    In XML <DateTime>DD-MM-YYYY</DateTime> i want to convert in XDP in DateTime Field in "DD-April-YYYY"
    Can i do this?

    You can do this way..
    Bind the date field to your XML tag.
    Set the display pattern for the date field.
    In the initialize event of the date field place the following code.
    Set JavaScript as language.
    var dtStr = this.rawValue;
    var pos1=dtStr.indexOf("-");
    var pos2=dtStr.indexOf("-",pos1+1);
    var strMonth=dtStr.substring(0,pos1);
    var strDay=dtStr.substring(pos1+1,pos2);
    var strYear=dtStr.substring(pos2+1);
    //Assign the formatted value to the Date field.
    this.rawValue = strYear + "-" + strMonth + "-" + strDay;
    Thanks
    Srini

  • (262119469) Q DBC-17 How is data mapped from SQL-type to Java-type?

    Q<DBC-17> Is there any documentaion for the data mapping between the "java type" and
    the "sql type"
    A<DBC-17> The data types are the standard JDBC mappings. Check the javadoc for the
    java.sql package.

    Hi,
              If you are seeing last 3 fields coming as empty.... then you need to check the seperator type which correctly seperats one fields from another during mapping to BW infoobject.
    Thanks
    Kishore Kusupati

  • How remove Data statistics from spool

    Hi,
    Whe I process query in background displaying output i SAP List Viewer, output in spool contains Data Statistics ( how many records were passed )
    Can anybody help me pls how don't display those statistics ?
    Thanks

    When you start the processing of the background job for query by pressing the F9 or execute the background you can do this setting.
    In the First popup (Background Print Parameters) press properties..
    In the next popup (Spool Request Attributes)..
    Select the Cover Sheets ..Folder.. expand it
    select the SAP Cover page... Double click..
       A small pop up will appear..Select the "Do not Print" option.Press Enter.
    Then do the rest for scheduling a job.
    Regards,
    Naimesh Patel

  • How access original media from .iBA file?

    When I am looking at an .iba file with media inserted, I am able to access the filename in the Inspector -> File Info, but how do I get to the original piece of media?  In Keynote, I am able to right-click on a keynote file in the Finder to get the "Show Package Contents" option where the inserted media pieces reside. Is there something similar with .iba files?

    Thanks for the advice - will send the media separately. 
    The media pieces in question are all in-house creations, so no harvesting happening here.  Just wanted to save on file transfers, as the file sizes are heavy.  Was hoping there was a quicker solution to facilitate collaboration on my project.

  • How access html file from forms

    i've a linux server and there is a folder FOLDER1 and there are some html files. i want to pick some file and show with the help of web.show_document using 9iDS
    is it possible if yes how??
    i'll be very thankful to u

    A good practice will be creating your reports in html format and you can show them using web.show_dowcument('file_name.htm'); , try creating a form with a button to show these files when you click on the button.

Maybe you are looking for