wsdl

One entity shared across two web services?

I'm working on a project where I have 2 web services that need the same entity. The 2 web services are on the same server so on the back-end, they share the same classes. On the front-end side, my code consumes both web services and sees the entities from both services as separate (in different namespaces) so I can't use the entity acr...

Autocomplete Dropdown - too much data, timing out

So, I have an autocomplete dropdown with a list of townships. Initially I just had the 20 or so that we had in the database... but recently, we have noticed that some of our data lies in other counties... even other states. So, the answer to that was buy one of those databases with all towns in the US (yes, I know, geocoding is the answe...

What is the best practice in defining a soap service (generic vs. specific operation)?

Hi all. My situation is as follows: I have a normalized database, in which I hold geographic information about airports. The structure is: airport --is in--> city --is in--> country --is in--> continent Now I want to let users administrate this data, without giving them direct access to the database. We need to offer this administra...

How to create documented WSDL using XFire

Hi there, I use XFire to create a webservice wrapper around my application. XFire provides the webservice interface and WSDL at runtime (or creates them at compile time, don't know exactly). Many of our customers don't know webservices very well and additionally they simply don't read any external documentation like Javadoc. I know tha...

Change asp.net generated WSDL for an asp.net web service

is there any way to change the way asp.net generates elements in the WSDL generated from a .asmx file? Specifically, it seems to mark all elements minoccurs="0" and there are some elements that I want to be minoccurs="1" (aka required fields). One of these is an argument to the web service (e.g. foo(arg1, arg2) where I want arg2 to be...

Specify parts of the header that have to be signed and/or encrypted in WCF with binding that support standards

Using Ws2007HttpBinding and securing the service, the WSDL file generated shows in the policy section that all the ws-addressing headers and the body will be signed, and that the body will be encrypted. <sp:SignedParts> <sp:Body /> <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing" /> <sp:Header Name="From" Na...

How to access SOAP services from iPhone

Hi, I'm planning to develop an app for the iPhone and that app would have to access a couple of SOAP services. While doing some basic checking in the iPhone SDK I was not able to find any support for accessing SOAP services, a bit of Googling lead to the conclusion that there is no support for SOAP in the iPhone SDK. So if I do want t...

.NET autogenerated web-service client: How do I avoid requesting schemas from w3.org?

I have a .NET web-service client that has been autogenerated from a wsdl-file using the wsdl.exe tool. When I first instantiate the generated class, it begins to request a bunch of documents from w3.org and others. The first one being http://www.w3.org/2001/XMLSchema.dtd Besides not wanting to cause unnecessary traffic to w3.org, I nee...

Why exactly would I want to use a WSDL to describe a Web service?

I'm having trouble understanding why a WSDL would be so beneficial, when the truth is that the service definition is not that human-readable, and most developers will use automated tools to consume it to generate objects in the application. Why isn't it easier for a service provider to define a simple XML schema, and just tell me in the ...

How is the max size of a SOAP message determined?

I'm using NuSOAP on PHP 5.2.6 and I'm seeing that the max message size is only 1000 bytes (which makes it tough to do anything meaningful). Is this set in the endpoint's WSDL or is this something I can configure in NuSOAP? ...

What's the best python soap stack for consuming Amazon Web Services WSDL?

Python has a number of soap stacks; as near as I can tell, all have substantial defects. Has anyone had luck consuming and using WSDL for S3, EC2, and SQS in python? My experience is that suds fails when constructing a Client object; after some wrangling, ZSI generates client code that doesn't work; etc. Finally, I'm aware of boto but...

Best way to reverse-engineer a web service interface from a WSDL file?

I've inherited a WSDL file for a web service on a system that I don't have access to for development and testing. I need to generate a web service that adheres to that WSDL. The wrapper is .NET, but if there's an easy way to do this with another platform, we might be able to look at that. The production web service is Java-based. What'...

Where does Websphere get the WSDL from?

I have a java application that has Web Services published using Axis. With the latest release one of the service methods in the WSDL is wrong. It has a field in a complex type with double instead of an array of doubles. I've checked the src WSDL and the generated classes like the data object and the binding stub, but they are all corr...

How to Programatically read the Documentation section of a WSDL in C#

i am using a WSDL file to create a the proxy class file, this service has a big Enumeration. the description for each enum value is in documentation section, how can i programatically read that section? ...

Override Default Constructor of Partial Class with Another Partial Class

I don't think this is possible, but if is then I need it :) I have a auto-generated proxy file from the wsdl.exe command line tool by Visual Studio 2008. The proxy output is partial classes. I want to override the default constructor that is generated. I would rather not modify the code since it is auto-generated. I tried making anoth...

wsdl.exe results in "SOAP 1.1 binding was not found"

Hi all, I'm trying to implement an HTML Parsing web service as described in Chapter 23 of ASP.NET Unleashed (1st ed.) and this MSDN article. So far, so good! However, I do get an annoying warning when using wsdl.exe to generate the class: Microsoft (R) Web Services Description Language Utility [Microsoft (R) .NET Framework, Version ...

Using complex data types from Java in Axis webservice

I am currently developing a Java app which handles a SOAP webservice. The problem lies after I parse the WSDL [the Parser object from Apache Axis does it for me], and I create the call. When I try to invoke it, I have to pass a Object[] to assign the parameters [taken from the Action of the WSDL]. A normal action is easy, but when I ...

Generating a WSDL using Python and SOAPpy

First of all, I will admit I am a novice to web services, although I'm familiar with HTML and basic web stuff. I created a quick-and-dirty web service using Python that calls a stored procedure in a MySQL database, that simply returns a BIGINT value. I want to return this value in the web service, and I want to generate a WSDL that I c...

Visual Studio's wsdl.exe can't find some info in my schema. Not sure if this is an error.

When I use wsdl.exe to create a client from my wsdl, it finishes O.K., but inserts the following comment in the file: // CODEGEN: Parameter 'VerificationData' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayItemAttribute'. I can't figu...

WCF Webservice behind public reverse proxy

How can I correctly serve WSDL of a WCF webservice located in a private LAN from behind a reverse proxy listening on public IP? I have an Apache webserver configured in reverse proxy mode which listens for requests on a public IP address and serves them from the internal IIS host. WCF webservice generates WSDL using the FQDN address of ...