web-services

Logging custom classes through WebService using NLog.

Problem is as follows: On log event I want to send my custom object (lets say LogMessage that wraps in some way logging event) to my web service. Could work like appenders in log4net, or is there this kind of thing in Nlog btw? Or how do I do this NLog way? Note: I'm using WebService target wrapper (if this helps in any way). ...

Quickly implement, deploy a Webservice in Java

I have a large system written in a mixture of C++, Java, Python. I have to interface a very small subset of this system with a web portal using webservice technology. Webservice is not critical and it has to expose 3 or 4 methods. What is today the quickest way to implement this in Java? I thoughted AXIS+Tomcat. Maybe is there any other...

Improve on this pattern for handling how a mobile app knows how to find it's server

I'm considering how to identify server(s) to an app on a mobile device that utilises a wcf/web service. (1) I anticipate all going well that I will need to migrate the server between hosts from time to time to handle load. I'd like to be able to do this without service disruption. (2) I also anticipate that all going well I will want t...

IllegalArgumentException: com.sun.xml.internal.messaging.saaj.soap.LocalStrings != com.sun.xml.messaging.saaj.soap.LocalStrings

Hello, In my web-application, I am contacting a Web-Service (using JAX-WS) but I get the following error: java.lang.ExceptionInInitializerError at com.sun.xml.ws.message.AttachmentUnmarshallerImpl.<clinit>(AttachmentUnmarshallerImpl.java:55) at com.sun.xml.ws.client.sei.ResponseBuilder$DocLit.readResponse(ResponseBuilder.java:5...

Ready-made Dynamics NAV 2009 web services for integration with e-commerce system?

I'm planning to integrate our e-commerce module with Navision. I know you can set up and configure web services in NAV 2009, but I'm not familiar with Navision, and would like a more out-of-the-box solution, that we can quickly set-up for other customers. Does anyone here have experience with any ready-made web service solutions for NA...

How to force a synchronous call to a web service

public string CreateOrder(string purchaseOrder) { using (MyWebService.CreateService service = new MyWebService.CreateService()) { string orderCode = service.CreateOrder(purchaseOrder); return orderCode; } } I've added a web service reference to the domain layer of an ASP.NET web app. This generates the two...

exposing sql server data from an asp.net webapp to silverlight and win forms via linq

hi, I have an asp.net web app which holds its data in an sql server 08 r2 db. I have a silverlight admin interface on the same web app, and I will have a win forms app which will need to add/retrieve data from the sql db. Is there a way I can use linq in both clients? I mean something like linq2twitter, where in the silverlight or in ...

How to tell on the server if a webservice client aborts (Axis2)

Environment: Client: JavaME, CDC/Foundation 1.1 with JSR-172 client library. Service stubs created with Sun WTK 2.5.2. Server: JBoss 3.2.8SP1 (don't ask, cannot be changed) with Axis2.war providing the webservices Problem: In the JavaME based program a background thread calls a webservice on the remote JBoss host. Depending on user...

Website for checking in which programing language code was written?

Do you know any site which can check this? I think, that i saw sometime ago, some kind of pastebin service which had option "autodetect", but I can't find it anymore. Do you know something which could help me? ...

Where goes my messages from service?

Hello, In C# VS2008 I have a service which can run from command line and as registered service. I am trying to debug my Service process I wondered why it does not write logs in event viewer. I have a logger as this: public static void Log(string s, EventLogEntryType et) { try { if (CService.asService) { ...

Getting error -TypeError: service.UseService is not a function - when using webservices through javascript

Hello. I'm somewhat new to web development. I was following some web services tutorials and everything went good, from writing the web services to displaying their results after you clicked on a button on a html page. So I tried to run the service via javascript when the page loads, like this: <html> <head> <SCRIPT language="JavaSc...

DNS failover takes time

I have a C# web service on IIS acting like a proxy. My problem is that when the IP address of one of the backend servers change, the windows DNS cache is correctly updated (checked with nslookup) but the service continues to do some requests on the old IP for about 40 minutes. I noticed that the failover works if I stop hitting the prox...

silverlight service reference from wsdl - methods missing

I'm successfully creating a Service Reference for a silverlight application by pointing to a local wsdl file. The preview pane shows the 6 methods avaialble in this wsdl. However, the generated proxy seems to have no knowledge of those methods, so I cannot find a way to call them. Been fighting this for a while, what the heck is goin...

JBoss Web Service deployment not producing nillable attribute

I have deployed a JAX_WS service in JBoss using the bottom-up approach. In some class attributes, I specify the following annotation: @XmlElement(name = "networkInfo", required = true, nillable = false) however, I only get the following in the generated WSDL: xs:element name="networkInfo" type="tns:networkInfo" The minoccurs attrib...

Where can I get a feed (RSS / XML or something else) of live sugar (or agricultural) products?

Sites like http://www.futurespros.com/softs/london-sugar provide live feed of current rates of sugar across the World. Where can I get current rates of sugar for various countries through some feed so that it is possible to access them programatically and display them on my web page? ...

form file post to web service method not working

I am trying to have a HTML form post a file to a Asp .Net Web service method. Everything seems to work but there is no form or files on the request object in the web method. any ideas? Html Form <form id="formPost" action="service/Post" enctype="multipart/form-data" method="post"> Post File <input id="uploadfile" type=file /> ...

Asp.net web service: Problems accessing without www

I have a Asp.net web service running on www.domain.com/Service.svc that I connect to using jQuery from my asp.net website. Everything works perfect if the user access my website with www.domain.com. But if the user uses only domain.com I get error: There was no channel actively listening at 'http://domain.com/Service.svc/get?date=2010-...

Glassfish, EJB3, SOAP web service and basic authentication

Hi all, I'm setting up a glassfish server with a single EJB3 as a mocked up backend for a POC. Everything was working fine until I went to add some basic authentication. Just plan text userid and password, nothing sophisticated for this job. I added the following annotations to the EJB: @WebService(name = "Banking", serviceName = "Banki...

Web services, handling server events on the client

Hi all, Had a look over SO but I can't see any threads which address my problem. I have a conceptual architecture, where there is a central server, which allows clients to connect to it via XML web services. There are 2 types of client, producers and consumers. The system is built in C# using WCF WebServices, specifically IIS webservi...

Google App Engine + JSON based service + Authentication

I am new to GAE (cloud based development in general actually) and I am looking for some advice. I am looking to use GAE only as a service (REST + JSON) with my client-side in Sproutcore. I am looking to find a light-weight service-based framework that will provide me with strong security (authentication, protection against XSS etc). Ja...