Error in while calling a Soap Adapter using the UDF

hi,
i am trying to make a call to Soap Adapter using a UDF.
The code of the UDF is as follows :
InputStream isPayloadStream = null;
AbstractTrace trace= container.getTrace();
String sService="Business Component";
String sChannelName="Soap Channel(Sender)";
SystemAccessor accessor=null;
trace.addInfo("entered UDF");
StringBuffer sb = new StringBuffer(" ");
trace.addInfo("creating the reference file");
sb.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
sb.append("<ns0:MT_123082_UDF xmlns:ns0=\"http//infosys.com/pi/projects/png/n1\">\n");
sb.append("<INTERCHANGECONTRLNOS>" + var1 + "</INTERCHANGECONTRLNOS>");
sb.append("<PGPARTNERID>"var2"</PGPARTNERID>""\n""</ns0:MT_123082_UDF>");
trace.addInfo("trigerring the SOAP channel ");
try{
Channel channel = LookupService.getChannel(sService,sChannelName);
accessor = LookupService.getSystemAccessor(channel);
isPayloadStream = new ByteArrayInputStream((sb.toString()).getBytes());
trace.addInfo("creating the xml payload ");
XmlPayload payload = LookupService.getXmlPayload(isPayloadStream);
Payload result=accessor.call(payload);
catch (Exception e){
trace.addInfo(e.getMessage());
finally{
if ( accessor !=null) {
accessor.close();
return " ";
The above code is throwing an error while end to end testing.
the scenario is such,while graphical mapping a UDF will be used, which will create an Xml payload, and send this payload to another SOAP to file scenario.
The error in the sxmb_moni is:  "Error when calling an adapter by using the communication channel CC_123085_UDF_SOAP_OUT (Party: , Service: BC_123082_REMADV_D96A, Object ID: fa9c6ee15efc30c68ec34b08034d87d1) XI AF API call failed. Module exception: 'failed to set up the channel fa9c6ee15efc30c68ec34b08034d87d1'. Cause Exception: 'Channel stopped by administrative task.'."
Please can anyone suggest how this error can be rectified.
regards,
Meenakshi

Hi,
i have checked the communication channel and the XML. The following error occurs everytime i try to run the scenario.
Error:
Error when calling an adapter by using the communication channel CC_123082_UDFRECEIVER_SOAP_IN (Party: , Service: BC_123082_REMADV_D96A, Object ID: 2a895589066d30d4b2686e9d3a8d4c8d) XI AF API call failed. Module exception: 'SOAP Error'. Cause Exception: 'SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 400 Bad Request'
Please let me know how this error can be resolved.
Regards,
Meenakshi

Similar Messages

  • Why do I get error -17500 when calling a batch file using the call executable step type?

    I am calling a batch file using the call executable step type. If the path to the batch file contains a space I get error -17500 and a message stating there was an error in "Post". For example the path to the batch file is "c:\TestWin\Test Files\...\Program.bat" When I run this I get the above mentioned error, however if I change my directory structure so the path is now "c:\TestWin\TestFiles\...\Program.bat" it runs fine. I use the browse feature to find my batch file so it is not me typing in a path incorrectly. I have removed the batch file and I get a different error stating that it couldn't find the file so it appears that for my error it can find the file but can't run it. I am
    sure that this has something to do with the fact that batch files are written in DOS but really don't want to resort to changing my directory structure on all my test stations. Is there any way to fix this problem so I can leave a space in my path?

    It appears I have figured it out. This was on another computer so I was unaware of how they used their computer. I like you got it to work in the temp directory and in fact got the program.bat file to work as long as I put it under the temp directory, but when I switched out to my TestWin directory it wouldn't work, so I removed everything from the directory except the batch file it self and it work. What I found out after adding files in one at a time is that the person had a file called "Test" with no file extension in there "c:\TestWin\" directory. Removing this file made it work. Putting the file back broke it. So it appeares that when teststand was running it followed the path saw a space and attempted to grab the "Test" file instead of bro
    wsing into the "Test Files" directory. If you create a file in your temp directory called "temp" with no file extension you will see the same problem. Thank you for your help.

  • SOAP Adapter - Using Fault Message

    Hi all,
    I have developed a Synchronous Integration Scenario which receives a SOAP request to the SOAP adapter, calls an ABAP proxy in SAP ECC to post some information and return a response or a fault to the sender.
    This all works fine, I am using a fault message in the ABAP proxy to record errors and return them to the SOAP adapter using the fault mapping. Again this all works fine. However when an application error is identified and a fault message returned to thre SOAP adapter, I had expected that the error details in the fault message to be packaged up in a standard SOAP fault and returned to the sender. Instead the fault message details are sent as the payload in the SOAP body of the response.
    Can anyone provide information on if it is possible to return the fault message as a standard SOAP fault instead of in the SOAP body of the response.
    Thanks
    Gary

    Dont think this is possible in standard.
    As an alternate, maybe you can select option Do not use SOAP Enevlope int he sender SOAP Adapter and thereby the entire SOAP Message will enter the mapping and you would need to use a XSL or Java  mapping to strip the SOAP Envlope in the mapping for the request and like wise in the response mapping you would need to add the SOAP Enevlope to the response.
    For the fault message mapping you need not add the SOAP Envelope.
    Not a standard solution, but can be tried if the requirement is really worth it. Otherwise I think the Fault Message will continue to be sent as the payload in the the SOAP Enevlope as this is how the SOAP adapter works.
    Regards
    Bhavesh

  • An internal error occured while calling 'processDPCommandsEx' API. (Error: ERR_WIS_30270)

    Hi ALL,
    I am facing a wierd issue while opening/refreshing/broadcasting a webi report.
    The error message scrnshot:
    This error is not throughout the reports, but for specific reports only, when checked the Bex query definition it works fine, but gives error for Webi reports.
    Recently we had upgrade of BO 4.0 SP7 patch 9.
    The reports are directly built on Bex queries, Bex queries contains simple Structures and few CKF's.
    Would be thankful for any help recieved in resolving the above issue.
    Regards,
    Jaywant Kulkarni.

    Hi jaywant,
    Please check the note: 1760827 it may be helpful
    ( An internal error occurred while calling the 'processDPCommands' API. (ERR_WIS_30270) due to some scenarios.
    Scenario 1:
    Error occurs when try to refresh a migrated Web Intelligence report in InfoView, after entering a date or dates for prompts.
    Suggested Solution:
    Modify problematic report in Webi. 
    Change the prompt definition to be a constant, run the report in Webi, and save it. 
    Change the prompt definition back to prompt with required date definition. Make sure you are using the correct date format! (The report prompt should tell you what the format is supposed to be.) Re-run the report in Webi, and save it. 
    Re-open the report in InfoView and refresh.
    Scenario 2:  Error occurs when trying to edit the properties of a Webi report containing merged dimensions.
    Suggested Solution:
    Remove the merged dimensions and then re-establish them.
    Scenario 3:  Error occurs when the InfoView report has been open and idle for a long time.
    Suggested Solution:
    This error can be an indication of a time-out, based on the server’s settings.  Make sure you save your work often.  You will need to close and re-open the report when you get this error, and you may have lost any unsaved changes.

  • Error in connecting to sender soap adapter

    Hi ,
    I am trying to ping the soap adapter from the browser using the URL
    http://<host>:50000/XISOAPAdapter/HelperServlet?action=FindChannel&channel=:SIEBEL_DEV:CC_SOAP_CUST
    but getting the following error
    <b> <?xml version="1.0" ?>
    - <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <faultcode>SOAP:Server</faultcode>
      <faultstring>Server Error</faultstring>
    - <detail>
    - <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
      <context>XIAdapter</context>
      <code>ADAPTER.SOAP_EXCEPTION</code>
    - <text>
    - <![CDATA[
    java.lang.Exception: Channel not found for :SIEBEL_DEV:CC_SOAP_CUST in SOAP
         at com.sap.aii.af.mp.soap.web.HelperServlet.processFindChannel(HelperServlet.java:420)
         at com.sap.aii.af.mp.soap.web.HelperServlet.doGet(HelperServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
      ]]>
      </text>
      </s:SystemError>
      </detail>
      </SOAP:Fault></b>
    To me it seems that the error has something to do with :SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0 .
    is it pointing to version 2.0 of XI . whereas we are on 3.0.
    I even chacked the meta data in repository and there also the version for SOAP adapter is 3.0
    If someone has any solution or suggestions for this error it wil be a great help
    Thanks
    Nikhil

    HI,
    What about other Adapters ? Are they are ok?
    <i>channel not found.</i>
    >>https://websmp103.sap-ag.de/~sapdownload/011000358700002757652005E/HowtoMintorAF.pdf
    Regards,
    Moorthy

  • "An internal error occured while calling 'answerPrompts' API.(Error: wis_30

    Hi Gurus
    Getting an error message while running a webi report from infoview link(server:8080/InfoViewApp/logon.jsp)
    as
    "An internal error occured while calling 'answerPrompts' API.(Error: ERR_WIS_30270)
    I found that while selecting refresh checkbox in one of the query which is using .xls file from the local system this is showing above error while running from above link.
    If it is unchecked it is running without any error.
    while running report from webirichclient(where we are developing reports) it is running without any error.
    Thanks in Advance
    Regards
    Ritu Raj

    It seems you are on SP3, and I assume the operating system of the BO server is Windows based.
    Please cross-check that the Excel version you have matches the ODBC driver in the supported platforms document for XI3.1 SP3 [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4079f8f6-2b49-2d10-d790-bc596012dc25]
    Second thing, I would like to see screenshots of what you mean by
    "I found that while selecting refresh checkbox in one of the query which is using .xls file from the local system this is showing above error while running from above link.
    If it is unchecked it is running without any error."
    just to avoid misunderstandings from my side
    Thanks!
    Best regards,
    Simone

  • An internal error occured while calling 'getBlob' API.(Error: ERR_WIS_30270

    Hi,
    I am using BOXI R3.1, when i open a Webi Report & getting one Error:
    An internal error occured while calling 'getBlob' API. (Error: ERR_WIS_30270).
    Do anyone know how to fix error?
    Regards,

    Hi,
    this is an old thread..
    There are a great many potential reasons for this problem.
    I would recommend you use  our Knowledge Base search on SMP - link here:  http://service.sap.com/xsearch
    .. and search for terms :  webi 'getBlob' API
    Also, some information about your Product version and Patch level is requiered.
    Also, any explanation of workflow -  
    does it only happen when opening report? 
    are you using OpenDoc  hyperlink  navigation? 
    Moving between report tabs?   
    Are many Schedules running concurrently at that time ?
    regards,
    H

  • Error Message: An internal error occured while calling 'openDocumentMDP' AP

    Hi,
    I am working on BO XIR3.1,
    we have two acceptence environment and we use the same liscense key for both the environment.
    i am trying to schedule a report in the acceptence environment and my scheduling  is geting failed.
    due to the reason below
    Server Used: XXXXXXXX.AdaptiveJobServer 
    PID:  3444 
    Parent Object Path: Cust Reports/ 
    Remote Instance in Federated Cluster: No 
    Expiry: 2/16/2022 8:59 AM 
    Formats: Web Intelligence 
    Parameters: 
    Error Message: An internal error occured while calling 'openDocumentMDP' API. (Error: ERR_WIS_30270)  .
    it is a very urgent issue ,kindly help me out to solve this issue.

    Thanks Amith,
    You are getting error in all reports or particular report?
    All the reports
    These reports  are migrated from one environment to other?
    No,it was created in the same environment
    what is the BO SP level?
    SP 1
    restart the SIA and then schedule report and see you are getting error or not?
    I had done this ,and i am geting the same error.
    Kindly help me out with a solution.
    Regards
    S.Cyril

  • Internal Error occurred while calling the ProcessDPCommands API

    We have installed Business Objects XI  with MySQL. We are getting following error when we click on view query on the WEBI Reports
    " Internal Error occurred while calling the ProcessDPCommands API  Error WIS 30270".
    When we change the CMS database to ORACLE everything works fine it looks like some issues when CMS database is MYSQL
    Please hep to fix this problem
    Installation is on Solaris 10
    Edited by: AshishDatar on Nov 6, 2009 3:00 PM
    Installation is on Solaris 10

    did you check whether universe connection is pointing to the correct db?The following url might be helpful:
    [http://www.forumtopics.com/busobj/viewtopic.php?t=52355&view=previous]

  • An internal error occurred while calling 'submitReport' API. (Error: ERR_WI

    An internal error occurred while calling 'submitReport' API. (Error: ERR_WIS_30270)
    We get above mentioned error message at any point in WebI Rich Client.
    DataSource: Teradata 12.0 (Local machine)
    BO XI 3.1 Client installed on local machine
    Universe (Secured connection)
    WebI : desiging and creating in Standlone mode
    WebI client version : 12.1.0.882
    Many times above written error is thrown 2-3 times even when we click on OK button and lastly followed by new error message:-
    Unable to get the first page of the current report - Web Intelligence will switch to structure view (WIJ 20003).
    Flow: We create report based on locally saved universe. There are couple of scenarios for which error comes
    1) After successfully saving the report, reopen and refresh causes this error (1st error and 2nd)
    2) Droping a properly written variable on measure column, if done Ctrl + Z, report works sometimes (both or 2nd error message)
    3) Draging out the mesaure or dimension from report (only 2nd error)
    Report is simple and no other stuff except the cross tab table
    Even if we start with simply dropping the dimension and measures on report, 2nd error comes at any time.
    What we noticed is that if we do all desiging in structure mode and then run instead of in result mode, reports works for more time.

    You can have a look here:
    Input Controls with Break Error on webi report
    http://www.forumtopics.com/busobj/viewtopic.php?t=60789&postdays=0&postorder=asc&start=45
    Re: internal error occurred while calling the 'submitReport' API.
    I'm Back
    HAPPY NEW YEAR

  • PI 7.1 receiver SOAP adapter using https

    Hi all,
    In PI 7.1 receiver SOAP adapter using https, what are the configurations necessary in PI box?
    Certification, and key store values, security etc etc
    -Michael.

    >
    Michael Johnson wrote:
    > I did n't find anything related to 7.1 version
    Some leads are provided by help: http://help.sap.com/saphelp_nwpi71/helpdata/EN/56/992d4142badb2be10000000a1550b0/frameset.htm
    Regards,
    Abhishek.

  • An internal error occured while calling 'getBlob' API. (error: ERR_WIS_3027

    Hi Team,
    Please help me in resolving the below error message.
    One of my user is experiencing this when trying to run a report.
    "An internal error occured while calling u2018getBlobu2019 API. (error: ERR_WIS_30270)". I have checked the previous discussion on the same, But I could not get it. Could some one help me as what I can do to resolve this.
    Thanks in Advance
    Mmvihar

    Hi George Pertea,
    Appreciate your prompt response.
    I found a simple solution for this.
    This error message occurs when the TOMCAT server memory exceeds more than 1.3 gb. Hence, restart the TOMCAT server would resolve this issue.
    Here are the steps in detail.
    1. Log into each server through either citrix, remote desktop or mstsc from run command.
    2. Click on task Manager.
    3. Click on process, if you find TOMCAT memory is more than 1.3 gb, come back to CCM and stop tomcat server.
    4. Wait for 20 seconds and then start tomcat server. Check all the remaining servers and do the same
    This resolved the issue.
    Thanks & Regards
    Mmvihar

  • IF i'm on a call and try to use the internet function, I get an error message.  Is this normal?

    IF i'm on a call and try to use the internet function, I get an error message.  Is this normal?

    Depending on your carrier, with AT&T there shouldn't be a problem.
    If you with Verizon, you will need to be on Wifi, to do that.

  • I keep getting "error occurred while attempting to import file *******. The disc your are attempting to use is full." I have an external hard drive that I moved files over to, but apparently they're also still on my hard drive? HELP!

    I keep getting "error occurred while attempting to import file *******. The disc your are attempting to use is full." I have an external hard drive that I moved files over to, but apparently they're also still on my hard drive? HELP!

    So you have backed up the content of the computer's hard drive, too?
    That usually is a great idea since it is possible to lose use of the system
    if parts of it have accidentally been removed or get over-written, or the
    main system files get corrupted, when the hard disk drive gets too full.
    If you have not trashed the originals of your created content, that remain
    after you made copies on an external hard drive or other device, then
    that is what you'd have to do to reclaim the capacity still in use by them.
    What are specifications of the hard disk drive? The unused capacity
    verses the used, in GB? If the hard drive has less than 15 to 20%
    free or unused capacity, you could run into trouble. Mine are 40-50%
    unused hard drive space, so ample room is available for automatic
    Virtual Memory to use that capacity as temporary swap file space.
    This is helpful when the computer could use more physical RAM
    memory capacity, but doesn't have it. Or if the RAM is maxxed out
    and you can't add any more. Virtual Memory is part of OS X and the
    system automatically can use as much as is available, but it is better
    to be sure there is plenty of resources available to include chip RAM
    as well as unused or free hard drive capacity for use as VM.
    If for some reason your files in Trash won't go away when you empty
    it, you may have to restart. Be sure you have not included any System
    files in the content in the Trash, or the Mac may not start up later on.
    You may have to boot the computer from the install-restore OS X DVD
    and run Repair Disk from its version of Disk Utility, to be sure it's OK.
    I'm guessing that by now you know enough about the vintage system
    in the older hardware to figure it out, so I won't write about it now.
    In any event... hopefully you can simply trash the files, but check them
    carefully, & you may need to remove (copy to archive first) even more.
    Good luck & happy computing!

  • I got an error message while burning a cd in itunes - "The attempt to burn a disc failed.  The burn failed because of a medium write error.  What is that and how can i fix it?t

    I got an error message while burning a CD in iTunes - "the attempt to burn a disc failed.  The burn failed because of a medium write error."  What does this mean and how do I fix it?

    The disk you are using probably has a defect, not uncommon on consumer grade disks. Try another disk or better yet another disk from a different manufacturer or at least a different batch.

Maybe you are looking for

  • Audigy 4 external hub probl

    Hi, my audigy 4 pro external hub has stopped working completely. The power light doesn't turn on. I have reinstalled the drivers several times, and I get an error message, something about an NT failed or invalid handler I think? Will the external hub

  • Input error while uninstallation

    While uninstallation of trial version SAP Netweaver 7.0 ABAP in step SAP System > General Parameters This input error occured SAP system NSP is an ABAP or ABAP+Java system. Cannot convert this to a Java standalone system. SAP System ID: NSP

  • QuickTime DVD Playback & Editing Help!

    I purchased quicktime pro & the mp2 playback component. I can't get my home made DVDs to play in it although the help says I can by simply dragging or clicking. The only thing I can get acomplished is to play the individual VOB files but no audio see

  • FRM-92090 : An unexpected error occurred

    Dear Sir I get error in Oracle 11i (ERP)Application. When I open application there is no problem , when I close the form and try to open an other one then get the following error ---- FRM-92090 : An unexpected error occurred Thanks in Adv

  • FMJ2 not rolling budgets

    I need some help, quickly. We are tryiing to do our year-end carryover (FMJ2) but the budget component are not getting carried over.  I am unfamilar with this area so I am not even sure about where to go to start looking.  I have looked at the transp