web-services

Weather, exchange rates and other feeds

I am building a real estates website, I want to include some details on the homepage about the current weather, temperature, humidity, etc. I may also want to include some exchange rates. It all should be current and up-to-date, I know there are plugins or add-ons I can use which requires me zero-coding. I just don't know what to use. ...

How can I debug a web service called asynchronously from javascript?

I have a ASP.NET web service that I used to asynchronously save data to my database. I have a button on my webpage that invokes a javascript method which looks through the dom, gathers the data and sends it off to the service. I'm debugging a problem right now that I believe is happening in this web service, and I would like to debug th...

Unable to call a web service from Groovy

I'm going through the first examples from the new Java Web Services: Up and Running book. I tried to go through the SOAP client example for Java on page 13, but in Groovy. So here is my Groovy shell code: import javax.xml.namespace.QName import javax.xml.ws.Service import java.net.URL url = new URL("http://someURL?wsdl") qname = new Q...

Recommend a good book about Web Services (.NET)?

Looking for a good overview about .NET web services and SOA architecture. Any suggestions? Any good links? ...

Accessing the content of a JAX-WS Dispatch Response

I'm trying to access a web service with JAX-WS using: Dispatch<Source> sourceDispatch = null; sourceDispatch = service.createDispatch(portQName, Source.class, Service.Mode.PAYLOAD); Source result = sourceDispatch.invoke(new StreamSource(new StringReader(req))); System.out.println(sourceToXMLString(result)); where: private static Stri...

what's the best practice for calling a webservice from within a trigger (SQL Server)

I have need to call a webservice when a particular column in a table changes. I can handle the deciding of which column changed in the insert/update/delete but I'm not sure how I should call the webservice. The webservice is offsite, we have a little control over it (we can ask for changes and get a reasonably quick response) but the s...

Managing 2 web references with shared class dependency in a .NET project

I have a web service project that has 2 asmx files. Let’s call them internal.asmx & external.asmx In practice, these have different clients: Externally a client will call externalWS.PersistOrder(Order order ) and internally, we process the order internalWS ProcessOrder(Order order). Therefore the Order class is a shared dependency acr...

calling an ascx page method using jqery

I know that I can call a page method with jquery using the following syntax $.ajax({ type: "POST", url: "Default.aspx/GetDate", data: "{}", contentType: "application/json; charset=utf-8", dataType: "json", success: function(msg) { // Replace the div's content with the page method's return. $("#Result").text(msg.d); ...

Consuming PHP Web Service From C# Client

I am trying to consume a web service on an Apache/PHP server for which I only have the following example request as documentation. POST /server/service.php HTTP/1.1 Host: server.example.com ContentType: text/xml ContentLength: xxx <?xml version=\"1.0\"?> <command> <parameters /> </command> Every time I try to consume the service I...

Webservices for Time display in ASP.net

I need to display the time information (IST,GMT,EST) times in my ASP.net web application. Is there any webervices providing these datas. It should be free. ...

Ajax and Java

I have backend code written in Java. The code has about 12 classes. However my partner on this project who is writing the interface (which uses Ajax) is more familiar with C# and .net. What would be quicker to learn Ajax with Java or to rewrite it in C#. ...

How can I get started creating a Java web service?

I want to create a simple hello world java web service. What tools I need to get started? What do I need to know to get started deploying this in Tomcat? ...

.NET Coding standards and framework for a web service

I have been given to the task of writing a coding standards document and creating a framework for web services. I've looked at numerous articles but I am still stumped to what is exactly required especially when developing a framework as it is completely different from application code. Has anyone got any useful tips or books they can...

Consuming Web Services - going from a Manual method to an automatic one using third party provided WSDL

A bit long, but, shorter than the first draft :) We have a small VB.net application that basically pulls information from our dBase and then exports this information to an .xls file. From this .xls file, in house agents then manually update a third party listing service (which maintains our current inventory) with the information conta...

Security in Flex – is it possible to manipulate downloaded code and execute web service

I am designing the application in Flex that connects to some web services to perform some financial transactions. Web services are secured using https protocol and are asking for user token created at login on each request. This is used to authenticate and authorize the user. So far so good. The trick part is that not all of our web se...

Call ASP.NET PageMethod/WebMethod with jQuery - returns whole page

jQuery 1.3.2, ASP.NET 2.0. Making an AJAX call to a PageMethod (WebMethod) returns the full/whole page instead of just the response. A breakpoint on the page method shows it's never getting hit. I have the [WebMethod] attribute on my method, and it is public static, returns string and accepts no params. I even tried adding [ScriptSer...

JSON character encoding

I am writing a webservice that uses json to represent its resources, and I am a bit stuck thinking about the best way to encode the json. Reading the json rfc (http://www.ietf.org/rfc/rfc4627.txt) it is clear that the preferred encoding is utf-8. But the rfc also describes a string escaping mechanism for specifying characters. I assume t...

SharePoint web services: test if file exists

I'm using SharePoint web services in C#. I have my code working to check files and check them out using the Lists web service. I need to test to see if a file exists; I can find lots of examples for doing this using the object model API, but I can't seem to find a straightforward way of doing this using web services. ...

Has anyone used the new WCF REST Starter Kit successfully and would you use it again?

As the title suggests, I would like to see if this is something people are happy with. I have several projects, where I will dedicate some time in experimenting with different kinds of technologies web service related, preferably alternatives to SOAP which would be well integrated inside/with dotnet. I would like to hear if there are a...

Webservice problem with base64 data when upgrading to JBoss 4.2.3

Hi, This is a long one du to config files... I'm running a upgrade from JBoss 4.0.5 to 4.2.3 The system I work with have a legacy webservice. It is based on J2EE webservices 1.1. It has a SLSB (EJB2) as endpoint. The WSDL file points out a schema (XSD-file) file for the definition of the parameters to the webservice. And there is a mappi...