I realize there's the W3C validator, which works great for one page. There's also the perl install they provide, but it seems to not work on a Mac or it's buggy.
Given that
1) I have an entire set of local files
How do I
a) Validate the entire set
b) do it behind a firewall
c) do it simply without installing anything on my computer? (i.e., is there a web service?)
Or is this just futile?
Hi,
I'm planning a web service and doing a little research about what are current methods of secure user authentication.
Is what Google and Facebook are doing considered an industry standard?
How does one implement lists such as a list of months in the year, or a list of years in DDD? Where does the logic go, inside value objects, a service, is it part of the domain layer?
I try in a test version of DBArtisan to set up a datasource and register
both servere as localhost, database to use, my username and password,
but, when testing the connection, I get message that connection failed.
Hooking up from eg. Delphi and other utilities run nicely. But not
DBArtisan,
Is MySQL 5.0 not supported yet ??
Or is it WAMP that is the culprit naming the service wampmysqld insted of just mysqld ??
Here's the scenario:
You have a Windows server that users remotely connect to via RDP. You want your program (which runs as a service) to know who is currently connected. This may or may not include an interactive console session.
Please note that this is the not the same as just retrieving the current interactive user.
I'm guessing that there is some sort of API access to Terminal Services to get this info?
Hello,
Can somebody help me with this - I need some tips or code to connect to wsdl service, send XML request and than print response on client side. I only have primer written in ASP.NET and need PHP alternative:
function doXMLRequest(Xmltext)
Set oSOAP = Server.CreateObject("MSSOAP.SoapClient30")
oSOAP.ClientProperty("ServerHTTPRequest") = True
oSOAP.mssoapinit sys_xmlservice, "", "", ""
oSOAP.ConnectorProperty("Timeout") = 600000
myXMLResponse = oSOAP.XMLReq(XmlText)
doXMLRequest=myXMLResponse
set oSOAP=nothing
end function
Thanks in advance! :)
Hi. I'm sending data to a web service through the MSXML2.XMLHTTP40 object. It's works fine in the development enviroment, but IIS is unable to send the data (long wait and then IIS close the connection). I must configure some in IIS in order to enable XMLHttpRequest ?
Can someone help me resolving the following issue:
When trying to connect from iPad app to SAP ECC system through ODATA channel services via SUP, it is allowing me to login for the first time and could retrieve the data successfully from SAP system. But when I logout and try logging in again with the same session, application gets crashed. Below is the crash report for your reference.
I am using SDM Parser to connect the SAP system.
SDMODataServiceDocumentParser *sdmDocParser = [[SDMODataServiceDocumentParser alloc] init];
[sdmDocParser parse:aServiceDocument];
m_serviceDocument = sdmDocParser.serviceDocument;
//Load the object with metadata xml:
SDMODataMetaDocumentParser *sdmMetadataParser = [[SDMODataMetaDocumentParser alloc] initWithServiceDocument:m_serviceDocument];
[sdmMetadataParser parse:aMetadata];
After initiated the service, setting the URL.
[service setServiceDocumentUrl:m_serviceDocumentURL];
Using SDMconnectivityhelper to connect the URL
id<SDMRequesting> serviceDocumentRequest2 = [connectivityHelper executeBasicSyncRequestWithQuery3:[[ODataQuery alloc]initWithURL:[NSURL URLWithString:encodedStrUrl]]] ;
- (id <SDMRequesting>)executeBasicSyncRequestWithQuery3:(ODataQuery *)aQuery
{
id<SDMRequesting> request = [self createRequestWithQuery:aQuery];
[request setTimeOutSeconds:TIMEOUT_SEC];
[request setRequestMethod:@"GET"];
[request addRequestHeader:@"Content-Type" value:@"application/xml"];
[request startSynchronous];**[App getting CRASH in this line]**
return request;
}
- (id <SDMRequesting>)createRequestWithQuery:(ODataQuery *)aQuery
{
if (isSUPMode)
{
[SDMRequestBuilder setRequestType:SUPRequestType];
}
else
{
[SDMRequestBuilder setRequestType:HTTPRequestType];
}
id <SDMRequesting> request = [SDMRequestBuilder requestWithURL:aQuery.URL];
request.username = self.username;
request.password = self.password;
return request;
}
Crash Report:-
Incident Identifier: 347511BA-5F7F-45D4-8662-D5DCD2F88EA7
CrashReporter Key: 9a4d38cf19b1a94476eb6b2170d4f56678d6ca60
Hardware Model: iPad3,4
Path: /var/mobile/Applications/F38AD64F-03F8-4A21-
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000
Triggered by Thread: 0
Thread 0 Crashed:
0 libsystem_platform.dylib 0x393a94c0 _platform_memmove$VARIANT $Swift + 160
1 Eby Sales Order 0x0015a2c8 0xb7000 + 668360
2 Eby Sales Order 0x0015a8b8 0xb7000 + 669880
3 Eby Sales Order 0x003331ee 0xb7000 + 2605550
4 Eby Sales Order 0x0031856e 0xb7000 + 2495854
5 Eby Sales Order 0x00338454 0xb7000 + 2626644
6 Eby Sales Order 0x000e6ad8 0xb7000 + 195288
7 Eby Sales Order 0x000e99a0 0xb7000 + 207264
8 Eby Sales Order 0x000ea442 0xb7000 + 209986
9 Eby Sales Order 0x000eb0d6 0xb7000 + 213206
10 Eby Sales Order 0x000c13d0 0xb7000 + 41936
11 Foundation 0x2ec93112 __NSFireDelayedPerform + 410
12 CoreFoundation 0x2e27ef4c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 12
13 CoreFoundation 0x2e27eb66 __CFRunLoopDoTimer + 790
14 CoreFoundation 0x2e27ceee __CFRunLoopRun + 1214
15 CoreFoundation 0x2e1e7764 CFRunLoopRunSpecific + 520
16 CoreFoundation 0x2e1e7546 CFRunLoopRunInMode + 102
17 GraphicsServices 0x331216ce GSEventRunModal + 134
18 UIKit 0x30b4688c UIApplicationMain + 1132
19 Eby Sales Order 0x000bd8da 0xb7000 + 26842
20 Eby Sales Order 0x000bd89c 0xb7000 + 26780
Using Spring as Framework, if i need provide business logic's service to either JSP/Servlets(on Web Servers) or to Application desktop client or Mobile clients, the only way to accomplish the logic business(without EJB) in a remote server is through Servlets?
I have a mini API that is only for an app I have built. The API service is on a separate domain to my app. I make jsonp calls to it and receive json in return.
Therefore I only want my app to be able to access it. Can I just list a series of IP addresses for my app and allow them? Is there a better way to stop requests from anyone else to my API?
hi all, i want to develop a program that will process images and show all esxisting images with details like "picasa photo viewer",also i have a windows service that gathering new images,it will run under "Local System Account",but in limited user account my program don't work,how i can run my program from limited user account ? thx for ur time
I'm doing some initial research on smart phone development, and I noticed that Android and Windows Mobile both support c++ for application development. I was curious if anyone had any experience trying to manage shared files between both Android and Windows Mobile, and to what extent that code can be shared? e.g. no user interface can be shared, but web service and business logic classes can be shared, etc.
hi
im using this, the first one - 16.1 Example A Preferences
(sorry for the link)
Cant for the love of android not get this to work
I want to click that CheckBox witch is connected to the autosave PreferenceActivity
and at the same time clicking it I want to fire an event to a method in the Activity that started the PreferenceActivity. There i will start a service.
`` Sigh hope you understand the probl.
In order to achieve this effect, I would like to know how I can make the WebBrowser to scroll up when new content is added to the HTML page?
"Allow more entries to be displayed in the view: When the user clicks more, additional entries should be displayed in addition to the ones which are already displayed. The code should cause the UI to scroll such that the first entry of the "more" set is on top".
I am using com.ibm.rcp.browser.service.WebBrowser which is similar to SWT WebBrowser.
I am making a windows service to be able to run operations on a sql server database (insert, edit, etc) and invoke Stored Procs.
However, is there a way for me to know the type of the SP? When invoking from C#, I need to knof if it is returning 1 value, or more, or none (so I can use executereader, scalar, etc)?
Thanks
I have two applications, and one is keeping sending live images to the other and it need to be long-running.
WCF - is it suitable?
TCP/IP directly?
Service bus, NServiceBus?
Is there any better alternative for this communication?
I've gone through ODBC API searching for a function that can extract information of a data source. The closest I found is SQLDataSources that enumerates all data sources and gives you the DSN name/description.
But specifically I would to extract the TNS service name of an Oracle data source. This property appears in the registry under ServerName but I found no way to access it through an API.
I have the following problem. I have a webservice, which accepts a post request with some json data in the request body and which also returns Json data.
Now I want to build a user friendly HTML page to test this service. I have a form to fill in data, when the user clicks the button, the JSON should be build from the form data and POSTed to my webservice, the response should be displayed to the user. How do I achieve that?
Hello,
I am interested to filter forum posts containing pornographic material and flag it.
I am using ASP .Net with C#.
Do you have any service in mind which I can use? Any other suggestions?
Thanks
I'm using a Windows Service to do some directory cleaning (implementing a FileSystemWatcher).
The problem I'm having is that sometimes, when several files in a directory are deleted, one of the files still shows in the Explorer window. If you refresh the window the file disappears. Similarly, if you right-click on it or try to copy it, a pop-up informs that it no longer exists.
So what I'd like to know is: is there any way I can programmatically refresh the view of the Explorer window?
I'm trying to write a simple/small Windows Communication Foundation service application in Visual Basic (but I am very novice in VB) and all the good examples I've found on the net are written in C#. So far I've gotten my WCF service application working but now I'm trying to add callback functionality and the program has gotten more complicated. In the C# example code I understand how everything works but I am having trouble translating into VB the portion of code that uses a delegate. Can someone please show the VB equivalent?
Here is the C# code sample I'm using for reference:
namespace WCFCallbacks
{
using System;
using System.ServiceModel;
[ServiceContract(CallbackContract = typeof(IMessageCallback))]
public interface IMessage
{
[OperationContract]
void AddMessage(string message);
[OperationContract]
bool Subscribe();
[OperationContract]
bool Unsubscribe();
}
interface IMessageCallback
{
[OperationContract(IsOneWay = true)]
void OnMessageAdded(string message, DateTime timestamp);
}
}
namespace WCFCallbacks
{
using System;
using System.Collections.Generic;
using System.ServiceModel;
public class MessageService : IMessage
{
private static readonly List<IMessageCallback> subscribers = new List<IMessageCallback>();
//The code in this AddMessage method is what I'd like to see re-written in VB...
public void AddMessage(string message)
{
subscribers.ForEach(delegate(IMessageCallback callback)
{
if (((ICommunicationObject)callback).State == CommunicationState.Opened)
{
callback.OnMessageAdded(message, DateTime.Now);
}
else
{
subscribers.Remove(callback);
}
});
}
public bool Subscribe()
{
try
{
IMessageCallback callback = OperationContext.Current.GetCallbackChannel<IMessageCallback>();
if (!subscribers.Contains(callback))
subscribers.Add(callback);
return true;
}
catch
{
return false;
}
}
public bool Unsubscribe()
{
try
{
IMessageCallback callback = OperationContext.Current.GetCallbackChannel<IMessageCallback>();
if (!subscribers.Contains(callback))
subscribers.Remove(callback);
return true;
}
catch
{
return false;
}
}
}
}
I was thinking I could do something like this but I don't know how to pass the message string from AddMessage to DoSomething...
Dim subscribers As New List(Of IMessageCallback)
Public Sub AddMessage(ByVal message As String) Implements IMessage.AddMessage
Dim action As Action(Of IMessageCallback)
action = AddressOf DoSomething
subscribers.ForEach(action)
'Or this instead of the above three lines:
'subscribers.ForEach(AddressOf DoSomething)
End Sub
Public Sub DoSomething(ByVal callback As IMessageCallback)
'I am also confused by:
'((ICommunicationObject)callback).State
'Is that casting the callback object as type ICommunicationObject?
'How is that done in VB?
End Sub
Hi
I want to add "Sharing documents" feature to my app, like in google documents service. As i see:
User can:
can list/view/create/edit/delete own documents
share own document to everyone - its a public document
share own document to another user with read-only access
share own document to another user with read-write access
view list of own documents and users to whom he gave permission to read and write
view list of foreign documents
view/edit foreign document with read/write permissions
Please tell me, which permission/authorization solution is preffered for my task?
Akamai is way too expensive. Photobucket is not reliable. Is there a great content delivery network that I can use just to host my images?
We deploy images programmatically via FTP, so there is some programming behind the scenes.
Having some sort of reporting about the reliability of the service, whether it's raw logs files or a web-based admin screen that shows http errors, would also be important.
Has anyone worked with edgecast?
Is there any method or plugin available that will alert the user to upgrade an app if the version they are using is not the latest? I suppose I could ping a web service to check what the current version is and compare with the user's version and go from there. As an aside, is there a way to check the current version of the app (some property I don't know about) or do you simply have to hardcode the version as some float variable or something?
Thanks