SOAP::Lite error message

Probably this is not a right forum since I have Perl / WSDL question - but want to give it a try !!!
I have written small perl program to call webservice available on webservicemart.com
Script...
#!/usr/bin/perl
#SoapTest.pl
use strict;
use warnings;
use SOAP::Lite;
my $service = SOAP::Lite
-> uri('http://webservicemart.com/ws/ValidateZip')
-> on_action( sub { join '/', 'http://webservicemart.com/ws/', $_[1] } )
-> proxy('http://www.webservicemart.com/uszip.asmx');
if ($service->fault)
print "errors";
print $service->faultstring;
} else {
     print 'Result = ', $service->ValidateZip('22031') . "\n";
     print 'Zip Code: ' . $service->ValidateZipResult . "\n";
on execution this gets into $service->fault condition and it appears that I am not doing correct declaration of URI, proxy and Action
Can anyone help me resolve this? TIA
BTW - WSDL can be access at http://www.webservicemart.com/uszip.asmx?WSDL

HI,
When sending the RFC, send asynchronously, meaning call 'in background task' and 'commit work'. Since the QOS for this type of call is EO, the asynchronous nature will be propagated to the receiver end and you should see no response being generated.
This can help you:
/people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
And Hope that you have removed expor parameters of RFC and reimported in to ESR.
Let us know if this resolves your problem
Thanks
Divyesh Vasani

Similar Messages

  • SOAP Reciever Error message in Comp Moni

    Hello
    This is the first time i'm experiencing this error for SOAP receiver adapter. Attached the link for the error:
    [url]http://fb.esnips.com/doc/fe28959a-d718-4bd1-ba84-14e321fdabcf/soap-recv-error-message[url]
    Any inputs for troubleshooting this error?
    thkx
    Prabhu

    Hi Prabhu,
    Have you tried to trace your SOAP mesage?
    If not refer SAP note - 856597. It may help you..:)
    Q: How can I trace the whole message?
    A: If you have a third-party web service server or client and if it
    works with their own test tool but not with the SOAP adapter, you
    need to analyze the messages that are transported. Typically, this
    is done by either inseting a TCP gateway between the client and the
    server or non-invasively using some packet catching utility. You
    are free to use any tool but make sure that the tool can capture
    the messages as raw bytes. Some tools are known to store the
    captured messages as text and corrupt some characters.
    You can find a tool called TCPGateway in the attachment section of
    this note (stored in tcpgw.zip). Please unpack this zip file and
    open index.htm for more details
    Regards,
    Sunil

  • SOAP Response Error Message

    Hi Experts
    I am working on a RFC to SOAP scenario, where RFC is Asynchronous and SOAP is Synchronous,
    Message are being sent to SOAP and Response are coming back from Reciver system into PI server and it is failing i.e error status because there is no map for the response,
    How can we make the Response message not to error out without doing any mapping in PI 7.0
    Thanks
    PR

    HI,
    When sending the RFC, send asynchronously, meaning call 'in background task' and 'commit work'. Since the QOS for this type of call is EO, the asynchronous nature will be propagated to the receiver end and you should see no response being generated.
    This can help you:
    /people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
    And Hope that you have removed expor parameters of RFC and reimported in to ESR.
    Let us know if this resolves your problem
    Thanks
    Divyesh Vasani

  • 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.

  • How to XI error message will mapped to the SOAP faul message-SOAP(Axis)

    Hi,
      Receiver end I am using SOAP (Axis) adapter and I am getting the system error and I am not getting the payload in SXMB_MONI.
    What ever the error message how do MAP as a SOAP Fault message in SXMB_MONI.
    I found the Solution from OSS note 1039369 but did not explain where to set what parameter and what modules...
    SOAP Fault code
    If parameter Category is XIAdaptger, Area SOAP, Code FAULT
    In this case, parameters P1 and P2 may be set to the fault namespace and fault name. If these parameters are set, the SOAP fault code is set to namespace P1 and name P2. Otherwise, it is set as in other cases.
    For all other cases
    In this case, the SOAP fault code is set to namespace "http://sap.com/xi/XI/Message/30" and name category.area.code, where category, area, code represent the XI error category, area, and code values, respectively.
    SOAP detail
    If parameter ApplicationFault is set
    The SOAP detail child is set to the XI application payload. If, however, the payload extraction mode is set to Envelope, the application payload is taken as the SOAP envelope and the SOAP detail content is set to its body content. Similarly, if the extraction mode is set to Body, the application payload is taken as the SOAP body and the SOAP detail content is set to its content.
    Otherwise
    No SOAP detail content is set in this case.
    Examples
      XI error element
    <sap:Error ...>
      <sap:Category>XIAdapterFramework</sap:Category>
      <sap:Code area="MESSAGE">GENERAL</sap:Code>
      <sap:AdditionalText>Failed to determine a receiver agreement for the given message.</sap:AdditionalText>
    </sap:Error>
    SOAP fault element
    <soapenv:Fault>
      <faultcode xmlns:ns1="http://sap.com/xi/XI/Message/30">ns1:XIAdapterFramework.MESSAGE.GENERAL</faultcode>
      <faultstring>Failed to determine a receiver agreement for the given message.</faultstring>
      <detail/>
    </soapenv:Fault>
    Help appriciated
    Regards,
    Venu.
    Edited by: Venugopalarao Immadisetty on Sep 24, 2009 3:39 PM

    Using Receiver SOAP Axis adapter and I am getting the below exception
    XI error element
    <sap:Error ...>
    <sap:Category>XIAdapterFramework</sap:Category>
    <sap:Code area="MESSAGE">GENERAL</sap:Code>
    <sap:AdditionalText>Failed to determine a receiver agreement for the given message.</sap:AdditionalText>
    </sap:Error>
    and above exception how do I convert as a SOAP Fault message..
    SOAP fault element
    <soapenv:Fault>
    <faultcode xmlns:ns1="http://sap.com/xi/XI/Message/30">ns1:XIAdapterFramework.MESSAGE.GENERAL</faultcode>
    <faultstring>Failed to determine a receiver agreement for the given message.</faultstring>
    <detail/>
    </soapenv:Fault>
    Any idea what modules need to add in Receiver SOAP Axis adapter.

  • SAAJ0537: Invalid Content-Type. Could be an error message instead of a SOAP

    Hi,
    At present i am using JCAPS version 5.1.1
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-
    Type:text/html. Is this an error message instead of a SOAP response?
    I got above error message while invoking the webservice.
    My intention is to get HttpRequest from user and based on the input from user, a web service should be invoked. For this i am using BusinessProcess[einsight]
    In my BusinessProcess, i have HttpServer processRequest service,
    to receive HTTP requests and then i am passing the value of parameter received from http[As String] to next partner which is responsible for invoking a webservice.[Used a wsdl in client mode]
    I am able to get http request successfully , but i got error while invoking web service.
    Please let me know, what to do for rectifying error.

    Although this is an aged topic, this is plaguing our development efforts currently. I have successfully created a webservice that can be executed externally using the generated wsdl but I am unable to get a JCD to execute the WS without getting the following error:
    [#|2007-10-09T19:51:02.700-0700|SEVERE|IS5.1.2|javax.xml.messaging.saaj.soap|_ThreadID=32606; ThreadName=Worker: 34758;|SAAJ0537: Invalid Content-Type. Could be an error message instead of a SOAP message|#]
    [#|2007-10-09T19:51:02.701-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?|#]
    [#|2007-10-09T19:51:02.701-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:296)|#]
    [#|2007-10-09T19:51:02.701-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:146)|#]
    [#|2007-10-09T19:51:02.701-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:32)|#]
    [#|2007-10-09T19:51:02.701-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.xml.rpc.client.http.HttpClientTransport.readResponse(HttpClientTransport.java:169)|#]
    [#|2007-10-09T19:51:02.701-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:83)|#]
    [#|2007-10-09T19:51:02.701-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:69)|#]
    [#|2007-10-09T19:51:02.701-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at tp6.ExecutePortType_Stub.opGetControl(ExecutePortType_Stub.java:66)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at tp6.ExecutePortType_opGetControl.invoke(ExecutePortType_opGetControl.java:188)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.stc.wsclient.runtime.impl.WSDLOtdDelegateImpl.invoke(WSDLOtdDelegateImpl.java:78)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at urn_stc_egate_jce_AI_WebServices_GetControl_jcdGetControl.OpGetControl.invoke(urn_stc_egate_jce_AI_WebServices_GetControl_jcdGetControl.OpGetControl:113)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at AIWebServicesTEST_GetControl_WS.jcdTEST_GetControl_WS.start(jcdTEST_GetControl_WS.java:21)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at TEST_GetControl_WS.cmTEST_GetControl_WS_jcdTEST_GetControl_WS1.jcdTEST_GetControl_WS_Runtime_Handler.handleRequest(jcdTEST_GetControl_WS_Runtime_Handler.java:369)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at sun.reflect.GeneratedMethodAccessor4463.invoke(Unknown Source)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at java.lang.reflect.Method.invoke(Method.java:615)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:140)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:135)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at $Proxy108.handleRequest(Unknown Source)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at STC_MDB__eaJCAP_Scheduler_cmTEST_GetControl_WS_jc1527518542.sendMessage(STC_MDB__eaJCAP_Scheduler_cmTEST_GetControl_WS_jc1527518542.java:213)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at STC_MDB__eaJCAP_Scheduler_cmTEST_GetControl_WS_jc1527518542.onContents(STC_MDB__eaJCAP_Scheduler_cmTEST_GetControl_WS_jc1527518542.java:100)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at sun.reflect.GeneratedMethodAccessor4462.invoke(Unknown Source)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at java.lang.reflect.Method.invoke(Method.java:615)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.enterprise.security.SecurityUtil$2.run(SecurityUtil.java:146)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at java.security.AccessController.doPrivileged(AccessController.java:275)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.enterprise.security.application.EJBSecurityManager.doAsPrivileged(EJBSecurityManager.java:940)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:151)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:948)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:42)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:136)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at $Proxy111.onContents(Unknown Source)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.stc.schedulerotd.scheduleradapter.FileReaderWork.run(FileReaderWork.java:77)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:54)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:382)|#]
    [#|2007-10-09T19:51:02.704-0700|SEVERE|IS5.1.2|javax.xml.messaging.saaj.soap|_ThreadID=32606; ThreadName=Worker: 34758;|SAAJ0535: Unable to internalize message|#]
    [#|2007-10-09T19:51:02.704-0700|INFO|IS5.1.2|STC.eGate.CMap.Collabs.TEST_GetControl_WS.cmTEST_GetControl_WS_jcdTEST_GetControl_WS1.AIWebServicesTEST_GetControl_WS.jcdTEST_GetControl_WS|_ThreadID=32606; ThreadName=Worker: 34758;|+++EXCEPTION = HTTP transport error: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message; nested exception is:
         HTTP transport error: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message|#]
    [#|2007-10-09T19:51:02.704-0700|INFO|IS5.1.2|STC.eGate.CMap.Collabs.TEST_GetControl_WS.cmTEST_GetControl_WS_jcdTEST_GetControl_WS1.AIWebServicesTEST_GetControl_WS.jcdTEST_GetControl_WS|_ThreadID=32606; ThreadName=Worker: 34758;|+++STACK     = [Ljava.lang.StackTraceElement;@31de31de|#]
    [#|2007-10-09T19:51:02.705-0700|INFO|IS5.1.2|com.stc.codegen.OTDImpl.runtime.ejb.OTDService|_ThreadID=32606; ThreadName=Worker: 34758;|terminate each service|#]
    Is anybody else having this same error and how was it resolved? Both my client and server settings seems to be in sync. My only iffy piece is the servlet context. For both client and server external components, host, port, servlet context match. What am I missing??

  • Java - Axis2: How to get an error code / error message from the Javascript via SOAP

    Hi
    In our Java applicsation we call a Javascript in a Indesign CS Server using the following code:
    --- SNIP BEGIN ---
    // calls the remote service on the indesign server
    try {
    // create service
    ServiceStub oIndsgnSrvStub = new
    ServiceStub(sIndesignServer);
    // create service parameter
    ServiceStub.RunScriptParameters
    oIndsgnSrvRSParams = new ServiceStub.RunScriptParameters();
    // create arguments with source- and target-file for parameter
    ServiceStub.IDSPScriptArg[] oIndsgnSrvSArgs = new ServiceStub.IDSPScriptArg[2];
    oIndsgnSrvSArgs[0] = new
    ServiceStub.IDSPScriptArg();
    oIndsgnSrvSArgs[0].setName("xml-input");
    oIndsgnSrvSArgs[0].setValue(sSourceFile);
    oIndsgnSrvSArgs[1] = new
    ServiceStub.IDSPScriptArg();
    oIndsgnSrvSArgs[1].setName("output-file");
    oIndsgnSrvSArgs[1].setValue(sTargetFile);
    // define service parameter
    oIndsgnSrvRSParams.setScriptArgs(oIndsgnSrvSArgs);
    oIndsgnSrvRSParams.setScriptFile(sScriptFile);
    oIndsgnSrvRSParams.setScriptLanguage("javascript");
    oIndsgnSrvRSParams.setScriptText("");
    // create runscript
    ServiceStub.RunScript oIndsgnSrvRS = new ServiceStub.RunScript();
    // set parameter
    oIndsgnSrvRS.setRunScriptParameters(oIndsgnSrvRSParams);
    //$$$ there should be an answer returned by the InddSrvr
    // execute SOAP call
    ServiceStub.RunScriptResult oIndsgnSrvRes = oIndsgnSrvStub.RunScript(oIndsgnSrvRS);
    if(oIndsgnSrvRes.getErrorNumber() == 0) {
    oServerProdJob.setProdState(CBP_Constant.REMOTEPRODUCTIONSTATE_SUCCESS);
    bOK = true;
    } else {
    oServerProdJob.setProdState(CBP_Constant.REMOTEPRODUCTIONSTATE_FAILURE);
    bOK = false;
    //$$$ should be set, if there is something returned by inddsrvr
    //oServerProdJob.setErrorMsg(sErrorMsg);
    } catch(Exception e) {
    sError += e.getMessage() + "\n";
    bOK = false;
    --- SNIP END -----
    The problem is that we don't get the error code and/or the error message from the Javascript in oIndsgnSrvRes. The error code is always 0 if I set an Integer value as return in the Javascript. If I set a String, there is an Exception in the Java application.
    Here is the Java script we use:
    --- SNIP BEGIN ---
    main();
    main()
    var sError = "";
    var sXMLInput = "";
    var sLayoutPath = "";
    // get the SDKCodeSnippetRunner object
    var cbpAdapter = app.cbpCbpadapterObject
    if (cbpAdapter) {
    sXMLInput=app.scriptArgs.get("xml-input");
    sLayoutOutputFile=app.scriptArgs.get("output-file");
    sError = cbpAdapter.doProcess(sXMLInput, sLayoutOutputFile);
    return sError; // This give an Exception; if I return an Integer the ScriptResult is always 0
    --- SNIP END -----
    If I try this with the test application from Adobe I get the error code correctly. But in the Java application, using SOAP, I can't get the error code.
    What could be wrong?
    Any ideas?
    Thanks a lot for the support.
    Kind regards
    Hans

    user11340104 wrote:
    Hello -
    i am calling sqlplus from a bash shell script. If the sql statement generates an error, how can I return that error code (unsuccessful) back to the bash shell?
    Well, let google be your friend,
    http://www.google.co.in/search?rlz=1C1GGLS_enIN327IN327&sourceid=chrome&ie=UTF-8&q=sqlplus+error+codes
    There are many threads I guess talking about the same issue.
    HTH
    Aman....

  • Error message in soap response

    Hi,
    I have created a SOAP message using SAAJ. I want to add error messages in the response. Any idea how to do this?
    Thanks!

    Hi Raja- It seems to be a data quality issue.
    Check for the value @ 1447 position in the xml message that you are trying to send to web service..
    may be a date filed/decimal value which is not in expected format.

  • Passing JDBC adapter error message back to SOAP fault message

    I have a JDBC adapter that is returning an error in the response message:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <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. 'SAPINS' (structure 'StatementName1'): java.sql.SQLException: ORA-01843: not a valid month ORA-06512: at "SAP.SAPINS", line 129 ORA-06512: at line 1</SAP:AdditionalText>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I would like to pass the error message back to the fault section of a SOAP adapter.
    Is there an easy way to do this using fault messages, or is there some other way to do this?
    BR,
    Tony.

    HI,
    DId you install JDBC driver ?
    If not check this guide-https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    Thread-
    Legacy_XI_MySQL
    Regards,
    Moorthy

  • Error Message when Generating SOAP in JDeveloper

    I have been looking into this for a while now and have no idea where else to go. When creating and sending a SOAP message in JDeveloper 10g (OC4J) I continue to get this error message. Any ideas/suggestions would be much appreciated.
    XSL-1101: (Fatal Error) DOMSource node as this type not supported.
    javax.xml.transform.TransformerException: XSL-1101: (Fatal Error) DOMSource node as this type not supported.
         at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:732)
         at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:198)
         at com.sun.xml.messaging.saaj.soap.impl.EnvelopeImpl.output(EnvelopeImpl.java:237)
         at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getContentAsStream(SOAPPartImpl.java:202)
         at com.sun.xml.messaging.saaj.soap.MessageImpl.getHeaderBytes(MessageImpl.java:461)
         at com.sun.xml.messaging.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:538)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:223)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         at mypackage1.SoapTest.doGet(SoapTest.java:49)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:356)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:614)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:784)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:536)Thanks in advance.

    Hi,
    under "project properties -> Libraries" add a new J2SE version (I use 1.4.1.2) by choosing the java.exe file.
    I provide you my code sample.
    Note: I use this just for test purposes, so be carefully, I haven't removed rubbish. I use a XML file attachment that is stored in local file.
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import javax.servlet.http.*;
    import javax.servlet.*;
    import javax.xml.soap.*;
    import javax.activation.*;
    import javax.xml.parsers.*;
    import org.w3c.dom.*;
    import org.apache.log4j.*;
    import org.apache.log4j.xml.*;
    import org.apache.commons.logging.*;
    import javax.xml.parsers.DocumentBuilder;
    public class TripplanSender extends HttpServlet
    static Logger logger = Logger.getLogger(TripplanSender.class);
    String toURL;
    String data;
    ServletContext servletContext;
    private SOAPConnection con;
    public TripplanSender()
    data = null;
    public void init(ServletConfig servletConfig)
    throws ServletException
    super.init(servletConfig);
    servletContext = servletConfig.getServletContext();
    try
    String resource = "/WEB-INF/xml/loggingConfig.xml";
    URL configFileResource = servletConfig.getServletContext().getResource(resource);
    DOMConfigurator.configure(configFileResource.getFile());
    logger.debug("Logger initialisiert. Initialisiere Config Manager");
    SOAPConnectionFactory scf = SOAPConnectionFactory.newInstance();
    con = scf.createConnection();
    toURL = servletConfig.getInitParameter("SendToURL");
    catch(Exception e)
    //logger.error("Unable to open a SOAPConnection", e);
    java.io.InputStream in = servletContext.getResourceAsStream("/WEB-INF/address.properties");
    if(in != null)
    Properties props = new Properties();
    try
    props.load(in);
    //toURL = props.getProperty("to");
    data = props.getProperty("data");
    catch(IOException ex) { }
    public void doGet(HttpServletRequest req, HttpServletResponse resp)
    throws ServletException
    String retval = "<html> <H4>";
    try
    MessageFactory mf = MessageFactory.newInstance();
    SOAPMessage msg = mf.createMessage();
    SOAPPart sp = msg.getSOAPPart();
    SOAPEnvelope envelope = sp.getEnvelope();
    SOAPHeader header = msg.getSOAPHeader();
    javax.xml.soap.Name tripplan = envelope.createName("Tripplan", "b", "http://de.tui.aergo.sample/Tripplan");
    SOAPHeaderElement tripplanHeaderElem = header.addHeaderElement(tripplan);
    tripplanHeaderElem.setActor("http://de.tui.aergo.sample/receiver");
    tripplanHeaderElem.setMustUnderstand(true);
    javax.xml.soap.Name tripplan_action = envelope.createName("tripplan_action", "b", "http://de.tui.aergo.sample/Tripplan");
    SOAPElement tripplan_actionElem = tripplanHeaderElem.addChildElement(tripplan_action);
    tripplan_actionElem.addTextNode("CREATE");
    SOAPFactory soapFactory = SOAPFactory.newInstance();
    SOAPBody body = msg.getSOAPBody();
    StringBuffer urlSB = new StringBuffer("http://");
    urlSB.append(req.getServerName());
    urlSB.append(":").append(req.getServerPort());
    urlSB.append(req.getContextPath());
    String reqBase = urlSB.toString();
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    dbf.setNamespaceAware(true);
    String msgFilename = req.getParameter("ACTION");
    data = reqBase + "/" +msgFilename;
    //data = reqBase + "/191_create_requisitn_001.xml";
    URL url = new URL(data);
    AttachmentPart ap = msg.createAttachmentPart(new DataHandler(url));
    ap.setContentType("text/xml");
    msg.addAttachmentPart(ap);
    URL urlEndpoint = new URL(toURL);
    SOAPMessage reply = con.call(msg, urlEndpoint);
    if(reply != null)
    System.err.println("Reply logged in \"reply.msg\"");
    retval = retval + " received reply (check \"reply.msg\").</H4> </html>";
    } else
    System.err.println("No reply");
    retval = retval + " no reply was received. </H4> </html>";
    catch(Throwable e)
    e.printStackTrace();
    //logger.error("Error in constructing or sending message " + e.getMessage());
    retval = retval + " There was an error in constructing or sending message. </H4> </html>";
    try
    OutputStream os = resp.getOutputStream();
    os.write(retval.getBytes());
    os.flush();
    os.close();
    catch(IOException e)
    e.printStackTrace();
    //logger.error("Error in outputting servlet response " + e.getMessage());
    }

  • SOAP error message

    Hi everybody,
    I am facing a problem I am a little overstrained with. I made a web service for read only access of sales order data. After some struggle with the authorization, I now get a SOAP error message as response.
    <CX_SOAP_CORE>
    <E_LOCATION>
      <CLASS>CL_SRT_WSP_RT_CONFIG</CLASS>
      <METHOD>DETERMINE_OPERATION_NAME</METHOD>
      <ID>1</ID>
    </E_LOCATION>
    <E_TEXT>&lt;no error message available>: ("Message "SalesOrderViewNameReadByIDQuery_sync{http://sap.com/xi/SAPGlobal20/Global}" nicht unterstützt (Interface: "ZZBY002657_SALESORDER" Binding-Schl.: "0000000000011EE0B69046BD753F85D3")")</E_TEXT>
    <E_ID>1033</E_ID>
    <E_FAULT_LOCATION>1</E_FAULT_LOCATION>
    <E_AREA>OTHERS</E_AREA>
    <E_HOST>0</E_HOST>
    <E_PROCESS_CONTROL></E_PROCESS_CONTROL>
    </CX_SOAP_CORE>
    I am not sure if the sales order Interface in general is not supported yet or just a missing query. I built the web service via wizard so in my opinion I donu2019t have to create a special query. Well, I hope so.
    If somebody  can figure out the reason of the error. Please inform me.
    Best Regards
    Jochen

    Hi,
    so  here is a part of my WSDL:
    Link: [https://gist.github.com/ea93c556a769639faaa9]
    And the request:
    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
       <soap:Header/>
       <soap:Body>
          <glob:SalesOrderViewNameReadByIDQuery_sync>
             <SalesOrder>
                <ID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?">1101</ID>
             </SalesOrder>
          </glob:SalesOrderViewNameReadByIDQuery_sync>
       </soap:Body>
    </soap:Envelope>
    Thanks a lot. Best regards,
    Jochen
    Edited by: JochenS on Oct 5, 2011 12:56 PM

  • Is anyone else getting this error message when deploying hellows SOAP app?

    I am trying to deploy the hellows SOAP service manually and get this error when running the HelloClient:
    D:\j2sdk1.4.0\bin\javaw.exe -client -classpath D:\development\projects\sandbox\SOAPTest\bin;D:\development\projects\sandbox\SOAPTest\client\helloService.jar;D:\oracle\jdev9i\jdev\lib\jdev-rt.jar;D:\oracle\jdev9i\jdbc\lib\classes12.jar;D:\oracle\jdev9i\jdbc\lib\nls_charset12.jar;D:\oracle\jdev9i\lib\xmlparserv2.jar;D:\oracle\jdev9i\lib\xmlcomp.jar;D:\oracle\jdev9i\lib\oraclexsql.jar;D:\oracle\jdev9i\rdbms\jlib\xsu12.jar;D:\oracle\jdev9i\lib\xsqlserializers.jar;D:\oracle\jdev9i\lib\xmlparserv2.jar;D:\oracle\jdev9i\soap\lib\soap.jar;D:\oracle\jdev9i\lib\xmlparserv2.jar;D:\oracle\jdev9i\jlib\javax-ssl-1_2.jar;D:\oracle\jdev9i\jlib\jssl-1_2.jar;D:\oracle\jdev9i\j2ee\home\activation.jar;D:\oracle\jdev9i\j2ee\home\mail.jar;D:\oracle\jdev9i\j2ee\home\lib\http_client.jar HelloClient
    [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html", must be: "text/xml". Response was:
    <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1><PRE>oracle.j2ee.xanadu.JasperGenerationError: no source generated during code generation!: error: error message 'class.format' not found<br>binary class definition not found: Hello<br><br>     at java.lang.Throwable.fillInStackTrace(Native Method)<br>     at java.lang.Throwable.fillInStackTrace(Compiled Code)<br>     at java.lang.Throwable.&lt;init&gt;(Compiled Code)<br>     at java.lang.Exception.&lt;init&gt;(Compiled Code)<br>     at java.lang.RuntimeException.&lt;init&gt;(RuntimeException.java:47)<br>     at oracle.j2ee.xanadu.JasperGenerationError.&lt;init&gt;(JasperGenerationError.java:11)<br>     at oracle.j2ee.ws.JavaWrapperGenerator.generate(JavaWrapperGenerator.java:267)<br>     at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebService.java:627)<br>     at oracle.j2ee.ws.RpcWebService.generate(Compiled Code)<br>     at oracle.j2ee.ws.RpcWebService.getWrapper(Compiled Code)<br>     at oracle.j2ee.ws.RpcWebService.doPost(Compiled Code)<br>     at javax.servlet.http.HttpServlet.service(Compiled Code)<br>     at javax.servlet.http.HttpServlet.service(Compiled Code)<br>     at javax.servlet.http.HttpServlet.service(Compiled Code)<br>     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(Compiled Code)<br>     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(Compiled Code)<br>     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(Compiled Code)<br>     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(Compiled Code)<br>     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(Compiled Code)<br></PRE></BODY></HTML>
         at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:175)
         at org.apache.soap.rpc.Call.invoke(Call.java:225)
         at HelloProxy.makeSOAPCallRPC(HelloProxy.java:48)
         at HelloProxy.sayHello(HelloProxy.java:32)
         at HelloClient.main(HelloClient.java:8)
    Exception in thread "main"
    Process exited with exit code 1.
    Ryan

    Yes, it happens to me too. Btw, where can I get the copy of OC4J with javax-ssl-1_2.jar and jsse-1_2.jar? Because my copy of OC4J only provide javax-ssl-1_1.jar and jsse-1_1.jar.

  • Thinkpad T60 Error Message - Diskeeper Lite

    I have a 2 year old Thinkpad T60 (1953-D6U) running Windows XP Pro SP3.  Recently, I have seen an error message when starting Diskeeper Lite, which came bundled with my computer. 
    MMC has detected an error in a snap-in.  It is recommended that you shut down and restart MMC.
    * Report this error to Microsoft, and then shut down MMC
    * Continue running and ignore errors with this snap-in for the rest of the session
    * Continue running and always ignore errors with this snap-in, regardless of users or session.
    Does Lenovo offer an upgrade to Diskeeper Lite or know how to eliminate this problem?
    Thanks,
    Mike
    Message Edited by Mike88 on 08-15-2008 08:44 PM

    Hello ...
    Usually the installable setup file is located at c:\swtools\apps\dkeeper...
    Unless you have formated your hd and don't have a backup you should be able to find it.
    Best regards,
    PX

  • Can any one show me how to call web service using soap lite mod perl client

    Hi,  Experts
    SAP is new for me and now I need to develop a perl client using soap lite, I have read "HOWTO: SCRIPTING LANGUAGE SUPPORT FOR SAP SERVICES - PERL" but not quit understand that. Can some one show me a real perl client example?
    I enclosed the wsdl file generated from SAP web service.
    <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions targetNamespace="urn:sap-com:document:sap:rfc:functions" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:sap-com:document:sap:rfc:functions" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <wsdl:types>
    - <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:rfc:functions" targetNamespace="urn:sap-com:document:sap:rfc:functions" elementFormDefault="unqualified" attributeFormDefault="qualified">
    - <xsd:element name="Z_RFC_WEBSERVICE">
    - <xsd:complexType>
      <xsd:sequence />
      </xsd:complexType>
      </xsd:element>
    - <xsd:element name="Z_RFC_WEBSERVICEResponse">
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="EV_STRING" type="xsd:string" />
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      </xsd:schema>
      </wsdl:types>
    - <wsdl:message name="Z_RFC_WEBSERVICE">
      <wsdl:part name="parameters" element="tns:Z_RFC_WEBSERVICE" />
      </wsdl:message>
    - <wsdl:message name="Z_RFC_WEBSERVICEResponse">
      <wsdl:part name="parameters" element="tns:Z_RFC_WEBSERVICEResponse" />
      </wsdl:message>
    - <wsdl:portType name="Z_RFC_WEBSERVICE">
    - <wsdl:operation name="Z_RFC_WEBSERVICE">
      <wsdl:input message="tns:Z_RFC_WEBSERVICE" />
      <wsdl:output message="tns:Z_RFC_WEBSERVICEResponse" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="Z_RFC_WEBSERVICESoapBinding" type="tns:Z_RFC_WEBSERVICE">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="Z_RFC_WEBSERVICE">
      <soap:operation soapAction="" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="Z_RFC_WEBSERVICEService">
    - <wsdl:port name="Z_RFC_WEBSERVICESoapBinding" binding="tns:Z_RFC_WEBSERVICESoapBinding">
      <soap:address location="http://darkwind:9080/sap/bc/srt/rfc/sap/Z_RFC_WEBSERVICE?sap-client=800" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>
    Thanks for your help!

    now I know how to call from perl tool,
    #!/usr/bin/perl -wd
    use SOAP::Lite;
        use SOAP::Lite +trace;
       my $client = SOAP::Lite->new();
       $client->uri('urn:Z_RFC_WEBSERVICE');
       $client->on_action(sub {return'""'});
       $client->proxy('http://darkwind:9080/sap/bc/srt/rfc/sap/Z_RFC_WEBSERVICE?sap-client=800');
       my $som = $client->Z_RFC_WEBSERVICE();
       my $output = $som->result;
       print $output  "\n";
    but I got "Operation not supported" error when executing 
    my $som = $client->Z_RFC_WEBSERVICE();
    here is trace:
    SOAP::Transport::new: ()
    SOAP::Serializer::new: ()
    SOAP::Deserializer::new: ()
    SOAP::Parser::new: ()
    SOAP::Lite::new: ()
    SOAP::Transport::HTTP::Client::new: ()
    SOAP::Lite::call: ()
    SOAP::Serializer::envelope: ()
    SOAP::Serializer::envelope: Z_RFC_WEBSERVICE testtypesZ_RFC_WEBSERVICE
    SOAP::Data::new: ()
    SOAP::Data::new: ()
    SOAP::Data::new: ()
    SOAP::Data::new: ()
    SOAP::Data::new: ()
    SOAP::Transport::HTTP::Client::send_receive: HTTP::Request=HASH(0x93f14a4)
    SOAP::Transport::HTTP::Client::send_receive: POST http://darkwind:9080/sap/bc/srt/rfc/sap/Z_RFC_WEBSERVICE?sap-client=800 HTTP/1.1
    Accept: text/xml
    Accept: multipart/*
    Content-Length: 552
    Content-Type: text/xml; charset=utf-8
    SOAPAction: ""
    <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><namesp1:Z_RFC_WEBSERVICE xmlns:namesp1="urn:Z_RFC_WEBSERVICE"><c-gensym3 xsi:type="xsd:string">testtypesZ_RFC_WEBSERVICE</c-gensym3></namesp1:Z_RFC_WEBSERVICE></SOAP-ENV:Body></SOAP-ENV:Envelope>
    SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH(0x93eb288)
    SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 500 Internal Server Error
    Server: SAP Web Application Server (1.0;700)
    Content-Length: 264
    Content-Type: text/xml; charset=utf-8
    Client-Date: Sat, 14 Feb 2009 19:33:50 GMT
    Client-Peer: 146.225.80.176:9080
    Client-Response-Num: 1
    Sap-Srt-Id: 20090214/113349/v1.00_final_6.40/49958133C5E634E8E100000092E150B0
    Set-Cookie: sap-usercontext=sap-client=800; path=/
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><soap-env:Fault><faultcode>soap-env:Client</faultcode><faultstring xml:lang="en">Operation not supported</faultstring></soap-env:Fault></soap-env:Body></soap-env:Envelope>
    SOAP::Deserializer::deserialize: ()
    SOAP::Parser::decode: ()
    SOAP::SOM::new: ()
    Can't use an undefined value as a symbol reference at ./sapClient.pl line 10.
    SOAP::Lite::DESTROY: ()
    SOAP::Deserializer::DESTROY: ()
    SOAP::Parser::DESTROY: ()
    SOAP::Transport::DESTROY: ()
    SOAP::Transport::HTTP::Client::DESTROY: ()
    SOAP::Serializer::DESTROY: ()
    SOAP::Data::DESTROY: ()
    SOAP::Data::DESTROY: ()
    SOAP::Data::DESTROY: ()
    SOAP::Data::DESTROY: ()
    SOAP::Data::DESTROY: ()
    SOAP::SOM::DESTROY: ()
    Ran SAP Web Service Navigator Test 'Z_RFC_WEBSERVICE' OK
    Can someone help?
    Thanks!

  • ICI - How to display custom error messages in SAP CRM

    Hello,
    we are working on a custom Contact Center which interfaces with SAP CRM Version 7 with Enhancement Package over ICI.
    The basic call functions like accepting, hanging up, holding and retrieving are fully implemented and are working already.
    Our goal is to display error messages in the CRM so that clients know there is something wrong, for example why he can't be log in successfully (e.g. the telephony server isn't reachable).
    We already found the ICI Documentation file which provides us the CRM SOAP error codes and tried to send SOAP Fault messages, but never got
    them to screen.
    Please find an attached example screenshot what we mean exactly, reproduced by trying to make a call with CRM user while BCM CDT isn't
    running in the background.
    Regarding to this topic we've the following questions:
    - Is it possible to display custom error messages on the CRM or is this functionality limited to SAP?
    - Could you provide us some further information on how to use this feature exactly (implementation details?) and how the SOAP XML should look like to get it work?
    Thank you in advance!
    Best regards
    René Holy

    NewUser7 wrote:
    Please correct me if I am wrong
    I need to create an entity adapter and attach an error handler with the adapter? or can i handle that in the event handler itself. I coulnt find any api for handling errorsYou can do it both ways but since we are talking about event handler now, then in 9.x you need to extend com.thortech.xl.client.events.tcBaseEvent class for creating a event handler. In tcBaseEvent class there are various flavors of handleError method. So use that as per my note earlier and you should be good.
    HTH

Maybe you are looking for