web-services

how to reconcile conflict between original and generated file within Java web services?

I have a legacy Java application that uses class mypackage.Foo. I would like that application to utilize a web service that returns instances of Foo. To connect to this web service, I use wsimport on the WSDL to generate the artifacts, and it gives me another Foo.java file. Ideally, I would like to tell wsimport to generate artifacts ...

Webservices error for dev.virtualearth.net/webservices/geocode

I am getting the following stacktrace and have no idea what I am looking at and how to debug and fix it: Here is the error: Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error...

.NET Test Harness what should it have

Hi Folks, We have a software house developing code for us on a project, .NET Web Service (WCF) and we are also paying for a test harness to be built as a separate billable task on a daily rate. I have just joined the company and am reviewing what we are getting from the software house and wanted to know what you guys in industry thought...

client-side synchronous service invocation

I am talking about synchronous on the client side. That means, the service requester is blocking after sending a message to the service. my question is: is it related to the -a -s parameter of wsdl2java tool, Since -a generate async style code and -s generate sync style code. Or the client side blocking or not is totally controlled by...

Asp.net consuming http based webservice?

hi, I want to generate html content based on a result returned by http url. http://www.zillow.com/webservice/GetDeepSearchResults.htm?zws-id=X1-ZWz1c239bjatxn_5taq0&address=2114+Bigelow+Ave&citystatezip=Seattle%2C+WA This page will give you some xml results. I want to convert to use that xml to generate html. I am not getting...

jax-ws on glassfish3 init method

Hi all, I've created simple jax-ws (anotated Java 6 class to web service) service and deploied it on glassfish v3. The web.xml <?xml version="1.0" encoding="ISO-8859-1"?> <web-app> <servlet> <servlet-name>MyServiceName</servlet-name> <description>Blablabla</description> <servlet-class>com.foo-bar.somepackage.TheService</servlet-...

IIS, Web services, Time out error

Hello, We’ve got problem with ASP.NET web application that uses web services of other system. I’ll describe our system architecture: we have web application and Windows services that uses the same web services. - Windows service works all the time and sends information to these web services once an hour. - Web application is designed fo...

BDS 2006 webservice compatible with ws-i basic profile 1.0?

Are webservices written in BDS 2006 compatible with ws-i basic profile 1.0? Delphi seems to always add use="encoded" to soap:body which is against this part of the specification: http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html#refinement16448072. ...

Using OData with POCO

Hi, Is it possible to use OData with POCO or is it limited to just LinqToEntities? All the examples I can find only seem to use the Entity Framework. Also is the seen as a replacement to WCF Services or is it intended to run in parallel? Thanks ...

Returning Meaningful Exceptions from a WCF Project

I am pretty new to WCF in general. What little experience I have comes from using fairly simple .SVC services in ASP.NET web applications. I tried experimenting with using a WCF Project for the first time, and ran into a major show-stopper. As I’m sure most are aware, for some strange reason, in a web application in which the customErr...

using .net classes obtained form web services in flex

from flex, when calling a .net web method that returns a custom class, I always recieve an ObjectProxy, even if I have the same class created on flex. How do I manage this ObjectProxy as the class I have? thanks. ...

HowTo JAX-WS+AXIS(standalone)+Hibernate

Hi, I am searching for a right way to use Hibernate in my web-service. To begin I whant to describe, how it is working now. I have made a simple class with @WebMethod and @WebService annotations and stored it in axis2-"1.5.1/repository/servicejars" folder. This class invokes real service implementation using reflection. And all implemen...

Random "Not Found" error with Silverlight accessing ASP.NET Web Services

I'm developing an application with Silverlight 3 and ASP.NET Web Services, which uses Linq to SQL to get data from my SQL Server database. Randomly when the user causes an action to get information from any of my web service methods, Silverlight throws the exception "The remote server returned an error: NotFound.", of type "Communicatio...

Would OpenID or OAuth work for authorization/authentication on a distributed web service?

We're in the early stages of designing a RESTful/resource-oriented web service API for a computational lingustics application. Because many of the resources we plan to serve are rights-encumbered, a key design decision has been to specify the platform so that each resource provider can expose their own web service that complies with the ...

XmlSerializer.Deserialize method appends timezone to a time and datetime field

Have a small script in Microsoft.NET 2.0 that deserializes a XML back to a typed object, connects dyanimcally to a web service using ServiceDescription and binds the deserialized typed object to the WebMethod inbound. The XML prior to serialization looks like below <completion_time>12:19:38</completion_time> on the wire when communic...

Webservice Connection Refused

I have developed a web app using a webservice. Everything works fine in the development environment. I have moved the webservice to the production server in a test folder behind my main website. I can browse to the published service localy on the production server and i can access the remote service from my development machine. If I run...

Logging ASMX Requests and Responses from Client

Hi, I've got a C# web application which I can't easily update the code of. However, I can make configuration changes to the application. The application calls out to a third-party ASMX web service, and I really need (if at all possible) to log the full XML requests and responses. I have no control over the web service so I have to do i...

Call Webservice using Javascript

I am trying to call a webservice using javascript.But it shows an error like selectSingleNode() is not a method.I am trying it in mozilla firefox.Which is perfectly working in explorer when i change XMLHttpRequest to ActiveXObject.here i am adding my source code which i am tried in firefox. <script language="javascript"> // Web Service...

WCF, Timer Jobs, Web Service which is better ???

I am working with a Web application, based on Asp.Net 3.5 and WSS 3.0 platform. Recenlty i've got a task as follows. Import bank statement using FTX - Desktop application and parse those statements into database in every 24 hours ie. i need to download bank statement with the help of a desktop application(which i can call by batch fil...

Web service for Timezone based on Location

Hi, Is there any web service available that returns the information of Time zone based on the location name entered. I am preparing the application where in user will enter the place, based on the place entered, I need the information of the timezone (preferably current time and date) of that particular location. Kindly help me. Rega...