wsdl

Parsing response from the WSDL

Hello. I've generated the web service client in eclipse for the OpenCalais WSDL using the "develop" client type. Actually I was following this post so not really going in detail. Now when I get the results this way: new CalaisLocator().getcalaisSoap().enlighten(key, content, requestParams);, I get the String object, containing the respon...

"The specified type was not recognized" exception when trying to invoke a webservice call

I'm trying to call a third party webservice using WSE 3.0 as a client in Visual Studio 2005. The call works fine and I can see that I get a good response (I have tracing enabled), but apparently the xml parser chokes over it. I always get an InvalidOperationException: There is en error in the XML document. with an InnerException: ...

How to consume PHP SOAP service using WCF

I am new in web services so apologize me if I am making some cardinal mistake here, hehe. I have built SOAP service using PHP. Service is SOAP 1.2 compatible, and I have WSDL available. I have enabled sessions, so that I can track login status, etc. I don't need some super security here (ie message-level security), all I need is transp...

How to Call methods I see in a wsdl file someone linked me to?

Hi all, I am not a Java programmer by trade. C and Fortran mostly. However, I have this one-off project someone wants done. Connect to some web-based database and retrieve some data from it. I asked around, and someone finally linked me to a WSDL page. I click on this link, and I see a huge XML looking file. If I am writing a stand-alo...

Dynamic WSDL Location in .NET

I am building a C# application that is consuming a WSDL that is hosted by a server on our network. When I use the "Add Web Reference" functionality of Visual Studio, it works just fine, saving the ip address of the machine, etc. and the SOAP calls work without any issue. We are now making this entire application portable so that it c...

Web Services with Android - why no support for WSDL ?

I'm creating a Client/Server application with Android (Client) and WCF (Web Service). From reading quite alot of discussions, I'm under the impression that there is no tool available to create the web service client in android automatically from a WSDL file. If this is the situation, what is the easiest approach for creating a communica...

WSDL.exe tool - generating code for .NET Compact Framework

Hello Is the wsdl.exe tool capable of generating proxy code for .NET Compact Framework 2.0? Regards Dominik ...

What is the difference between building a WSDL in Eclipse and using WCF?

I'm somewhat familiar with WCF in that I can build Web Services in VS.Net ... I understand some of the concepts... But, the other day I cam across this option in Eclipse (I also use Java to code) to create a WSDL. Playing around with it it looks great since it has a GUI method of building itself. I guess I just wanna know what the diff...

Calling a wsdl in php over https

I'm trying to connect to the next webservice: https://grab.beta.agiv.be/Tools/CRABTools.svc?wsdl I also have to add a header element which I have already created Can i call it just using php soapclient or zend_soap_client? Or do I have to use nusoap_client? I try something like: $soapclient = new nusoap_client($wsdl); $header = ""; /...

Calling a wsdl in php over https using Zend Soap Client

When I'm trying to connect to a webservice I always get the next fault SoapFault exception: [s:Sender] An error occurred when verifying security for the message I also have to use a security header, full soap request is send: <env:Envelope> <env:Header> <ns2:Action env:mustUnderstand="1"> http://ws.agiv.be/crabtools/ICRABTools/GetAddr...

Visual Studio 2010: adding a service reference to a 2008 generated wsdl

Doesn't produce a app.config . In my team there is a guy who has Visual Studio 2008, he created a webservice. Then there is me, adding this webservice to a console project. Adding the service reference goes without problems but no valid app.config is generated. It's just empty <configuration> </configuration> When I disable 'reuse t...

Web service response differs from WSDL

Any explanation for this kind of behaviour? Part of WSDL: <complexType name="ArrayCD"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="item" type="impl:EF"/> </sequence> </complexType> <complexType name="AB"> <sequence> <element name="elem1" nillable="true" type="impl:ArrayCD"/> </sequen...

Can I get the URL used from the stub class created with wsdl.exe?

I'm working with a customer whose web service doesn't return the data in every case. Since the C# stub code is generated by calling wsdl.exe, I'm wondering how to get the actual URL used for any particular method call. I would like to feed the URL to a browser to show them (aka point fingers). ...

Axis2 Class Generation

I have an instance of a derived class (called Child) that I would like to send between the client and server of my web service. However, the method that might be returning this instance, is marked as returning an instance of the parent class (called Parent). For example: public class Service{public Parent createInstanceOfParentOrChildO...

[grails + xfire] How to handle errors in SOAP services?

Hi all, I'm implementing a web service on the xfire plugin. I was wondering how I'm supposed to handle the errors. I tried with this setup but the error is not returned to the SOAP client: GaSession[] myMethod( String userId ) throws MyException{ GaUser user = GaUser.findByUserId( userId ) if (!user) throw new MyException("user...

What is the state of adoption for WSDL 2.0 and WSDL HTTP Binding?

Hi, 1) does anyone know something about the adoption rate of WSDL 2.0? I always read that it is not widely deployed compared to WSDL 1.1 but I can't find any numbers or surveys on this. 2) And how relevant is the HTTP Binding in WSDL? How many real-world projects actually use it? It has been significantly improved in the ...

How do I create a Web Service in Visual Studio.NET using a WSDL file?

I'm trying to use a WSDL Top Down approach to create a Web Service in Visual Studio 2010. I used Eclipse's WSDL GUI Editor to generate a WSDL file (CalculatorWSDL.wsdl) which uses the SOAP method for communication. I also used wsdl.exe to generate a C# file (Calculator.cs). Now, I'm not sure what to do next. How do I actually use the ...

Spring Roo from WSDL?

Hi folks, Spring Roo + GWT is very exciting but I'd like to use an existing Web Service as a backend so I was wondering if there is any way to configure Roo to use a WSDL as the starting point rather than the entity description (and have it wire in the Jax-WS calls to the service). Thanks! ...

How to programmatically generate WSDL from WCF service (Integration Testing)

Hi All, I am looking to write some integration tests to compare the WSDL generated by WCF services against previous (and published) versions. This is to ensure the service contracts don't differ from time of release. I would like my tests to be self contained and not rely on any external resources such as hosting on IIS. I am thinking...

WSDL: What do I do with it? Add service Reference? Noobie question

Hey guys! I have been given a WSDL with all the method requests and responses, and all the objects I'll need to use for creating a few webmethods. The thing is, I don't know what to do with it. I've added the WSDL as a Service Reference. I can see the methods and structures, I can instantiate them, it's all there, but the project doesn'...