I'm reading Java Web Services: Up and Running, 1st Edition.
Publisher: O'Reilly Media, Inc.
Pub Date: February 15, 2009
In Chapter 1 --> First Example.
We make 3 Java classes:
TimeServer.java (example 1.1)
TimeServerImpl.java (example 1.2)
TimeServerPublisher.java (example 1.3) <<--- this is a main
and than we make .xml (example ...
I am writing a .NET webservice (VB.NET). One of the methods DisplayChild() returns an object of type Child. Child is defined:
<Serializable()> _
Public Class Child
Inherits BaseClass
Property NotInInheritedProperties() as Object
...
End Property
End Class
and the BaseClass looks something like:
<Serializable()> _
Publ...
I'm attempting to split up my WCF web services into a few services instead of 1 giant service. But the Visual Studio (Silverlight client) duplicates the common classes shared by both services. Here is a simple example to illustrate my problem.
In this example there are two services. Both return the type "Person". By default VS will ...
Specifically, I need to validate the incoming X.509 security certificate against a database to allow access to my web service. In order to do this, I need to get a copy of the certificate sent from the client. I think I know how to do that, if I can figure out how to get access to the http Request object -- an intrinsic ASP.NET object....
I have a soap server written in Delphi and I am writing a PDA clinet using CF.NET 3.5 but I am getting following error "client found response content type of 'text/html', but expected 'text/xml'".
If I try and consume this same webservice in a WinForm app it works fine.
Sandeep
...
Basically the problem is this:
There is a stored database procedure that takes a username as an argument and produces some XML data depending on it. It is called by a method with no arguments in an unsecured web service (let's call that web service WSA). There is also another web service (let's call it WSB) which is supposed to call WSA....
I'm connecting to a WCF service in an ASP.NET app. I'm logging in using one username and password and passing the actual username of whoevever is logged into the ASP.NET web app in a message header as below.
using (OperationContextScope scope = new OperationContextScope(myService2.InnerChannel))
{
Guid myToken = Guid.NewGuid();
...
I am getting the following error when I try to call an ASP.NET Web Service from an ASP.NET Web Application. I believe it is because the Web Service and Web Application are on the same Farm/behind the same Load Balancer.
A connection attempt failed because the connected party did not properly
respond after a period of time, or establish...
Hello all -
Apparently I was asking the wrong question in my earlier post. I have a web service secured with a X.509 certificate, running as a secure web site (https://...). I want to use the client's machine certificate (also X.509) issued by the company's root CA to verify to the server that the client machine is authorized to use t...
If this is possible...
What would you have to use/learn in order to write something to consistently check (every 20 minutes) whether a page has been updated? It would involve logging into the system and navigating the site. As an example I'd wished I'd had in the past, a script to log onto my school's website and check for updated gra...
Why does adding a web reference to a library assembly project create an app.config file for the project? it will not be used at run time, right ? - as there can only be one root config file per host process (executable), - That's why only executables get their app.configs renamed to "projectName.exe.config" and deployed to output folde...
I’m creating an application that has a data dependency on another group’s data feed. They can give me a daily xml dump of the data that I can simply load into cache once a day OR I can make calls to a web service to get the data that way. If the data provider doesn't care which I use (same work for them either way) which should I ask fo...
Hi,
I'm trying to connect to a web service, written in Java, but there's something I can't figure out.
Using WCF and a customBinding, almost everything seems to be fine, except one part of the SOAP message, as it's missing the Nonce and Created part nodes.
Obviously I'm missing something, so if you could point me into the right directi...
I want to create a web service by using classes created by EMF, as those classes are not in standard bean format, is there any wrapper or some tool available to create web service?
...
Hello,
I'm trying to write a web service client in c# which the webservice is Java Axis 1.4.
Axis service requires the Authorization: Basic Base64EncodedToken header value in the HTTP Headers.
I can't find a way to set this header in standart ways of consuming web services in visual studio.net, like normal WSDL generated refernce nor w...
Anyone have any experience with foreign exchange rate provider that can be accessed via web service? Paid subscription are worth considering as well, although I would prefer to screen scrape information (from finance.google or finance.yahoo) rather than paying. This is not for a mission critical application.
...
I'v been able to return a HashTable from a Web Service that I setup for a .Net 2.0, but the service fails to retun a DataTable in JSON. I keep getting the following error: 'A circular reference was detected while serializing an object'. Any tips?
[WebMethod(EnableSession = true) ]
public DataTable getSavedAddresses()
{
DataTable ...
Here is an interesting combination, I need to transfer data between an "appliance" running Windows XP Home and a remote Linux server on the internet. Let me itemize what needs to happen:
The "xp home" system needs to transfer data or files every 30 minutes or so. (sftp?)
The Linux server need to contact the "XP Home" system to request...
I have a web application on an IBM WAS server (Windows).
In the WAS app users are able to browse files on a different server. This functionality connects to a web service in order to retrieve a listing of files from a network path.
The web service is built with .net and resides on a separate server which is in the same domain as the f...
I want to call a google service using javascript with a keyword and a website url, and get from google the position of this site while searching with this keyword.
This is possible? can be done just using javascript or will need a server side language?
...