wsdl

SOAP Client in C# without access to a WSDL-file

I'm working with a third party to integrate some of our systems with theirs and they provide us with a SOAP interface to make certain requests and changes in their connected systems. The problem for me is that they do not supply a WSDL-file for me to work against. If I had a WSDL-file it would be a simple matter just to run the supplied ...

WSDL best practices

Hi, I'm developing a SOAP application that integrates with a 3rd party. I think the WSDL of this third party is very strange. I'm pretty new to SOAP, so I don't want to go asking them to fix it if it isn't broken. Here's some things I've noticed that I consider wrong about it, though I'm sure it's technically a valid document (hence t...

What is the prefered method for a 'WSDL' for REST webservice?

I have build plenty of SOAP webservices, but am building a REST webservice for a specific project, and I was wondering what people used for a 'WSDL' for REST services or if it is even needed. ...

What is the best way to download all of the WSDL files exposed by a WCF service?

What is the best way to download all of the WSDL files exposed by a WCF service? For example, the root WSDL file references the following other WSDL files: <xsd:import schemaLocation="http://localhost:80/?xsd=xsd0" namespace="http://tempuri.com"/&gt; <xsd:import schemaLocation="http://localhost:80/?xsd=xsd1" namespace="http://tempuri.c...

How do I declare the return type of a SOAP method to be a map (in its WSDL)?

I am adding a method to a SOAP service. I would like this method to be able to return a map. More specifically it is map of lists (vectors/arrays). How would I capture this in its WSDL? ...

How to convert an RPC/encoded style WSDL into document/literal

I need to generate a new WSDL file in the document/literal style based on an old RPC/encoded one. I've viewed the other WSDL questions here - and read http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/. This suggests that the document/literal WSDL should have an additional part - but my old RPC/encoded document has suc...

Collecting Data from NDFD SOAP response

I have written a small app that retrieves data from the National Digital Forecast Database NDFD, and am currently receiving the XML response correctly. I have noticed that although I can use the WSDL2Java tool in order to create the interface in order to request the weather data, when I actually use the interface to get the weather data...

What is the best way to connect to a DotNet web service from java?

We have a dotnet web service that a java using customer wants to connect to. What is the best technology for them to use? Axis or Metro, or something else? ...

In PHP how can you clear a WSDL cache?

In through php_info() where the wsdl cache is held (/tmp), but I don't necessarily know if it is safe to delete all files starting with wsdl. Yes, I should be able to just delete everything from /tmp, but I don't know what else this could effect if I delete any all wsdl files. ...

Axis2 WSDL2Java : missing no-arg operation in generated stub

Hi, I've got in my webservice a simple public boolean isAlive() service. I defined it in my WSDL : <wsdl:types> <xsd:element name="isAliveResponse" type="xsd:boolean"> </xsd:element> </wsdl:types> <wsdl:message name="isAliveResponse"> <wsdl:part element="ns:isAliveResponse" name="parameters"/> </wsdl:message> <wsdl:portType ...

Moving from NuSOAP to PHP5 SOAP

Hi, I have been working on a script with PHP4 that relies on NuSOAP. Now, I'm trying to move this to PHP5, and use the buildin support for SOAP there. $wsdlPath = ""; // I have obviously set these variables to something meaningful, just hidden for the sake of security $apiPath = ""; $username = ""; $password = ""; // PHP5 style $cl...

HTTP Bad Request error when requesting a WCF service contract

I have a WCF service with the following configuration: <system.serviceModel> <behaviors> <serviceBehaviors> <behavior name="MetadataEnabled"> <serviceDebug includeExceptionDetailInFaults="true" /> <serviceMetadata httpGetEnabled="true" /> </behavior> </serviceBe...

Force re-cache of WSDL in php.

I know how to disable WSDL-cache in PHP, but what about force a re-caching of the WSDL? This is what i tried: I run my code with caching set to disabled, and the new methods showed up as espected. Then I activated caching, but of some reason my old non-working wsdl showed up again. So: how can I force my new WSDL to overwrite my old ca...

Can I disable SOP (Same Origin Policy) on any browser for development?

I want to develop JS on my windows machine. Do you know a browser where I can turn off SOP so I can develop? Firefox would be optimal. Or if you know a proxy I could use for a SOAP/WSDL site it would be great too.. I am trying to work with the SOAPClient (http://www.codeplex.com/JavaScriptSoapClient) ...

asmx wsdl string length

I have a VB class in an .asmx file in Visual Studio 2008: public class foo public bla as String end class It generates the wsdl value: <s:complexType name="foo"> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="bla" type="s:string" /> </s:sequence> </s:complexType> But what I want the wsdl to generate is: <xs:el...

Generate WebService producer from WSDL in Visual Studio 2005

I have a WSDL file defining the interface for a web service and I want to implement that service (i.e. producer/server code) using C#, ASP.Net and Visual Studio 2005. Setting up a Web Reference as consumer of a web service is a breeze, but as a producer isn't as obvious. In the java world there is wsdltojava. Is there something similar ...

How do I fix a .NET Webservice timeout causing a UnsupportedMediaException in a Java client?

I currently have a .net SOAP web service with a timeout on the request that I set using Server.ScriptTimeout = TIME_OUT; I then have java client calling said web service. However when the timeout is reached I get this exception: Exception in thread "Thread-9" com.sun.xml.ws.server.UnsupportedMediaException: Unsupported Content-Type: ...

Handle requests to several classes within the same PHP SOAP server

Hi, Is that possible to have a single PHP SOAP server which will handle requests to several classes (services)? If yes, could you please show an example implementation? If not, could you please describe why? Thanks in advance, Artem. ...

asmx wsdl loading forever

I have a web service application which has suddenly stopped working. I have enabled directory browsing in IIS, and can view the application directory. I can view the xml files within the application directory, but I cannot view the .config files, nor can I view the wsdls of any of the web services. When I try to browse to http://serve...

AXIS 1.4 adds elements to custom fault type

Maybe someone found a workaround for the following problem: It seems as if AXIS 1.4 adds an <exceptionName> and a <hostname> element to each custom fault element. In the WSDL the fault is defined to only consist of a custom fault message systemMessage. This is the answer returned from my service. Never mind about the error, it could be...