What does it mean to "return the client?"
My teacher asked in an assignment to write a method that will return the date and the client. Here is her exact wording:
" You should also override the ToString method, to return the date and the client. (DateTime has a reasonable ToString method defined. Use it.) I found using "\t" (the tab s...
I have a web form that needs to act differently if the request to that form came from an internal network address or from a public IP address. I'm trying within my web form to determine if the request is from an internal network IP. Can I reliably do this, or can clients fake their source IP? Can I trust the information contained in R...
How can you architect the web component tier in J2EE to support different client types?
...
I'm in charge of a Perl application that uses DBD::Oracle compiled against a 9.2.0.8 OCI client. This is on a sun4u box, albeit with 32-bit binaries. DBD::Oracle is linked against 32-bit OCI libs. We're currently running against a 9i server.
Our DBA team is planning to upgrade the server to 10g, namely 10.2.0.4. I'm faced with two optio...
Is there any way i can access the object of one client session from another client session?
...
Hello, I understand the purpose of having WCF endpoint on the service side, but I don't quite understand the purpose of configuring endpoint on the client side. Is this for duplex connection or something?
Regards
James
...
I want to make a client in C# in order to create Blog posts in Drupal, so the situation is the following. In Drupal i have Services module and soap_server both enabled and when i consume the wsdl file from http://example.com/services/soap?wsdl is recognizes it properly but i don't know what to do next... I'm stuck. The lack of documentat...
Imagine if I have a application I install via clickonce or setup to the customer machine.And it needs oracle client? How can the oracle instant client be installed by the end user ? Or how the hell should it be installed? Should I go to each pc and install it?
...
Hi All
I am developing an application, i need date and time of the user who is accessing(ie Client's date time), how can i get it to server side........?
...
Hello All
I need to save client machine time when he log in on my web application.For this i have 2 solution
Using javascript
Store the server time
System.DateTime.Now.ToUniversalTime();
and ask the user in which timezone he is in
TimeZoneInfo indTimeZone = TimeZoneInfo.Local;
return TimeZoneInfo.ConvertTimeFromUtc(date, TimeZon...
I have a JScrollpane which contains a scrollable client that changes its size dynamically while using the application. I want the JScrollPane to be aware of the changes without moving the viewport when the client size changes.
To clarify what I mean:
Refer to the Java Webstart example ScrollDemo2 from the article How to use scroll panes...
I'm building a system that consists of many clients connecting to a server. The clients automatically push data to the server via a web service call.
I've built an authentication mechanism in order for the clients to authenticate with the server so only authenticated clients can upload data.
The problem is that I've hardcoded the passw...
The current application that I'm working on is a Client - Server C# application and work very well on a network. Now I'm thinking if it can run over the internet. The question is how to do this? How can I start the Server on my computer and in what circumstances so that every Client over the internet to connect to? What software I need t...
Okay so I'm trying to learn Java client/server stuff, and am going through the tutorial code as follows. When I change "localhost" to my ip it stops working though. Please help.
Edit: "127.0.0.1" seems to work too, but not my real IP.
/*
* Copyright (c) 1995 - 2008 Sun Microsystems, Inc. All rights reserved.
*
* Redistribution and ...
My server keeps getting this error when I run the client:
Exception in thread "main" java.io.EOFException
at java.io.DataInputStream.readInt(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.readInt(Unknown Source)
at java.io.ObjectInputStream.readInt(Unknown Source)
at MyServer.main(MyServer.java:10)
H...
Hi all,
I was wondering if there is a (java?) API parsing a WSDL and returning a structure of the WSDL as well as a description of the schema.
I know a tool like wsimport can generate the stubs for a java client but I would also like to create the graphical interfaces (java swing, html...) for sending and receiving some simple requests...
Hello,
My problem is how to send an email with attachemnts to the default mail client programmatically.
My requirements are:
setting destination, CC, BCC
link to attachment(s)
adding and image like a banner in the message body
I succeded to compose an email in the various ways and adding attachments are not
the problem but adding a...
Hi. I'm trying to connect with a webservice that's in a password protected host, i.e. you must enter user+pass to access the remote WSDL.
The key word there is "trying", I have a client made by WSDL2JAVA that works ok if the service is unprotected, but I can't find how to add the login to that code.
To clarify, it's not the webservice ...
Okay, this sounds simple, but I tried all the simple things and it still doesn't work properly.
import java.net.*;
import java.io.*;
public class MyServer{
public static void main(String[] args) throws IOException {
int MAX_PLAYERS = 1;
int players = 0;
ServerSocket serverSocket = new ServerSocket(43);
...
Something I've noticed from looking at multiple .NET starter kits is that business object construction is often handled at the client level. Then, the business object is passed to the business layer for manipulation, serialization to the database, etc. Shouldn't this code be abstracted to the business layer, so that the client only needs...