wsdl

.NET 2.0 Web Services WSDL Fault element being ignored?

I have a web service method where I would like to throw some custom exceptions e.g. SomeException, SomeOtherException etc which the web service would then turn into a SOAP fault which the client would be able to handle. In Java I can have wsdl:fault elements within the wsdl:operation element in the WSDL. It appears it .NET that this is n...

Return an Array of Arrays via PHP WSDL based web service

I'm struggling with the following problem: I have a PHP-based web service which needs to be consumed by various clients. As long as I keep things simple, everything works fine. I figured that Axis2 and .NET don't like soapenc:array definitions in WSDL, so I created list types for mapping object arrays: <xsd:complexType name="CourseList...

WSDL validation error when using MTOM

I am experiencing an issue with WSDL schema validation failing when my web service response contains an MTOM attachment. After searching the web I see I'm not the only one with this problem but have not found any solutions. It seems to fail because the web service response contains an xop:Include element similar to the following, which ...

Why does this WSDL file generate an empty service proxy in VS2008?

Why does this WSDL file generate an empty service proxy in VS2008? If you look at the Reference.cs file generated, it's empty. Any ideas? ...

Axis 2 java2wsdl creates different wsdl than JBoss shows in the ?wsdl URL

I'm refactoring the way the client code for a bottom-up web service is built. The existing build creates the Java client code by using a deployment of the web service on JBoss 4.2 and executing the Axis 2 AntCodegenTask against http://devserver.url?wsdl. This method fails if the development server is down or has outdated wsdl. (Crusie...

How to make WSDL.exe NOT generate the XxxAsync methods (I still want Begin/EndXxx)

Does anyone know how to do this? ...

JAX-WS Loading WSDL from jar

I'm writing a fat client that makes use of a SOAP service for some features (bug reporting etc.) I've got JAX-WS working fine, but by default (in netbeans at least) it fetches the WSDL from the remote server every time the service is initialized. I expect this helps provide some versioning support etc., but it's not what I want. I've ...

wsdl importer generates faulty server

Hi, I've been trying to get a soap server up that implements (is that the correct term?) a wsdl specification made by a third party. I have used Delphi's wsdl importer. (Part of) the generated code looks like this: miniPortType = interface(IInvokable) ['{824D172A-9C1F-D202-5B21-4C324553BCF0}'] // Cannot unwrap: // - Input element...

wsdl s:time type not working in c#

I'm sending SOAP requests to an external web service. There are several fields that make up the request and one of them is defined as a s:time type. I would like to set this time field to a value but c# only accepts a datetime type and not just time. ... soapClient soapService = new soapClient(); sendTime soapRequest = new sendTime();...

Mapping WSDL enumeration to string in ASP.NET webservice

Hi, Background: I'm in the process of creating a web service using ASP.NET 2.0. This web service provides another interface to an existing web form which contains selection boxes dynamically populated from a database. My first draft of the web service accepted a string for each of these and then ensured that it was valid, throwing back...

Problem consuming deployed asp.net webservice to IIS6

When trying to update the web reference to a deployed asp.net webservice from a windows forms app, I get an error. Unable to download following files from .https://webserver/webservices/myservice.asmx?wsdl For some reason it is looking at a host called webserver, but that isn't what it needs to look for for the WSDL. It needs to look a...

WCF: Svcutil generates invalid client proxy, Apache AXIS Web Service, overload operations

I'm using a 3rd party web service written in Java and using Apache Axis 1.3. The service has many overload operations. When the WCF Svcutil generates the proxy, it renames the overloaded operation by appending a number after the operation name. For example: getDataResponse getData(getDataRequest request); getDataResponse1 getData1(g...

Visual Studio 2008 not generating Web Service Reference.cs proxy class?

I just ported a project from Visual Studio 2005 format to Visual Studio 2008. This project makes heavy use of consuming web services. We use our own custom parent class for the generated proxy classes (Reference.cs) that Visual Studio generates up. I added a new web reference using Visual Studio 2008, and it did not generate the proxy...

what files to give client for .wsdl

Hello, thanks for any assistance. I'm creating a wcf web service for an external client. The client is requesting a copy of the wsdl. I currently am waiting on being able to provide the client with access to the service. when I go to my local webserver running the service (http://localhost/Services.svc?wsdl) I am shown the wsdl, the d...

Parsing a WSDL to extract Service / Port elements

I want to automatically process a WSDL file to discover defined Service / Port elements. Is this possible, using Java or some sort of Ant utility? If so, how? ...

What happens to all the hard-coded URIs when I move a Web Service?

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...

methods with the same soapaction

Hi, I'm doing contract-first development of a SOAP server. The wsdl declares the same soapAction for several methods. Now svcutil produces code that declares the same value for the OperationContractAttribute.Action property of several methods. This causes a runtime error which says that every operation must have a unique action value. ...

Getting parameters for web service programmatically?

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...

searching for a WSDL or updated xml with finance information

Hi i have to create a line chart with finance information like the one in this site http://finance.yahoo.com/ but i need information of all the countries is there a place where i can get this information updated as a web service or xml ? ...

NetBeans Web-Services Client Project - repeated WSDL parsing

I created a new project thus ... File, New Project... Java, Java Application. Right-click project icon in "Projects" tree-view panel. Choose New, Web Service Client... Specify WSDL file e.g. ( ) Project (*) Local file D:\temp\Foo\Bar.wsdl ( ) WSDL URL [Set Proxy...] client...