System error while calling webservice adapter

Hello Experts
I am configuring a synchronous proxy to webservice scenario.I have created a webservice from a custom function module. while executing the interface i am getting the following error in the sxmb_moni.
<SAP:Category>XIServer</SAP:Category>
  <SAP:Code area="INTERNAL">WS_ADAPTER_SYS_ERROR</SAP:Code>
  <SAP:P1 />
  <SAP:P2 />
  <SAP:P3 />
  <SAP:P4 />
  <SAP:AdditionalText />
  <SAP:Stack>System error while calling Web service adapter: Error when initializing SOAP client application: &#39;error_text&#39;</SAP:Stack>
  <SAP:Retry>N</SAP:Retry>
  </SAP:Error>

ya I  have checked the wsdl and even called the wsdl using Altova XmlSpy and getting back the response.Could anyone please throw light on this.
thanks
sabyasachi

Similar Messages

  • Error while calling WebService inside ISchedulerTask.

    Hi,
    Env: NW 2004s
      I have a requirement of calling webservice frequently. I developed a portal project with scheduler, where the application gives a runtime error while calling/reading the property file (which is generated during the webservice proxy generation, without it webservice call is impossible).
    I have varified the ear file which contains all the required class files and config files including property file.
    fyi:
    portalapp.xml file looks like this.
    +
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <application-config>
        <property name="SharingReference" value="usermanagement, knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal"/>
      </application-config>
      <components/>
      <services>
        <service name="RFServiceWrapper">
          <service-config>
            <property name="className" value="com.sap.netweaver.rf.wrapper.RFServiceWrapper"/>
            <property name="startup" value="true"/>
          </service-config>
        </service>
      </services>
    </application>
    +
    Any input will be highly appreciated.
    Thanks,
      Vinod

    Following is the error message:
    msg1:
    at <package>.AFFERAAFWSServiceImpl.<init>(AFFERAAFWSServiceImpl.java:10)
    msg2:
    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ServiceBase.loadProtocolsFromPropertyFile(ServiceBase.java:238)
    Reporting from Logs and Traces.
    Error Located @ following code inside AFFERAAFWSServiceImpl.java, which is a proxy class generated using apache axis
    input = this.getClass().getClassLoader().getResourceAsStream("<package>/protocols.txt");
    loadProtocolsFromPropertyFile(input);
    protocols.txt is another config file generated along with AFFERAAFWSServiceImpl.java, which is been used @ run time.
    FYI: All these files are present on ear file.

  • Error while calling RFC adapter(FILE-XI-RFC scenario)

    Hi,
    I am trying for FILE-XI-RFC scenario. I am getting the following error. I have checked in message monitoring. The error is coming while calling the RFC adapter. Can any body tell what problem is this?
    Regards,
    Dhana
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.f23.sofd00001530a</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>2: Unable to find URL for Adapter Engine af.u7a.us4296</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while reading access data (URL, user, password) for the Adapter Engine af.f23.sofd00001530a</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Hi,
    I did SLD check.
    The status says 'Summary: Connection to SLD works correctly'.
    But it fails while checking the access to XI profile.
    Here is the status
    Summary: Connection to SLD works correctly
    Now checking access to the XI Profile
    Properties of RFC destination LCRSAPRFC
      RFC host:
    %%RFCSERVER%%
      program id:      LCRSAPRFC_DZ1
      gateway host:
      gateway service:
    Testing the RFC connection to the SLD java client...
    RFC ping returned exception with message:
    / CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679#Transaction program not registere

  • XML Error while calling webservice from oracle function.

    I am getting an error while I am trying to call webservice from oracle function. Any ideas? Thanks.
    select get_new_string ('proxy:80', 'http://xxx/PatternVariations/SourceTest/WebMethods','Scott') from dual
    ERROR at line 1:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00225: end-element tag "H4" does not match start-element tag "P"
    Error at line 9
    ORA-06512: at "SYS.XMLTYPE", line 0
    ORA-06512: at "DORSBP00.DEMO_SOAP", line 82
    ORA-06512: at "DORSBP00.GET_NEW_STRING", line 11

    The error message implies that the web service is returning something that is not well formed xml. Can you verify what is being returned by the web service call

  • Http 500 internal server error while calling webservice

    I have a scenario Rfc to webservice
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="HTTP">ADAPTER.HTTP_EXCEPTION</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>HTTP 500 Internal Server Error</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    In my response pay load i am getting error msg
      <b>ClientUnable to parse the incoming request. Please make sure that the request is valid: javax.xml.soap.SOAPException: Unsupported Content-Type: application/xml</b>
      </env:Envelope>
    Can any one please tell me what would be the problem i have doubled checked the scnrio,i message monitoring i have a messages
    Audit Log for Message: ec1dc1d0-f1c7-11da-91dd-0004ac577b32
    Time Stamp Status Description
    2006-06-01 16:39:52 Success The message was successfully received by the messaging system. Profile: XI URL: http://saptst01.internal.pcshs.com:51000/MessagingSystem/receive/AFW/XI
    2006-06-01 16:39:52 Success Using connection AFW. Trying to put the message into the request queue.
    2006-06-01 16:39:52 Success Message successfully put into the queue.
    2006-06-01 16:39:52 Success The message was successfully retrieved from the request queue.
    2006-06-01 16:39:52 Success The message status set to DLNG.
    2006-06-01 16:39:52 Success Delivering to channel: ZCH_VERISIGNPPGR
    2006-06-01 16:39:52 Success Transform: using Transform.Class: com.sap.aii.messaging.adapter.XSLTConversion
    2006-06-01 16:39:52 Success Transform: transforming the payload ...
    2006-06-01 16:39:52 Success Transform: successufully transformed
    2006-06-01 16:39:52 Success SOAP: request message entering the adapter
    2006-06-01 16:39:53 Success SOAP: completed the processing
    2006-06-01 16:39:53 Success SOAP: response message received ec89a301-f1c7-11da-a561-0004ac577b32
    2006-06-01 16:39:53 Error SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
    2006-06-01 16:39:53 Success The message status set to DLVD.
    2006-06-01 16:39:53 Success The message was successfully delivered to the application using connection AFW.
    Any help would be greatly appreciated.......
    Thanks
    sriram

    Hi,
    Content-Type: application/xml
    ...check for the content type of the message that is sent ot the WS.....with the above mentioned content-type going to the WS currently...WS is not able to parse the req and hence the error....in other words wrong format being being passed.
    Regards,
    ABhishek.

  • Error while calling webservice on ECC 5.0

    Hi
    I have a webservice exposed on a ECC5.0 - the webservice is available for runtime.
    But when I call it with a single input parameter - from a test SOAP test client- I get the following error as the SOAP response
    What could this be/mean ? Please help.
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Body>
    <soap-env:Fault>
    <faultcode>soap-env:Server</faultcode>
    <faultstring xml:lang="en">Error during XML => ABAP conversion (; error ID: ; ( ))</faultstring>
    </soap-env:Fault>
    </soap-env:Body>
    </soap-env:Envelope>

    Means theres an error in XML/ABAP conversion probably due a syntax error...
    Regards
    Juan

  • Error while calling webservice with SOAP Receiver

    Hi Experts,
    When we run the report on the ECC 6.0 server we call the web service which is configured as a receiver SOAP Adapter, we are getting the following error:
       XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Not enough message parts were received for the operation
    Can somebody throw a light on this error and how to overcome it.
    Thanking You
    With Best Regards
    Suk4023

    >Can somebody throw a light on this error and how to overcome it.
    Import WSDL and Use soapui or xmlspy and try to send the request and see the response. Make sure your WSDL URL is valid one too. After testing update more informaton on this.

  • Error while calling webservice from application module

    Hi all
    I have generated a Proxy from a web Service and i am trying to call the web service from an Application Module it is throwing me error
    JBO-29000: Unexpected exception caught: oracle.classloader.util.AnnotatedNoClassDefFoundError, msg= Missing class: webservices.types.com.siebel.xml.order_interface.Orders Dependent class: java.lang.reflect.Array Loader: jre.bootstrap Code-Source: unknown Configuration: jre bootstrap
    Missing class: webservices.types.com.siebel.xml.order_interface.Orders Dependent class: java.lang.reflect.Array Loader: jre.bootstrap Code-Source: unknown Configuration: jre bootstrap
    My web Service is correct, as i have executed the client and it is working fine, but when i try to access the web service from an application module it is throwing me this error. So any light on this issue will be very helpful
    thanks

    This forum is for XML DB issues. XML DB is a feature of 9iR2 and later.You need t look in the XML Technology forum

  • Error while calling webservice from oracle8i

    Hi,
    i am trying to call a webservice from a stored procedure in Oracle 8i.
    I am getting the following error.
    ORA-31011: XML Parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00225: end-element tag "body" does not match start element tag "br"
    Kinldy help me in knowing the cause of this issue. Also i wanted to know if
    webservices will work in oracle 8i enterprise edition release 8.1.7.4.0
    or do we need to add any patches for it.
    Thanks,
    Sathia

    This forum is for XML DB issues. XML DB is a feature of 9iR2 and later.You need t look in the XML Technology forum

  • Error while calling webservice created in XI

    Hi to All,
    I have created a Scenario in which i hav to create a webservice and that webservice hav to consume in JAVA.
    So created a scenario in which sender is SOAP and Receiver is RFC Adapter as i have   to send some information to RFC and get the response from RFC.
    I have configured the Soap Sender and RFC Communication channels properly, then i have choosen "to define the web service" and have given the URL as:
    http://incsr4:8000/XISOAPAdapter/MessageServlet?channel=:BS_WS_RFC:CC_IMAP_SOAP
    where incsr4 is server name, BS_WS_RFC is Sender Service Name and CC_IMAP_SOAP is Sender Communication Channel.
    When i am coping the URL which i got in the webservice and pasted in the Browser it is giving this message....
    Message Servlet is in Status OK
    Status information:
    Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/645_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#7 $) bound to /MessageServlet
    Classname ModuleProcessor: null
    Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
    Lookupname for remoteModuleProcessorLookupName: null
    ModuleProcessorClass not instantiated
    ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0
    ModuleProcessorRemote not instantiated
    And if i am testing this wsdl in ALTOVA , it is giving this error:
    HTTP error: could not post file.
    'XISOAPAdapter/MessageServlet?channel=:BS_WS_RFC:CC_IMAP_SOAP&amp;version=3.0&amp;Sender.Service=BS_WS_RFC&amp;Interface=http%3A%2F%2Fincture.imap.com%5EMI_OBS_IMAP_SOAP
    on server incsr4(500)
    Dont know where i gone wrong...
    Please help me out from this problem.
    Its very urgent.
    Thanks in Advance,
    Regards
    Vikas

    Hi Bhavesh,
    I have used the J2ee port only.
    when i am using this Url:
    http://incsr4:8000/XISOAPAdapter/HelperServlet?action=FindChannel&channel=:BS_WS_RFC:CC_IMAP_SOAP
    to check the communication channel I am getting the right response as below.
    <s:ChannelInfo>
    <channelID>a5f01758461f3aab820f30cfef57937d</channelID>
    <name>CC_IMAP_SOAP</name>
    <type>st:SOAP</type>
    <direction>INBOUND</direction>
    <party/>
    <service>BS_WS_RFC</service>
    </s:ChannelInfo>
    Can u tell me where may be the Problem.
    Thanks
    Regards
    Vikas

  • Error while calling webservice(in XI) from XML spy

    Hi,
    We have created the webservice in XI and generated/exported WSDL file.
    We have imported WSDL file to XML Spy and tried to send the SOAP Request, but we are facing the following error:
    <?xml version="1.0"?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Body>
              <SOAP:Fault>
                   <faultcode>SOAP:Server</faultcode>
                   <faultstring>Server Error</faultstring>
                   <detail>
                        <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                             <context>XIAdapter</context>
                             <code>RecoverableException</code>
                             <text><![CDATA[
    com.sap.aii.af.ra.ms.api.RecoverableException: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:CO_TXT_OUTBINDING_NOT_FOUND:
         at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:855)
         at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl3.process(ModuleLocalLocalObjectImpl3.java:103)
         at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:261)
         at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0.process(ModuleProcessorLocalLocalObjectImpl0.java:103)
         at com.sap.aii.af.mp.soap.web.MessageServlet.callModuleProcessor(MessageServlet.java:159)
         at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:383)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
              ]]></text>
                        </s:SystemError>
                   </detail>
              </SOAP:Fault>
         </SOAP:Body>
    </SOAP:Envelope>
    Please provide the precious inputs.
    Thanks,
    Ramesh

    Hi,
    Did the request reach XI? If yes,
    What is the status of the Sender SOAP adapter? Any error in MONI?
    if no message is in XI, then check if the user id has the role of SAP_XI_APPL_USER.
    Regards
    Bhavesh

  • Mapping error while calling WebService

    Hi,
    I tried implementing the Credit Limit check Web service example and was getting the following error
    PARSE_APPLICATION_DATA Error during XML => ABAP conversion (Response Message; error ID: CX_ST_GROUP_MISSING_CASE; (/1SAI/TXS00000000000000000006 XML Bytepos.: 346 XML Path: CreditLimitCheck_DunsResponse(1) Error Text: Element 'Status' fehlt))
    Has anybody come across this error if so were you able to resolve it, looking forward to an early solution.
    Regards,
    Aniruddha

    Karst,
    I looked at the messages in SXMB_MONI and it says that the message has been recieved successfully, it also shows that the response recieved has the status field.
    the scenario is to call a webservice get data and send that data to an R3 aplication using ABAP Proxy, could this error be a result of some conversion that is happening at the proxy interface.
    Regards,
    Aniruddha

  • Error while calling webservice in flex

    Hi,
    I have done one sample application like adding the 2 no. But
    i dont know how to pass the parameter from webservice to flex. I
    have attached my code here. Plz reply.Its showing the error as
    Required parameter 'a' not found in input arguments."

    add this to get your reply from web service.
    private function
    configureListeners(dispatcher:IEventDispatcher):void {
    // Override xml socket event listeners with custom functions
    // Reference the XML Socket API for Event descritpions
    xml_s.addEventListener(Event.CLOSE, onClose);
    xml_s.addEventListener(Event.CONNECT, onConnect);
    xml_s.addEventListener(DataEvent.DATA, onData);
    xml_s.addEventListener(IOErrorEvent.IO_ERROR, onIOError);
    xml_s.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
    onSecurityError);
    // below is where you will receive your results from the web
    service
    public function onData(event:DataEvent):void
    // do something with data
    // i.e. indata.text = event.text;

  • Error while calling webservice

    Hi,
    I am sending some information from my form to the webservice.
    The code that I wrote in the when_button_pressed is as follows:
    declare
         my_object ORA_JAVA.jOBJECT;
         c varchar2(100);
         ex ora_java.jobject;
    begin
         my_object:=EmbeddedTasksModuleServiceStub.new;
         c:='CLOSED';
         message('calling WS');
         message('calling WS');
         EmbeddedTasksModuleServiceStub.completeTask(my_object,:tasklist.ssn,:control.text_item6,:control.text_item7,c);
              message('called WS');
              message('called WS');
              exception                
    WHEN ORA_JAVA.EXCEPTION_THROWN then
    ex := ORA_JAVA.LAST_EXCEPTION;
    message(Exception_.toString(ex));message(Exception_.toString(ex));
         end;
    The procedure in my program units is as follows:
    PROCEDURE completeTask(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2,
    a2 VARCHAR2,
    a3 VARCHAR2) IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(4);
    JNI.ADD_STRING_ARG(args, a0);
    JNI.ADD_STRING_ARG(args, a1);
    JNI.ADD_STRING_ARG(args, a2);
    JNI.ADD_STRING_ARG(args, a3);
    JNI.CALL_VOID_METHOD(FALSE, obj, 'com/bankForms/EmbeddedTasksModuleServiceStub', 'completeTask', '(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V', args);
    END;
    The message "callingWS" is coming but after that I am getting a message
    [SOAPException:faultCode=SOAP-ENV:IOException;msg=connection refused:connect;targetException=java.net.ConnectException:Connection refused:connect]
    Can anyone explain me as to what the reason could be and what can be done now?
    Thank you.

    Hi Francois,
    Outside forms I am able to connect to the webservice. May be the forms is not getting connected to the webservice. I am trying out some options here..like changing proxy connection in JDev...Will let you know once done.
    Thank you.

  • Error While calling getListItem Webservice : Server was unable to process request. --- Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

    Hi All,
    we are calling sharepoint webservice from our web application but we are getting below error while calling webservice.
    Server was unable to process request. ---> Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    Our code is as below.
    We used below 2 options but we got same error for both scenario,
    1)
                ListService.Lists objLists = new ListService.Lists();
                NetworkCredential objNetworkCredential = new NetworkCredential("username", "password");
                objLists.Credentials = objNetworkCredential;
                System.Xml.XmlNode objXmlNode = objLists.GetListItems("Tasks", null, null, null, null, null, null);
    2)         ListService.Lists objLists = new ListService.Lists();
                objLists.Proxy = new WebProxy("proxyaddress",true);
                NetworkCredential objNetworkCredential = new NetworkCredential("username", "password");
                objLists.Credentials = objNetworkCredential;
                System.Xml.XmlNode objXmlNode = objLists.GetListItems("Tasks", null, null, null, null, null, null);
    Please help me what is the problem while calling this service.
    Thanks in advance.
    Regards,
    Kaivan Shah

    Hi ,
    Here is a similar case ,you can have a look at this .
    Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) -Accessing the sharepoint site:
    http://social.msdn.microsoft.com/Forums/en-NZ/sharepointworkflow/thread/5eab2116-7d7c-4bf3-bfa1-48bd8992dded
    Thanks,
    Entan Ming

Maybe you are looking for