soap 1 « wsdl « Java Enterprise Q&A





1. What is your preferred method of sending complex data over a web service?    stackoverflow.com

It's 2008, and I'm still torn on this one. So I'm developing a web method that needs a complex type passed into it and returned from it. The two ...

2. What's a good design pattern for web method return values?    stackoverflow.com

When coding web services, how do you structure your return values? How do you handle error conditions (expected ones and unexpected ones)? If you are returning something simple like ...

3. Generating JavaScript stubs from WSDL    stackoverflow.com

I'm looking for a tool to generate a JavaScript stub from a WSDL. Although I usually prefer to use REST services with JSON or XML, there are some tools I am currently ...

4. WSDL Generation Tools    stackoverflow.com

Can anyone recommend a good (preferably open source) tool for creating WSDL files for some soap web services? I've tried playing around with some of the eclipse plug ins available and was ...

5. wsdl.exe Error: Unable to import binding '...' from namespace '...'    stackoverflow.com

When running wsdl.exe on a wsdl I created, I get this error:

Error: Unable to import binding 'SomeBinding' from namespace 'SomeNS'.
- Unable to import operation 'someOperation'.
- These members may not be derived.
I'm ...

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

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 ...

7. WSDL best practices    stackoverflow.com

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 ...

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

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"/>
<xsd:import schemaLocation="http://localhost:80/?xsd=xsd1" ...

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

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 ...





10. How to convert an RPC/encoded style WSDL into document/literal    stackoverflow.com

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

11. Collecting Data from NDFD SOAP response    stackoverflow.com

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 ...

12. Can I disable SOP (Same Origin Policy) on any browser for development?    stackoverflow.com

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 ...

13. How do I write a WSDL file to accept arbitrary SOAP Headers?    stackoverflow.com

I have a client that wants to send a large number of SOAP Header fields to my web service. The only thing I am expected to do with these values is ...

14. What do you recommend using for graphically visualizing a WSDL?    stackoverflow.com

I'm looking for a good solution for graphically viewing a SOAP-based web service and possibly interacting with it (for testing purposes). Online (browser-based) solutions would be interesting too.

15. Array in a RPC/Literal wsdl    stackoverflow.com

I was wondering if anyone had an example of what an array would look like in a RPC/literal wsdl? I have a rpc encoded WSDL that I am attempting to ...

16. How To Pass Soap Header When WSDL Doesn't Define It?    stackoverflow.com

I have a web service that I am calling and their published WSDL doesn't actually define much of the service, 3/4 of it you have to manually build afterwards. The problem I ...





17. Extracting Data from a dataset returned from a web service    stackoverflow.com

Has anyone a source of the qury language used to extract data returned from a web service. I wrote a web service returnes a dataset,

[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[ToolboxItem(false)]
// To allow this ...

18. AXIS2 generating wrong SOAP Message because of encoding. how to fix it?    stackoverflow.com

QUESTION: how can I use a different encoding (charset and transfer) with axis? Here is my client:

public Object[] invoke(String xmlRepresentation)
      throws CustomApplicationException {

     ...

19. gsoap - WS-Addressing elements in the SOAP Header    stackoverflow.com

I need to add WS Addressing in my Soap header (I am using the gsoap framework). Is there a way to add that automatically? I looked up gsoap documentation but didnt find ...

20. Do you use the 'address' element's 'location' attribute in a WSDL port binding?    stackoverflow.com

My question relates to use of the address element's 'location' attribute in a WSDL port binding. Example WSDL fragment:

<wsdl:service name="serviceName">
    <wsdl:port binding="tns:serviceNameBIND" name="serviceNameBIND">
      ...

21. How can I generate HTML documentation for a SOAP/WebService class in .Net?    stackoverflow.com

When you start a WebService project in VisualStudio(VS) you do actually see some HTML documentation, but the C# comment help does not make it across to the HTML. You can get ...

22. What's the difference between the W3 and xmlsoap.org schemas?    stackoverflow.com

When creating a wsdl file in eclipse it sets the name spaces to:

xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
Why exactly is it using schemas.xmlsoap.org and not the relevant w3 schemas?

23. svcutil soap fault namespace problem    stackoverflow.com

I'm generating client side web service code using svcutil. The wsdl contract I'm using contains a soap fault. When the code is generated the fault seems to be wrapped ...

24. Web service response is null, but SOAP message response is valid    stackoverflow.com

I am writing a web service starting with writing the WSDL. I have been generating server-side skeleton code using wsimport and then writing my own implementing class. I'm running ...

25. Recommendations for Soap Webservice Testing Apps    stackoverflow.com

I was looking for some recommendations for testing SOAP webservices. I want to be able to create requests from WSDL, see those requests, and inspect responses. I would also like it ...

26. xsd for wsdl in coldfusion    stackoverflow.com

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 ...

27. How can two wsdl files be combined into one?    stackoverflow.com

I've got wsdl files for a single service that I'd like to convert to a single wsdl file. From what I've read, I believe this is possible by giving each one a ...

28. Consuming SOAP Web Service, error when de-serializing value types    stackoverflow.com

Does anybody know how I can troubleshoot web services responses? When I get my soap message back from a web service call I get this error "The string '' is not ...

29. WSDL - no input - best practice    stackoverflow.com

I'm developing a SOAP web service. One of the functions is isAlive(). It has no input parameters. What's best practice for the WSDL? I tried...

<wsdl:operation name="isAlive">
    <wsdl:output message="tns1:isAliveMessage"/>
</wsdl:operation>
...but ...

30. Whats wrong with the following JIRA Jelly + Soap Script?    stackoverflow.com

anyone knows what wrong with the following Jira, Jelly + Soap script? Assume the WSDL file is correct, since it works with soap directly.

    <JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.enterprise.JiraTagLib" xmlns:core="jelly:core" xmlns:soap="jelly:soap">
<core:new ...

31. Adobe Flex Builder WSDL classes autogenerator generates weird files    stackoverflow.com

Adobe Flex Builder WSDL classes autogenerator generates wierd files. For example:

http://ws.cdyne.com/WeatherWS/Weather.asmx?wsdl
After importing it generates these files:
ArrayOfForecast.as
ArrayOfWeatherDescription.as
ArrayOfWeatherDescription0.as
BaseWeather.as
BaseWeatherSchema.as
Forecast.as
ForecastReturn.as
ForecastReturn0.as
GetCityForecastByZIPResultEvent.as
GetCityForecastByZIP_request.as
GetCityWeatherByZIPResultEvent.as
GetCityWeatherByZIP_request.as
GetWeatherInformationResultEvent.as
GetWeatherInformation_request.as
IWeather.as
POP.as
Temp.as
Weather.as
WeatherDescription.as
WeatherReturn.as
WeatherReturn0.as
What are these ZERO at the end files for? That was an example for service with 3 operations. ...

32. How to accept a collection of a base type in WCF    stackoverflow.com

The Setup I have a WCF service that exposes a base type (e.g. Animal) as well as a few derived types (e.g. Lion, Tiger, and Bear). Another type (e.g. Zoo) includes a ...

33. Code First .NET Web Service uses soap encoding - how can this be prevented?    stackoverflow.com

How would one configure asp.net / asmx to not use soap encoding at all when generating wsdls from a .NET interface? In short, a .NET SOAP Web Service is producing ...

34. Soap WSDL ComplexType problem    stackoverflow.com

Hiall, I am new on this and that may be a newbie question, but there you go, hopefully somebody may be able to help me. I have a server (SoapUI) answering requests for ...

35. How can I force WCF to autogenerate WSDLs with required method parameters (minoccurs="1")?    stackoverflow.com

While using WCF and OperationContracts I have the following method defined:

    [OperationContract]
    [FaultContract(typeof(ValidationFault))]
    [FaultContract(typeof(FaultException<ExceptionDetail>))]
    int DoSomething(int someId, MyComplexType messageData);
When ...

36. How should I compensate for a bad WSDL?    stackoverflow.com

I've come across several examples of SOAP-based web services where automated tooling fails to build a client that works. Investigating these examples leads me to believe that the WSDL the service uses ...

37. What kind of topics/area in XML, XSD, WSDL, and SOAP technologies should be covered from Interview Point of View?    stackoverflow.com

I have an interview for Software Engineering in QA Position role and wanted some pointer's from preparation point of view and also job description include technologies like XML, XSD, WSDL, and ...

38. Can't get WSDL from Webservice with Javascript    stackoverflow.com

I am creating a website which calls a WebMethod in an .NET Webservice. To archieve this I use the JavaScript SOAPClient described here (with source code). The method

 SOAPClient._loadWsdl(url, method, ...

39. convert xsd to WSDL?    stackoverflow.com

I am very confused how i am suppose to send data to a server. I have a .xsd file and i only realized 1 hour ago (and did research) that the ...

40. Where can find WSDL file generated by gSOAP    stackoverflow.com

I received url of web service running on gSOAP/2.7 (deciding from HTTP headers). The problem is they didn't provide me with WSDL file. Anybody knows which default URL I should look ...

41. What does this line in a WSDL file mean?    stackoverflow.com

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/"   
   ...

42. wsdl xmlns problems with NetBeans and wsimport    stackoverflow.com

Hi
Our application provides a SOAP API. Our wsdl starting lines are something like

<wsdl:definitions name='ControlDServices' ... xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' ...
This usually works OK, but a customer complained that when they try to use our ...

43. Are there documentation tools for SOAP web services?    stackoverflow.com

Many tools are available for web service designing, programming and testing, commercial and free. But what is available in the area of documentation? Are there tools which can parse a WSDL ...

44. How can I change namespace prefix in this WSDL?    stackoverflow.com

I am trying to create a WSDL for a pre-existing web service. I have an existing client and and existing server, and I've captured the format both use using Wireshark. I ...

45. need to call soap ws without wsdl    stackoverflow.com

I am new bie to web service. This web service is provided siebel guys.
I need to call one web service. My client provided me following details. Here is the SOAP. For prod use this ...

46. How to create WSDL file given SOAP WSDL operations    stackoverflow.com

I haven't had any experience with web service related development. So, any ideas will be greatly appreciated. Suppose, I have a file listing draft specification of WSDL operations. Following is ...

47. role-based methods for one web service?    stackoverflow.com

I am trying to set up a (for now) really simple web service. By simple, I mean it only has a small amount of actual work to do on the code-side. ...

48. ASMX Web Services: Where can I see SOAP and WSDL generating by the platform    stackoverflow.com

Following reference indicates ASP.NET automatically creates a WSDL and SOAP request. Where or through what I can see the nuts and bolts? http://www.w3schools.com/webservices/ws_example.asp

49. What is the WSDL declaration for an array of integers?    stackoverflow.com

The SOAP specs are confusing, numerous, and available in multiple versions, and my soap library's WSDL generator is buggy. What's the correct WSDL for an array of integers? Could it be:

<element ...

50. Create MockService in soapUI without wsdl    stackoverflow.com

Is it somehow possible to create mock service in soapUI without having wsdl file? All I have is sample request and responses. I think that should be possible to generate WSDL ...

51. Inline complex types XSD into a WSDL    stackoverflow.com

I'm currently implementing a web service with a few complex types in java using plain JDK and the integrated web server. Is it possible to tell the JDK to inline the ...

52. Confused about how java annotations (ie @SecurityDomain) work and what they do (do they generate xml? wsdl?)    stackoverflow.com

I have to admit that I am pretty confused how annotations work in java (SOAP) webservices. What does adding a tag do? I think that maybe adding a tag ...

53. Can an API in SOAP/WSDL be kept backwards compatible easily?    stackoverflow.com

When using an IPC library, it is important that it provides the possibility that both client and server can communicate even when their version of the API differs. As I'm considering ...

54. Web Services in Java, beginner question    stackoverflow.com

Im new to the subject of web services in java, though im familiar with the concept of web services. As im new to this topic,i have the following questions which i ...

55. JAX-WS get soap without actually sending to a web-service    stackoverflow.com

Using JAX-WS and a custom WSDL, is there a way to get the message that would be sent to a web-service without actually making a call to the service? I need ...

56. Testing a WSDL in Eclipse Web Services Explorer    stackoverflow.com

I have a WSDL file for a web service which i want to test. Im using the Web Services Explorer in Eclipse to test the webservice. The webservice defines a login ...

57. Error parsing WSDL message    stackoverflow.com

I have the following wsdl : http://pastie.org/804441 . I get the following errors with the wsdl. Im using it in a tool called XAware, which is a data integration ...

58. How can I add SOAP Headers to a WSDL generated Borland C++ Builder 6 application    stackoverflow.com

Using a WSDL that requires a SOAP HEADER for Authentication (fragment below) code that gets generated when creating a web service client via the "WSDL Importer" has no concept of the ...

59. How to Determine the WSDL that will be Emitted for a Given Java Web Service?    stackoverflow.com

Please tell me how to write wsdl file of service developed in java. For example:

package fromjava.server;

import javax.jws.WebService;
import javax.jws.WebMethod;

@WebService
public class AddNumbersImpl {

  @WebMethod(action="addnumbers")
  public int addNumbers(int number1, int number2) {
 ...

60. How to set a property of an object as required on one operation and not required on other operation on WSDL?    stackoverflow.com

For example I have these complexTypes:

<!-- will be use as a request parameter -->
<complextType name="enrollStudentRequest">     
 <sequence>
  <element name="student" type="Student" />
 </sequence>
</complexType>

<!-- will be use as ...

61. SOAP Action WSDL    stackoverflow.com

I'm trying to implement a client for National Rail Enquiries' SOAP Service (http://www.livedepartureboards.co.uk/ldbws/). I stick the WSDL (http://realtime.nationalrail.co.uk/ldbws/wsdl.aspx) into http://soapclient.com/soaptest.html, but I get back the error message "Unable to handle ...

62. WCF Custom SOAP Header Issues    stackoverflow.com

I'm trying to implement an endpoint behavior which injects a custom SOAP header into all messages to and from a service. I've gotten pretty close by implementing the approach from ...

63. WCF wsdl wsdl:import location,soap:address location are having machine name?    stackoverflow.com

Hi

We developed web service using WCF service and hosted on Windows 2003 server machine with IIS 5.1. WCF hosted on basicHttpBinding.

when try to access wsdl of service "*.svc?wsdl" it ...

64. What version of WSDL is supported in dotNet 2.0?    stackoverflow.com

What version of WSDL is supported in dotNet 2.0?

65. Axis/SOAP service styles and interoperability    stackoverflow.com

There are four "styles" of service in Axis. RPC services use the SOAP RPC conventions, and also the SOAP "section 5" encoding. ...

66. clarification on the concept of "web service"    stackoverflow.com

Im a little confused on the varying definitions and implementations of web services available as implementations. Need some clarification please. Ones I have used till now:

  1. If a vendor gives me a specific ...

67. Can I generate Axis2 stubs from Axis stubs or some other way from soapUI?    stackoverflow.com

I have a WSDL that axis2 wsdl2java throws the following exception

Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the compley type {http://xml.test.com/device/types}ActionIn from the parent type http://xml.test.com/device/util/types
The original axis can generate the Java ...

68. SOAP web service evolution    stackoverflow.com

Are there any guidelines/tutorials as to how to handle the evolution of a SOAP web service? I can see that changing existing methods or types would probably not work, but can I ...

69. WCF: parameters handled in custom channel not present in generated WSDL    stackoverflow.com

I have some special parameters to all my wcf service methods that are handled inside a custom channel and are not exposed in the service method parameter list. This works ...

70. Is there a way to alias field names in salesforce outbound messages?    stackoverflow.com

I have a number of outbound messages for different fields in salesforce, the fields are nearly all identical except for the name. Right now I have different web services handling ...

71. WSDL for other protocols different than SOAP?    stackoverflow.com

From wikipedia:

The Web Services Description Language (WSDL, pronounced 'wiz-d?l') is an XML-based language that provides a model for describing Web services.
But in most cases, I found ...

72. Why am I getting this WSDL SOAP error with authorize.net?    stackoverflow.com

I have my script email me when there is a problem creating a recurring transaction with authorize.net. I received the following at 5:23AM Pacific time:

SOAP-ERROR: Parsing
WSDL: Couldn't load from 'https://api.authorize.net/soap/v1/service.asmx?wsdl' :
failed ...

73. best way to communicate between .net and java    stackoverflow.com

I have a .net application which needs to expose a service consumed by a java client. The service can't be public. There should be some authentication mechanism for the client. What ...

74. How to authentice users with SOAP?    stackoverflow.com

Do we have to send username/password along with the SOAP message ? In that case, my database server will have to run a query every time to authenticate. Is there a method for ...

75. C++ library for generating a SOAP message using WSDL    stackoverflow.com

Do you know of any C++ libraries can can generate SOAP messages using the WSDL. I am writing a C++ client application and am looking for such a library. I however ...

76. Java WebServices and WSDL file generation    stackoverflow.com

What are the best tools to use for generating WSDL files from Java class files? Running into some issues using Java2WSDL and wondering what are my other options. Latest issue is that it ...

77. Parse SOAP webservice dynamically    stackoverflow.com

I'd like to create an application where you can specify a webservice's url and automatically get the input parameters a output format. (similar to svcutil in Visual Studio I think), in ...

78. IWAB0399E Error in generating Java from WSDL: java.io.IOException: ERROR: Missing element inFault    stackoverflow.com

I have a WCF 4.0 service for internal use. Another team is trying to consume it in Java.

IWAB0399E Error in generating Java from WSDL:  java.io.IOException: 
ERROR: Missing <soap:fault> element inFault ...

79. Java SOAP - Need help on Body and ChildElement manipulation    stackoverflow.com

Hi guys I'm trying to write some code in java to learn more about coding with WSDL and SOAP. For example given :

'<'to:checkAccount xmlns:to="http://foo">
       '<'to:id>  ...

80. WSDL: Function 'foo' doesn't exist    stackoverflow.com

I am in the process of developing a WSDL for my SOAP API, and I've run into a bit of an issue. I started off with a single operation, and it worked ...

81. How to import existing SOAP request messages to SoapUI?    stackoverflow.com

I have a bunch of SOAP request messages in XML format. Is there a way to import them to a SoapUI project? I want to import them and add as "Test Request" ...

82. Adding methods to a SOAP webservice in production use    stackoverflow.com

I have a SOAP webservice running in production and being used by multiple different client implementations (written in .NET, PHP, Java, Ruby, Delphi...) and I need to add a method to ...

83. Soap Request/Response without WSDL    stackoverflow.com

I have to query once an hour to a remote web server to recieve data. However the remote web site does not use web services and state in thier 300+ ...

84. Having trouble generating a SOAP RPC envelope from a WSDL    stackoverflow.com

We are generating a SOAP envelope using WSDL4J to parse the WSDL and XSOM to parse the schema (to find the types). This works fine with "Document" web services but not ...

85. Is there a WSDL-like mechanism for JSON?    stackoverflow.com

My company is using SOAP for web services. Despite my efforts to convince my peers to use JSON, we still ended up using SOAP. WSDL was one of the main reasons ...

86. Java classes to generate SOAP requests from wsdl    stackoverflow.com

I am looking for a way to easily generate SOAP requests from a wsdl file. for example, something like this:

WSDLObject myWsdl = new WSDLObject("http://www.whatever.com/myService?wsdl");
SOAPRequest myRequest = myWsdl.generateSOAPRequest();
Is there anything like that? ...

87. Create SOAP Request from JWSDL    stackoverflow.com

Hey there, I have been working with JWSDL to allow me to programatically work with WSDL files. I now want to create SOAP requests that can be sent to the server. ...

88. WSDL - soap:operation/@soapAction - needs to be unique?    stackoverflow.com

In WSDL1.1, does each binding/operation/soap:operation/@soapAction have to be unique inside it's containing binding? If not, how does the SOAP/WSDL server know which "matching" operation to invoke?

89. Reading Web service, I have a WSDL    stackoverflow.com

I am normally used to using JSON/REST. I have been given access to a web service with WSDL file that I need to use to read data. I have no idea ...

90. SOAP, WSDL and WS* Questions    stackoverflow.com

Just a few questions about the Title:

  • Can anyone give me or provide a "need to know" information about SOAP, WSDL and WS*?
  • If you want to become an expert with using WCF, ...

91. Soap message response body modification help    stackoverflow.com

I've been playing around with web services using jbossws-cxf. I don't think the issue is with the implementation I'm using but instead how the code is generated. Here is my pojo ...

92. How do I change the auto generated wsdl that a soap service generates in .net    stackoverflow.com

I am trying to mock up a java web service that isn't complete but has been designed, i.e. I have the wsdl. I've implemented a .net web service with the classes ...

93. Error while generating API docs using Enunciate    stackoverflow.com

I created a webservice and would like to generate documentation for the API. So I looked into Enunciate downloaded the maven enunciate plugin. However I get the below error ...

94. WSDL.exe - generate interface as well as concrete class for easy fake/mocks later    stackoverflow.com

Is it possible to get WSDL.exe to generate interfaces as well as, or instead of, concrete classes when it generates proxys to a web service? We're consuming a 3rd party webservice from ...

95. first web service from WSDL with .NET    stackoverflow.com

I have a WSDL file and I want to create a SOAP server process from that file using visual studio .NET. Until now I have created a cs file from the WSDL ...

96. How do I validate WSDLs and SOAP responses?    stackoverflow.com

I am looking to build web services using SOAP. What standards should I follow for formatting WSDLs and SOAP responses and what tools are available to verify I am using the ...

97. Return a complexType class with nested arrays breaks web service, why?    stackoverflow.com

I'm developing a simple web service using Eclipse, Axis1 and JBoss. The web service class looks like this:

public class MyService {
    public ComplexClass getSomeData() {
    ...

98. SugarCRM over SOAP - V2    stackoverflow.com

We're using Apache Axis to generate client-side stubs to communicate with SugarCRM in a Java application. As of a few days ago, we were using the WSDL file at http://.../soap.php?wsdl ...

99. Is there a way to coerce Axis1 to produce document literal WSDLs and SOAP?    stackoverflow.com

I use Apache Axis 1 to serve web services, which automatically converts Java objects into wsdl definitions and soap responses. However it seems that by default Axis serves rpc encoded data ...

100. WSDL on SQL Server gives HTTP status 505 Version Not Supported    stackoverflow.com

I am a DBA, not a developer, so forgive me if this is a silly question. But we are having issues with a SQL Server 2005 Web Service end point. On ...