Logging a web service

Hi folks,
i'm trying to incorporate logging into my web service development environment but cant seem to get it to work. I'm using AXIS RC1.2 and tomcat 4.
I have put a log4j.properties file into C:\Program Files\Apache\jakarta-tomcat-4.1.31\webapps\axis\WEB-INF\classes and remove the one in axis.jar. This is what it looks like:
# Log4j configuration file.
# Set root logger level to DEBUG and its only appender to A.
log4j.rootCategory=DEBUG, A
# A is a DailyRollingFileAppender
log4j.appender.A=org.apache.log4j.DailyRollingFileAppender
log4j.appender.A.file=C:\Program Files\Apache\jakarta-tomcat-4.1.31\logs\Axis.log
log4j.appender.A.datePattern='.'yyyy-MM-dd
log4j.appender.A.append=true
log4j.appender.A.layout=org.apache.log4j.PatternLayout
log4j.appender.A.layout.ConversionPattern=%-5p %d{ISO8601} [%t] - %m%n...from here I have to import log4j classes and declare a variable in the class I want to log like this
public class DOMGetFlightsXMLImpl implements GetFlightsXMLIF{
      //logger
     static Logger logger = Logger.getLogger(DOMGetFlightsXMLImpl.class);
      private Document doc;
      private Element root;...and I should be able to log with simple logger.debug(" debug message"); right? But sofar there's nothing like C:\Program Files\Apache\jakarta-tomcat-4.1.31\logs\Axis.log

I had problems with log4j too.
OK, one thing you haven't done is set the priority for whatever category your logger is in. With XML-based log4j configuration, I do this with:
  <category name="org.jacksonwest">
    <priority value="DEBUG"/>
  </category>...and all my classes are under 'org.jacksonwest'. I'm pretty sure this is necessary. I don't know how to do it with the properties-style config file - the XML one is way better I reckon :)
What you could also do is turn on debug info for log4j initialisation by passing the option "-Dlog4j.debug" to Tomcat. This tells you what appenders, categories etc log4j is creating.
I've put my full log4j config down below in case that helps.
-Tim
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration debug="true">
  <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
    <param name="Target" value="System.out"/>
    <param name="Threshold" value="DEBUG"/>
    <layout class="org.apache.log4j.PatternLayout">
      <!-- <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/> -->
      <param name="ConversionPattern" value="THPSERVER  : %5L %-20C{1}:%20M : %m%n"/>
    </layout>
  </appender>
  <category name="org.jacksonwest">
    <priority value="DEBUG"/>
  </category>
  <root>   
    <level value="DEBUG"/>
    <appender-ref ref="CONSOLE"/>
  </root>
</log4j:configuration>

Similar Messages

  • (261936172) Q general Are there seperate logs for web services?

    Q<general> Are there seperate logs for web services?
    A<general> It does not appear that there are any separate logs for web services.
    There is knex.log file that records the errors that occur during deployment of
    your .jws files. There is also the standard server log that provides information
    about server status - you can write to this programmatically if you wish. There
    is also the access.log file which record all the HTTP requests so this might cover
    some of your web service requests that are transmitted over HTTP.

    Maybe the user has deniad Access to the Runbook, check in Runbook Designer.
    Seidl Michael | http://www.techguy.at |
    twitter.com/techguyat | facebook.com/techguyat

  • "Cannot log into Web service" error when tying to use Wifi to connect to Google Drive or Facebook

    We have a relatively new Canon Powershot s120.  Up until a few days ago, it worked just fine to connect to the Wifi and upload pictures to both Google Drive and Facebook.  Now, every time I try to connect, I get a message "Cannot log into Web service"
    I have already tried removing Google Drive from the Camera and re-adding it.  I went into the Canon Image Gateway website and disconnected and then reconnected the service.  That didn't do anything.
    Would really appreciate any tips anyone has.
    Thanks!

    Problem sorted - there is a new set of terms and conditions which came out on the 6th August.
    You have to log in under your current user name & password and agree to them and it works again. I spent a frustrating hour doiung this until I found out that this had happened!

  • Connect to Bex query after logging into Web service

    Hello experts,
    After logging into the web service, I see connections for all HANA and BW infoProviders.
    If I click HANA OLAP connection, I see the "next" button. If I click connections to BW InfoProviders, the "Next" button is grayed out, I only have "OK" to click which takes me to the infoProvider.
    I know if I choose "Local System", I can log into BW and find BEx queries.
    Is this by design? Can't we get list of Bex queries under the connection we highlight somehow?
    Thanks.

    Hi Terry - I am not really following this workflow (could be just me)
    Did someone create OLAP connections to BW in the CMC?  Could you use the camera icon to share your screen shots?
    Tammy

  • Unauthorized error on calling a web service

    Hi All,
    I am using the Netweaver trial version 7.01, and I am trying to call a one of the RFM's (SWO_QUERY_*) via Web Services from java. I have generated the required classes using axis, but when i make the call, I get an error - Transport error 404 - Unauthorized.
    I am guessing that this is related to the permissions of the user that i am for http transport authorization, but i am not able to figure out what permissions are missing.
    Please let me know if anyone has come across this.. I've been searching for a solution, but not come across any yet.
    Any help with this is appreciated.
    Regards,
    -Kev.

    Hi,
    The user that i am trying to connect with has admin permissions on the machine where Netweaver is installed, and also has the same roles / profile as SAP* user.
    I enabled logging and from the logs, the web service seems to use BASIC authentication. But I see an error - "Credentials provider not available"
    I've searched around a bit for this, but no luck on a solution. The service is exposed from a standalone machine on a workgroup (there is no domain).
    Please let me know if you have any suggestions.
    Thx,
    -Kev.

  • Secured web service for secured AM method

    Hello,
    I need to invoke method of secured Application Module (jbo.security.enforce = Must) from secured web service.
    I have a simple java class with Configuration.createRootApplicationModule ... and a web service built for this java class.
    I found I have to authentificate users twice. First time when invoking web service (this is ok) and second time when creating application module instance.
    The problem is I can get name of user logged in web service but I cannot get his password. So I cannot login to application module with the same user.
    How can I force adf business components to use user authentificated in web service to use him/her as adf bc user?
    Rado

    Hi Mayank,
    Chapter 7, Custom Serialization of Java Value Types, of the Web services developer guide may be a good place to get started.
    All the best,
    -Eric

  • Web Services - WSDL doubt.

    Hi all,
    I’m sorry to repeat this subject again, but I continue with some doubts…
    I read almost SDN web logs about web services. All they teach, how to configure and develop a simple web services… but the steps to create a web service connection between XI, continues a little bit confused to me…
    To clarify my objective, look at this scenario: With an iview with an upload form, I want to upload an xml file to XI trough web service (soap adapter). NW Portal <-> (web services) <-> XI.
    I don’t have sure what I need to do to configure a scenario like that. Tell me if I’m correct: First I need to create an outbound interface to connect Portal via web services to XI, with a soap adapter?
    In the web logs that I’m read, (/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi) I need to download wsdl files… but who make these wsdl files? I need to make it before configure my soap adapter?
    I don’t understand what is the propose of wsdl files and what is used for!!! I never worked with web services… I’m come from ABAP programming and I’m trying to do the first steps in web technologies. So, I’m sorry if said some mistakes…
    Please, can anybody clarify my doubts? Documentation to help is appreciated.
    Thanks in advance,
    Ricardo.

    Hi Ricardo,
    >>>I don’t have sure what I need to do to configure a scenario like that. Tell me if I’m correct: First I need to create an outbound interface to connect Portal via web services to XI, with a soap adapter?
    yes that's what you have to do:
    1. create an outbound interface
    2. publish a web service based on this interface (sender SOAP adapter)
    >>>In the web logs that I’m read, (/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi) I need to download wsdl files… but who make these wsdl files? I need to make it before configure my soap adapter?
    you need to download wsld file if you want to call
    a web service <b>from</b> XI, since you only want to do Portal -> xi and not XI -> web service then you <b>don't</b> need any
    wsld files
    >>>but who make these wsdl files?
    you will, once you'll define your web service
    on the XI - your Portal iview will use this file
    Regards,
    michal

  • Web Services Round Robin Service Load Balancer Event Endpoint Failure

    I keep seeing these errors in the UlsTraceLogs:
    SharePoint Web Services Round Robin Service Load Balancer Event: EndpointFailure Process Name: OWSTIMER Process ID: 3748 AppDomain Name: DefaultDomain AppDomain ID: 1 Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:9b3095eda69947b299d2f873bbfee5ad#authority=urn:uuid:a01381a61b244525ab4fec30cde9dc5f&authority=https://ApplicationServerName:port/Topology/topology.svc
    Active Endpoints: 2 Failed Endpoints:1 Affected Endpoint:
    http://WFEserverName:port/9b3095eda69947b299d2f873bbfee5ad/ProfileService.svc
    what do these errors mean?

    ok, thanks, I'll have a look at that.
    Going back to my issue...  Since I stopped the User Profile Service on the Application server, now I'm getting these non-stop messages in the log:
    SharePoint Web Services Round Robin Service Load Balancer Event: EndpointFailure Process Name: w3wp Process ID: 6088 AppDomain Name: /LM/W3SVC/261708640/ROOT-1-130709594108226406 AppDomain ID: 2 Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:9b3095eda69947b299d2f873bbfee5ad#authority=urn:uuid:a01381a61b244525ab4fec30cde9dc5f&authority=https://ApplicationServerName:port/Topology/topology.svc
    Active Endpoints: 2 Failed Endpoints:1 Affected Endpoint:
    http://ApplicationServerName:port/9b3095eda69947b299d2f873bbfee5ad/ProfileService.svc
    SharePoint Web Services Round Robin Service Load Balancer Event: EndpointFailure Process Name: OWSTIMER Process ID: 8304 AppDomain Name: DefaultDomain AppDomain ID: 1 Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:9b3095eda69947b299d2f873bbfee5ad#authority=urn:uuid:a01381a61b244525ab4fec30cde9dc5f&authority=https://ApplicationServerName:port/Topology/topology.svc
    Active Endpoints: 2 Failed Endpoints:1 Affected Endpoint:
    http://ApplicationServerName:port/9b3095eda69947b299d2f873bbfee5ad/ProfileService.svc
    This time, the messages are referring to the same server - the Application Server.    In my original question, I should've differentiated the server names when I pasted the message.  Originally the message was referring to the Application
    Server and Affected Endpoint was referring to a WFE.   I'll edit my original post to make it correct.

  • Web services with ipad

    Hi I'm new to iphone development, I'm working in at view based app for ipad in which I need to get information from a web service the problem is that I don't know how to consume the Web Service from the app ....
    Plzz help me with it
    Thanks in advance
    vinit sharma

    Hi,
    Thanks a lot for the reply
    now i am getting the response from web service   but still i have one problem that i am not able to pass parameter to the web service  . my service is taking one string arguments like name (vineet) and the output is "the web service has consumed successfully by vineet".  but here it is showing in the  log "the web service has consumed successfully by null "
    please check the following code .
    #import "MywsdlAppDelegate.h"
    #import "MyserviceWsdlService.h"
    @implementation MywsdlAppDelegate
    @synthesize window;
    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {   
        // Override point for customization after application launch
         MyserviceWsdlBinding *bwsdl=[[MyserviceWsdlService     MyserviceWsdlBinding]retain];
         bwsdl.logXMLInOut=YES;
         MyserviceWsdlService_wsdlOperation      *WsdlRequest=[[MyserviceWsdlService_wsdlOperation new]autorelease];
         WsdlRequest.name=@"vineet";
         [bwsdl wsdlOperationAsyncUsingParameters:WsdlRequest delegate:self];     
        [window makeKeyAndVisible];
         return YES;
    - (void) operation:(MyserviceWsdlBindingOperation *)operation completedWithResponse:(MyserviceWsdlBindingResponse *)response
         NSArray *responseBodyparts = response.bodyParts;
         for(id bodyPart in responseBodyparts)
         if([bodyPart isKindOfClass:[NSError class]]) {
              NSLog(@"this is an error :%@", ((SOAPFault *)bodyPart).simpleFaultString);
              return;
         // Handle faults
         if([bodyPart isKindOfClass:[SOAPFault class]]) {
              NSLog(@"this is a fault :%@",((SOAPFault *)bodyPart).simpleFaultString);
              return;
         // Do something with the NSString* result
         if ([bodyPart isKindOfClass: [MyserviceWsdlService_wsdlOperationResponse class]]) {
              MyserviceWsdlService_wsdlOperationResponse     body =(MyserviceWsdlService_wsdlOperationResponse)bodyPart;
              NSLog(@"the return is  :%@",body.return_);          
    - (void)dealloc {
        [window release];
        [super dealloc];
    Output in the log file is given below
    [Session started at 2011-02-28 23:31:45 -0800.]
    2011-02-28 23:32:03.535 Mywsdl[1454:207] OutputHeaders:
        "Content-Length" = 498;
        "Content-Type" = "text/xml; charset=utf-8";
        Host = "192.168.1.68";
        Soapaction = "";
        "User-Agent" = wsdl2objc;
    2011-02-28 23:32:03.548 Mywsdl[1454:207] OutputBody:
    <?xml version="1.0"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:MyserviceWsdlService="http://model/" xsl:version="1.0">
      <soap:Body>
        <MyserviceWsdlService:wsdlOperation>
          <MyserviceWsdlService:name>vineet</MyserviceWsdlService:name>
        </MyserviceWsdlService:wsdlOperation>
      </soap:Body>
    </soap:Envelope>
    2011-02-28 23:32:06.666 Mywsdl[1454:207] ResponseStatus: 200
    2011-02-28 23:32:06.671 Mywsdl[1454:207] ResponseHeaders:
        "Content-Encoding" = gzip;
        "Content-Type" = "text/xml; charset=utf-8";
        Date = "Tue, 01 Mar 2011 13:34:26 GMT";
        Server = "SAP NetWeaver Application Server 7.20 / AS Java 7.20";
        "Set-Cookie" = "saplb_*=(J2EE2304020)2304050; Version=1; Path=/";
        "Transfer-Encoding" = Identity;
    2011-02-28 23:32:06.674 Mywsdl[1454:207] ResponseBody:
    <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Body><ns2:wsdlOperationResponse xmlns:ns2='http://model/'><return>Web service has successfully consumed by null</return></ns2:wsdlOperationResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
    2011-02-28 23:32:06.677 Mywsdl[1454:207] the return is  :Web service has successfully consumed by null
    thanks and regards
    vineet sharma

  • Web Services SDK secLDAP

    We are converting from the Enterprise SDK to the Web Services SDK and I am having problem with the following snippet of code.  We use something similar to force an LDAP update in the enterprise SDK
                    GetOptions opts = new GetOptions();
                    opts.IncludeSecurity = false;
                    //build and run the query to get the LDAP refresh time
                    string query = "query://{SELECT TOP 1 * FROM CI_SYSTEMOBJECTS WHERE SI_NAME = 'secLDAP'}";
                    ResponseHolder boResponseHolder = boBIPlatform.Get(query, opts);
                    if (boResponseHolder != null && boResponseHolder.InfoObjects != null && boResponseHolder.InfoObjects.InfoObject != null)
                        BusinessObjects.DSWS.BIPlatform.Auth.secLDAP test = boResponseHolder.InfoObjects.InfoObject[0] as BusinessObjects.DSWS.BIPlatform.Auth.secLDAP;
                        //set LDAP refresh time to now
                        boResponseHolder.InfoObjects.InfoObject[0].UpdateTime = DateTime.Now;
                        boBIPlatform.Update(boResponseHolder.InfoObjects);
    I have 2 problems with it:
    1)   BusinessObjects.DSWS.BIPlatform.Auth.secLDAP test = boResponseHolder.InfoObjects.InfoObject[0] as BusinessObjects.DSWS.BIPlatform.Auth.secLDAP;
    results in "test" being null even though InfoObject[0] is there.  It shows as Desktop.GenericInfoObject when debugging.  what is wrong with how I am getting the object and casting?
    2)  boBIPlatform.Update throws an exception:
    An XSD Exception occurred. Import file parsing exception occurred : 'The prefix "io" for element "io:InfoObjects" is not bound.' (FWM 04009) (WBP 42029)

    Hello, Bob;
    I tested this this morning on my Business Objects Enterprise XI R3.1 system and had no errors. LDAP updated.
    Here is my code in case you can see any differences:
    Imports BusinessObjects.DSWS
    Imports BusinessObjects.DSWS.BIPlatform
    Imports BusinessObjects.DSWS.BIPlatform.Constants
    Imports BusinessObjects.DSWS.BIPlatform.Desktop
    Imports BusinessObjects.DSWS.BIPlatform.GetOptions
    Imports BusinessObjects.DSWS.ReportEngine
    Imports BusinessObjects.DSWS.Session
    Imports System
    Imports System.Data
    Imports System.Configuration
    Imports System.Web
    Imports System.Web.Security
    Imports System.Web.UI
    Imports System.Web.UI.WebControls
    Imports System.Web.UI.WebControls.WebParts
    Imports System.Web.UI.HtmlControls
    Partial Class _Default
        Inherits System.Web.UI.Page
        ' Modify the variables here to reflect the environment
        ' CMS-specific parameters
        Private CMS_USER As String = "Admin1"
        Private CMS_USER_PASSWORD As String = "uid" 'String.Empty
        Private CMS_CLUSTER_NAME As String = "sap-v5hyxcb8pbf" 'String.Empty
        Private CMS_AUTHENTICATION As String = String.Empty
        ' Web Services URLs
        Private WS_BASE_URL As String = "http://localhost:8080/dswsbobje/services/"
        'NOTE:  The following variables are case sensitive
        '       Lower case for Axis 1.1 (BOE XI R2)
        Private WS_URL_SESSION As String = WS_BASE_URL + "session"
        Private WS_URL_REPORTENGINE As String = WS_BASE_URL + "reportengine"
        Private WS_URL_BIPLATFORM As String = WS_BASE_URL + "biplatform"
        ' Name of the report to be viewed
        Private REPORT_NAME As String = "Test2_StoredProc.rpt"
        'Database Logon properties
        Private USER_NAME As String = "user"
        Private USER_PASSWORD As String = "password"
        Private bipService As BIPlatform
        Private boRepEng As ReportEngine
        Private wSession As Session
        Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
            ConfigureCrystalReports()
        End Sub
        Private Sub ConfigureCrystalReports()
            ' The following sample code demonstrates how to view a report using the Web Services BIPlatform and \
            ' Report Engine services.
            ' Just running the following code will enable you to view a simple report with no additional options.
            ' Include the commented blocks of code to view reports with different viewing options:
            ' - View a report in PDF format
            ' - View a report with database logon information
            ' - View a report with discrete parameters
            ' Note: You may have to change some parts of the code to make the special viewing options work.
            Logon()
            ViewReport()
        End Sub
        Private Sub Logon()
            Dim wSession As BusinessObjects.DSWS.Session.Session
            Try
                Dim boConnection As BusinessObjects.DSWS.Connection = New BusinessObjects.DSWS.Connection(WS_URL_SESSION)
                ' login to BusinessObjects Enterprise using web services
                Console.WriteLine("Logging into web service..." + WS_URL_SESSION)
                Dim credential As New EnterpriseCredential
                credential.Login = CMS_USER
                credential.Password = CMS_USER_PASSWORD
                credential.Domain = CMS_CLUSTER_NAME
                credential.AuthType = CMS_AUTHENTICATION
                wSession = New BusinessObjects.DSWS.Session.Session(boConnection)
                wSession.Login(credential)
                Console.WriteLine("Logged into web service.")
                boConnection.URL = WS_URL_BIPLATFORM
                bipService = New BIPlatform(boConnection, wSession.ConnectionState)
                boConnection.URL = WS_URL_REPORTENGINE
                boRepEng = New ReportEngine(boConnection, wSession.ConnectionState)
                Session("Platform") = bipService
                Session("ReportEngine") = boRepEng
            Catch ex As DSWSException
                Console.Error.WriteLine(ex)
                Console.Error.WriteLine(ex.CauseDetail)
                Throw
            End Try
        End Sub
        Private Sub ViewReport()
            Try
                'Get PageInfo
                Dim boGetOptions As New GetOptions
                boGetOptions = New GetOptions
                boGetOptions.IncludeSecurity = True
                'Dim query As String = "path://InfoObjects/Root Folder/**/" + REPORT_NAME
                Dim query As String = "query://{Select TOP 1 * FROM CI_SYSTEMOBJECTS WHERE SI_NAME = 'secLDAP'}"
                Dim reportRH As ResponseHolder = bipService.Get(query, boGetOptions)
                Dim boReports As InfoObjects = reportRH.InfoObjects
                If (Nothing Is boReports) Then
                    Return
                End If
                Dim repID As String = boReports.InfoObject(0).CUID
                Response.Write("RepID " + repID.ToString)
                Dim testLDAP As BusinessObjects.DSWS.BIPlatform.Auth.secLDAP
                testLDAP = boReports.InfoObject(0)
                Response.Write("   CUID: " + testLDAP.CUID.ToString)
                testLDAP.UpdateTime = DateTime.Now
                bipService.Update(reportRH.InfoObjects)
                Response.Write("<BR> LDAP updated <BR>")
            Catch ex As DSWSException
                Console.Error.WriteLine(ex)
                Console.Error.WriteLine(ex.CauseDetail)
                Throw
            Finally
                If Not wSession Is Nothing Then
                    wSession.Logout()
                End If
                Console.Write("Press the [ENTER] key to terminate program.")
            End Try
        End Sub
    End Class
    Where do you have your BusinessObjects.DSWS .dlls?
    If you right click on "BusinessObjects.DSWS.dll" and go to Properties and the version tab, what is the full File version?
    I am having someone test this with version 3.0 today as I do not have that version setup.
    Elaine
    Edited by: Ludek Uher on Mar 20, 2009 12:29 PM

  • How to access Portal Logged in user in Web Service application

    Hi Experts,
    I have created one Deployable Proxy and based on that i have created Web Based (WAR) project. to consume the proxy i have created Servlet based java file which invokes Web services. Based on this WAR project i created EAR application which deploys on J2EE server.
    I am facing issue while accessing Portal Logged in user in my Servlet Class in WAR project so can  you please provide inputs for how we can access Portal Logged in user in our Servlet class? also how we can access LDAP detailes of portal Logged inuser ?
    I tried to fetch the Logged in user from servlet request but i can't access it giving me null value. Following is the method details that i am using in my servlet.
    protected void doGet(HttpServletRequest request,HttpServletResponse response)throws ServletException, IOException                
    IUser user = UMFactory.getAuthenticator().getLoggedInUser();
    String strName = user.getFirstName();
             If I checked in LDAP values First name for logged in user is present but in my code its giving Null value.
    Can you please provide your inputs on above issue.
    Regards,
    Rahul

    have you found a solution this problem yet?

  • Audit log web service for Office 365

    I am working on developing an application that will interact with the Office 365 services. I am currently able to get the files and folders of a singed-in user using the OAuth2 authentication. I am aware that we can get the audit logs and it will be exported
    to Microsoft Excel. 
    However, my question is : Is there any web service or endpoint I can use to access the logs using REST API. For example, Box provides an api/endpoint to achieve this: http://developers.box.com/docs/#events.
    Any help would be highly appreciated!
    Many Thanks 

    Currently displaying audit log reports in REST or API is not supported by Microsoft. SharePoint online in Office 365 just supports saving an audit log report as a Microsoft Excel 2012 Preview workbook.
    You can refer the following post :
    http://community.office365.com/en-us/f/172/t/164047.aspx

  • Correction for Daily Report Log Web Service

    In the August 29th iTunes U Administrator email, there was a mistake in the example for the Daily Report Log Web Service.
    The example showed:
    http://deimos.apple.com/WebObjects/Core.woa/API/GetDailyReportLogs/example.edu?S tartDate=2007-07-01&EndDate=2007-07-17&destination=example.edu&username=ADMIN&ac cesskeys=Administrator@urn:mace:itunesu.com:sites:example.edu&emailaddress=foo@b ar.com&displayname=test&expiration=1186086577&signature=4443ac48a8ae1a0c50dbfb35 f201b6d0db14b16d
    There are extraneous form value pairs in the above example. The POST form values required to get a daily report are:
    StartDate (EndDate is optional) - format YYYY-MM-DD
    credentials
    identity
    signature
    An example of a correct request:
    http://deimos.apple.com/WebObjects/Core.woa/API/GetDailyReportLogs/example.edu?S tartDate=2007-09-12&EndDate=2007-09-13&credentials=Administrator@urn:mace:itunes u.com:sites:example.edu&identity=%22JaneDoe%22+%3Cjdoe%40example.edu%3E+%28jdoe%29%5B42%5D&signature=38bda70d9aa6975ae8756754034feb6e3c794aca4b21665f6dc85d2ed42d4 f6b

    Currently displaying audit log reports in REST or API is not supported by Microsoft. SharePoint online in Office 365 just supports saving an audit log report as a Microsoft Excel 2012 Preview workbook.
    You can refer the following post :
    http://community.office365.com/en-us/f/172/t/164047.aspx

  • Web Service call from VB Macros & web service for logging in

    Hi All,
    Is it possible to call a SAP web services from a Visual Basic macro?
    1) If yes, how to do so?
    2) Is there a standard web service through which we can login to an R/3 system?
    3) Once we are logged in can we call other web services?
    Thanks in advance!!
    Regards,
    Saurabh

    Hi Saurabh,
    ad 1) It is possible. In this Excel to SAP R/3 I posted some examples on how to call webservices from within Office 2003 applications.
    The posts are very detailed, I just didn't create a blog since feedback to scripting languages blogs is so low that I didn't find it worth to carefully author a blog.
    ad 2) Web service calls are stateless so you have to authenticate each time you call a service. Either by single sign on mechanisms or by simply hardcoding the credentials.
    hope it helps,
    anton

  • How to write Web Service Log to a file in Java

    Hi..
    I have a requirement that I need to maintain Log file of my web service which is deployed on OC4J server.
    Is there any API for this ? Or any other way to do it ?
    Regards,
    Ajay

    Hi..
    Thanks.
    Instead of using Logging API, I created own class to handle Log.
    But my issue is When Ever I am appending Log to already created file the following Line is also appending.
    <?xml version = '1.0' encoding = 'UTF-8'?>I want this Line only one time in each log file.
    What should I do for this ?
    Regards,
    Ajay

Maybe you are looking for

  • After 10.7.4 update can no longer see home wifi signal

    Ever since I updates my MacBook air my home wifi ( the one I used for the update) no longer shows up on my computer. It shows up on my mac mini and iPad and my MacBook air can connect to other networks. Any ideas?

  • I have multiple libraries......

    I just ordered iLife '08 and wonder how it will handle importing my multiple libraries. Anybody know? Judy

  • Number pad not working

    My the number pad of my keyboard stopped working...well I can still use clear =  / * - + and Enter but no numbers...This is really annoying when I am doing data entry.  Can anyone help.  Has anyone found a solution.  I read some where you can hit the

  • Mozilla 1.7 Browser Issues

    We are using RH X5 to develop WebHelp. Our WebHelp needs to display on the following browser/platform combinations: OS: Solaris 9 and 10 (AMD64), Browser: Mozilla 1.7 OS: HP-UX 11iv3, Browser: Mozilla 1.7.13.01 Here are some of the problems that QA f

  • Brightness and Volume control indicator not appear

    dear all, I have recently reinstalled my Win 7 Pro, also installed all drivers but when i am adjusting my volume or brightness with hotkeys (for volume push bottons and for brightness Fn delete home), i am not able to see grreen indicator bars, Pleas