Error when consuming a web service in CF 11

I am consuming a web service in ColdFusion what was written in .NET.  Some methods of the web service work fine, but some we get the below error.  We have identified the issue is the name of one of the properties in the web service appears to be the issue.  The property name is ID.  This is a very common property name so I would think someone has run across this before.  It appears that maybe ID is a default property for Axis?  I can dump the method that works and I see there is a getID() method with a return type of org.apache.axis.types.Id.
If we change the name of the property to something other than ID it works, but this will cause us to refactor a lot of code.
Here is the error I get when I try to call GetRoles method, which contains an ID property:
Cannot perform web service invocation GetRoles. The fault returned when invoking the web service operation is:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: For input string: "i1"
java.lang.NumberFormatException: For input string: "i1"
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: For input string: "i1"
java.lang.NumberFormatException: For input string: "i1"
at org.apache.axis.encoding.ser.BeanDeserializer.onStartElement(BeanDeserializer.java:462)
at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:393)
at org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:154)
at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java: 1048)
at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
at org.apache.axis.message... ''
I am running CF 11 Update 4.

I am not passing any parameters to the method (it has no parameters).  On the ColdFusion side I do not use i1 anywhere.  I will check with the .net developer on Monday to see if he is using it anywhere in his code.  If he is he is using in consistently as the only methods that work from his service are those that do not have an ID property.  All services with an ID property give me the same error message.

Similar Messages

  • Proxy error when consuming External Web Service (WSDL) in ABAP

    Hi all,
    I am trying to consume an external WS in ABAP but I have some issues :
    1. Is it allows to use tag <xsd:complexcontent> with restrictions and extensions in it ? If not, how can I replace it ?
    2. Do we need to still change the <complexType> structure such as :
    Coding, not working:
    <xsd:complexType name="OrderRequestMsg">
    <xsd:sequence>
    <xsd:element name="shop" type="xsd:string"/>
    u2026
    </xsd:sequence>
    </xsd:complexType>
    <message name="OrderRequest">
    <part name="input" type=" tns:OrderRequestMsg"/>
    </message>
    Coding, working::
    <xsd:element name="OrderRequestMsg">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="shop" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <message name="OrderRequest">
    <part name="input" element="tns:OrderRequestMsg"/>
    </message>
    3. When I am testing the WSDL they send me in SOAPUI, I don't have any issue but when I am trying to integrate in ABAP, it is blocking on an URL saying it cannot find it  (the URL http://fk.se/SHS/xsd/tanden)
    <xsd:schema version="20110317" targetNamespace="http://fk.se/SHS/xsd/tanden" xmlns:tns="http://fk.se/SHS/xsd/tanden" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" elementFormDefault="qualified" attributeFormDefault="unqualified">
    Do I need to change something ? Since when I am modifying it, it cannot find the type reference afterwards...
    Thanks in advance for your answer.

    Hy Brad, I got the same error by trying to generate a 'Consumer Proxy' from a external WSDL. u2019Incorrect value: XSD name space not available'. I have solved it in this way: The report RSSIDL_DESERIALIZE_DEMO has the same check routines as the R3-Proxy Generator. I debugged this report using a saved external WSDL and compared it with using a saved WSDL (Server) generated under /nse80.
    -> In the WSDL, in part message the "type" isnu2019t allowed, because the dezerialization is done already.
    Coding, not working:
    <xsd:complexType name="OrderRequestMsg">
      <xsd:sequence>
         <xsd:element name="shop" type="xsd:string"/>
          u2026
      </xsd:sequence>
    </xsd:complexType>
    <message name=" OrderRequest">
      <part name="input" type=" tns:OrderRequestMsg"/>
    </message>
    Coding, working::
    <xsd:element name="OrderRequestMsg">
        <xsd:complexType>
           <xsd:sequence>
            <xsd:element name="shop" type="xsd:string"/>
       </xsd:sequence>
      </xsd:complexType>
    </xsd:element>
    <message name="OrderRequest">
         <part name="input" element="tns:OrderRequestMsg"/>
    </message>

  • Error when querying REST web services from web-based InfoPath form 2013 environment

    Error when querying REST web services from web-based InfoPath form 2013 environment, we are trying to consume REST web service in InfoPath form ( SharePoint 2013 version) 
    http://spapp/sites/litigation/Intake/_api/web/lists/getbytitle('Email%20Profiles')/items(1)
    it works in preview but does not when it is published. because of claim based authentication i m getting below error
    The form cannot run specified query, the underlying connection was closed. An expected error occurred 
    same works in 2010 environment .. are we missing anything in 2013 servers?? please let me know how we can resolve it.. thank you 
    guru

    everyone face this issue, nothing in event viewer, its easy to reproduce error at ur end also.. 
    just you need to use below web service in infopath and populate some data on form load like id = 1 pull the title and try to set in form any field...the
    list has one item thats all
    guru

  • Errors when compiling the web service (SAP Web Service Design Tool)

    After downloading and installing the SAP de Web Service Design Tool (for Crystal Reports Server) I created a connection, a simple query and was able to deploy a web services. I tested the web service with an Xcelsius dashboard within InfoView. Thereafter I created a second connection (other name but same ODBC connection / server) and created another simple query with two date(range) parameters and a group by year and month function in order to do a select count(). It executes fine, but when I try to publish the web service I get an error.
    There are errors when compiling the web service.
    Is does not say whatu2019s wrong or how I can solve this problem.
    Who can help me?
    Some notes:
    1) Within expert mode I used a MONTH() SQL function which does not show in the normal mode.
    2) It seams that the u2018administrationu2019 of Web Service Design Tool got u2018corruptedu2019 after only creating the two connections, queries and services mentioned above. I believe so because I could select one of two queries when I created the second service, but within the current connection I had only one query.
    Thanks for any help,
    Ron
    ADDITIONAL INFO: The parameters seam to be the problem. After removing the parameters I can publish the service. But without parameters it is NO SOLOTION.
    Edited by: RonKoudijs on Aug 26, 2010 6:28 PM

    Hello Taylan,
    I think the error that you received was due to packaging issues.I placed the
    UtilClass.java file under a directory called data which was present under
    the project directory.
    When you want to access a java class, you can either place the compiled
    class file in the WEB-INF/classes folder or you can place the java file
    under the project directory.
    I have attached the sample project that I created with your files.
    Let me know if you have any other questions.
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "taylan" <[email protected]> wrote in message
    news:3d6351b0$[email protected]..
    >
    I am trying to write a simpe web service in WebLogic Workshop, but havingan error
    which I could not understand. Could you please help me? Thanks in advance.
    Regards,
    Taylan
    My web service code is like belows:
    import weblogic.jws.control.JwsContext;
    import data.*;
    public class WebService1
    /** @jws:context */
    JwsContext context;
    * @jws:operation
    public UtilClass testType(UtilClass tTest){
    UtilClass returnObj=new UtilClass();
    if(tTest.getName()!= null){
    returnObj.setName(tTest.getName());
    return returnObj;
    and my UtilClass is placed in the data directory under the same directorywith
    my web service code. It is a simpe class as belows:
    package data;
    public class UtilClass
    private String name;
    public void setName(String name){
    this.name=name;
    public String getName(){
    return name;
    However I got an error when I try to compile the webservice class. Theerror is
    like belows:
    File Line Message
    WebService1.jws 0 Resource found on system classpath: data.UtilClass
    Build complete - 1 error(s), 0 warning(s)
    [ngroup.zip]

  • I get an web service error when trying enable web services. I have latest update and rebooted

    i get an web service error when trying enable web services. I have latest update and rebooted

    hi there philnj,
    could you help the community narrow troubleshooting by providing a little more information? Particularly what model printer are we dealing with?
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Error when importing a web service from ES Workplace to NWDS

    Hi guys,
    I'm working with SAP NetWeaver Developer Studio (SAP NetWeaver 7.1 Composition Environment SP03 PAT0000 Build id: 200710302120)
    The connection (through Services Registry) to the ES Workplace was successful. I found the service definition and the endpoint for the selected service definition I wanted. But when I clicked "Finish", I got a "Web Service Import Error":
    Web Service can not be imported due to some errors.
    java.lang.reflect.InvocationTargetException
    java.lang.NullPointException
    error detail:
    java.lang.reflect.InvocationTargetException
         at com.sap.caf.designer.ui.actions.es.WSImportAction$1.run(WSImportAction.java:188)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: java.lang.NullPointerException
         at com.sap.caf.foundation.mfw.types.CoreTypes.getAllTypesForApplication(CoreTypes.java:353)
         at com.sap.caf.foundation.mfw.types.CoreTypes.initializeCoreTypes(CoreTypes.java:197)
         at com.sap.caf.foundation.mfw.types.CoreTypes.getType(CoreTypes.java:227)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.getBuiltInSimpleType(WSImportManager.java:849)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createSimpleType(WSImportManager.java:712)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createSimpleTypeWithRestrictions(WSImportManager.java:883)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createSimpleType(WSImportManager.java:728)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createAttribute(WSImportManager.java:663)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createField(WSImportManager.java:1059)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createFields(WSImportManager.java:1046)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createComplexType(WSImportManager.java:967)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createAttribute(WSImportManager.java:671)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createField(WSImportManager.java:1059)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createFields(WSImportManager.java:1046)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createComplexType(WSImportManager.java:967)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createAttribute(WSImportManager.java:671)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createField(WSImportManager.java:1059)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createFields(WSImportManager.java:1046)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createComplexType(WSImportManager.java:967)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createAttribute(WSImportManager.java:671)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createMessage(WSImportManager.java:630)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createInputMessage(WSImportManager.java:605)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createOperation(WSImportManager.java:569)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createOperations(WSImportManager.java:518)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.importInterface(WSImportManager.java:495)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.importWebService(WSImportManager.java:265)
         at com.sap.caf.rt.connectivity.ImportManager.importWebService(ImportManager.java:53)
         at com.sap.caf.designer.ui.actions.es.WSImportAction$1.run(WSImportAction.java:180)
         ... 1 more
    java.lang.NullPointerException
         at com.sap.caf.foundation.mfw.types.CoreTypes.getAllTypesForApplication(CoreTypes.java:353)
         at com.sap.caf.foundation.mfw.types.CoreTypes.initializeCoreTypes(CoreTypes.java:197)
         at com.sap.caf.foundation.mfw.types.CoreTypes.getType(CoreTypes.java:227)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.getBuiltInSimpleType(WSImportManager.java:849)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createSimpleType(WSImportManager.java:712)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createSimpleTypeWithRestrictions(WSImportManager.java:883)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createSimpleType(WSImportManager.java:728)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createAttribute(WSImportManager.java:663)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createField(WSImportManager.java:1059)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createFields(WSImportManager.java:1046)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createComplexType(WSImportManager.java:967)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createAttribute(WSImportManager.java:671)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createField(WSImportManager.java:1059)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createFields(WSImportManager.java:1046)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createComplexType(WSImportManager.java:967)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createAttribute(WSImportManager.java:671)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createField(WSImportManager.java:1059)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createFields(WSImportManager.java:1046)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createComplexType(WSImportManager.java:967)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createAttribute(WSImportManager.java:671)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createMessage(WSImportManager.java:630)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createInputMessage(WSImportManager.java:605)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createOperation(WSImportManager.java:569)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.createOperations(WSImportManager.java:518)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.importInterface(WSImportManager.java:495)
         at com.sap.caf.rt.connectivity.ws.WSImportManager.importWebService(WSImportManager.java:265)
         at com.sap.caf.rt.connectivity.ImportManager.importWebService(ImportManager.java:53)
         at com.sap.caf.designer.ui.actions.es.WSImportAction$1.run(WSImportAction.java:180)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Thanks in advance
    Wenhao

    Hi Wenhao,
    I did face something similar ....but when i tried it again...it worked..
    In case it does not then before u try to start the procedure to dwnld the Enterprise service wsdl....
    uncheck the wsdl validator check box in NWDS...
    I suggest u first try to consume the wsdl by importing it locally...
    just follow this blog by Boris step by step..
    /people/boris.mohr/blog/2007/01/23/how-to-guide-for-consuming-a-web-service-with-a-standalone-client-using-sap-netweaver-application-server-javatm-ee-5-edition
    Once u r able to do this..then u can try to consume it from service registry
    Edited by: Mohd Tauseef Ibrahim on Jun 26, 2008 2:28 PM
    Edited by: Mohd Tauseef Ibrahim on Jun 26, 2008 2:30 PM

  • Setting up the Soap Header when consuming a web service.

    Hi SDN,
    I am trying to consume a web service,where I need to pass the soap header for sending the request to the sever.
    I am using if_ws_protocol_ws_header->SET_REQUEST_HEADER to set the Username and Password to the soap header. After a lot of trouble shooting I came to conclusion that the Username and Password are not being updated in soap header.
    I want to know how to set the soap header? I have tested the web service in the SOAP UI testing tool and it works fine taking the credentials. The webservice is using HTTPS protocol.Do we have any separate config for https. Do I need to pass the nonce and date created in the soap header for sure ? And is there any thing to be configured by basis team?
    Here is what I am trying to pass:
    ' <soapenv:Header>'
          '<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">'
             '<wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">'
                '<wsse:Username>XXXXXXX</wsse:Username>'
                '<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXXX</wsse:Password>'
                '</wsse:UsernameToken>'
         ' </wsse:Security>'
          '/soapenv:Header>'
    Thank you.

    CONCATENATE
    '<soapenv:Header>'
    '<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"'
    'xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"'
    'xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">'
    '<wsse:UsernameToken>'
    '<wsse:Username>XXXXXX</wsse:Username>'
    '<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXXXX</wsse:Password>'
    '<wsse:Nonce>' XXXXX'</wsse:Nonce>'
    '<wsu:Created>' XXXXX '</wsu:Created>'
    '</wsse:UsernameToken>'
    '</wsse:Security>'
    '</soapenv:Header>'
       INTO l_string.
    I solved my self and its working , Here is what I was passed.
    Thank you guys.

  • Error in consuming a web service

    hi experts,
    i want to communicate to a non SAP legacy system from SAP system through web services. in this process the legacy system has released a web service which i am supposed to consume in SAP system but when i try to create proxy object and i put URL, it gives me error as 'HTTP error (return code 400, message "ICM_HTTP_CONNECTION_FAILED")'. whereas when i create a web service in sap(crm) and try to consume it in sap(r/3) it easily allows me to create proxy object when i put the URL.
    one thing i noticed is if i execute the report 'rswf_test_http' which tests http connection and give URL of web service created in sap it shows successful execution but if i give URL of legacy system web service it shows red signal with error 'HTTP-Receive: RC=400  ICM_HTTP_CONNECTION_FAILED'.
    please help me on this.
    thanks in advance,
    sagar.

    I am not passing any parameters to the method (it has no parameters).  On the ColdFusion side I do not use i1 anywhere.  I will check with the .net developer on Monday to see if he is using it anywhere in his code.  If he is he is using in consistently as the only methods that work from his service are those that do not have an ID property.  All services with an ID property give me the same error message.

  • Error While Consuming Public Web Service through Stand Alone Proxy

    Hi,
    I am getting the below error when I am consuming a public web service through Stand Alone Proxy.
    java.rmi.RemoteException: Service call exception; nested exception is:
         com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (407) Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied.  ).
         at com.mindtree.examples.GlobalWeatherSoapStub.getCitiesByCountry(GlobalWeatherSoapStub.java:159)
         at com.mindtree.examples.GlobalWeatherSoapStub.getCitiesByCountry(GlobalWeatherSoapStub.java:168)
         at com.mindtree.examples.WebServiceClient.main(WebServiceClient.java:18)
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (407) Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied.  ).
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:903)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1346)
         at com.mindtree.examples.GlobalWeatherSoapStub.getCitiesByCountry(GlobalWeatherSoapStub.java:152)
         ... 2 more
    Regards,
    Venkatesh

    Hi,
    I am still facing the same issue.
    Regards,
    Venkatesh

  • Error when firing a web service in a pre-open

    Can someone PLEASE help on this? It is getting really frustrating and time-consuming.
    DEVELOPED in LiveCycle 8.05: We have 4 text fields and 4 drop-down fields that all populate from a web service which is activated from a 9th field (network login name). The 4 ddl fields populate with the employee's specific information from the data base as well as a list of all other names (in case a correction is required).
    TESTED in Acrobat Pro 8.1.2: All but 1 of the 8 fields successfully return the employee's specific information and the additional lists. The division name drop-down field is not working, it will not return any data (the app.alerts entered into the code work). And when the field is tested it fatally errors-out and closes the program.
    We are using the following JS for this field (please note we've added app.alerts just to see if the code was working - and they do appear):
    ----- form1.#pageSet[0].Page1.#subform[0].ddlDivision::initialize: - (JavaScript, client) ----------
    WSScriptObj.LoadDdlFromDelimitedStr(txtDivisionResult.formattedValue, this );
    app.alert("in init");
    ----- form1.#pageSet[0].Page1.#subform[0].ddlDivision::preOpen: - (JavaScript, client) -------------
    // set the division drop down based on the dept.
    app.alert("inside preopen");
    //fire the webservice
    xfa.connectionSet.getDivision.execute(0);
    app.alert("after webservice");
    // load the ddl from comma delimited string
    WSScriptObj.LoadDdlFromDelimitedStr(txtDivisionResult.formattedValue, ddlDivision );
    app.alert("after load delimited str");
    WSScriptObj.SetDdlSelected(txtDivisionName.formattedValue,ddlDivision);
    app.alert("after set ddl selected");
    I can send the file if that will assist.

    I am not passing any parameters to the method (it has no parameters).  On the ColdFusion side I do not use i1 anywhere.  I will check with the .net developer on Monday to see if he is using it anywhere in his code.  If he is he is using in consistently as the only methods that work from his service are those that do not have an ID property.  All services with an ID property give me the same error message.

  • Logon Error when Using soap Web Service

    Hi,
      I'm trying to determine why I'm getting the following error message when I submit a Web Service from our Custom Application to SAP.  This error is occurring in SAP ECC 6.0 SPS16 (Quality Client) and we do not have the JAVA Stack installed.  Our currently Production Installation is SAP ECC 6.0 SPS4 it works with out issues, however the Upgrade to SPS16 has produced alot of differences in web services.
    Also note that this service has been tested succesfully using soapUI Version 2.51. and Version 3.5.1 without producing this error.
    The user that is being utilized in all tests is an Internet User only.  I would also like to know if there is away to trace Internet User authorizatiion issues.
    Any help that can be provide is highly appreciated.
    Error Message:
    Logon failed
    What has happened?
    Call of URL http://bagqs1p1.rac.ray.com:1080/sap/bc/srt/rfc/sap/zwd_material_create/200/zwd_material_create/zwd_material_create
    terminated due to error in logon data.
    Note
    Logon performed in system AGQ.
    Logon performed for client 200, user , and language EN.
    What can I do?
    Check that you have entered the client, user, and password correctly.
    If you do not yet have a user ID, contact your system administrator.
    Error Code: ICF-LE-http-c:200-l:E-T:1-C:5-U:84-P:54-L:5
    HTTP 401 - Unauthorized
    Your SAP Internet Communication Framework Team
    Sincerely,
       Cris Anderson

    All of the web services were created in SOAManager if that is what you mean by setting them up in SAP PI.
    I'm guessing that the HTTP Code 200: OK means they are working correctly.
    - <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
      <soap-env:Header />
    - <soap-env:Body>
    - <soap-env:Fault>
      <faultcode>soap-env:Server</faultcode>
      <faultstring xml:lang="en">SRT: Wrong Content-Type and empty HTTP-Body received: ("HTTP Code 200 : OK")</faultstring>
    - <detail>
    - <ns:SystemFault xmlns:ns="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/">
      <Host>undefined</Host>
      <Component>COREMSG</Component>
    - <ChainedException>
      <Exception_Name>CX_SOAP_CORE</Exception_Name>
      <Exception_Text>SRT: Wrong Content-Type and empty HTTP-Body received: ("HTTP Code 200 : OK")</Exception_Text>
      </ChainedException>
      </ns:SystemFault>
    - <ns:SystemFault xmlns:ns="http://www.sap.com/webas/711/soap/runtime/abap/fault/system/">
      <Host>undefined</Host>
      <Component>COREMSG</Component>
    - <ChainedException asx:root="asx:abap" version="1.0" xmlns:asx="http://www.sap.com/abapxml">
    - <asx:values>
      <EXCEPTION href="#o176" />
      </asx:values>
    - <asx:heap xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:abap="http://www.sap.com/abapxml/types/built-in" xmlns:cls="http://www.sap.com/abapxml/classes/global" xmlns:dic="http://www.sap.com/abapxml/types/dictionary">
    - <cls:CX_SOAP_CORE id="o176">
    - <CX_ROOT>
      <TEXTID>0018FE864EEE1DECA69CF9C71ACB337F</TEXTID>
      <PREVIOUS />
      <KERNEL_ERRID />
    - <INTERNAL_SOURCE_POS>
      <PROGID>98</PROGID>
      <CONTID>1113</CONTID>
      </INTERNAL_SOURCE_POS>
      </CX_ROOT>
      <CX_NO_CHECK />
    - <CX_SOAP_CORE>
    - <E_LOCATION>
      <CLASS>CL_SOAP_HTTP_TPBND_ROOT</CLASS>
      <METHOD>get_http_headers</METHOD>
      <ID>3</ID>
      </E_LOCATION>
      <E_TEXT>SRT: Wrong Content-Type and empty HTTP-Body received: ("HTTP Code 200 : OK")</E_TEXT>
      <E_ID>1032</E_ID>
      <E_FAULT_LOCATION>1</E_FAULT_LOCATION>
      <E_AREA>COREMSG</E_AREA>
      <E_HOST>0</E_HOST>
      <E_PROCESS_CONTROL />
      </CX_SOAP_CORE>
      </cls:CX_SOAP_CORE>
      </asx:heap>
      </ChainedException>
      </ns:SystemFault>
      </detail>
      </soap-env:Fault>
      </soap-env:Body>
      </soap-env:Envelope>

  • DCA-40000: internal error when calling a web service

    Hello,
    I would like to call a web service in Oracle UCM with basic authentication (CheckInUniversal). In JDeveloper 11.1.1.2 I can specify username and password for the WS at design time and the JSPX runs fine.
    Now I have added some piece of code into a managed bean (CheckInBean) to use a specific username and password at runtime. When I run the page I get a DCA-40000 with the following error stack:
    <Utils><buildFacesMessage> ADF: Adding the following JSF error message: The Web Service call failed due to an internal error.
    oracle.adf.model.adapter.AdapterException: DCA-40000: The Web Service call failed due to an internal error.
         at oracle.adfinternal.model.adapter.webservice.WSDataControl.invokeOperation(WSDataControl.java:270)
         at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:430)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:257)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1625)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2141)
         at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:467)
         at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:394)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         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:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at integration.view.CheckInBean.execute(CheckInBean.java:134)
         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:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    With debugger I found that it happens when the iterator CheckInUniversalResultIterator is called.
    HTTP Analyzer shows that there are only empty SOAP messages sent to UCM but the correct values are present in the the bean.
    Here is the code of the bean:
    package integration.view;
    import java.util.HashMap;
    import java.io.*;
    import java.util.Properties;
    import javax.el.ELContext;
    import javax.el.ExpressionFactory;
    import javax.el.MethodExpression;
    import javax.el.ValueExpression;
    import javax.faces.application.Application;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ActionEvent;
    import oracle.adf.model.BindingContainer;
    import oracle.adf.model.BindingContext;
    import oracle.adf.model.binding.DCBindingContainer;
    import oracle.adf.model.binding.DCDataControl;
    import oracle.adfinternal.model.adapter.webservice.WSDataControl;
    import oracle.adfinternal.model.adapter.webservice.security.SecurityModel;
    // import oracle.binding.BindingContainer;
    import oracle.webservices.model.Port;
    public class CheckInBean extends SecurityModel {
    private String fileName;
    private String fileContent;
    private HashMap primaryFile;
    String mSavedCSFKey = null;
    public CheckInBean() {
    public void setFileName(String fileName) {
    this.fileName = fileName; }
    public String getFileName() {
    return fileName;
    public void setFileContent(String fileContent) {
    this.fileContent = fileContent;
    public String getFileContent() {
    return fileContent;
    public void setPrimaryFile(HashMap primaryFile) {
    this.primaryFile = primaryFile;
    public HashMap getPrimaryFile() throws IOException {
    FacesContext facesCtx = FacesContext.getCurrentInstance();
    Application app = facesCtx.getApplication();
    ExpressionFactory elFactory = app.getExpressionFactory();
    ELContext elContext = facesCtx.getELContext();
    // gets the value from the managed bean
    fileName = elFactory.createValueExpression(elContext, "#{pageFlowScope.ReportBean.reportName}", Object.class).getValue(elContext).toString();
    System.out.println(fileName);
    // puts the file name and the content into a hash map
    HashMap hashMap = new HashMap();
    hashMap.put("fileName",fileName);
    System.out.println(fileName);
    hashMap.put("fileContent",getFileInBytes(ReportBean.reportPath, fileName));
    return hashMap;
    private static byte[] getFileInBytes(String reportOutputPath, String fileName) throws IOException {
    File file = new File(reportOutputPath,fileName);
    System.out.println(reportOutputPath + "+" + fileName);
    InputStream inputStream = new FileInputStream(file);
    // Get the size of the file
    long size = file.length();
    System.out.println("Size of the file: "+ size);
    // Check that size is not larger than Integer.MAX_VALUE
    if (size > Integer.MAX_VALUE) {
    System.out.println("File too large !!");
    return null;
    // Read the bytes into the byte array
    byte[] byteArray = new byte[(int)size];
    System.out.println("New Byte Array");
    int offset = 0;
    int byteRead = 0;
    while ((offset < byteArray.length)
    ((byteRead=inputStream.read(byteArray, offset, byteArray.length-offset)) >= 0)){
    byteRead = offset + byteRead;
    System.out.println(byteRead);
    inputStream.close();
    return byteArray;
    public void execute(ActionEvent aev) {
    FacesContext fctx = FacesContext.getCurrentInstance();
    Application app = fctx.getApplication();
    ExpressionFactory expF = app.getExpressionFactory();
    ValueExpression ve = expF.createValueExpression(fctx.getELContext(), "#{bindings}", DCBindingContainer.class);
    DCBindingContainer cont = (DCBindingContainer)ve.getValue(fctx.getELContext());
    DCDataControl dc = cont.findDataControl("CheckInECM");
    if(dc.getAdaptedDC() instanceof WSDataControl)
    WSDataControl wsdc = (WSDataControl)dc.getAdaptedDC();
    wsdc.getProvider().setSecurityModel(this);
    // execute the data control method, that was bound to this
    // button's action listener.
    MethodExpression me = expF.createMethodExpression(fctx.getELContext(),
    "${bindings.CheckInUniversal.execute}", Object.class,
    new Class[0]);
    me.invoke(fctx.getELContext(), null);
    // public BindingContainer getBindings() {
    // return (BindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    // override security properties for any policy on the current port
    // before the method execution.
    public void initSecurity(Port thisPort) {
    super.initSecurity(thisPort);
    System.out.println(thisPort.hashCode());
    Properties callP = (Properties)this.getCallProperties(thisPort);
    callP.put("javax.xml.ws.security.auth.username", "sysadmin");
    callP.put("javax.xml.ws.security.auth.password", "welcome1");
    mSavedCSFKey = (String)callP.remove("csf-key");
    this.saveCallProperties(thisPort, callP);
    // Restore the config at the end of the request.
    public void clearSecurityParameters(Port thisPort) {
    super.clearSecurityParameters(thisPort);
    Properties callP = (Properties)this.getCallProperties(thisPort);
    callP.remove("javax.xml.ws.security.auth.username");
    callP.remove("javax.xml.ws.security.auth.password");
    //put back the saved csf key as default...
    callP.put("csf-key", mSavedCSFKey);
    this.saveCallProperties(thisPort, callP);
    }

    If you could enclose your code inside tag it will improve readability for us.
    Anyways, first thing that I could think of is - what is the scope of your managed bean..? If its in request scope can you try changing it to higher scope level (session scope or page view scope).
    regards,
    ~K                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Got error when calling a web service, "XMLParametersToComHashtable:LoadXML failed"

    Hi, I'm using vs2012, c# and asp.net.
    In my asp.net web form project I got the error at the LOC when I call the web service's Search method.  What does this error mean and how do I fix this?  Am I to use some type of reader or loader?  The Search method returns a XMLNode type.
     But I thought using InnerText should be fine but I'm still getting the error.
    thank you.
    var restApi = new someWebServices.restApi();
    strParm1 = restApi.Login(XXXXXXXXXXX);
     var rtnSrv = (restApi.Search(strParm1, strParm2, 1, -1, false, @"<![CDATA[<parameters><parameter name=""XXXXXXXXX"" value=""XXXXXXXXXXXXXXXXXXXXX""/></parameters>]]>")).InnerText;
    Thank you

    There is a Web service section in the ASP.NET forum.
    http://forums.asp.net/

  • Error when calling a web service in PLSQL, "the page could not be displayed

    Hi, I have a simple web service based on a function returning the name of the employee, I tested it against the standalone oc4j instance and it's working fine, but when I try to call it from PLSQL the error "the page could not be displayed" appears.
    What am I doing wrong?
    CREATE OR REPLACE package body p_call_ws is
    function f_query_ws( pIp varchar2 default '100') return varchar2 is
    v_wsresponse varchar2(2000) := null;
    begin
    utl_http.set_proxy('pccproxy', NULL);
    select utl_http.request( 'http://localhost:8888/ws/wsemp?invoke=pNombre&pId='||pIp)
    into v_wsresponse
    from dual;
    return(v_wsresponse);
    end f_query_ws;
    procedure p_call is
    v_wsresponse varchar2(2000) := null;
    begin
    v_wsresponse := f_query_ws('100');
    dbms_output.put_line(v_wsresponse);
    end p_call;
    end p_call_ws;
    =====================
    Whe I call the function in SQLPLUS> select p_call_ws.f_query_ws from dual;
    The output generated is
    Problem-->The page cannot be displayed

    Sorry I cannot help with this utility. What is your database version? In 10.1 and later, the recommended way is using JPublisher. Download JPublisher 10.2 and the webservice callout utility.
    http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
    http://www.oracle.com/technology/sample_code/tech/java/jsp/dbwebservices.html

  • Error while consuming CAF Web Service in ABAP

    Hi experts,
    I need to consume a CAF Web Service in ABAP 7.0. While trying to generate the Proxy Object in SE80 it is thowing an error "Proxy generation terminated: WSDL error. (<extension> not supported)" and terminating the Proxy generation.
    Can anyone please help me out with the solution for this?
    Thanks in Advance.
    Vaishali.

    Hi,
    waiting for reply.....

Maybe you are looking for

  • Installation Problem of weblogic server on Linux

    Hi,I want to install weblogic server on linux but it is raising various exception such as-------------------------------------------java.lang.Class.forName0(Native)java.awt.windowcom.zerog.ia.installer.Main.bjava.lang.reflect.Method.invokecom.zerog.l

  • Purchased album not showing up at all

    So I pre-ordered an EP a couple months ago (Take Me Out by Tom Milsom) and just suddenly remembered the purchase. Of course it's been out a while now. I was charged for the purchase, but I never got the album in my library. So I went back to check, a

  • Alpha channel from photoshop changes on import to FCP

    I'm new to alpha channels. I have an image, to which I added an alpha channel in Photoshop, which now gives me a cut-out of the image. I imported the psd of this into FCP 5.0.4 (I was not allowed by FCP to import a tiff with an alpha channel.) Howeve

  • Azure Website deployed, but does not update

    Hello, I've been activly deploying changes to my Azure Website for a couple of days, has worked great. I've used both Git and WebDeploy. However, now all of a sudden it appears as if changes does not get picked up. The correct files are on the server

  • Tab going to a new line when end of line is reached

    In most text editors, when you hold the tab key down, the cursor goes from tab stop to tab stop across the line. When end of the line is reached, the cursor goes to the next line, again goes from tab stop to tab stop on the new line, and so on. You e