wsdl

WSDL vs REST Pros and Cons

Related: Why would one use REST instead of Web services? When deciding whether to implement a web service using SOAP or REST (by which I mean HTTP/XML in a RESTful manner) what should I be aware of and what should I be thinking of? I presume that this isn't a one size fits all thing so how do I choose which to use. Regards ...

Is the Amazon SimpleDB WSDL for SOAP without WS-Security correct?

The SimpleDB documentation includes this example request for a ListDomains method. Note that there are Signature, Timestamp, AWSAccessKeyId and Version subelements: <SOAP-ENV:Body> <ListDomainsRequest xmlns=" http://sdb.amazonaws.com/doc/2007-11-07"&gt; <Signature>SZf1CHmQnrZbsrC13hCZS061ywsEXAMPLE&lt;</Signature> <Tim...

php5 soap client in wsdl mode how to access different svc endpoint than the one specified in the wsdl

I´m a newbie to soap with php5... I need to use a wsdl provided by a third party company, where, for testing purposes I´m supposed to use a different access address location for the service I´m needing, than the one specified in the wsdl document. Is there any way I can create my soap client in wsdl mode, and override the specified add...

xsd for wsdl in coldfusion

How to generate an xsd from the wsdl generated in Coldusion? I'm no sure how the xsd is useful for creating SOAP stub but someone needs it so need to find a way to generate one. I tried using some online tools for this but it says "inline definitions". Hopefully some one knows how to do this. ...

Access restriction on class due to restriction on required library rt.jar?

I'm attempting to compile Java 1.4 code that was created by IBM's WSDL2Java on Java5 without recreating the stubs and saw this error in Eclipse. I'm under the assumption that the stubs created should just compile as long as the runtime jars are available (they are). Access restriction: The type QName is not accessible due to restriction...

Injecting an unrelated contract into the WSDL created by WCF's MEX provider

I am implementing a WCF service (Contract A) that will eventually make calls to a standalone service (Contract B) hosted by the client. At design-time when the client queries my service's WSDL to build its proxy, I'd like to include the WSDL for Contract B so the client can build its service around that. Unfortunately, I can't figure out...

How to handle rpc/literal webservice with JAXB2 and Spring-WS

We need to access a legacy webservice that uses the RPC/literal webservice style and also to provide webservice endpoints for it. If you use webservices of document/literal style with Spring WebserviceTemplates / WebserviceEndpoints, you can use JAXB2 to generate / marshal / unmarshal the webservice requests. But how do you do this with...

Sending and receiving SOAP messages without envelopes in C#

This there a good tutorial or example of C# code sending and receiving SOAP messages without using a SOAP envelope? ...

Using WSDL for sending and receiving in C#

You are given a WSDL and a sample soap message, is there a good tutorial or sample code in using that WSDL to consume a web service? Does the WSDL follow a certain format in order for which it can be consumed properly? I recall a web service in Java that I changed certain tags and attributes in order for this to work, is there a gener...

Get List of all non-builtin Types from WSDL?

Given a WSDL/XSD, what's the easiest way to produce a list of all simple & complex Types? (Java preferred.) i.e. <xsd:element name="ThirdPartyProductInfo" type="typens:ThirdPartyProductInfo" minOccurs="0"/> <xsd:element name="SalesRank" type="xsd:string" minOccurs="0"/> <xsd:element name="BrowseList" type="typens:BrowseNodeArray" minOc...

Problems consuming a Java/AXIS web service in a .Net Application

Hi, I have to consume a Web Service that is written in Java by a 3rd party, generated with Axis I guess. I'm using .Net Framework 3.5 SP1 and VS 2008. I've made a Web Reference, as we used to make in .net 2.0, and pointed it to the wsdl of the service. It worked perfectly with some methods of the service, but when I try to call a Met...

How to add custom Http Header for C# Web Service Client consuming Axis 1.4 Web service

Hello, I'm trying to write a web service client in c# which the webservice is Java Axis 1.4. Axis service requires the Authorization: Basic Base64EncodedToken header value in the HTTP Headers. I can't find a way to set this header in standart ways of consuming web services in visual studio.net, like normal WSDL generated refernce nor w...

Problem with WSDL generated from Generic Service Contract in VS 2008

[Edit] I figured out a way to make it work, comments in the code. I have dozens, and will soon have hundreds of workflows with the following contract: [ServiceContract(Namespace = "http://schema.company.com/messages/")] public interface IBasicContract<TRequest, TResponse> where TRequest : class where TResponse : class { [Operatio...

Problem with generating WebService proxy using svcutil

In our application we are forced to consume several WebServices. In the beginning we used just the "Add Service Reference" menu option, in order to create a WCF proxy. The wizard didn't generate a DataContract, but much rather an XML-Serializable class. So far, so bad, but this wasn't the killer. However, later we noticed, that we were ...

Generating a WSDL from a xsd file

Hi, I need to generate a WSDL file given a xsd file. How do I do this? Can I do this in VS2005? What is the simplest way to do this? Cheers! Ausgar ...

Uncaught SoapFault exception: [HTTP] Error Fetching http headers

Hi, I'm trying to create a soap connection to Magento's web services, however I'm getting an error when I try and create an instance of the soap client class. I can view the wsdl file in firefox without problems and I can watch php make the request for the wsdl in apaches logs but it still fails. Nusoap can connect. $proxy = new Soa...

SOAP replacements/workarounds/libraries in PHP

Being as stubborn as it gets, I'm building my own PHP-based CMS and framework (named RAmen/FSM just for the kicks) that has been deployed multiple times for my customers. Now, I'm going to develop a support ticket application for it that I will deploy on a 'central' server for convenience of maintenance. Now, I've looked into SOAP servi...

How to use a WSDL File to create a WCF Proxy?

I have an old WSDL file and I want to use WCF to communicate with the service. The WSDL is generated from a ASMX (I suppose but I am not sure). What would be the required steps to communicate with it ? Thank you in advance. ...

How to use a WSDL file to create a WCF service (not make a call)

Hello all, I have asked this question in another thread : My question I have misunderstood the task, basically I need to create a server based on this WSDL file. How can I achieve this ? Thank you. ...

Create WebService Client from URI in Eclipse

Hi all, i want to make some tests with the Oracle Business Intelligence Webservices. First i want to import them into Eclipse. For that i use this howto: http://px.pats.no/px/Eclipse_tutorial.html Until step 8 is everything okay. For the Import i'm using: http://localhost:9704/analytics/saw.dll?WSDL But then i get following error: ...