Capturing soap errors in PI

Dear Scn users,
I have a proxy->webservice scenario.
If there is something wrong while sending data to webservice(Ex:wrong username)there will be error which will be displayed as"invalid username" if we test using soap UI.
But in PI it will shown only as http 500 error,How to capture this error in PI like soap UI.
In PI also it should show as "Invalid Username".
How to achieve this.

Hi Raghu,
Check the below blogs
Handling Web Service SOAP Fault Responses in SAP NetWeaver XI
SOAP Fault in SAP PI: hijack it!
regards,
Harish

Similar Messages

  • Download Helper, even with paid converter upgrade, gives "Invalid Capture File" errors and will not record audio, with "File Creation Error - Unable to rename/copy audio file" Error.

    Download Helper Screen Capture worked to capture video if the default "no audio" option is active. But, no audio. The "speakers" or "microphone" audio options are confusing....the audio to be captured is from the video, so what do you choose? With either "speakers" or "microphone" selected, the captured file has poor audio and no video. Re-capture efforts (speakers) get "Invalid capture file error" and "File Creation error- Unable to rename/copy audio file"
    The paid upgrade of "Converter" doesn't work.
    Instructive documentation - not very good.
    Suggestions - Need time delay between initiation of "Record" and starting the video to be recorded.
    Could use timer tracking of the record process.
    Are there operating system limitations? (Have Windows XP Pro)

    That is an issue for the developer of that Download Helper.

  • How can I get a SOAP Error message in ABAP ?

    Dear all.
    I'm trying to get SOAP Error message during XI Interface.
    I've got an Error ( T-code : sxi_monitor ) and I need to get the Error message and write to screen.
    I used
    CATCH CX_AI_APPLICATION_FAULT.
    CATCH CX_AI_SYSTEM_FAULT.
    but couldn't get the error message.
    The Error occured as 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>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ZTSD0030' (structure 'stmt1'): java.sql.SQLException: FATAL ERROR: Column 'ORDER' does not exist in table 'ZTSD0030'</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I exactly need 'BOLD' style message.
    Any help is appreciated.
    Thanks!

    Hi,
      This is an application fault,
      error log clearly saying that''ORDER' does not exist in table 'ZTSD0030'.
      these are specific to interfaces, in order to handle those
    u need to configure apllication log at 'SLG1' t.code.
    i mean, u have to use following function moules to handle application log in ABAP Proxy .
    i.e
    APPL_LOG_WRITE_HEADER
    APPL_LOG_WRITE_MESSAGES
    APPL_LOG_WRITE_DB.
    warm regards
    mahesh.

  • Capture an error while creating a purchase requisition (BAPI_PR_CREATE)

    Hi All,
        I am using FM BAPI_PR_CREATE to create purchase requesition, Now my problem is that i have various items for single material now i wan to capture the error if any item has ?
    Please let me know how to do so?
    Thanks & Regards,
    Ruchi Tiwari

    Hi,
    To get the error messages after the BAPI_PR_CREATE is called,
    loop at the return table which will contain the system messages and call the following FM
    CALL FUNCTION 'FORMAT_MESSAGE'
            EXPORTING
              ID        = LS_MESSAGES-MSGID
              LANG      = '-D'
              NO        = LS_MESSAGES-MSGNR
              V1        = LS_MESSAGES-MSGV1
              V2        = LS_MESSAGES-MSGV2
              V3        = LS_MESSAGES-MSGV3
              V4        = LS_MESSAGES-MSGV4
            IMPORTING
              MSG       = LV_MESSAGE
            EXCEPTIONS
              NOT_FOUND = 1
              OTHERS    = 2.
          IF SY-SUBRC  0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.

  • SOAP error!! while activating or running an existing Adobe form

    Hi,
    I am working on Adobe forms in ECC6.0 server.
    I am getting a SOAP error while I run existing forms or trying activating a Z* form.
    <i>Error: ADS: SOAP Runtime Exception: CSoapExceptionTransport :(100101)</i>
    I am trying to run an existing form in 800 client. It is running fine in 001 client.
    ADS installed on 001 client but basis team is not able install it on 800 client.
    How to install ADS on 800 client also. Is it a problem with ADS installation??
    Thanks in advance.
    Thanks,
    Sreekanth Gollamudi

    Pradeep,
    You are right. This time I could bind the context from my interface (even though it was ABAP based).
    I have one quick one for you - you mentioned earlier that when we embed an existing form into Web. View, we cannot have an Interactive form even when we check the 'enabled' property. Can you throw more light onto this pls?
    The runtime error that i am encountering now says :
    Adobe Processing Exception: PDF is not interactive. Data can be only imported into Interactive forms.
    the source text of error is:
    get result
    m_pdf_object->get_document ( importing pdfdata = pdf ).
    catch cx_fp_exception into lr_fpexc.
    raise exception type cx_wd_general
    exporting
    previous = lr_fpexc
    and this exception is not caught ! I am still lost
    thanks again for your help!
    Liz

  • How to capture Exception error message in Odata ?

    Hi,
      I am new to sap gateway. Currently i am creating a Odata Service through the transaction SEGW. In the query i have mapped a RFC. When i execute the service sometimes the RFC throws exception like 'No data Found'. But i dont know how to capture the exception returned from the RFC.
    I read some threads which says use
    RAISE EXCEPTION TYPE /IWBEP/CX_MGW_BUSI_EXCEPTION
          EXPORTING
            textid            = /iwbep/cx_mgw_busi_exception=>business_error
            message       =  lv_text
            message_container = io_message_container.
    My doubt is since i have not done any code in the DPC method. As said in many threads should i go to DPC_EXT method and redefine the method or how to capture the exception.
    Kindly advise. Thanks in advance

    Hello Velsankar,
    You need not to capture the error messages explicitly by writing custom code in you DPC_EXT if you are using service builder when the return error message table is of type BAPIRET2.
    GW itself will handle and return the error messages.
    If at all the return error message table is of different type , i mean to say if it is not of type BAPIRET2 then you need to capture explicitly.
    The below is the code you need to write in DPC_EXT to capture.
    DATA: LO_MECO TYPE REF TO /IWBEP/IF_MESSAGE_CONTAINER.
    DATA: LX_BUSI_EXC TYPE REF TO /IWBEP/CX_MGW_BUSI_EXCEPTION.
            LO_MECO = MO_CONTEXT->GET_MESSAGE_CONTAINER( ).
             LO_MECO->ADD_MESSAGES_FROM_BAPI( IT_BAPI_MESSAGES = LT_ERR_RET_TAB ).
             CREATE OBJECT LX_BUSI_EXC
               EXPORTING
                 MESSAGE_CONTAINER = LO_MECO.
             RAISE EXCEPTION LX_BUSI_EXC.
    Note : where LT_ERR_RET_TAB is your internal table where you would have captured all the error messages.
    That is it. You will be able to see the messages .
    Regards,
    Ashwin

  • SOAP-ERROR: Parsing Schema: element has both 'type' attribute and subtype

    Hi,
    i have created web service link which deals with calling a Pl/sql procedure with the help of DBAdapter in jdev 10.1.3.4 .here i am trying to insert a row in tables.my webservice is working fine from BPEL console
    my collegue who is working on PHP is trying to access the the wsdl link with the help of Appcelator and php
    code for php
    <?php
    //include("general.php");
    $wsdl_url = 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/CreateRepairOrder/1.0/CreateRepairOrder?wsdl';
    //$wsdl_url = 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl';
    $client = new SoapClient($wsdl_url,array('trace' => 1,'exceptions' => 0));
    print_r($client);
    exit;
    class CreateOrderNd
    var $PARTY_ID="";
    var $CUST_ACCOUNT_ID="";
    var $INVENTORY_ITEM_ID="";
    var $SERIAL_NUMBER="";
    var $UNIT_OF_MEASURE="";
    var $QUANTITY="";
    var $ITEM_CROSS_REFERENCE="";
    var $PROBLEM_DESCRIPTION="";
    function CreateOrderNd($PartyNam,$AccountId,$ItemId_requestdata,$SerialNumber_requestdata,$uom_requestdata,
    $quantity_requestdata,$ItemCrossReference_requestdata,$ProblemDescription_requestdata)
    $this->PARTY_ID=$PartyName;
    $this->CUST_ACCOUNT_ID=$AccountId;
    $this->INVENTORY_ITEM_ID=$ItemId_requestdata;
    $this->SERIAL_NUMBER=$SerialNumber_requestdata;
    $this->UNIT_OF_MEASURE=$uom_requestdata;
    $this->QUANTITY=$quantity_requestdata;
    $this->ITEM_CROSS_REFERENCE=$ItemCrossReference_requestdata;
    $this->PROBLEM_DESCRIPTION=$ProblemDescription_requestdata;
    $parm = new CustomerNd($PartyName_requestdata,$AccountId_requestdata,$ItemId_requestdata,$SerialNumber_requestdata,$uom_requestdata,
    $quantity_requestdata,$ItemCrossReference_requestdata,$ProblemDescription_requestdata);
    $parm = new CustomerNd('Bus%','');
    $parm = new CreateOrderNd(4429,1608,6761,'0722AB05','Ea',1,'abc123','Network error');
    $ret=$client->process($parm);
    print_r($ret);
    ?>
    when she/he access it they are facing a error
    SOAP-ERROR: Parsing Schema: element has both 'type' attribute and subtype
    and some times it will give
    Warning: SoapClient::SoapClient(http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl) http://function.SoapClient-SoapClient: failed to open stream: HTTP request failed! in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6
    Warning: SoapClient::SoapClient() http://function.SoapClient-SoapClient: I/O warning : failed to load external entity "http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl" in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6
    Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl' in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6

    Hi,
    i have created web service link which deals with calling a Pl/sql procedure with the help of DBAdapter in jdev 10.1.3.4 .here i am trying to insert a row in tables.my webservice is working fine from BPEL console
    my collegue who is working on PHP is trying to access the the wsdl link with the help of Appcelator and php
    code for php
    <?php
    //include("general.php");
    $wsdl_url = 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/CreateRepairOrder/1.0/CreateRepairOrder?wsdl';
    //$wsdl_url = 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl';
    $client = new SoapClient($wsdl_url,array('trace' => 1,'exceptions' => 0));
    print_r($client);
    exit;
    class CreateOrderNd
    var $PARTY_ID="";
    var $CUST_ACCOUNT_ID="";
    var $INVENTORY_ITEM_ID="";
    var $SERIAL_NUMBER="";
    var $UNIT_OF_MEASURE="";
    var $QUANTITY="";
    var $ITEM_CROSS_REFERENCE="";
    var $PROBLEM_DESCRIPTION="";
    function CreateOrderNd($PartyNam,$AccountId,$ItemId_requestdata,$SerialNumber_requestdata,$uom_requestdata,
    $quantity_requestdata,$ItemCrossReference_requestdata,$ProblemDescription_requestdata)
    $this->PARTY_ID=$PartyName;
    $this->CUST_ACCOUNT_ID=$AccountId;
    $this->INVENTORY_ITEM_ID=$ItemId_requestdata;
    $this->SERIAL_NUMBER=$SerialNumber_requestdata;
    $this->UNIT_OF_MEASURE=$uom_requestdata;
    $this->QUANTITY=$quantity_requestdata;
    $this->ITEM_CROSS_REFERENCE=$ItemCrossReference_requestdata;
    $this->PROBLEM_DESCRIPTION=$ProblemDescription_requestdata;
    $parm = new CustomerNd($PartyName_requestdata,$AccountId_requestdata,$ItemId_requestdata,$SerialNumber_requestdata,$uom_requestdata,
    $quantity_requestdata,$ItemCrossReference_requestdata,$ProblemDescription_requestdata);
    $parm = new CustomerNd('Bus%','');
    $parm = new CreateOrderNd(4429,1608,6761,'0722AB05','Ea',1,'abc123','Network error');
    $ret=$client->process($parm);
    print_r($ret);
    ?>
    when she/he access it they are facing a error
    SOAP-ERROR: Parsing Schema: element has both 'type' attribute and subtype
    and some times it will give
    Warning: SoapClient::SoapClient(http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl) http://function.SoapClient-SoapClient: failed to open stream: HTTP request failed! in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6
    Warning: SoapClient::SoapClient() http://function.SoapClient-SoapClient: I/O warning : failed to load external entity "http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl" in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6
    Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl' in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6

  • Batch Capture : Timecode Error?

    So I am attempting to capture my first video onto FCP from my Canon XL. I have about 5 minutes of video and I have logged the info for each clip. They are all in my "Bin 1" and it is set as a "logging bin." The first logged clip that i want it to capture i have marked the "In Point" at 00:00:00;00 and the "Out Point" at around 00:01:09;24. The rest of my 11 clips just go in order (i.e. 2nd clip: In = 00:01:09;25 etc...). After doing all of this I click on "Batch" under the "Capture" option, a big black screen pops up over my FCP with the capture info underneath the black screen in a gray strip. My camera then rewinds to the beginning and STOPS. I then have to sit and wait for anythin to happen, my camera still saying "STOP," and then a message pops up reading the following:
    Batch Capture: Timecode Error: Unable to locate the specified timecode. You may have specified a timecode with insufficient room for a pre/post roll operation.
    I have no idea what this means and I am beginning to get impatient with capturing my video. In the Log and Capture window, the tab that says Logging, i did not mess with the "Markers." I don't know if this matters.
    Any help would be GREATLY appreciated so that I can start editing my project with this wonderful software otherwise.
    God bless,
    |-(|:^D
    `

    In standard trim, FCP needs at least 5 seconds preroll before capturing. The preroll is so the tape can get up to speed, the heads read timecode accurately and so on. You have discovered what happens when you give it no oppertunity to sort itself out.
    The simple answer for your current situation is to set your first in point 10 seconds after the start of the time code. Be sure to make sure your last clip's OUT point is 10 seconds or more before the end of time code or you can have problems at that end of the capture as well.
    The long term answer is next time let the camera run for a minute or two before you start recording anything you will want to keep. The same is true for the end of the tape - let it run for another half minute or so.
    Cheers,
    x

  • SOAP  - XI - SOAP Error

    Hi,
    I am working on a scenario where a SOAP Client ( XMLSPY) sends a request to XI and XI forwards it to a web service and returns the result back to Soap Client. I am using SOAP Adapter at outbound and inbound. 
    I have done the following steps:
    1. imported the WSDL for the web service.
    2. created MI based on the WSDL.
    3. Configured the agreements and determinations.
    4. Generated WSDL based on the configuration objects in ID.
    5. Called my WSDL in XMLSPY client.
    6. I am asked to login to the XI system.
    7. I get an error message back in XMLSPY:
    <?xml version="1.0"?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Body>
              <SOAP:Fault>
                   <faultcode>SOAP:Server</faultcode>
                   <faultstring>Server Error</faultstring>
                   <detail>
                        <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                             <context>XIAdapter</context>
                             <code>DeliveryException</code>
                             <text><![CDATA[
    com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: QName is 'xmlns', but URI is not 'http://www.w3.org/2000/xmlns/' in the qualified name, 'xmlns'
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:457)
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:125)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:512)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:74)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:141)
              ]]></text>
                        </s:SystemError>
                   </detail>
              </SOAP:Fault>
         </SOAP:Body>
    </SOAP:Envelope>
    The message monitoring shows:
    2006-04-03 11:37:37 Success SOAP: request message entering the adapter
    2006-04-03 11:37:40 Success The message was successfully received by the messaging system. Profile: XI URL: http://diamond:50500/MessagingSystem/receive/AFW/XI
    2006-04-03 11:37:40 Success Using connection AFW. Trying to put the message into the request queue.
    2006-04-03 11:37:40 Success Message successfully put into the queue.
    2006-04-03 11:37:40 Success The message was successfully retrieved from the request queue.
    2006-04-03 11:37:40 Success The message status set to DLNG.
    2006-04-03 11:37:40 Success Delivering to channel: SOAP_RECEIVER_ADAPTER
    2006-04-03 11:37:40 Success SOAP: request message entering the adapter
    2006-04-03 11:37:42 Error SOAP: error occured: org.w3c.dom.DOMException: QName is 'xmlns', but URI is not 'http://www.w3.org/2000/xmlns/' in the qualified name, 'xmlns'
    2006-04-03 11:37:42 Error Exception caught by adapter framework: QName is 'xmlns', but URI is not 'http://www.w3.org/2000/xmlns/' in the qualified name, 'xmlns'
    and it also shows:
    Time Stamp Status Description
    2006-04-03 11:37:37 Success SOAP: request message entering the adapter
    2006-04-03 11:37:40 Success The message was successfully received by the messaging system. Profile: XI URL: http://diamond:50500/MessagingSystem/receive/AFW/XI
    2006-04-03 11:37:40 Success Using connection AFW. Trying to put the message into the request queue.
    2006-04-03 11:37:40 Success Message successfully put into the queue.
    2006-04-03 11:37:40 Success The message was successfully retrieved from the request queue.
    2006-04-03 11:37:40 Success The message status set to DLNG.
    2006-04-03 11:37:40 Success Delivering to channel: SOAP_RECEIVER_ADAPTER
    2006-04-03 11:37:40 Success SOAP: request message entering the adapter
    2006-04-03 11:37:42 Error SOAP: error occured: org.w3c.dom.DOMException: QName is 'xmlns', but URI is not 'http://www.w3.org/2000/xmlns/' in the qualified name, 'xmlns'
    2006-04-03 11:37:42 Error Exception caught by adapter framework: QName is 'xmlns', but URI is not 'http://www.w3.org/2000/xmlns/' in the qualified name, 'xmlns'
    The message I am sending to the XI is :
    <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>
              <m:VerifyAddress xmlns:m="http://www.webservicex.net">
                   <m:City>Plano</m:City>
                   <m:State>TX</m:State>
                   <m:Zip>75024</m:Zip>
              </m:VerifyAddress>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    There is some URI conflict in both the adapters. They expect some URI format which it is not getting. I dont understand where the problem is.
    Can anyone help?
    Thanks,
    Shubha.

    Hi,
    I think namespace in the URL is conflicting somewhere.
    Just check with this blog-
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    /people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client
    Hope this helps,
    Regards,
    Moorthy

  • HI All Capturing the error records in an internal table

    Hi All,
             I am retrieving the data from application server .
            My requirement is to :
         Check if the Measurement Point Id provided in the file is a valid one or not. Query the table EUITRANS by passing the Measurement point Id in the EXT_UI field. If the query is successful, then proceed to next step. If not, log it in the error log with error message DM-001 and proceed with the next Measurement point id.
    so i nee the code for capturing the error log with error message.
    pls provide me ASAP.
    Thanks&Regards,
    Bharat

    Hi,
    if you like do display all messages online have a look at FM:
    'MESSAGES_INITIALIZE'
    'MESSAGE_STORE'
    'MESSAGES_SHOW'
    If you want to write application log look at function group SBAL modules BAL_LOG*. There is also a good documentation in SAPDOCU..
    Kind regards,
    HP

  • Capturing Application Error log from SXMB_Moni

    Hi,
    I wanted to capture the error information from Application error log from ECC sxmb_moni and forward that as email alert.
    We have already alert configuration in place with alert category using standard variables. Was wondering if I have to capture application error log from sxmb_moni what would be steps involved. Please let me know if anybody has worked on this and appreciate your help on this.
    Sample Error message from sxmb_moni of ECC system
    MT_Fault
    Error in Application System
    Detailed Information
    Process Order invalid
    Thanks
    Selvam
    Edited by: Selvam_muthu on Jun 23, 2011 5:40 PM

    Hi Selvam,
    As the exception is raised in ECC system, alert cannot be trigger, alert will get trigger when there is a error in PI system. To raise a email, write additional code in ECC to trigger the e-mail with proper error content

  • Soap error in update resources at kmpropertymassmaintenance.xls

    I have downloaded from sdn the KM Property Maintenance Excel from Martin Hermes created on 15/5/2006
    I can read properties template and read resources but when I try to update resources I get an error:
    Soap Error: Deserializing fails, Nested message: XML Deserialization Error. Reference [id1] in element [Resource] cannot be resolved. Incorrect usage of reference found, chack XML for correctness..

    Hi,
    ok...
    But I have deplayed the ear file into my NW70 SP20 portal.
    Change the URL in the Excel coding.
    Read the KM documents information and after this my documents metadata.
    Change the meta data values and store it again.
    Every thing works fine.
    Please decrible the way how you have use the Excel.
    Thanks and best regards
    Frank

  • SOAP Error in PRC

    I am trying to add a remote document to multiple folders in the KD as well as set its customized properties, we are using Plumtree v 5.02. My Java code is as follows:
    import com.plumtree.remote.prc.*;
    import java.net.*;
    import java.util.*;
    import com.plumtree.remote.portlet.IPortletContext;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.rmi.RemoteException;
    public class RemoteDocument
    private static String url = "http://hqwplusraweb01/ptapi/QueryInterfaceAPI.asmx";
    private static String uid = "test1";
    private static String pwd = "test1";
    public static void main(String[] args) throws Exception
    try
    IRemoteSession session = RemoteSessionFactory.getExplicitLoginContext(
    new URL(url), uid, pwd);
    IDocumentManager documentManager;
    IRemoteDocument remoteDocument;
    documentManager = session.getDocumentManager();
    int iDataSourceID = 247; // uses web service id 287 - .NET CWS for Microsoft Windows Files
    int[] x = new int[2];
    x[0] = 325;
    x[1] = 331;
    documentManager.addDocuments(8749, x);
    documentManager.addDocuments(8794, x);
    IDocumentProperties props = documentManager.queryDocumentProperties(8749);
    props.setStringValue(236,"My document property!");
    documentManager.updateDocumentProperties(8849, props);
    catch(Exception e)
    System.err.println(e.getMessage());
    e.printStackTrace(System.err);
    The outgoing SOAP request envelop is:
    <soapenv:Body>
    <ns1:addCardToFolders soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:plumtree-com:DirectoryAPI">
    <sLoginToken xsi:type="xsd:string">452|1099428549|dvSe9Y+a8sAA6jkeZiH5ibC5UN8=</sLoginToken>
    <nCardID xsi:type="xsd:int">8749</nCardID>
    <aFolderIDs xsi:type="soapenc:Array" soapenc:arrayType="xsd:int[2]" xmlns:ns2="http://www.plumtree.com/xmlschemas/api/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <item>325</item>
    <item>331</item>
    </aFolderIDs>
    </ns1:addCardToFolders>
    </soapenv:Body>
    and the response SOAP error is:
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Client</faultcode>
    <faultstring>Server did not recognize the value of HTTP Header SOAPAction: urn:plumtree-com:DirectoryAPI.addCardToFolders.</faultstring>
    <detail/>
    </soap:Fault>
    </soap:Body>
    I am constantly getting the Server did not recognize the value of HTTP Header SOAPAction: urn:plumtree-com:DirectoryAPI.xxxxxxx for most of the EDK API calls.
    Please let me know what I am missing.
    Thanks.
    Hani

    Does this mean I have we have to upgrade the entire portal to 5.03 or just the Web-Services? Also, which remote EDK should I be using, 5.0 or 5.1?
    Thanks.

  • How to view body of SOAP error (in Java)

    I'm trying to track down the source of a "Server" error I keep getting back when trying to invoke Web Services from Java code. I can't figure out how to view my SOAP response to get the details of the error message. So all I have to work with now is "javax.xml.rpc.soap.SOAPFaultException: Server". I created the Web Service endpoint in JDeveloper by loading the .wsdl file and selecting "Generate Web Service Proxy" - So I can't view my SOAP message/response - I just call the 'accountInsertOrUpdate' method.
    Should I expect the SOAP body to have a more detailed error as to what is causing the 'Server' error?
    Does anybody know of a method where I can view the SOAP body being sent out and received?
    I consistently get this Server error when trying to call any Oracle CRM On Demand method (about 2-3 times in a row) and then the method call works fine - no changes on my side (it is just in a loop to retry if a Server error is encountered). (If I view the Web Service Utilization in CRM On Demand - it doesn't show any of the 'Server' errors - only the successful login, method call, and logout.
    Any ideas would be greatly appreciated - Thanks!
    Brian

    I just figured out how to view the body of the SOAP error. (I just needed to cast the Exception as a SOAPFaultException to view the details).
    This is the error I consistently get: Internal Error: Session is not available. Aborting. (SBL-ODU-01006)
    So now my question - has anybody else run into this?
    I log in - get my session id. Try to call a method and get (2 or 3 times in a row) this 'Session not available' error and then it works. I try and make another method call and get 2 or 3 more 'Session not available' errors.
    I thought it might be a timing issue (where I am making too many requests/second) so I added a little 'sleep' time between method calls with no difference in response.
    Ideas?

  • SOAP: error occured: java.io.IOException: invalid content type for SOAP: TE

    Hi,
    We are implementing an XI scenario as follows: Mail Adapter->XI->SOAP Receiver.
    Basically, we pass the XML File attachment from the Mail Adapter through XI to the SOAP Adapter. However, we keep getting the following error:
    <i>SOAP: error occured: java.io.IOException: invalid content type for SOAP: TEXT/HTML</i>
    Any ideas on where we could look to fix this problem?
    Thanks,
    EC

    People,
    most of errors like that are 401 (unauthorized), 403 (forbidden), 404 (not found) and so on. To be sure, check the message content that comes back from the webservice, in the Message Monitoring.
    Obs: To visualize sync messages payload in Message Monitoring, you'll have to set the Messaging.syncMessageRemover.removebody parameter to <i>false</i> (default is <i>true</i>) in SAP XI AF Messaging service, in the Visual Administrator.
    Regards,
    Henrique.

Maybe you are looking for

  • I am getting an error in value set which is defined in OAF page

    Hi, We have applied a patch OIE-K patch in one of our test instance due to that we have lost all the customizations done on it before. when i attempt to restore the customization i am getting this error. Line 1 Error - Month-ID &ID for the flexfield

  • Getting the name of the Administration Server

    Is there a way the get the name of the Weblogic Admin Server? I am trying to use the MBean interface to create a connection pool in my application deployed on Weblogic 8.1 SP2. But I don't want to hard code the name of the Admin Server in my code. Is

  • Setting Filter on an Alert

    Hi, I am trying to create an alert programatically. When I set a CAML query as the filter condition, it always gives an error The error message says - The filter cannot be parsed. Check the filter syntax, and try again. If I try to add an alert progr

  • Is there Converting Pantone Colors to CMYK presets?

    I have been trying to convert both Pantone Colors to CMYK and CMYK to Pantones on a few of my projects.  I walk throught the steps but nothing happens.  My counterpart which has CS5.5 also is able to do it both ways just fine.  Is there a pre-set som

  • Control file not created at time of installtion

    control file not created at time of installtion of oracle database now how we can create it see alert file Dump file e:\ORacle\admin\new\bdump\newALRT.LOG Tue Sep 09 10:45:53 2003 ORACLE V8.1.6.0.0 - Production vsnsta=0 vsnsql=e vsnxtr=3 Windows 2000