Web Service Action block throws Internal Server Error 500

Please forgive the lengthy message!
Web service Action block authenticates the user as confirmed from the web service logs.  Now I get an Internal Server Error 500.  Is this a bug in MII?  The WS does execute correctly from a .Net Client.
Here is the Message from the error in MII NetWeaver log:
SOAP Invoke Error. Status: 500 Message: Internal Server Error
[EXCEPTION]
java.lang.Exception: Status (500): Internal Server Error
at com.sap.lhcommon.webservice.SoapClient.invoke(SoapClient.java:81)
at com.sap.xmii.bls.executables.actions.webservice.WebServiceActions.callWebService(WebServiceActions.java:319)
at com.sap.xmii.bls.executables.actions.webservice.WebServiceActions.webService(WebServiceActions.java:408)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sap.xmii.bls.engine.DataBufferPayload.execute(DataBufferPayload.java:157)
at com.sap.xmii.bls.engine.ReflectiveAction.doExecute(ReflectiveAction.java:629)
at com.sap.xmii.bls.engine.BaseNode.executeNode(BaseNode.java:195)
at com.sap.xmii.bls.engine.BaseAction.execute(BaseAction.java:75)
at com.sap.xmii.bls.engine.runners.ProductionRunner.runAction(ProductionRunner.java:121)
at com.sap.xmii.bls.executables.sequences.Sequence.execute(Sequence.java:50)
at com.sap.xmii.bls.engine.runners.ProductionRunner.runSequence(ProductionRunner.java:102)
at com.sap.xmii.bls.executables.sequences.Sequence.execute(Sequence.java:59)
at com.sap.xmii.bls.engine.runners.ProductionRunner.runSequence(ProductionRunner.java:102)
at com.sap.xmii.bls.executables.sequences.RootNode.execute(RootNode.java:39)
at com.sap.xmii.bls.engine.TransactionInstance.execute(TransactionInstance.java:879)
at com.sap.xmii.bls.engine.TransactionInstance.run(TransactionInstance.java:586)
at com.sap.xmii.bls.engine.TransactionExecuter.runTransactionInstance(TransactionExecuter.java:613)
at com.sap.xmii.bls.engine.TransactionExecuter.executeFromHttpRequest(TransactionExecuter.java:258)
at com.sap.xmii.servlet.Runner.service(Runner.java:81)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sap.xmii.servlet.ServletRunner.run(ServletRunner.java:80)
at com.sap.xmii.common.LocalServiceConnection.post(LocalServiceConnection.java:137)
at com.sap.xmii.xacute.common.ClientCatalogUtilities.postServiceConnection(ClientCatalogUtilities.java:1946)
at com.sap.xmii.xacute.transaction.TransactionUtilities.ExecuteTransaction(TransactionUtilities.java:432)
at com.sap.xmii.servlet.Catalog.handleExecuteTempTrx(Catalog.java:254)
at com.sap.xmii.servlet.Catalog.service(Catalog.java:210)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:162)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:81)
at com.sap.xmii.system.SecurityFilter.doFilter(SecurityFilter.java:96)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:73)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:441)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:291)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:396)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:385)
at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:76)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:240)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:425)
at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:250)
at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:109)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
--Steve

Steve,
The 500 error is what we get back from the target server. 
This is probably not a bug since I don't think that MII has ever supported the SOAP-Fault node to build the response XML.
Sam
PS: For those of you reading this we had an offline discussion about this.

Similar Messages

  • Getting a error invoking web service action  block

    HI
    I am first time using web service action block in xmii. I am using it for executing my transaction . But it is giving error stating that
    Error invoking web service action block. I dont know please help me out?

    Hi Mike,
    I am using xMII - 11.5 version and with java 1.6.0_07. In My system i have installed service pack 3. When ever i use webservice action block and execute it, It gives error stating .
    [INFO ]: Execution Started At: 11:07:16
    [DEBUG]: 00000.01600 Begin Transaction 'TMP83E3D064-F6E8-4E3D-647F-6CE6B41C9E83'
    [DEBUG]: 00000.01600 Begin Sequence Sequence : ()
    [DEBUG]: 00000.01600 Begin Action WebService_0 : ()
    [ERROR]: Error Invoking Web Service Action: null
    [ERROR]: ACTION FAILED: End Action WebService_0 : ()
    [DEBUG]: 00001.42200 Begin Sequence Sequence_0 : ()
    [DEBUG]: 00001.42200 Begin Action Tracer_0 : ()
    [INFO ]: <?xml version="1.0" encoding="UTF-8"?><XacuteResponse xmlns="http://www.lighthammer.com/Xacute"><Rowsets DateCreated="2000-01-01T00:00:00" EndDate="2000-01-01T00:00:00" StartDate="2000-01-01T00:00:00" Version=""><FatalError/><Messages><Message/></Messages><Rowset><Columns><Column Description="" MaxRange="0.00" MinRange="0.00" Name="" SQLDataType="0" SourceColumn=""/></Columns><Row><Output/></Row></Rowset></Rowsets></XacuteResponse>
    [DEBUG]: 00001.43700 End Action Tracer_0 : ()
    [DEBUG]: 00001.43700 End Sequence Sequence_0 : ()
    [DEBUG]: 00001.43700 End Sequence Sequence : ()
    [DEBUG]: 00001.43700 End Transaction 'TMP83E3D064-F6E8-4E3D-647F-6CE6B41C9E83'
    [INFO ]: Execution Completed At: 11:07:17 Elapsed Time was 1421 mS
    please help me out .

  • Authorisation Variable throwing Internal Server Error - Java NullPointer Ex

    Hi,
    I've created an Authorisation Object on Service Organisation (0CRMSE_OG_R) and restricted it to a few values, assigned this to a role. On the BEx query, I've created a variable on Service Organisation of type Authorisation. When the report is executed on Web (Portal iView), the values for this Service Organisation variable are populated by default on the Variable Entry screen based on the Authorisation. On executing the report, it brings values based on the Authorisation.
    All fine so far.
    However, if on the Variable Screen when the user tries to select more values (or different values) for this Service Organisation by hitting the browse button, it throws Internal Server Error -- Java Null Pointer Exception.
    I have a feeling that since it is an Authorisation Variable, it doesn't allow user to see any other values for which user is not authorised. However, should it not give a proper message instead of throwing an Null Pointer Exception?
    Please advise...
    Many thanks.
    Regards,
    Sri.

    Fail to make OCI connection Using JDeveloper

  • Calling Enterprise Services through xMII Web Service action block

    Hi All,
    I'm calling some Enterprise Service through xMII Web Service action block.
    After providing URL and user credentials, I'm getting error "SOAP Service could not be loaded: The element type 'p' must be terminated by the matching end-tag '</p>'."
    Can anyone point out what might be the reason ?
    Thanks,
    Sumit

    If you haven't already, try using the browser from the xMII server machine rather than your own (client).
    The error that you recieve usually means that instead of a WSDL an HTML is being returned when you use the WebService action block.
    Possible reasons - as Jeremy pointed out - improper credentials or some error with the webservice itself.
    Another thing you can possibly try out - use some web service analyser to access the webservice . There's one that goes by the name StrikeIron which is a freeware.Pretty neat tool.

  • MII 12.1.5 Web Service Action Block

    Is there existing documentation on using the Web Service Action Block, specifically documenting the following Object Properties:
    WSDLBaseUrl
    Credential Alias:
    I am trying to execute a Web Service Action block against a web service that uses http and basic authentication (User/Password).  the WSDL loads just fine, the UserName and Password properties exposed through the WSDL are assigned valid values in Links Configuration, but according to the web service logs, the user name 'Guest' is being passed for the UserName.  This same web service works in MII 12.1.1 Build 273. 
    Thanks in advance!

    Steve,
    The WSDLBaseURL property just prepends a string to the WSDL URL property so that you can abstract out the protocol, server and port values separately depending on the target system you wish to hit for the service call.
    Regards,
    Sam

  • Cannot see the elements in Web Service Action block

    Hi,
    When I use SoapUI I can see the elements of a Service but when I use Web Service Action block of MII, I can only see the first element (job). The children of job are not appearing in link editor. Any Idea?
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.ct.xxx.de" xmlns:xsd="http://data.xxx.de/xsd">
       <soapenv:Header/>
       <soapenv:Body>
          <ws:startJob>
             <!--Optional:-->
             <ws:job>
                <!--Optional:-->
                <xsd:a>?</xsd:a>
                <!--Optional:-->
                <xsd:dir>?</xsd:dir>
                <!--Optional:-->
                <xsd:dirR>?</xsd:dirR>
                <!--Optional:-->
                <xsd:u>?</xsd:u>
                <!--Optional:-->
                <xsd:g>?</xsd:g>
                <!--Optional:-->
                <xsd:value>?</xsd:value>
             </ws:job>
          </ws:startJob>
       </soapenv:Body>
    </soapenv:Envelope>

    Anyone has any idea? I really appreciate any idea. Thanks

  • Passing Url dynamically in WEB SERVICE Action block

    Hi All below is my requirement, kindly help
    We have three environments 1. Development 2. Testing 3.Production
    In one of the BLS i have used Web Service Action block by putting the web service url.
    Whenever the BLS is moved from Testing environment or to Production i need to change the Url manually.
    So, i want some generic method to by which i don have to change the Url whenever the code is moved to Testing or Production.
    As far as i know that whenever i am putting the Url in the editor i need to press the next button to configure it but i want to get rid of this manual configuration.
    But i guess while we configure Web Service action block by putting the Url in editor and pressing the Next button it congigures the Listener Port for configuration.
    So is there any way by which this done done dynamically without configuring.
    I mean i want to put the URL once in Development environment and if it is moved to Testing or production then also it should work.
    A quick reply will be appreciated. I am using MII 12.0

    Anyone has any idea? I really appreciate any idea. Thanks

  • Web Service Action Block in MII 12.0

    Hi All,
    We are trying to understand the functionality of web services action block in MII 12.0 with a third party application.
    Can anyone share the complete procedure of the configuration to understand the data flow between webservice block with third party application.
    Thanks
    Rajesh S

    Rajesh,
    let's take your example. An external web service has been created with C or .NET or other tools. The creator of the web service also have created a URL that you can use to call the web service. The web service may accept input and responses output. The input / output parameters (among other settings) are defined in the WSDL.
    Now you want to call the external web service in MII. You create a BLT with the web service action. After you have entered the URL and press enter the web service configuration wizard calls the URL and retrieves the WSDL data (if the URL is correct). That's what I have described above.
    In the link editor MII displays the XML structure of the web service. There you can link data to the input parameter of the web service, e.g. the contents of a file. If the web service action is processed, the web service is called using the linked values, and the file contents is submitted.
    The external party can also call any MII BLT as a web service using the MII WSDLGen service. In the BLT, you also define Transaction Properties as input and output parameters. WSDLGen will build a xml structure using these parameters. If the external party want to send the file contents, it calls the MII web service with the file contents in the Transaction input property.
    You can easily test a MII web service. You just need two BLTs, one calling the other to see if the file contents is sent correctly.
    Does this explanation help? I do not see a difference between a URL and WSDL URL. The file contents is passed inside the web call, not stored in a location.
    Michael

  • Hi, when I go to "select files to send" and click on "sent files" I get: "Internal Server Error (500) Your request could not be completed due to an internal server error".  I tried rebooting and that didn't work.  Any help would be appreciated.  Thanks.

    Hi, when I go to "select files to send" and click on "sent files" I get: "Internal Server Error (500) Your request could not be completed due to an internal server error".  This never happened b4.  I tried rebooting and that didn't work.  Any help would be appreciated.  Thanks.

    Hi ,
    Thank you for your question.
    This error was caused by the incorrect site binding, I will give a reference of my test Lab. We add two A records in DNS which the FQDN of CAS and Mailbox could resolve IP address.;
    Default Web Site:
    Exchange Back End:
    Then IIS must be restarted.
    If there are any questions regarding this issue, please be free to let me know. 
    Best Regard,
    Jim

  • Http Internal Server Error - 500

    When using the http-dc library it some times generates a header that looks
    like:
    POST / HTTP/1A1
    The 'A' appears as 'R' and 'i'....should this not be a dot '.'?????
    Also, each time this occurs the receiver decides there has been an Internal
    Server Error (500)
    and closes the connection, when the server received all of this and
    continues fine.
    Any ideas?
    thanks in advance,
    MK

    Hi Sid,
    you might enable logging for the embedded Gateway (database webserver)
    * Log levels for the global attribute "log-level"
    * LOG_EMERG   CONSTANT PLS_INTEGER := 0;
    * LOG_ALERT   CONSTANT PLS_INTEGER := 1;
    * LOG_CRIT    CONSTANT PLS_INTEGER := 2;
    * LOG_ERR     CONSTANT PLS_INTEGER := 3;
    * LOG_WARNING CONSTANT PLS_INTEGER := 4;
    * LOG_NOTICE  CONSTANT PLS_INTEGER := 5;
    * LOG_INFO    CONSTANT PLS_INTEGER := 6;
    * LOG_DEBUG   CONSTANT PLS_INTEGER := 7;
    begin
      dbms_epg.set_global_attribute(
        attr_name  => 'log-level',
        attr_value => dbms_epg.log_debug
    end;
    commit
    /When now a HTTP 500 appears you can look into the "user-dump-destination" directory
    of your db server - a tracefile should appear there containing more information what
    went wrong ..
    Does this help
    Best regards
    -Carsten

  • Deploying JSP which invokes BPEL - internal server error 500

    i'm trying to invoke a bpel process using a JSP page thru jdeveloper, however i'm not sure how to do it...
    everytime i run the jsp page it reported the following "internal server error 500"
    so i'm guessing i have to change how the jsp file is deployed
    how do i deploy the jsp page onto the BPEL server???
    cheers,
    Shivek Sachdev

    i'm trying to invoke a bpel process using a JSP page thru jdeveloper, however i'm not sure how to do it...
    everytime i run the jsp page it reported the following "internal server error 500"
    so i'm guessing i have to change how the jsp file is deployed
    how do i deploy the jsp page onto the BPEL server???
    cheers,
    Shivek Sachdev

  • Internal Server Error (500)

    Hello,
    I am keep getting this Internal Server Error (500) when I am trying to use https://cloud.acrobat.com/send
    Is there a problem with server in general or is it specific to my account?
    How can I resolve this and start using it again?
    Thank you for your help.
    Jim

    I have the exact same problem. Were you able to resolve the issue? If so, what did you have to do?
    -saidul

  • Update Record in Access Error - Internal Server Error 500

    Hi,
    I am looking for a bit of help with this one please. I have created a set of pages that input and retrieve data from an MS Access database using ASP. The master detail page contains a link to an update page where users can update the data that is stored. The update page itself loads perfectly fine, all of the details can be seen in the form. The problem arrises when a user makes a change to one of the fields and hits the update button. The dreaded "Internal Server Error 500" appears.
    I am fairly new to this and I cant get my head around this at all. Especially since the input pages and master detail pages all work perfectly. Any thoughts or fixes would be appreciated. Thanks in advance!!
    Scott

    The master / detail pages all pull data from the database, the error you are getting is when you are trying to write data to the database, so you may want to check permissions or make sure your Access file isn't locked or read only, which is a common problem with Access database file.
    Lawrence   *Adobe Community Expert*
    www.Cartweaver.com
    Complete Shopping Cart Application for
    Dreamweaver, available in ASP, PHP and CF
    www.twitter.com/LawrenceCramer

  • Error when using Web service Action Block.

    Hi All
    I am calling recursive function in my transaction.Means same transaction i am calling inside a transaction.I have used the Webservice Action block to call the transaction.
    I have passed the parameters whatever is requied.
    But I am getting error when i am executing the transaction:
    "Error invoking Webservice Action: Status(500):Internal Server Error".
    Please suggest me on this.
    Thanks in advance.
    Regards,
    Manisha

    Hi Vishal
    This transaction is trying to achieve the recursive function.
    I want to call the same transaction within a transaction.So i have used WebService action block to call the transaction.
    I have passed the input parameters whatever required.I have given loginName and password as my server login name and password.But when i am executing the transaction, I am getting the following error:
    "Internal Server Error"
    If any idea please suugest me.
    Thanks,
    Manisha

  • Web Service Action Block

    I'm attempting to call a web service that we have developed. I'm able to configure the webservice block without any problems. However, when I attempt to execute the block I get a "Internal server error" message. When I look in the general log I have the following message:
    <b>Classname:</b> IntrospectionUtilities
    <b>Mesage:</b> Generic Reflection error (Set): java.lang.NoSuchMethodException: com.lighthammer.xacute.actions.webservice.WebServiceAction.setSoapService(java.lang.String) -> setSoapService
    Does anyone know what this message means ?
    Thanks
    Glenn

    Glenn,
    Unfortunately its not easy to tell why the Web Service call is failing without knowing what the Web Service is doing.  But I can explaing what the SoapService is in xMII and maybe this will help....
    The Soap Service to xMII is a helper class that parses the WSDL for the various ports and operations that are defined.  It gets the transport URI of the service and also the SOAP Body to be used as a reference. 
    If your WebService fails to return these or they are malformed then the SoapService object will not create properly and cause this method to fail.  My suggestion is to either examine your Web Service to make sure it meets proper W3 standards OR to use the POST action block to perform the HTTP operation. 
    Hope this helps.
    -Sam

Maybe you are looking for

  • IPhone 3G music won't play, please help

    I just got my iPhone 3G and I moved all my music from my ld iPhone onto my new iPhone (did a restore). Now, most of my music will not play on my new iPhone. It tries to play, but just skips right to the next song, tries to play that then skips and ag

  • How  to use multiple channels with one remoteObject .

    hi, I have an application which is accessed through HPPS some times , also it can be access on server with http service. so I want to know how to configure config files or add runtime channels which will support either channel depending on the server

  • Add description fields to the demand simulation screen on CTM

    Dear SAP Gurus, We have a requirement to add the description fields to the demand simulation screen inside the CTM, do you know how to do this? The description fields are not available in the standard layout, I couldn´t find  any exit or BADI to inse

  • Need to buy CS5 Design Standard, New Laptop-Help Please

    My wife is a student taking a graphics class a and she must buy CS5 Design Standard (Photoshop, InDesign, Illustrator and Acrobat).  Her computer just broke down and we need to replace it right away but we are on a tight budget.  Can we get by with a

  • Table Rows skip

    Hi, Is there any FM available to skip the Table rows before reading the table. Thanks, fract