Webservice Response Attachement Deserialize XOP Include Error

Hello experts,
I am consuming a non SAP Webservice. The response contains a HTML attachment and the XOP Include element can not be interpreted.
The Response:
<ns2:html_content><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:[email protected]"/></ns2:html_content>
The error message in SOAMANAGER:
CL_SXMLP_DATA_ST .. internal error 1001 and error text CX_ST_MATCH_TYPE:XSLT Exception bei Offset 431, XPath soapenv: Envelope...... html_content(1)xop:Incldue(1) Value for type y expected (falut location is 1)
The type y stands for binary (ABAP Type Mapping). The SAP System Release is 700 with level 27.
I need the HTML. What is there to do, so that SAP can interpret the response?
Thanks for the help,
Flavius

Hi Flavius, have you resolve your problem?
maybe you can check oss note 1582187 - Limited support of XOP/MTOM via SOAP
luca

Similar Messages

  • Soap attachment mapping problem, xop:include

    Hello experts,
    I am using PI 7.3
    I have a senario SOAP to IDOC which SOAP is a sender adapter.
    My Web Service receives attachment which includes MTOM, xop:include
    I read the attachment in the message mapping by User-Defined function.
    But I have another problem while message mapping.
    <SAP:Category>Application</SAP:Category>
    <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
    <SAP:P1>Unexpected value <null> for node /ns0:TrainingAttachment/ns1:binary</SAP:P1>
    in attachment part of the web service is following,
    <urn1:attachment>
      <urn1:binary>
          <inc:Include href="cid:87732-65c0-665c" xmlns:inc"http://www.w3.org/2004/08/xop/include" />
      </urn1:binary>
    </urn1:attachment>
    I think my message mapping doesnt resolve the binary part
    I tried the Do Not Resolve XOP Includes checkbox, nothing changed
    Thanx for your help
    Hasan
    Edited by: ordu_hasan on Feb 23, 2012 4:12 PM

    Hi Hasan,
      Please, try to implement next xslt mapping before message mapping.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:stylesheet version="1.0" xmlns:ns0="http://www.w3.org/1999/XSL/Transform" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:ns2="https://onlineservice.creditreform.de/webservice/0400-0005">
       <ns0:template match="node() | @*">
          <ns0:copy>
             <ns0:apply-templates select="node() | @*"/>
          </ns0:copy>
       </ns0:template>
       <ns0:template match="xop:Include"/>
    </ns0:stylesheet>
    Regards, Dzmitry

  • Received HTTP response code 500 : Internal Server Error using connection Fi

    Hi everybody,
    I have configured a file-webservice-file without BPM scenario...as explained by Bhavesh in the following thread:
    File - RFC - File without a BPM - Possible from SP 19.
    I have used a soap adapter (for webservice) instead of rfc .My input file sends the date as request message and gets the sales order details from the webservice and then creates a file at my sender side.
    I monitored the channels in the Runtime work bench and the error is in the sender ftp channel.The other 2 channel status is "not used" in RWB.
    1 sender ftp channel
    1 receiver soap channel
    1 receiver ftp channel.
    2009-12-16 15:02:00 Information Send binary file "b.xml" from ftp server "10.58.201.122:/", size 194 bytes with QoS EO
    2009-12-16 15:02:00 Information MP: entering1
    2009-12-16 15:02:00 Information MP: processing local module localejbs/AF_Modules/RequestResponseBean
    2009-12-16 15:02:00 Information RRB: entering RequestResponseBean
    2009-12-16 15:02:00 Information RRB: suspending the transaction
    2009-12-16 15:02:00 Information RRB: passing through ...
    2009-12-16 15:02:00 Information RRB: leaving RequestResponseBean
    2009-12-16 15:02:00 Information MP: processing local module localejbs/CallSapAdapter
    2009-12-16 15:02:00 Information The application tries to send an XI message synchronously using connection File_http://sap.com/xi/XI/System.
    2009-12-16 15:02:00 Information Trying to put the message into the call queue.
    2009-12-16 15:02:00 Information Message successfully put into the queue.
    2009-12-16 15:02:00 Information The message was successfully retrieved from the call queue.
    2009-12-16 15:02:00 Information The message status was set to DLNG.
    2009-12-16 15:02:02 Error The message was successfully transmitted to endpoint com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 500 : Internal Server Error using connection File_http://sap.com/xi/XI/System.
    2009-12-16 15:02:02 Error The message status was set to FAIL.
    Please help.
    thanks a lot
    Ramya

    Hi Suraj,
    You are right.The webservice is not invoked.I see the same error in the sender channel and the receiver soap channel status is "never used".
    2009-12-16 15:52:25 Information Send binary file  "b.xml" from ftp server "10.58.201.122:/", size 194 bytes with QoS BE
    2009-12-16 15:52:25 Information MP: entering1
    2009-12-16 15:52:25 Information MP: processing local module localejbs/CallSapAdapter
    2009-12-16 15:52:25 Information The application tries to send an XI message synchronously using connection File_http://sap.com/xi/XI/System.
    2009-12-16 15:52:25 Information Trying to put the message into the call queue.
    2009-12-16 15:52:25 Information Message successfully put into the queue.
    2009-12-16 15:52:25 Information The message was successfully retrieved from the call queue.
    2009-12-16 15:52:25 Information The message status was set to DLNG.
    2009-12-16 15:52:27 Error The message was successfully transmitted to endpoint com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 500 : Internal Server Error using connection File_http://sap.com/xi/XI/System.
    2009-12-16 15:52:27 Error The message status was set to FAIL.
    what can I do about this?
    thanks,
    Ramya

  • Received HTTP response code 500 : Internal Server Error in XI

    Hi,
    I have configured a scenario SOAP to RFC in XI. when I am sending a message from web service, I got following error
    <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: Received HTTP response code 500 : Internal Server Error
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:144)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:831)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
              ]]></text>
                        </s:SystemError>
                   </detail>
              </SOAP:Fault>
    Please suggest.
    Thanks,
    Ashish

    Read blog for all HTTP response code:Http* Errors in XI
    and read sap note  804124, 807000

  • Webservice response (XML response) with tag not mandatory

    Hello all,
    I have a problem with a webservice response.
    I implemented a wsdl who created some method to call webservices (Methox X, Y ,Z).
    I call the method 'X' with a table of string who have3 values in input, and I have in a  XML Answer of the webservice call that :
    <tag1> Value 1.1
    <tag2> Value 1.2
    <tag3> Value 1.3
    <message>OK
    <tag3> Value 2.3
    <message>KO
    <tag1> Value 3.1
    <tag2> Value 3.2
    <tag3> Value 3.3
    <message>OK
    Tags 1, 2 and 3 are not mandatory in wsdl (Min occurs = 0).
    In output of the method 'X' (created by wsdl implemantation) a ABAP structure with that :
    ValueTag1 | ValueTag2 | ValueTag3 | message
    Value 1.1 | Value 1.2 | Value 1.3 | OK
    Value 3.1 | Value 3.2 | Value 2.3 | KO
    No value. | No value. | Value 3.3 | OK
    I expect to have logically:
    ValueTag1 | ValueTag2 | ValueTag3 | message
    Value 1.1 | Value 1.2 | Value 1.3 | OK
    No value. | No value. | Value 2.3 | KO
    Value 3.1 | Value 3.2 | Value 3.3 | OK
    SAP put into the line 2of the structure, data of 3rd response because it dont found tag in the 2nd response.
    If i do my call, value by value and i concatenate anwsers, i have no problem.
    I dont understand the error and i cant find SAP note on the subject.
    Someone know ths problem ?
    Thanks.

    Hello,
    I have a wsdl file who describe webmethod and his parameters.
    I implemented this wsdl into a client proxy.
    SAP create automatically some CLASS, METHOD, STRUTURE.
    I call one of this method to ask the webservice.
    A XML flow sent and the webservice respond to me with a other XML flow.
    The XML flow response his automatically transforme by SAP, and i receive it into a structure in output of my method.
    Example :
    CREATE OBJECT XXX
      EXPORTING
        logical_port_name = `ZZZZ`.
    CATCH cx_ai_system_fault INTO fault.
      RAISE EXCEPTION fault.
    IF XXX IS BOUND.
      TRY.
        XXX->METHODYYY(
                EXPORTING
                   input =  ii_input
                IMPORTING
                   output = oo_output ).
       CATCH cx_ai_system_fault INTO fault1.
         RAISE EXCEPTION lr_fault1 .
       CATCH Error_ws INTO fault2.
         RAISE EXCEPTION lr_fault2.
       CATCH cx_ai_application_fault INTO fault3.
         RAISE EXCEPTION lr_fault3.
       CLEANUP.
      ENDTRY.
    ENDIF.
    METHODYYY was created by SAP with wsdl file.
    ii_input and oo_output and typed like structure in wsdl file.
    I can see XML flow and his content in SOAMANAGER transaction when i activate full trace.

  • WebService response charset problems

    Some time ago I posted a problem regarding unicode characters in WebService
    responses from WL7.0. I received a patch that helped partially - after the
    patch was applied, WL no longer threw any exception when an utf character
    was included in the response. So far so good.
    However, a problem arises when I call the WebService from a .NET client;
    .NET doesn't understand that the response is utf-8 encoded, so when the
    response is deserialized on the client side the encoded characters (such as
    å, ä, ö) come out as question marks. It seems that the Content-Type header
    doesn't specify the correct charset (I would expect something like
    'Content-Type:text/xml; charset=utf-8', but the charset=... part seems to be
    missing)
    By fiddling about a bit with the .NET generated proxy class I managed to
    force .NET to think that the Content-Type mime header does in fact contain
    the correct value (quite messy - I can supply the code if anyone should be
    interested). However, this should not be necessary - the solution I came up
    with is awkward and the only thing needed is that the correct Content-Type
    header be included in the WebService response. Is there a way to specify a
    default value for this?
    I tried creating a handler to intercept the response and set this specific
    mime header, but no luck - the value I set seems to be ignored (i tried
    ctx.getMessage().getMimeHeaders().setHeader("Content-Type", "text/xml;
    charset=utf-8");, as well as ...addHeader()). Besides, even if this did work
    it would seem unnecessarity complicated to create a handler and set it to
    handle all the methods in my WebService (there are quite a few).
    Any ideas?
    /Mattias Arthursson
    Compost Marketing

    This problem should be fixed in SP1. If the system property
    user.lang is not english, then SP1 will use utf-8 as charset
    (I think this will be your case).
    In SP1 you can also set a system property to change charset :
    weblogic.webservice.i18n.charset="my-char-set"
    regards,
    -manoj
    "Mattias Arthursson" <[email protected]> wrote in message
    news:[email protected]...
    Some time ago I posted a problem regarding unicode characters inWebService
    responses from WL7.0. I received a patch that helped partially - after the
    patch was applied, WL no longer threw any exception when an utf character
    was included in the response. So far so good.
    However, a problem arises when I call the WebService from a .NET client;
    .NET doesn't understand that the response is utf-8 encoded, so when the
    response is deserialized on the client side the encoded characters (suchas
    å, ä, ö) come out as question marks. It seems that the Content-Type header
    doesn't specify the correct charset (I would expect something like
    'Content-Type:text/xml; charset=utf-8', but the charset=... part seems tobe
    missing)
    By fiddling about a bit with the .NET generated proxy class I managed to
    force .NET to think that the Content-Type mime header does in fact contain
    the correct value (quite messy - I can supply the code if anyone should be
    interested). However, this should not be necessary - the solution I cameup
    with is awkward and the only thing needed is that the correct Content-Type
    header be included in the WebService response. Is there a way to specify a
    default value for this?
    I tried creating a handler to intercept the response and set this specific
    mime header, but no luck - the value I set seems to be ignored (i tried
    ctx.getMessage().getMimeHeaders().setHeader("Content-Type", "text/xml;
    charset=utf-8");, as well as ...addHeader()). Besides, even if this didwork
    it would seem unnecessarity complicated to create a handler and set it to
    handle all the methods in my WebService (there are quite a few).
    Any ideas?
    /Mattias Arthursson
    Compost Marketing

  • Webservice with jaxrpc client stubs : desirialization error

    I am making a call to a session bean on Weblogic with webservice message. I get this error message :
    java.rmi.RemoteException: Runtime exception; nested exception is:
    deserialization error: unexpected XML reader state. expected: END but found: START: load
    at com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:255)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:237)
    at za.co.generic.ist.beans.PremiumPredictorWebservicePort_Stub.getInitializedVitalityEventModel(PremiumPredictorWebservicePort_Stub.java:61)
    at za.co.generic.ist.beans.TestCase.getModelVOFromEngine(TestCase.java:24)
    at za.co.generic.ist.beans.TestCase.main(TestCase.java:28)
    Caused by: deserialization error: unexpected XML reader state. expected: END but found: START: load
    at com.sun.xml.rpc.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:209)
    at com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:115)
    at za.co.generic.ist.beans.PremiumPredictorWebservicePort_getInitializedVitalityEventModel_ResponseStruct_SOAPSerializer.doDeserialize(PremiumPredictorWebservicePort_getInitializedVitalityEventModel_ResponseStruct_SOAPSerializer.java:37)
    at com.sun.xml.rpc.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:165)
    at com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:115)
    at za.co.generic.ist.beans.PremiumPredictorWebservicePort_Stub._deserialize_getInitializedVitalityEventModel(PremiumPredictorWebservicePort_Stub.java:110)
    at za.co.generic.ist.beans.PremiumPredictorWebservicePort_Stub._readFirstBodyElement(PremiumPredictorWebservicePort_Stub.java:96)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:168)
    ... 3 more
    Exception in thread "main"
    If you know what this means please help.

    This happens when the order of elements within a SOAPMessage are not received in the proper order.
    Please use a packet sniffer or SOAP monitor to capture the SOAPMessage and make sure that it is
    valid according to the WSDL definition.

  • Why can I not attach a document to an email? Every time I want to send an email with a document attached to it, an error notice pops out. It tell me that the file is being used even when  it is not. How can I fix this issue?

    Why can I not attach a document to an email? Every time I want to send an email with a document attached to it, an error notice pops out. It tells me that the file is being used even when  iall other programs are closed. How can I fix this issue?

    Thanks Jeff, I was not aware that a template could be multi-page.  (All the existing templates were 1 page)
    But it worked, saving me some steps.  When I was finished I renamed the document, and locked it.
    Then tried to save it but  could not because it was locked.  I closed it, went to my Spread Sheet Folder ,
    to find it, it was not there.  The Finder could not find it either.
    So I start over again.
    I opened up Numbers and it showed my personal Numbers template folder, it contained both my new 
    original 4 page template and the vanished saved document!
    I tried to delete the template containing these document data and could not - I had to go to the Library/Application Support/Numbers to physically remove it from this folder. Then I started over again.  I Finally found out how to make it work: I can now "save as", and then lock, and it will go to place where I want it to be saved and locked.
    The secret is: Click on the document title in the menu bar, and it opens up  "Save as...", which works the same as in OS 10.4.11, and you can pick the place you want for saving.  Once done that, you can then lock the document in the same pull down menu, and then close it.
    I also found later that I can delete a template from its folder, by letting Numbers open the templates,
    clicking on the one I want to remove, then go to the "Numbers Menu/File/Move to...", select "Desktop"
    and from there the selected template can then be thrown into the Trash from there.
    It appears now that the real fault of the Numbers software is that the "Save as" command is not available in the "Edit" or "File" pull-down menus, but hidden behind the title of the document.

  • Received HTTP response code 500 : Internal Server Error

    Hi All,
    In my scenario EANCOM to IDOC, I am getting an error in the sender communication channel (FILE Adapter). It is being picked up from the ‘sender’ directory successfully but not reaching the XI box (no messages seen in SXMB_MONI).
    The error in the runtime Workbench says the following:
    “Transmitting the message to endpoint http://gdrsap.nestle.com:50000/XIAxisAdapter/MessageServlet? using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 500 : Internal Server Error.”
    Regards,
    Manohar

    Hi Murli
    error code 500 stands for Internal Server Error
    This code is the default for an error condition when none of the other 5xx codes apply.
    for more details on error code follow the link
    http://www.web-cache.com/Writings/http-status-codes.html
    you have to restart J2EE engine
    steps to restart J2EE engine
    1) run transaction SMICM
    2) then in the tab administration => J2EE instance(local) =>send soft shutdown with restart
    by this java engine will restart and will be up in 5-10 minutes and your problem will be solved
    Thanks
    sandeep sharma
    PS ; if helpful kindly reward points

  • HTTP response code: 500  (Internal Server Error) when updating CMS

    Hi all,
    I'm using NWDI to develop a component.
    After I have created Product and SC in SLD, I'm going to add SC into my Track. However the component doesn't appear in the list, even I have updated CMS.
    Then I checked the CMS log file, it says
    #1.5#00110915CACE0071000000190000185400042CDBD4231025#1175222575219#/Applications/CMS/PCS#sap.com/tcSLCMS~PCS#com.sap.cms.pcs.conf.manager.CmsConfManager#liuxiao#126#SAP J2EE Engine JTA Transaction : [1ffffffdf252200315]#shaw2k07_J2E_31401250#liuxiao#27a26201de6811db9d8c00110915cace#SAPEngine_Application_Thread[impl:3]_7##0#0#Error#1#com.sap.cms.pcs.conf.manager.CmsConfManager#Plain###Update CMS failed#
    #1.5#00110915CACE00710000001C0000185400042CDBD4256832#1175222575375#/Applications/CMS#sap.com/tcwddispwda#com.sap.cms.ui.landconf.LandConfController#liuxiao#126##shaw2k07_J2E_31401250#liuxiao#27a26201de6811db9d8c00110915cace#SAPEngine_Application_Thread[impl:3]_7##0#0#Error#1#com.sap.cms.ui.landconf.LandConfController#Plain###CMSConfigurationException SLD (URL http://shaw2k07:50300) server exception: HTTP response code: 500 (Internal Server Error)#
    How can I handle with this problem?
    Thanks in advance.

    Hi Pascal,
    I have checked the SLD server log. When updating CMS failed, this log shows
    #18 03/31/2007 22:17:21.273 [SAPEngine_Application_Thread[impl:3]_10] FATAL com.sap.lcr.cimsrv.CIMOMServlet: SLD initialization failure, can not set up cluster-wide event notification. Please check your JMS provider for errors. More...
    #17 03/31/2007 22:17:21.273 [SAPEngine_Application_Thread[impl:3]_10] ERROR com.sap.lcr.cimsrv.ClusterNotificationListener: Failed to initialize cluster notification. Please check your JNDI service and JMS provider for errors. More...
    #16 03/31/2007 22:17:21.226 [SAPEngine_Application_Thread[impl:3]_38] FATAL com.sap.lcr.cimsrv.CIMOMServlet: SLD initialization failure, can not set up cluster-wide event notification. Please check your JMS provider for errors. More...
    #15 03/31/2007 22:17:21.210 [SAPEngine_Application_Thread[impl:3]_38] ERROR com.sap.lcr.cimsrv.ClusterNotificationListener: Failed to initialize cluster notification. Please check your JNDI service and JMS provider for errors. More...
    and More says
    #17 03/31/2007 22:17:21.273 [SAPEngine_Application_Thread[impl:3]_10] ERROR com.sap.lcr.cimsrv.ClusterNotificationListener: Failed to initialize cluster notification. Please check your JNDI service and JMS provider for errors.
    Thrown:
    javax.jms.JMSSecurityException: You do not have permissions: action consumer and instance SLDClusterNotificationTopic.
    at com.sap.jms.protocol.notification.ServerExceptionResponse.getException(ServerExceptionResponse.java:231)
    at com.sap.jms.client.session.Session.checkReceivedPacket(Session.java:2613)
    at com.sap.jms.client.session.Session.createConsumer(Session.java:2172)
    at com.sap.jms.client.session.TopicSession.createSubscriber(TopicSession.java:39)
    at com.sap.lcr.cimsrv.ClusterNotificationListener.<init>(ClusterNotificationListener.java:141)
    at com.sap.lcr.cimsrv.ClusterNotificationListener.start(ClusterNotificationListener.java:68)
    at com.sap.lcr.cimsrv.CIMOMServlet.init(CIMOMServlet.java:106)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.getServlet(WebComponents.java:339)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:354)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
    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)
    As for the
    javax.jms.JMSSecurityException: You do not have permissions: action consumer and instance SLDClusterNotificationTopic.
    I found information in this thread
    SLD Connection failed
    I'm quite sure that the user loggin into the SLD has the required role referred by "service.jms.default.authorization" "Security Role" "administrator". But it still doesn't work.
    Btw when I restart the whole system the SLD server log also shows
    FATAL com.sap.lcr.cimsrv.CIMOMServlet: SLD initialization failure, can not set up cluster-wide event notification. Please check your JMS provider for errors. More...
    I just have no idea really...

  • HTTP response code: 500  Internal Server Error

    Hi,
    I am working on OpenScript 8.5.
    1) When i play back the script i got the following error message in result view.
    oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException: HTTP response code: 500  Internal Server Error
    * see the Result View :*
    +15:41:09,973 INFO [1] Step: [4] Safexpress PROPEL+
    +15:41:10,066 ERROR [1] Error in section Run+
    oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException: HTTP response code: 500  Internal Server Error
    +     at oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException.createErrorInvalidHttpResponseCode(ThinBrowserException.java:43)+
    +     at oracle.oats.scripting.modules.http.api.HTTPService.validate(HTTPService.java:574)+
    +     at oracle.oats.scripting.modules.http.api.HTTPService.navigate(HTTPService.java:473)+
    +     at oracle.oats.scripting.modules.http.api.HTTPService.navigate(HTTPService.java:1197)+
    +     at oracle.oats.scripting.modules.http.api.HTTPService.post(HTTPService.java:1704)+
    +     at script.run(script.java:45)+
    +     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:225)+
    +     at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:595)+
    +     at java.lang.Thread.run(Thread.java:619)+
    +15:41:10,066 ERROR [1] Error in section Run+
    oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException: HTTP response code: 500  Internal Server Error
    +     at oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException.createErrorInvalidHttpResponseCode(ThinBrowserException.java:43)+
    +     at oracle.oats.scripting.modules.http.api.HTTPService.validate(HTTPService.java:574)+
    +     at oracle.oats.scripting.modules.http.api.HTTPService.navigate(HTTPService.java:473)+
    +     at oracle.oats.scripting.modules.http.api.HTTPService.navigate(HTTPService.java:1197)+
    +     at oracle.oats.scripting.modules.http.api.HTTPService.post(HTTPService.java:1704)+
    +     at script.run(script.java:45)+
    +     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:225)+
    +     at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:595)+
    +     at java.lang.Thread.run(Thread.java:619)+
    +15:41:10,082 ERROR [1] HTTP response code: 500 Internal Server Error+
    2) And how to record the JS(Javascript files) in OpenScript.
    How i can solve this problem.Can any one help me in this issue.

    Ramesh
    The 500 error I guess is due to a miss correlation, sending wrong data to the server making it crash.
    You can record JavaScript files by editing the proxy filter:
    View -> OpenScript Preferences -> Record -> HTTP module (or Sieble) -> Change to URL Filters tab; you can add edit remove filters from there.
    Regards
    Alex

  • Send back IDOC ack with details  to  webservice response ?

    Hi Friends ,
    Can we send IDOC acknowledgment  as SOAP response . Our scenario is say for example create SO via Webservice call . Our requirement is to use IDOC only not RFC/BAPI etc . Even we know that IDOC is asynchronous we need to return the SO number which is created .So ,
    1. Can we get Ack with SO number which is created and map to Webservice response filed ? 
    Thanks .,
    V.Rangarajan

    Hi Rangrajan,
    You Have to Identify in which Idoc you want to get the response back in R3 then Map Response of Webservice that contains SO to the idoc identified and you well get all the things you require in R3.
    Let me make few things clear:
    You have to use BPM for this
    ALEAUD is for IDOC acknowledgment not for Idoc response (There is difference between ack and response). So it will not serve your purpose.
    Report IDX_ALEREQUEST is to convert the idoc acknowledgment (ALEAUD) to XML formate.
    Thanks
    Sunil Singh

  • REPORT/PROGRAM statement missing, or program type is INCLUDE error upgrade.

    Hi Experts,
    I have done the recording for FK05 and created functionmodule for the same. But when I use that function module in my custom program or if I try directly execute the FM, I am getting dump like syntax error. So I did syntax check and tried to activate, I am getting "REPORT/PROGRAM statement missing, or program type is INCLUDE error upgrade" error.
    Please help me soon to resolve this issue.
    Thanks in advance.
    Shreyansh

    Hi
    Goto main function group include name attributes tab and double click.
    once the include is opened, try to activate it. if shows errors then fix.
    regards
    Shiva

  • Webservice response times --How can we improve ?

    Hi All,
    I am making two different calls to a Function module from java
    1. web service   2. Jco
    When I go to STAD transaction i can see webservice response timings are more compared to Jco.
    What intresting here for is CPU timings and DB timings.
    Some case The DB timings for webservice 3 to 4 times more than Jco  .
    Ideally DB timings should be similar in both the cases..right ??
    CPU timngs also more in webservice ? Why ? How we optimze this for good performance of web service ??
    My webservice is simple one conatins 4 input parmaters (simple type)  retuening a simple structure.
    Jco response time is around 500-2000 (ms)
    web service response time is  2000-5000  (ms)
    Looking for expert suggestions from our community
    Thanks in advance.
    Best Regards,Anilkumar

    hi,
    JCo is an native binary RFC oder FastRFC, walks through the Gateway,
    Webservice are textoriented, more Overhead and in summary with still less performance,
    walks through the ICM
    e.g. RFC-Connections are ca. 10 times faster than Webservices!

  • Response from server contained an error

    halo
    i've got problem, while working with dashbords, an error occures 'Response from server contained an error', have any one has an idea what can cause such error?
    thanks for all hints
    ana

    Can you be a little more specific? Please post the full error message that you are getting.
    Looks like this is related to obiee server response to the presentation server. Make sure your OC4J and BI server service is on while running a request.
    Thanks
    Prash

Maybe you are looking for