web-services

SOAP Message contains an extra tag after generation from WSCF Blue in Visual Studio 2008

Hello there, I'm using Visual Studio 2008 to write a simple web-service but have been running into some problems. You might need to format my The full expected message is something along the lines of: <?xml version="1.0" encoding="utf-8"?> <xs:schema targetNamespace = "http://www.website.com/WS/" elementFormDefault ...

webservice to transfer file from iPhone to backend

how to write a webservice , that would read the log file from my iPhone application and move it to the server ...

Encoding base64 in Java and decoding in C#

Hi! I have to send a file to my webservice, but the webservice assumes the file (byte Array) as a base64Binary. Before the encoding, the byteArrayFile is saved on disk as a regular File. (I'm doing it just for testing) So, in my Java client for webservice, I'm sending the information this way: String file = new sun.misc.BASE64Encoder...

How do I change the timeout constraint when calling a WebService from a Silverlight 4.0 app?

How do I change the timeout constraint when calling a WebService from a Silverlight 4.0 app? It doesn't have a Timeout property attached to it like it seems to have had before. Edit: Anyone? ...

How to mock web service call in a WF workflow?

I'm implementing a WCF web service based on WF. This web service consumes other web services which I'm not in charge of. So basically my service workflow contains several Send activities. I'm following the TDD approach, so the service implementation is to be covered by unit tests. I want to test proper invocation of 3rd party services. ...

How to remove references to HttpWebRequests when making calls to webservice that don't return any response?

Hi, When making calls to a webservice from an asp.net web application, to avoid creating a new proxy for each webservice call, I store the proxy in a dictonary. So when a call to the webservice is being made, an instance of the webservice proxy is returned based on a key passed to a factory method. If a proxy for the corresponding key i...

JAX-WS client authentication on proxy server

I'm trying to use JAX-WS api to send some soap messages on a client application. However, I'm behind a firewall and the only option is to use a proxy server to go outside. I'm trying to find on google any answer about this and so far all fail: To Use System.setProperty for http.proxyHost, http.proxyPort, http.proxyUser, http.proxyPasswor...

SSRS 2005 - XML webservice dataset - parameters not getting passed to webservice

Hello All, I have an SSRS 2005 report which I'd like to use a webservice to retrieve some data. This webservice will take in several parameters. As a test I set up a very simple demo webservice project on my local environment: [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]...

problem in publishing a webservice

i am new to web services. i have created a web service in .net. it's working fine but i am bit confused about the publishing procedure. it's not working when i publish it to localhost's inetpub.i get some error messages like access denied or location not found. i wanna know the procedure to publish my webservice and make it public. th...

Why MTOM attachments get duplicated inline (JAX-WS RI 2.1)?

Hello, I'm trying to return binary data with MTOM as ant attachment, but actually data is inlined as base64 encoded data and then duplicated as attachment. Why? Here is my web service: @WebService @MTOM(threshold=0, enabled=true) public class BinaryService { private static final String SERVICE_ENDPOINT = "http://localhost:8998/test"...

Web service WSDL - Type Expansion and backward compatibility

I have a requirement to add additonal enumeration items to a web service response and I want to know any best practices around this. I assume this is considered a non-backward compatible change? Should I employ a web service versioning aproach here? Thanks in advance. ...

Why is ASP.NET trying to generate a temporary class for a Web Service reference?

In Visual Studio 2008 I have a Class Library project (called Media) to which I added a Web Reference (not a Service Reference) to a third-party web service (wsdl). In the Class Library project a proxy class is created for using the service along with several classes for the types used in that service. I also have a second Class Library ...

Cannot test WCF service in Visual Studio. "There was no endpoint listening."

I am attempting to test a WCF web service I'm developing by accessing it using a Winforms client in Visual Studio. The WCF service is being hosted by the Visual Studio ASP.NET development server, and I can see it when I access it via my web browser (it gives me the "You've created a service." page). However, when I attempt to connect to ...

mtom using axis and iphone

hi, I am new to webservice stuff. I have a axis service which sends a response which has a MTOM attachment of file. without using utilities like wsdl2objc is that possible to extract the file from the response ? It is a zip file. if yes please let me know how to do it. ...

Advice on creating "consumable" data service in coldfusion - use web service / WDDX / HTTPS ?

I have a web app built in coldfusion that receives medical referral letters from primary care doctors (family doctors) for transmission to hospitals and specialists. The data comes in to a MySQL database and is the format referral_ID (autoincrement) patient_firstname (string) patient_lastname (string) ... other patient identifiers or...

ASP.NET webservice authentication from an iPhone app

Hi, I have my iPhone app that calls an ASP.NET Webservice to download "data". Most of this needs to be protected, but currently the webservice that's deployed can be called by anyone who can figure out its URL, thus resulting in a complete loss of security. The simplest form that I can think of would be for the phone to make a call ov...

Web Services design

Company A has async pooling based webservice for notifications. Company B checks for notifications. Every time when it reads new notifications A deletes them from the system. Thus subsequent read requests return only new notifications. There is also requirement for the client B to interrupt the connection if there is no response within 3...

Glassfish - Deploying a WSDL with 2 functions of the same name

Hi all, i am using Netbeans to create a Web Service and the code is written in java. My problems arises from creating 2 functions that will be accessible by a client. The functions look alike by name but their parameters are different. When building the web service(int a war file) i get no complaints. However when deploying the war fil...

Web Services, Internet Explorer and Research Options

Hi, I have this webservice (someservice.asmx) that I am able to access from my browser(Internet Explorer 7). I have deployed my webservice on a different machine accessible via the intranet. The WSDL is displayed on the browser window when I type the [servername]/someservice.asmx on Internet Explorer(7). The problem surfaces when I try ...

Simple protocols (like twisted.pb) vs messaging (AMQP/JMS) vs web services (REST/SOAP)

Hi, I'm currently using twisted's perspective broker on python and I have considered in the past switching to something like RabbitMQ but I'm not sure it could just replace pb - I feel like I might be comparing apples to oranges here. I've been reading a lot about REST lately and the inevitable debate with SOAP, which led me to read abou...