Problems in authentication while accessing WSDL from  Sharepoint

I am trying to access objects from a SharePoint on my company site, which requires Authentication and Authorization in order to access  the same. I have written a client and am trying to access the WSDL using Axis 1.0.
I am  getting an authentication error whiletyring to access the same . The details are listed below.  Is there any workaround you may be knowing to get over this firewall problem, that they may be facing ?
Exception in thread "main" AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultString: (401)Unauthorized
faultActor: null
faultDetail:
      null: return code:  401
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>You are not authorized to view this page</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<STYLE type="text/css">
  BODY { font: 8pt/12pt verdana }
  H1 { font: 13pt/15pt verdana }
  H2 { font: 8pt/12pt verdana }
  A:link { color: red }
  A:visited { color: maroon }
</STYLE>
</HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD>
<h1>You are not authorized to view this page</h1>
You do not have permission to view this directory or page using the credentials that you supplied because your Web browser is sending a WWW-Authenticate header field that the Web server is not configured to accept.
<hr>
<p>Please try the following:</p>
<ul>
<li>Contact the Web site administrator if you believe you should be able to view this directory or page.</li>
<li>Click the <a href="javascript:location.reload()">Refresh</a> button to try again with different credentials.</li>
</ul>
<h2>HTTP Error 401.2 - Unauthorized: Access is denied due to server configuration.<br>Internet Information Services (IIS)</h2>
<hr>
<p>Technical Information (for support personnel)</p>
<ul>
<li>Go to <a href="http://go.microsoft.com/fwlink/?linkid=8180">Microsoft Product Support Services</a> and perform a title search for the words <b>HTTP</b> and <b>401</b>.</li>
<li>Open <b>IIS Help</b>, which is accessible in IIS Manager (inetmgr),
and search for topics titled <b>About Security</b>, <b>Authentication</b>, and <b>About Custom Error Messages</b>.</li>
</ul>
</TD></TR></TABLE></BODY></HTML>

As a workaround I can start the application in debug mode, log into the Weblogic console and stop then restart the deployment and this issue goes away, sort of a pain but it does work.

Similar Messages

  • How to make report with access 2010 from SharePoint Discussion lists 2013

    HI,
    I want to make an access report from SharePoint Discussion lists 2013. When i open the list with access, the body of the list is in HTML format in access. Also if i reply something to one subject in the discussion, the reply is not mapped to that subject
    but instead it is shown as a separate entry in the database.
    Anyone can please help?
    SAN
    Santhiya
    Santhiya

    Hi Santhiya,
    I have seen a similar post from you, my understanding is that you wonder that the reply is mapped to the related subject. You can take a look at Daniel's reply in the following thread:
    http://social.technet.microsoft.com/Forums/en-US/dfb5bcb9-0076-412a-b34f-46aa9cfba876/how-to-make-report-with-access-2010-from-sharepoint-discussion-lists-2013?forum=sharepointgeneral
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Problem while genearting WSDL from ABAP

    Hi all
    I have encountered a problem.I created a WSDL from a ABAP program,but in the ABAP function module what it does is it inserts value onto a transparent table from a table which let me specify as a virtual table.So after generating the wsdl i am surprised to see the virtual table has come in the output part .I am unable to make out why this happened.
    i am mentioning below the ABAP code which inserts value on to a transparent table from a virtual table
    Code-Function module-smlg_modify
    <u>virtual table Definition</u>
    "table with items for insertion
      DATA INS_TAB LIKE RZLLITAB OCCURS 0 WITH HEADER LINE.
    DESCRIBE TABLE MODIFICATIONS LINES ITEMS.
    LOOP AT MODIFICATIONS.
        MODIFICATIONS-GROUPTYPE = GROUPTYPE.
        CASE MODIFICATIONS-MODIFICATN.
          WHEN 'I'. "insertion of an item
            INS_TAB = MODIFICATIONS.
            APPEND INS_TAB.
    END LOOP
    DESCRIBE TABLE INS_TAB LINES ITEMS.
      IF ITEMS > 0.
        INSERT RZLLITAB FROM TABLE INS_TAB-->(one i mentioned as virtual.)
      ENDIF.
    In such a case how comes the virtual comes as the output in wsdl
    I am mentioning below the the wsdl
    <----
    >
    <?xml version="1.0" encoding="ASCII"?>
    <wsdl:definitions xmlns:ctc="http://sap.com/ctc" xmlns:ctc-bapi="http://www.sap.com/ctc/abapprovider" xmlns:ctc_ref="urn:example/encoded" xmlns:ctclib="http://sap.com/ctc/schema/lib" xmlns:plnk="http://schema.xmlsoap.org/ws/2003/05/partner-link" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://sap.com/ctc/services" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SMLG_MODIFYServiceDefinition" targetNamespace="http://sap.com/ctc/services">
      <wsdl:types>
    <xsd:schema xmlns:tns="http://sap.com/ctc/services" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://sap.com/ctc/services">
    <xsd:element name="GROUPTYPE" type="xsd:string"/>
    <xsd:element name="SET_LOCK" type="xsd:string"/>
    <xsd:complexType name="ERFC_MODIFICATIONS">
    <xsd:sequence>
    <xsd:element name="CLASSNUM" type="xsd:int"/>
    <xsd:element name="CLASSNAME" type="xsd:string"/>
    <xsd:element name="GROUPTYPE" type="xsd:string"/>
    <xsd:element name="TIMERERD" type="xsd:int"/>
    <xsd:element name="LOGRERD" type="xsd:int"/>
    <xsd:element name="FAVTYPE" type="xsd:string"/>
    <xsd:element name="MODIFICATN" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="ERFC_MODIFICATIONS" type="tns:ERFC_MODIFICATIONS"/>
    <xsd:element name="CLASSNUM" type="xsd:int"/>
    <xsd:element name="CLASSNAME" type="xsd:string"/>
    <xsd:element name="GROUPTYPE" type="xsd:string"/>
    <xsd:element name="TIMERERD" type="xsd:int"/>
    <xsd:element name="LOGRERD" type="xsd:int"/>
    <xsd:element name="FAVTYPE" type="xsd:string"/>
    <xsd:element name="MODIFICATN" type="xsd:string"/>
    </xsd:schema>
    </wsdl:types>
      <wsdl:message name="SMLG_MODIFYInput">
        <wsdl:part name="GROUPTYPE" type="xsd:string"/>
        <wsdl:part name="SET_LOCK" type="xsd:string"/>
      </wsdl:message>
      <wsdl:message name="SMLG_MODIFYOutput">
        <wsdl:part name="ERFC_MODIFICATIONS" type="tns:ERFC_MODIFICATIONS"/>
        <wsdl:part name="CLASSNUM" type="xsd:int"/>
        <wsdl:part name="CLASSNAME" type="xsd:string"/>
        <wsdl:part name="GROUPTYPE" type="xsd:string"/>
        <wsdl:part name="TIMERERD" type="xsd:int"/>
        <wsdl:part name="LOGRERD" type="xsd:int"/>
        <wsdl:part name="FAVTYPE" type="xsd:string"/>
        <wsdl:part name="MODIFICATN" type="xsd:string"/>
      </wsdl:message>
      <wsdl:portType name="SMLG_MODIFYPT">
        <wsdl:operation name="SMLG_MODIFYOperation">
          <wsdl:input message="SMLG_MODIFYInput"/>
          <wsdl:output message="SMLG_MODIFYOutput"/>
          <wsdl:fault message="ctclib:BAPIException" name="BAPIException"/>
        </wsdl:operation>
      </wsdl:portType>
      <wsdl:binding name="SMLG_MODIFYBinding" type="SMLG_MODIFYPT">
        <ctc:binding transport="com.sap.mw.jco"/>
        <wsdl:operation name="SMLG_MODIFYOperation">
          <ctc-bapi:function name="SMLG_MODIFY"/>
          <wsdl:input>
            <ctc:body encodingStyle="ctc:SCHEMA2ABAP">
              <ctc-bapi:partbinding name="GROUPTYPE">
                <field elementname="GROUPTYPE">
                  <name>GROUPTYPE</name>
                  <type>CHAR</type>
                </field>
              </ctc-bapi:partbinding>
              <ctc-bapi:partbinding name="SET_LOCK">
                <field elementname="SET_LOCK">
                  <name>SET_LOCK</name>
                  <type>CHAR</type>
                </field>
              </ctc-bapi:partbinding>
            </ctc:body>
          </wsdl:input>
          <wsdl:output>
            <ctc:body encodingStyle="ctc:SCHEMA2ABAP">
              <ctc-bapi:partbinding name="ERFC_MODIFICATIONS">
                <table elementname="ERFC_MODIFICATIONS" jcoName="ERFC_MODIFICATIONS">
                  <structure elementname="RZLLIMODGP" jcotype="RZLLIMODGP">
                    <field elementname="CLASSNUM">
                      <name>CLASSNUM</name>
                      <type>NUMC</type>
                    </field>
                    <field elementname="CLASSNAME">
                      <name>CLASSNAME</name>
                      <type>CHAR</type>
                    </field>
                    <field elementname="GROUPTYPE">
                      <name>GROUPTYPE</name>
                      <type>CHAR</type>
                    </field>
                    <field elementname="TIMERERD">
                      <name>TIMERERD</name>
                      <type>NUMC</type>
                    </field>
                    <field elementname="LOGRERD">
                      <name>LOGRERD</name>
                      <type>NUMC</type>
                    </field>
                    <field elementname="FAVTYPE">
                      <name>FAVTYPE</name>
                      <type>CHAR</type>
                    </field>
                    <field elementname="MODIFICATN">
                      <name>MODIFICATN</name>
                      <type>CHAR</type>
                    </field>
                  </structure>
                </table>
              </ctc-bapi:partbinding>
              <ctc-bapi:partbinding name="CLASSNUM">
                <field elementname="CLASSNUM">
                  <name>CLASSNUM</name>
                  <type>NUMC</type>
                </field>
              </ctc-bapi:partbinding>
              <ctc-bapi:partbinding name="CLASSNAME">
                <field elementname="CLASSNAME">
                  <name>CLASSNAME</name>
                  <type>CHAR</type>
                </field>
              </ctc-bapi:partbinding>
              <ctc-bapi:partbinding name="GROUPTYPE">
                <field elementname="GROUPTYPE">
                  <name>GROUPTYPE</name>
                  <type>CHAR</type>
                </field>
              </ctc-bapi:partbinding>
              <ctc-bapi:partbinding name="TIMERERD">
                <field elementname="TIMERERD">
                  <name>TIMERERD</name>
                  <type>NUMC</type>
                </field>
              </ctc-bapi:partbinding>
              <ctc-bapi:partbinding name="LOGRERD">
                <field elementname="LOGRERD">
                  <name>LOGRERD</name>
                  <type>NUMC</type>
                </field>
              </ctc-bapi:partbinding>
              <ctc-bapi:partbinding name="FAVTYPE">
                <field elementname="FAVTYPE">
                  <name>FAVTYPE</name>
                  <type>CHAR</type>
                </field>
              </ctc-bapi:partbinding>
              <ctc-bapi:partbinding name="MODIFICATN">
                <field elementname="MODIFICATN">
                  <name>MODIFICATN</name>
                  <type>CHAR</type>
                </field>
              </ctc-bapi:partbinding>
            </ctc:body>
          </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
      <wsdl:service name="SMLG_MODIFYService">
        <wsdl:port binding="SMLG_MODIFYBinding" name="SMLG_MODIFYServicePort"/>
      </wsdl:service>
    </wsdl:definitions>
    >
    My purpose is to create a .cproc file which will pass values to this wsdl file.I dont know how to pass as the table which the function module accepts as input is output in wsdl.so i am not aware how to pass value.Kindly help me out how to create a .cproc file for it
    Thanks
    Neeta

    It is not finding the correct URL - hence the 404 - page not found error.
    Correct the URL and try again.

  • Problem while craeting WSDL from ABAP

    Hi all
    I have encountered a problem.I created a WSDL from a ABAP program,but in the ABAP function module what it does is it inserts value onto a transparent table from a table which let me specify as a virtual table.So after generating the wsdl i am surprised to see the virtual table has come in the output part .I am unable to make out why this happened.
    i am mentioning below the ABAP code which inserts value on to a transparent table from a virtual table
    Code-Function module-smlg_modify
    <u>virtual table Definition</u>
    "table with items for insertion
      DATA INS_TAB LIKE RZLLITAB OCCURS 0 WITH HEADER LINE.
    DESCRIBE TABLE MODIFICATIONS LINES ITEMS.
    LOOP AT MODIFICATIONS.
        MODIFICATIONS-GROUPTYPE = GROUPTYPE.
        CASE MODIFICATIONS-MODIFICATN.
          WHEN 'I'. "insertion of an item
            INS_TAB = MODIFICATIONS.
            APPEND INS_TAB.
    END LOOP
    DESCRIBE TABLE INS_TAB LINES ITEMS.
      IF ITEMS > 0.
        INSERT RZLLITAB FROM TABLE INS_TAB-->(one i mentioned as virtual.)
      ENDIF.
    In such a case how comes the virtual comes as the output in wsdl
    I am mentioning below the the wsdl
    <----
    >
    <?xml version="1.0" encoding="ASCII"?>
    <wsdl:definitions xmlns:ctc="http://sap.com/ctc" xmlns:ctc-bapi="http://www.sap.com/ctc/abapprovider" xmlns:ctc_ref="urn:example/encoded" xmlns:ctclib="http://sap.com/ctc/schema/lib" xmlns:plnk="http://schema.xmlsoap.org/ws/2003/05/partner-link" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://sap.com/ctc/services" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SMLG_MODIFYServiceDefinition" targetNamespace="http://sap.com/ctc/services">
      <wsdl:types>
    <xsd:schema xmlns:tns="http://sap.com/ctc/services" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://sap.com/ctc/services">
    <xsd:element name="GROUPTYPE" type="xsd:string"/>
    <xsd:element name="SET_LOCK" type="xsd:string"/>
    <xsd:complexType name="ERFC_MODIFICATIONS">
    <xsd:sequence>
    <xsd:element name="CLASSNUM" type="xsd:int"/>
    <xsd:element name="CLASSNAME" type="xsd:string"/>
    <xsd:element name="GROUPTYPE" type="xsd:string"/>
    <xsd:element name="TIMERERD" type="xsd:int"/>
    <xsd:element name="LOGRERD" type="xsd:int"/>
    <xsd:element name="FAVTYPE" type="xsd:string"/>
    <xsd:element name="MODIFICATN" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="ERFC_MODIFICATIONS" type="tns:ERFC_MODIFICATIONS"/>
    <xsd:element name="CLASSNUM" type="xsd:int"/>
    <xsd:element name="CLASSNAME" type="xsd:string"/>
    <xsd:element name="GROUPTYPE" type="xsd:string"/>
    <xsd:element name="TIMERERD" type="xsd:int"/>
    <xsd:element name="LOGRERD" type="xsd:int"/>
    <xsd:element name="FAVTYPE" type="xsd:string"/>
    <xsd:element name="MODIFICATN" type="xsd:string"/>
    </xsd:schema>
    </wsdl:types>
      <wsdl:message name="SMLG_MODIFYInput">
        <wsdl:part name="GROUPTYPE" type="xsd:string"/>
        <wsdl:part name="SET_LOCK" type="xsd:string"/>
      </wsdl:message>
      <wsdl:message name="SMLG_MODIFYOutput">
        <wsdl:part name="ERFC_MODIFICATIONS" type="tns:ERFC_MODIFICATIONS"/>
        <wsdl:part name="CLASSNUM" type="xsd:int"/>
        <wsdl:part name="CLASSNAME" type="xsd:string"/>
        <wsdl:part name="GROUPTYPE" type="xsd:string"/>
        <wsdl:part name="TIMERERD" type="xsd:int"/>
        <wsdl:part name="LOGRERD" type="xsd:int"/>
        <wsdl:part name="FAVTYPE" type="xsd:string"/>
        <wsdl:part name="MODIFICATN" type="xsd:string"/>
      </wsdl:message>
      <wsdl:portType name="SMLG_MODIFYPT">
        <wsdl:operation name="SMLG_MODIFYOperation">
          <wsdl:input message="SMLG_MODIFYInput"/>
          <wsdl:output message="SMLG_MODIFYOutput"/>
          <wsdl:fault message="ctclib:BAPIException" name="BAPIException"/>
        </wsdl:operation>
      </wsdl:portType>
      <wsdl:binding name="SMLG_MODIFYBinding" type="SMLG_MODIFYPT">
        <ctc:binding transport="com.sap.mw.jco"/>
        <wsdl:operation name="SMLG_MODIFYOperation">
          <ctc-bapi:function name="SMLG_MODIFY"/>
          <wsdl:input>
            <ctc:body encodingStyle="ctc:SCHEMA2ABAP">
              <ctc-bapi:partbinding name="GROUPTYPE">
                <field elementname="GROUPTYPE">
                  <name>GROUPTYPE</name>
                  <type>CHAR</type>
                </field>
              </ctc-bapi:partbinding>
              <ctc-bapi:partbinding name="SET_LOCK">
                <field elementname="SET_LOCK">
                  <name>SET_LOCK</name>
                  <type>CHAR</type>
                </field>
              </ctc-bapi:partbinding>
            </ctc:body>
          </wsdl:input>
          <wsdl:output>
            <ctc:body encodingStyle="ctc:SCHEMA2ABAP">
              <ctc-bapi:partbinding name="ERFC_MODIFICATIONS">
                <table elementname="ERFC_MODIFICATIONS" jcoName="ERFC_MODIFICATIONS">
                  <structure elementname="RZLLIMODGP" jcotype="RZLLIMODGP">
                    <field elementname="CLASSNUM">
                      <name>CLASSNUM</name>
                      <type>NUMC</type>
                    </field>
                    <field elementname="CLASSNAME">
                      <name>CLASSNAME</name>
                      <type>CHAR</type>
                    </field>
                    <field elementname="GROUPTYPE">
                      <name>GROUPTYPE</name>
                      <type>CHAR</type>
                    </field>
                    <field elementname="TIMERERD">
                      <name>TIMERERD</name>
                      <type>NUMC</type>
                    </field>
                    <field elementname="LOGRERD">
                      <name>LOGRERD</name>
                      <type>NUMC</type>
                    </field>
                    <field elementname="FAVTYPE">
                      <name>FAVTYPE</name>
                      <type>CHAR</type>
                    </field>
                    <field elementname="MODIFICATN">
                      <name>MODIFICATN</name>
                      <type>CHAR</type>
                    </field>
                  </structure>
                </table>
              </ctc-bapi:partbinding>
              <ctc-bapi:partbinding name="CLASSNUM">
                <field elementname="CLASSNUM">
                  <name>CLASSNUM</name>
                  <type>NUMC</type>
                </field>
              </ctc-bapi:partbinding>
              <ctc-bapi:partbinding name="CLASSNAME">
                <field elementname="CLASSNAME">
                  <name>CLASSNAME</name>
                  <type>CHAR</type>
                </field>
              </ctc-bapi:partbinding>
              <ctc-bapi:partbinding name="GROUPTYPE">
                <field elementname="GROUPTYPE">
                  <name>GROUPTYPE</name>
                  <type>CHAR</type>
                </field>
              </ctc-bapi:partbinding>
              <ctc-bapi:partbinding name="TIMERERD">
                <field elementname="TIMERERD">
                  <name>TIMERERD</name>
                  <type>NUMC</type>
                </field>
              </ctc-bapi:partbinding>
              <ctc-bapi:partbinding name="LOGRERD">
                <field elementname="LOGRERD">
                  <name>LOGRERD</name>
                  <type>NUMC</type>
                </field>
              </ctc-bapi:partbinding>
              <ctc-bapi:partbinding name="FAVTYPE">
                <field elementname="FAVTYPE">
                  <name>FAVTYPE</name>
                  <type>CHAR</type>
                </field>
              </ctc-bapi:partbinding>
              <ctc-bapi:partbinding name="MODIFICATN">
                <field elementname="MODIFICATN">
                  <name>MODIFICATN</name>
                  <type>CHAR</type>
                </field>
              </ctc-bapi:partbinding>
            </ctc:body>
          </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
      <wsdl:service name="SMLG_MODIFYService">
        <wsdl:port binding="SMLG_MODIFYBinding" name="SMLG_MODIFYServicePort"/>
      </wsdl:service>
    </wsdl:definitions>
    >
    My purpose is to create a .cproc file which will pass values to this wsdl file.I dont know how to pass as the table which the function module accepts as input is output in wsdl.so i am not aware how to pass value.Kindly help me out how to create a .cproc file for it
    Thanks
    Neeta

    It is not finding the correct URL - hence the 404 - page not found error.
    Correct the URL and try again.

  • Error while accessing table from procedure but no error from anonymous plsq

    Hi All,
    I am getting a strange error while accessing a table from a different schema.
    In that concerned schema OWBSYS, i executed the following:
    grant Select on wb_rt_audit to ods;In Ods schema i executed:
    CREATE OR REPLACE SYNONYM wb_rt_audit FOR OWBSYS.wb_rt_audit;In ODS schema, when i execute:
    create or replace
    procedure pp_test as
    lv_owb_reject number := 0;
    lv_filename_1 varchar2(200):= 'asda';
    begin
        SELECT MAX(aud.rta_iid) into lv_owb_reject
                              FROM   wb_rt_audit aud
                              WHERE  aud.rta_lob_name LIKE Upper(lv_filename_1)
    end;
    /I get the error:
    Warning: execution completed with warning
    procedure Compiled.
    ORA-00942 - TABLE OR VIEW DOES NOT EXISTHowever, when i execute as an anonymous plsql the same code:
    declare
    lv_owb_reject number := 0;
    lv_filename_1 varchar2(200):= 'asda';
    begin
        SELECT MAX(aud.rta_iid) lv_owb_reject
                              FROM   wb_rt_audit aud
                              WHERE  aud.rta_lob_name LIKE Upper(lv_filename_1)
    end;
    anonymous block completedthere is no issue.
    Can someone help me understand what I might be missing:
    Edited by: Chaitanya on Feb 28, 2012 12:31 AM

    Check if have some other steps.
    SQL>conn scott1/tiger
    Connected.
    SQL>create table wb_rt_audit (rta_iid number);
    Table created.
    SQL>insert into wb_rt_audit values (100);
    1 row created.
    SQL>insert into wb_rt_audit values (200);
    1 row created.
    SQL>commit;
    Commit complete.
    SQL>grant select  on wb_rt_audit to scott2;
    Grant succeeded.
    SQL>conn scott2/tiger
    Connected.
    SQL>create synonym wb_rt_audit for scott1.wb_rt_audit;
    Synonym created.
    SQL>create or replace procedure pp_test as
        l_number number(10);
        begin
            SELECT MAX(rta_iid) into l_number
                                  FROM   wb_rt_audit;
      end pp_test;
    Procedure created.

  • B1WS - (401)Unauthorized Error while accessing Webservice from JAVA

    Hi,
    While accessing B1WS getting the following error.
    Please help us to resolve the error
    {http://xml.apache.org/axis/}HttpErrorCode:401
    (401)Unauthorized
        at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    Here is the Code :
    public class Test {
    //     public static final java.lang.String _dst_MSSQL2008 = "dst_MSSQL2008";
         public static final LoginDatabaseType dst_MSSQL2008 = new LoginDatabaseType("dst_MSSQL2008");
         public static final LoginLanguage ln_English = new LoginLanguage("ln_English");
        public static void main(String[] arg) throws ServiceException, IOException
            LoginServiceSoapStub login = (LoginServiceSoapStub) new LoginServiceLocator().getLoginServiceSoap(new URL("http://10.10.5.115/sapb1web/WebReferences/LoginService.wsdl"));
        try {
            login.login("ESPL-LAP-048", "INDIAHEAD", dst_MSSQL2008,"manager", "12345", ln_English, "ESPL-LAP-048:30000");
        } catch (Exception e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
            System.out.println("Error "+e.getMessage());
    Thanks
    Ravi Shankar

    Hi,
    Not sure this is right forum to post. You may try post in SDK forum to get quick response.
    Thanks & Regards,
    Nagarajan

  • Getting Error While accessing Accounts from oim

    Hi All,
    I am getting an exception while accessing user accounts from oim through the jdeveloper(I m giving UserId as input)
    Exception:
    avax.ejb.EJBAccessException: [EJB:010160]Security Violation: User: '<anonymous>' has insufficient permission to access EJB: type=<ejb>, application=oim#11.1.2.0.0, module=iam-ejb.jar, ejb=ProvisioningService, method=getAccountsProvisionedToUserx, methodInterface=Remote, signature={java.lang.String,java.lang.String}.
         at weblogic.ejb.container.internal.MethodDescriptor.checkMethodPermissionsBusiness(MethodDescriptor.java:581)
         at weblogic.ejb.container.internal.BaseRemoteObject.checkMethodPermissions(BaseRemoteObject.java:111)
         at weblogic.ejb.container.internal.BaseRemoteObject.preInvoke(BaseRemoteObject.java:274)
         at weblogic.ejb.container.internal.StatelessRemoteObject.__WL_preInvoke(StatelessRemoteObject.java:41)
         at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:24)
         at oracle.iam.provisioning.api.ProvisioningService_p7m7x_ProvisioningServiceRemoteImpl.getAccountsProvisionedToUserx(Unknown Source)
         at oracle.iam.provisioning.api.ProvisioningService_p7m7x_ProvisioningServiceRemoteImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Process exited with exit code 0.

    Which user are you using for creating connection with OIM ?
    Which method are you using to create connection with OIM ?
    Re: OIMClient login throwing AuthenticationException execption (FOR R2)

  • Error code -17306 while accessing container from TestStand

    Hi,
    I am getting an error -17306 while accessing the TestStand container present in Station Globals using invoke node property object. Please find below the code snippet.
    Thanks,
    Neha

    Hi
    I am not sure too, how to obtain sequence context from TS application manager. However, did you try using the lookupstring as "StationGlobals.UUT1.Name" or as "FileGlobals.UUT1.Name"?
    I think, the reference to globals will include Station Globals and File Globals. so, you might have to be specific in the lookup string.
    the error says the name of the variable or property is not valid.
    also, you wired "0" which means do not create the variable if not found. is that what you wanted to configure?

  • Problem with Permissions while accessing Portal Content

    Dear All,
    Im facing some problems with the permission in accessing the portal content.
    When i right click on any of the folders in the catalog displayed under the System Administration - > System Configuration -> System Landscape -> Content directory provided by SAP . I get the following Menu options on right click -> NEW -- > Folder, Change ID, Copy, Delete.
    I dont get a option such as NEW --> System(from template) which is important to configure the ABAP ECC 6.0 System with the EP 7.0 to enable logon through  the Portal to access the ABAP  Database through Web browser.
    I have installed EP 7.0 JAVA stack alone separately and ECC 6.0 ABAP stack alone separately.
    I have tried assigning System Admin Role, Super User Role, Group as Administrators. But nothing seems to work.
    Im not sure of the roles to be assigned.
    thanks,
    Deepak
    Edited by: Deepak M on Jul 1, 2009 1:16 PM

    Deepak,
    Try giving the foll roles,
    pcd:portal_content/administrator/super_admin/super_admin_role
    and groups,
    SAP_J2EE_ADMIN
    Authenticated Users (GRUP.SUPER_GROUPS_DATASOURCE.AUTHENTICATED_USERS)
    Vikram

  • Error while accessing data from MS Access DB through Window AD architec

    Dear Members,
    Iam having a BO 3.0 installation on a standalone PC with the basic tomcat and mysql setup... As a test environment, Now while designing universes i can easily connect to Oracle EBS structure also SQL server DB ... the problem is when iam linking to a MS Access DB through a network drive (its all ok in the designer) but while in Webi while runnning the query, it throws an error of (WIS 10901 .... database error DSN not specified)
    I have configured ODBC properly also given appropriate rights for the users and strangely the same universe is running well with my thick client desktop and webi rich client
    (so iam sure its not a odbc issue)
    Looking forward for any comments on this problem

    possibly the account running the webi report server doesn't have access to the drive. Is it local system? Try using the same account you are logged into the webi rich client as, but you will most likely need to grant that account local admin on the server so it can run the service.
    Regards,
    Tim

  • Error while accessing Livecache from LC10

    We had a problem on our APO system that dialog work processes are hanging on the central instance showing semaphores 26 (enqueue table) and 43 (rspo cache).
    The dwstat logfile indicates that the enqueue process is running (with the longest processing time of all processes), while the spool process is stuck with semaphere 26 on "global actions".
    The problem is mostly likely caused by a bug in SAP and two recent SAP notes were found that describe the situation: note 1293472 and note 661487.
    The first one states to update the kernel and set rspo/event_update_nocsec = 1, the second one to add an entry to the table TSPOPTIONS.
    now we are upgrading the SAP Kernel to Patch Level 221 that was released on Aug 28.
    kernel release                700 - 64 BIT - Non-Unicode
    But after upgrading the kernel to the patch 221 we are not able to access livecache through LC10, LC10 hangs for a while and then fails with a RFC error
    Name and Server : LS5 u2013 plsapas500
    DBMRFC Function : DBM_CONNECT
    Error: Communication Error
    Error Message: Error when opening a RFC connection
    further we found that the RFC connection SAPDB_DBM_DAEMO is not registered for program dbmrfc@sapdb.
    tried to register it but no success....
    this problem was not faced with old Kernel havin patch 185
    kindly suggest
    thanks & regards,
    Deepak

    hello,
    Can you check the connection test in db59 and check the detailed log.
    check this if helpful:   Re: LC10: system error
    thanks,
    Prasanna Kulkarni

  • Problem to specify database access acount in sharepoint configuration wizard

    I installed sharepoint 2013 and run configuration wizard.  In the page "Specify Confguration Database Settings" and in the section "specify database access acount" I enter my domain admin account user (in DOMAIN\user_name format)
    and pass and I'm sure that I enter it correct. but it say "the password specified for the username account is invalid" !!
    What's the problem?
    Thanks

    Normally that means that the password specified for the account is invalid.
    Double check the account has been created in AD, that it's unlocked and that the password hasn't been configured to require changing on first use. Ideally grant the account permission to log onto a box somewhere and test it.

  • NullPointerException while accessing .Properties from JAR

    Hi,
    I have created a JAR file which contains the .class as well as .properties in my application. Similarly when generating the JAR i have included the respective JAR's as well as the Main class of the app. in the Manifest.MF file.
    Below is the code i am using to load the properties from the LoggerConstants.
    if (properties == null) {
                   try {
                        properties = new Properties();
                        properties.load(Thread.currentThread().getContextClassLoader()
                                  .getResourceAsStream (LoggerConstants.LOGGER_PROPERTIES_PATH));
                        PropertyConfigurator.configure(properties);
                   } catch (IOException ioe) {
                        throw new LoggerException("unable to load file="
                                  + LOGGER_PROPERTIES_PATH, ioe);
    When i access the JAR in other app. by putting that in the build path, i am getting the following exception:-
    Exception in thread "main" java.lang.NullPointerException
         at java.util.Properties$LineReader.readLine(Properties.java:418)
    It seems that it is not able to pick the .properties which is there in the JAR file? But it is able identify the .class file?
    I tried by copying the same in the ANT Class path in eclipse, but still the problem persists. What i need to make sure that the .properties will be identified by the other app (App. 2)? Please shed some light into this.
    Thanks,
    Rithu

    Thanks Guys, the logger.properties will be under the classpath in the eclipse which will be under " src/com/example/logger.properties" directory. To brief , i am going to give this logger app. by compressing it in the JAR and will send to another machine , they need to use this JAR in their application and make use of the LogLevels i have created. The same will be done for other app. as well. So a Single Logger comp. which is build independently will be used by other standalone app. which needs to log the information.
    1) So, when i give the "LoggerComponent" JAR to other application. they should not modify any code (or create any classes) to use the .class or the .properties of the JAR?
    2) .class may not be a problem, but with .properties which may be a problem, hence are you saying that we need to load the logger.properties again in the referenced app. explictly, like wise do it for other app. which is going to use it? Because from my side i will give the Logger Comp. JAR to the other machines, just they need to use it as it is, without any modification in their code.
    3) Moreover when i create a JAR whether i need to package log4j.jar as well as other dependent JAR for the logger app.? So that the other reference app. dont have their own log4j.jar in their system to make use of it? Whether that makes sense or we should package a JAR with other JAR's(dependent JAR of the app.)?
    4) Ok. say if i am going to access the properties in my JAR in the reference app., like:-
    String sConfigFile = "src/com/example/logger.properties";
    InputStream in = LoggerTest.class.getClassLoader().getResourceAsStream(sConfigFile);
    if (in == null) {
         //File not found! (Manage the problem)
    Properties props = new java.util.Properties();
    props.load(in);
    LogManager logManager = new LogManager(); // Main class in the LoggerApplication JAR used in the reference app.
    logManager.logMessage("Test log msg");
    I will load properties and invoke the main class in JAR like above? Please clarify these queries. Thanks for the support
    Thanks,
    rithu

  • Anonymous Logon Error while using SSRS from SharePoint 2013

    I have SQL Reporting Services 2014 for SharePoint installed in SQL Server Box (SQL01) and SharePoint 2013 in a separate box (SPDEV01)
    in SPDEV01 i have installed Add-in for SSRS.
    when i generate a report using report builder i get an error saying Anonymous logon
    initially i got an error (rsClaimsToWindowsTokenLoginTypeError) for windows
    login and i followed the steps from below links
    http://msdn.microsoft.com/en-us/library/hh231678.aspx
    http://blogs.msdn.com/b/psssql/archive/2014/04/28/sharepoint-adventures-using-claims-with-reporting-services.aspx
    i am not able to complete all the steps mentioned in the above links as i have confusion in which box what has to be done and few are not applicable to the environment i guess
    Claims to Windows Token Service is also running
    after successfully completing few steps from the above links i am able to fix rsClaimsToWindowsTokenLoginTypeError but now
    i am getting anonymous logon error
    Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
    Cannot create a connection to data source 'DataSource1'. (rsErrorOpeningConnection)
    An error has occurred during report processing. (rsProcessingAborted)
    the other thing i need to mention is i am using my account as service account, setup account and also as a farm admin, will that
    be an issue?
    i have to use my account as these are development boxes.
    need your inputs to fix this issue

    Hi ,
    Thank you for your question.
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    Thank you for your understanding and support.
    Regards,
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

  • Error while accessing Method from Business Object

    Hello Experts,
    I have created a business object ZBUS7051 by using BUS7051 as a Supertype. I have crated a method GET_DATA in ZBUS7051. If I use BUS7051, Method GET_DATA in a standard task, getting a message that Method GET_DATA not defined for object type BUS7051.
    Why I am getting this error? Is there way I can use BUS7051-GET_DATA instead of ZBUS7051-GET_DATA.
    The workflow triggering event is BUS7051 u2013 CREATED. In the workflow binding, system is showing a warning that u2018Conversion from BO.BUS7051 to BO.ZBUS7051 can cause data-related errorsu2019. How to fix this? Please let me know.
    - Krishna.

    Thanks to everyone.
    I have delegated the custom business object to super type BO 7051. I triggered the workflow using T.Code: SWUE, BO: BUS7051. Event: CREATED. But the workflow is resulted an error as given below.
    Problems occurred when generating a mail
    Error '9' when calling service 'SO_OBJECT_SEND'
    Work item 000000503335: Object BUS7051 method WAIT_1_MINUTE cannot be executed
    Object does not exist
    Object does not exist
    Object does not exist
    Variables of the work item text cannot be generated
    Syntax error in expression &NOTIFICATION.NUMBER&
    (This is a Wait Step, Created in ZBUS7051, Method: WAIT_1_MINUTE)
    Since the delegation has done, I can say BUS7051 - WAIT_1_MINUTE, instead of ZBUS7051- WAIT_1_MINUTE. Is it correct?
    Could some one please let me know, How to fix the above issue?

Maybe you are looking for