I've created a WebService using the JAX-WS API. This service runs without any problem using an Endpoint class.
main(String args[])
{
(...)
MyService service=new MyService();
service.setParam1("limit=100");
service.setParam2("hello");
service.setParam3("max-value=10");
Endpoint endpoint = Endpoint.create(service);
endpoint.publish("http:...
I'm developing a test WS with JAX-WS and the demo works fine but if I try to move it in production there are a lot of occurences of the URL of my test enviroment on my code. For example:
com.mycompany.testserver.ws.writer.WriterInterface service = new com.mycompany.testserver.ws.writer.WriterInterface();
QName portQName = new QName("ht...
Hi,
I have a bunch of Java code which was written using the Hibernate framework, originally destined to have a front end written using JSPs. However, the requirements for the front end have changed, and we've decided that a desktop client (which will be written in .NET) is a better match for our users.
I don't really want to waste the ...
I had VS 2005 with v2.0 of the framework. Then I installed NDoc recently and that supports only v1.1, so it installed v1.1 on top of v2.0. That is fine because both versions can co-exist but what it did was screw up some settings with:
a) The web server that comes with ASP.NET, the one you run your web services on in debug mode.
b) SQL...
I've written a custom binding class that inherits from CustomBinding.
My custom class overrides the BuildChannelFactory method and uses a custom ChannelFactory to create a custom channel.
I'm having difficulties using the custom binding class in the WCF client.
I am able to use my custom binding class if I configure it in code:
Binding...
Hi everyone,
I have written a simple .NET webservice, which I will be hosted on a different server may be on different continent. I don't really know. Now, I only had its URL and I tried to use webrequest and webresponse method to access that web service vai HTTP POST. Now, I want to know is there any way to secure the webservice access...
We have a three-tier architecture consisting of Classic ASP Frontend, VB COM+ Objects and MSSql Database.
We are going to replace the VB COM by ASP.NET Webservice layer soon but we are not in the position to replace the Classic ASP with new .NET code (yet) and we're therefore going to need a way to consume webservices in Classic ASP...
...
I am trying to get subsonic to run work in a webservice
I am not sure how to return the data. I only get the word Object in my results when It return anything instead of values. What am I missing?
<WebMethod(Description:="Method to retrieveCptCode subsonic List")> _
Public Function GetSubCptCodes() As CPTCodeCollection
Dim coll A...
My companies' system is build from a collection of ASP.NET websites, webservices, windows services and databases. (around 40 all told)
We maintain three environments - QA, PREPROD and LIVE; but managing what is installed (and working) on each environment is a real pain. We seem to spend more time debugging what is installed & working ...
Hi.
I have a web based system where users should be able to fetch data from a web service by entering the URL and the necessary parameter values.
My problem is, somehow I need to find out the structure of the parameters required in the soap body, which is not necessarily just one or two strings, but could be a whole object tree.
Trans...
My webservice constructor is getting called each time that I call a webmethod. This is causing some problems with some new functionality that I am adding and I cannot figure out what I am doing wrong to cause this. The only place that I am newing the webservice is in global.asax.cs's Application_Start, but if I remove the code to new the...
Hi Gurus,
I have to call this webservices which is a .net web services (well.. WS should be pretty platform independent I guess) I have attached the WSDL below.
I am using Spring WS 1.5.6. I am not sure what to put in the message.
Do I have to include the namespace etc? and Do I need to specify the method name etc?
(Second thought i...
I try to compile a webtools project for Java5/Tomcat 5.5 in ubuntu (with manually installed eclipse 3.4). I set the installed jre to java-1.5.0-sun-1.5.0.18 and the compiler compliance level to 1.5. When I export this to a .war file, and try to deploy it in Tomcat (Windows XP, Tomcat 5.5.27, Java 1.5.0_18) , I get the following error:
...
Hi,
Im wondering how you can capture the arguments of a WebService call dynamicly(for logging).
Is there any property that stores the Arguments of the call being made?
...
I have a web service that when invoked, returns a Result object that contains a List polymorphically. However, when I add a reference in my client application, the public field becomes an array of Country in the client application. How do I change the field in the client application to List?
public Result GetCountryList()
{
List<Cou...
hi, i am using script manager to call a web method on client side but as you know web methods cant work from user control, so you have to create a web service to do that.
this is going fine with me but i am having the following concerns
if you use web method in ASPX page the code is invisible to the user so how can i prevent users fr...
I'm running into a strange problem. I have a simple C# console app that calls an external web service referenced within my VS 2008 .NET solution. The web service is defined as a service reference, per the vendor specs. The service requires login credentials to be sent as part of the SOAP header.
Under Vista x64/XP it runs without error....
Given: A C# calculation engine that loads an object model, crunches huge amounts of numbers, and saves the results to a couple of gigantic mega-indexed database tables in SQL Server. Those tables provide data to web interfaces, other software modules, and SQL Server Reporting Services 2005 reports.
I managed to make the engine a lot fa...
Hi,
As far as I can see, there are no developer-API services for stock-price information with the following stipulations:
Free or low-monthly cost (
Ability to ship code which uses the service to multiple parties (e.g. an iPhone app)
No per-transaction/lookup cost
No limit on number of lookups or transactions
So I find that I am for...
I'm working on a project where I am verifying information from a user with a SOAP web service. I currently am taking care of errors assuming that I'm receiving responses from the web service, but also need to handle the edge cases of a service timeout or unavailability.
In the case of a timeout or service unavailability, I need to prete...