wsdl

Can I make Axis2 generate a WSDL with 'unwrapped' types?

I'm trying to consume a hello world AXIS2 SOAP web service using a PHP client. The Java class is written in Netbeans and the AXIS2 aar file is generated using the Netbeans AXIS2 plugin. You've all seen it before but here's the java class: public class SOAPHello { public String sayHello(String username) { return "Hello,...

What is the best solution for creating a SOAP Server in PHP?

I need some advice on which library is the best choice when it comes to creating SOAP servers (and eventually SOAP clients) in PHP. I know there is built-in functions for this, but is that really the best way to go about it? Also, if you could attach some arguments as to why a certain library/method is the better, i'd be much delighted...

WSDL over SSL mode.

I have a simple web service that is going to be invoked over ssl mode (https://ipaddress%3Acompany/service/servicename?wsdl). so i created a keystore and truststore with sun jdk tool(keytool) and saved the in the server. But I still get the below error. Using metro webservice javax.net.ssl.SSLHandshakeException: sun.security.validator.V...

Make a single WCF service support both SOAP, REST and WSDL

I'm trying to build a C# service in .NET 3.5 that supports both SOAP - and shows the WSDL - and REST. The SOAP service and WSDL generation was easy enough to do using the ServiceHost and a BasicHttpBinding classes. Got that working and the client was happy. Because the SOAP calls all used simple parameters, the client developers reque...

Error connecting to secure web service!

I am consistently receiving the following error when trying to create a Web Reference in Visual Studio 2008 to a 3rd party web service. 'Received an unexpected EOF or 0 bytes from the transport stream' I get the same error too if I try to generate a proxy class vith the wsdl.exe tool. I can confirm the web service is operating as it ...

Any way to generate WSDL documentation from Javadoc with JAX-WS?

I'm hoping that an extension of some kind is available that does this (although I suppose that my hope is foolishly optimistic). /** * <p> * Gets the {@link ResultObject} given the identifier. The following * fields are not available for some users and will contain a null value: * </p> * * <ul> * <...

How do you support PHP exceptions in a wsdl file

I am not sure how to correctly make a fault element in a wsdl file repesenting a PHP exception. I have created a PHP web service that throws an exception for testing purposes. When I call this web service in a test C# project, I get a reflection exception with the message "Item has already been added. Key in dictionary: 'System.Object'...

Adding a new parameter to a WCF operation: choices?

What's the best way to handle adding a new (optional) parameter to an existing opertion without requiring the client to update their WSDL? I do not want to update the namespace to describe a new version of the service contracts, since this should be backwards compatible with older clients. Should I add a new operation with a new paramet...

WSDL from WCF Issue

I'm trying to use NeoLoad to generate and execute SOAP requests and upon supplying the WSDL, it doesn't seem to like the imports that they are referring to. I'm thinking I would need to flatten the WSDL generated by the WCF service. Are there any techniques I could use to flatten it? I've been reading: http://blogs.msdn.com/dotnetint...

how to consume a WSDL web service in iphone?

I have a wcf web service which returns a wsdl response when I invoke the service.How can I consume a WSDL web service in iphone? ...

Is implementing SOAP clients in Perl using meta-programming sensible?

I'm currently dealing with a code base which contains several dozens of classes generated with SOAP::WSDL. However, having worked with Moose I now think that generating those classes at runtime at meta level (i.e. not to files on disk but directly to objects) might be a better idea (completely excluding performance reasons at this point)...

"Time out" when multithreading requests to a webservice with java and axis2

Hi, I'm working with a slow webservice (about 4 minutes each request) and I need to do about 100 requests in two hours, so I've decided to use multiple threads. The problem is that I can only have 2 threads, as the stub rejects all the other ones. Here I've found an explanation and possible solution: I had the same problem. It seems...

Calling java SOAP web-Service from iPhone

Hi, I have a query regarding calling java SOAP web-Service from iPhone. I have successfully implemented calling .asmx type web services. But I am getting following error when I try to implement same for WSDL. Error Code: 407 Proxy Authentication Required. The ISA Server requires authorization to fulfill the request. Access to the We...

What does this line in a WSDL file mean?

In a Magento forum someone wrote that removing this line from the WSDL file has a huge impact on the performance of the SOAP server: <import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocation="http://schemas.xmlsoap.org/soap/encoding/" /> What does this line actually do? Can it really be removed? (Everything...

C# - How do I hide an web method from a derived class

Hi, I have a .NET webservice, and derived versions of it. My question is, in the derived versions, I have a method I want to hide(from WSDL and front page). I have tried overriding, marking it as obsolete, setting it as private and overriding, but still, the webservice attribute is still "having its way". Is there any way to remove a ...

Expose a web service (wsdl) as a webform

Hello all, Just wanted to ask if anyone knows of a reliable & easy way to expose a webservice (wsdl) as a webform to end-users. Our team develops a lot of software for external contacts, which often involve creating a web service and exposing it as both a wsdl and a website. We'd like to automate this last step as much as possible (esp...

Websphere - What is the best way to hide wsdl's from end user?

Hi all, I think there are several ways to hide wsdl's from end users for WebSphere (6.1). We use axis to publish Web Services and I currently updated the custom Servlet class (which extends AxisServlet) and override the service method to throw 404 error for urls like: http://xxxx/services/MyService?wsdl. The other option may be adding f...

How to Generate a WSDL in c# without making a http request

Greetings, I want to write a unit test to make sure that our web services have not changed the WSDL from the last known published version. The reason for this is because any change to a object in the WSDL will cause clients using Apache Axis to fail. Even if all you do is add a not-requred property. So, if there is a change then the ...

PHP SoapClient result missing data in the XML response

I'm trying to consume a SOAP web service and some of the complexType's in the WSDL aren't getting back to PHP will all the expected data. Here's one example: DataSheetAttribute definition from WSDL (http://ws.spexlive.net/service/soap/inquire?appId=1&amp;wsdl): <s:complexType mixed="true" name="DataSheetAttribute"> <s:annotation> <s...

Is it possible to share type between ASMX code generated proxy and a type defined in another assembly?

Possible Duplicate: http://stackoverflow.com/questions/561867/sharing-data-types-from-multiple-web-references It would be better to start my question with a simple diagram: Client -assembly 1 --SharedDataType.cs (SharedDataType class definition - extension) -assembly 2 --CodeGeneratedFile.cs (SharedDataType class definition - code gene...