soap 3 « wsdl « Java Enterprise Q&A





1. What do WSDL/XSD Annotations look like inside an SOAP Envelope?    stackoverflow.com

Does anybody have any examples of what an Annotation with Documentation or AppInfo children look like inside a SOAP Envelope?

2. How to generate soap request xml from wsdl file in java    stackoverflow.com

I am looking for some java opensource api for generating soap request xml file by passing wsdl_URL and operation name as parameters. Actually soapUI is doing this and I tried to ...

3. wsdl2java and soap with attachments issue    stackoverflow.com

I generated a WS Client using wsdl2java for a Soap service developed with soaplib 0.8.2 (python). The server does support Soap with attachments as I could see with tcpdump while using ...

4. Java. Validate SOAP message against a WSDL    stackoverflow.com

I need to validate a SOAP message against a WSDL? (in the same way that an XML file can be validated against a XSD) I am not calling any webservice; I just have a ...

5. How can I register the WSDL location of a web service to jUDDIv3 on JBoss SOA-P 5?    stackoverflow.com

I am an Application Developer intern at a large organization, helping them prototype SOA. I have self taught myself everything to do with web services over the last two months of ...

6. WstxParsingException: Expected a text token, got START_ELEMENT    stackoverflow.com

I've got an error on a webservice i'm calling, this is the wsdl of the service

<wsdl:definitions xmlns:ns2="http://modelo.ws.services" xmlns:ns1="http://entidades.modelo.ws.services" xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="http://contratos.ws.services" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" targetNamespace="http://contratos.ws.services">
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://entidades.modelo.ws.services">
 ...

7. SOAP failing to serialize xsd:int and soapenc:string?    stackoverflow.com

I've just been assigned to help maintain a massive Java project that communicates with my company's primary C++ codebase via SOAP, and have no idea what I'm doing. (Java, netbeans, ...

8. How to make WSDLC-generated Java objects serializable?    stackoverflow.com

When building a web service we're using Weblogic's wsdlc Ant task to generate Java classes from a WSDL file. This works fine apart from the fact that the ...

9. How can i make this a valid WSDL?    stackoverflow.com

I'm trying to generate code from this WSDL using the following command:

svcutil /noConfig /language:C# /out:ICatalog.cs http://schemas.opengis.net/csw/2.0.2/profiles/ebrim/1.0/wsdl/2.0/csw-ebrim-interface.wsdl
However svcutil cannot read it, and the xMethods WSDL validator says it's ...





10. WSDL Cannot find dispatch method for    stackoverflow.com

For a web service call using a WSDL, I'm getting the error Cannot find dispatch method for {http://ws.somecompany.com/services}ValidateUser, what does that mean exactly? Does it mean that it cannot find ...

11. how to generate a SOAP message with a fully populated request from WSDL without code gen    stackoverflow.com

I would like to ask you how I can generate a SOAP request/response in a XML format on the basis of the WSDL file. The target platform is JVM so a ...

12. Determining methods available in a web service by examining the WSDL file    stackoverflow.com

(I am fairly new to web services, kindly excuse any incorrect terminology) Given a WSDL URL, how does one determine what methods are available in that web service by looking at the ...

13. Throw exception from one-way operation    stackoverflow.com

Assume that you have the following operation:

void AddCustomer(Customer)
(i.e. a Customer object as input and no output) Complying to WS-I BP 1.1 you are not allowed to define fault messages for one-way operations ...

14. Why is wsimport complaining about a non-standard SOAP binding?    stackoverflow.com

I'm using Jax-WS 2.2's wsimport to build a client proxy against a simple test WSDL. For some background, I'm working on a larger WSDL design for an interoperable contract-first message model, ...

15. Can I generate a regression test suite automatically?    stackoverflow.com

We're looking at an upgrade from zimbra 6 to zimbra 7, and we want to avoid regressions in the account lifecycle software we wrote to integrate with it. Since most things ...

16. Generating Java classes from WSDL with complex types using Axis2    stackoverflow.com

I have a web service built in .NET (2.0 I believe), and the WSDL for it was auto-generated by the framework. I'm trying to build a Java client to it, and ...





17. How to get ASMX generated WSDL soap:address to use https    stackoverflow.com

The WSDL definitions in Production and Community Testing include a reference to “HTTP” instead of “HTTPS”. The definitions in the two test environments are correct using “HTTPS”. A client discovered this ...

18. SOAP namespaces and wsdl division good practices    stackoverflow.com

I´m starting my studies in SOAP and now I'm trying to understand the betters practices to define namespaces. So, as i understand, i should to create a namespace by "kind of ...

19. Why does Axis2 return null values for "any" types in a complex/sequence structure when using wsdl2java?    stackoverflow.com

I tried using axis2 1.6 (and nightly 1.7) to generate Java code from the WSDL (very bottom of this page) using the following command:

$ export JAVA_HOME=/usr/java/default
$ wsdl2java.sh ...

20. Calling web service in Flex with pre-built classes without requesting WSDL    stackoverflow.com

Is it possible to use classes/objects that were generate form a WSDL file without calling the file? I would like disable exposing WSDL, but still use the same classes/objects.

21. WSDL + no schema for methods in types section    stackoverflow.com

I have a WSDL document where in <types> section there is no schema definition for remote methods. There is only definition of types used by the methods. Is it a proper ...

22. Consume a SOAP web service WSDL with complex types from Oracle 10    stackoverflow.com

Following up on this post from back in September of 2008 regarding 'Consuming web services from Oracle PL/SQL' I'm wondering if there is any new information? I also found ...

23.  WSDL address location    stackoverflow.com

<service name="MathServicesService">
    <port name="MathServicesPort" binding="tns:MathServicesPortBinding">
      <soap:address location="http://localhost/C:\Users\cvolkernick\workspace\WSDLServer\bin\math\"/>
    </port>
  </service>
What should I have where it says <soap:address location="URL" /> ?? ...

24. FedEx: Authentication Failed with test account    stackoverflow.com

I'm trying to integrate FedEx with my application. I created a test account. When I send RateRequest I got a response Authentication Failed (code is 1000). I use v10 of Fedex Rate service. ...

25. jaxws configure schemalocation and soap address location in wsdl    stackoverflow.com

Is it possible to configure the location (schemalocation and soap address location) in a jax ws wsdl.
When I deploy the sample below, 'servername' would be localhost and serverport would be the ...

26. How to get SOAPAction from the WSDL using Java    stackoverflow.com

I am using javax.wsdl package for parsing the wsdl file. I am not sure how to get the SOAPAction of an operation from the wsdl file. I am able to get the javax.wsdl.Operation ...

27. How can I specify integer as a property or argument type in ColdFusion?    stackoverflow.com

I'm building a WebService in ColdFusion 8 using CFCs with remote methods. I need to specify complex data types in the WSDL, so I'm creating CFCs for each of these types. ...

28. Soap action in WSDL    stackoverflow.com

This is a small part of my wsdl...

<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:wsu="http://docs.oasis-
open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:tns="http://tempuri.org/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
    ...

29. How to find url to wsdl on IBM Sterling Order Management?    stackoverflow.com

I'm trying to find wsdl url on IBM Sterling Order Management. I need to make some soap requests from php application to get list of orders. I've spent 4 hours trying ...

30. How to get soap address location attribute from wsdl document in JavaScript    stackoverflow.com

How can I get or retrieve the address location from this tag in JavaScript and Java?

<soap:address location="http://www.webservicex.net/geoipservice.asmx"/>
I am using this WSDL: http://www.webservicex.net/geoipservice.asmx?wsdl

31. 'Connection timed out' (Could not send message) on SOAP request (but service isn't down)    stackoverflow.com

I'm getting 'Connection timed out' on a SOAP request to another company's webservice. I have used wsimport to create the Java classes from the wsdl. I don't think its a problem ...

32. SOAP Request : Illegal Protocol https for HTTP URLConnection Factory    stackoverflow.com

Problem : I'm calling a SOAP Webservice, but need to change the URL with each call. However, the end point within the wsdl was an internal address, so I am trying ...

33. Is it possible to require min and max string length for param in wsdl file?    stackoverflow.com

I am creating a web service using php SOAPServer. I am creating a wsdl file and looking for info on how to set the min and max string length for one ...

34. Information other than WSDL using JAX-WS for SOAP?    stackoverflow.com

I am using JAX-WS to export some SOAP Web Service Endpoints. I know I can access the WSDL by appending ?WSDL to the web service endpoint. (Like http://localhost:8888/web_service/test?WSDL Is there ...

35. What characters are allowed in wsdl name attribute?    stackoverflow.com

I have a wsdl that contains the following complex type:

<complexType name="OUTGROUP">
    <sequence>
        <element name="NUMBER#" type="xsd:decimal" />
      ...

36. Use WSHttpBinding instead of customBinding in a Web Service    stackoverflow.com

I'm migrating a ASMX web service to WCF to implement some security requirements without messing around with WS Extensions, so I followed the following tutorial: http://msdn.microsoft.com/en-us/library/aa738697(v=VS.100).aspx One step of the tutorial ...

37. Why does introduction of a SOAP Header change generated code    stackoverflow.com

Given the following WSDL (yes there are some includes and imports but they are not relevant) I find that the Foo and Bar operations, which seemingly should generate identical Java ...

38. Optional Message Parts in WSDL    stackoverflow.com

In my wsdl:message i got two parameters, firstname and lastname:

<message name="setName">
  <part name="firstname" type="xsd:string"></part>
  <part name="lastname" type="xsd:string"></part>
</message> 
Now i want to define the "firstname" part as required, and the ...

39. SOAP and WSDL versions supported?    forums.netbeans.org

Hi, I am using NB 6.5 and was wondering what versions of SOAP and WSDL does it support? How do I find out? Also, what version of NB supports what versions ...

40. WebService(Soap) using SSL error The WSDL is not valid, please double check the url    jmeter.512774.n5.nabble.com

I am using JMeter 2.3.2 and jdk6_12 installed. The server has the test certificate install which i imported and installed using keytool. I also use the SSL Manager and select the certificate in the certstore. When i type in the WSDL and click on the LOAD WSDL button i get the following error msg. " The WSDL is not valid, please ...

41. Role of SOAP and WSDL in Web-Services    coderanch.com

JAX-RPC is applicable for writing a Web Service endpoint or a Web Service client in Java. You can use SAAJ for writing SOAP applications in Java, and use JAX-RPC for writing Web Services applications in Java. SOAP is the protocol that Web Services use to communicate. A Web Service has a corresponding WSDL file: an XML document that contains all the ...

42. WSDL to SOAP    coderanch.com

43. SOAP,WSDL,UDDI    coderanch.com

44. How can I automatically build a wsdl file with SOAP?    coderanch.com

Hello everyone, Well I have successfully created web services (I am not using any tools) writing in Java. I have written the application for Apache-SOAP AND for Apache-AXIS. - With AXIS, there is no problem since the Tomcat main page. The Tomcat Manager allows us to see the wsdl files generated by AXIS. - With SOAP, I cannot do it ! ...

45. Doubt on soap headers in wsdl    coderanch.com

If I want to have header(internal) field in my soap request object, I can define that in wsdl binding section in soap:body operation. Is there a way to define header which is applicable for all operations of a binding. I dont want to copy and paste the same line in all operations as I require same header element for all operations. ...

46. soap address in WSDL document    coderanch.com

47. WSDL to SOAP envelopes    coderanch.com

Hi ranchers, I have a very large WSDL which is aroung 2MBs in size (around ~50,000 lines). So for executing to wsdl2java I had to increase the java heap size, stack size and the timeout value. But this creates a performance bottleneck in my application and therefore as an alternative I am thinking of a way using which I can directly ...

48. creating a SOAP request from WSDL    coderanch.com

could somebody help me with this. I've struggled enough before asking for help. Here is my WSDL. I want to call Initialize method. I tried both the following messages "" + ""; I'm getting No soapaction header! fault. Thanks a lot for your time. ...

49. After getting WSDL ? SOAP Confusion    coderanch.com

I am in process of learning web service. I have bought the book Monson Haefel book. I have some doubts in web services. Before that I will tell my skill sets, so that it will be easy for you to judge how far your explanation will help me.I have 2 years of experience in Java and J2EE Technologies like (JSP, Servlets, ...

50. How to generate SOAP from given WSDL    coderanch.com

51. How to define Soap Actor in WSDL    coderanch.com

Hi, I am new to this forum. I have a simple Hello World Java Web Service. I want to add soap actor and soap role elements to one of soap header block in the soap message that is being generated. Can anyone please tell me how to add the soap actor and soap role. Thanks in Advance

52. Validating SOAP messages against WSDL in Java    coderanch.com

Is anyone aware of any publicly available APIs or some Java tools which can be used to validate a given SOAP message (request/response) against a WSDL (not XML Schema)? I am aware of tools like XMLSpy, SOAP-UI and am looking only for some Java programs which can be integrated into our Java application.

53. wsdl stubs adding own namespace around soap message    coderanch.com

Hi, I am using axis2 and I created a test service and client. I used the wsdl file generated from the service and used the emitted classes to create the client. I am trying to send xml in soap messages, both in the request and response, but what is happening is, the stub is adding its own element with ns1 namespace ...

54. SOAP from WSDL    coderanch.com

55. Purpose of SOAP,WSDL,UDDI in webservice.    coderanch.com

Hi, It is said that SOAP,WSDL,UDDI are pillars of webservice.What is the individual role of each of them in webservice?Do they work as seperate layers to make webservice work or do they work in coordination with each other to make webservice work.Detailed explaination would be helpful as I am not able to understand the use of these technologies in webservice.

56. need to validate/parse SOAP messages based on WSDL    coderanch.com

Hi All I have a WSDL and I need to validate/parse an incoming SOAP messages based on that WSDL. Further, I need to generate some SOAP messages based on the same WSDL. I have generated a java code using WSDL2JAVA tool provided by axis1.4. But I dont know how to use it to fulfill my requirements. Further, I have to use ...

57. Generate SOAP XML using WSDL    coderanch.com

58. given WSDL need to make SOAP msg for it    coderanch.com

59. SOAP without WSDL    coderanch.com

Hello Everyone, I am new to webservices and I have a question . My clinet wants me to write a webservices client to utilise the APIs. He has not provided me WSDL but host and port and want me to send SOAP request to this HOST and PORT and I will get response back. How should I go about writing this?Can ...

60. soap request and response using wsdl    coderanch.com

Hi! The simplest option, as far as I know, if you do not want to involve yourself in the details of web services, is to use NetBeans. NetBeans has very good tooling which even support drag-and-drop generation of operations on a web service. For more information and tutorials, please see: http://netbeans.org/kb/trails/web.html With this said, if you want more control and do ...

61. Confusion with Request and Response message design for wsdl file: SOAP Web Service    coderanch.com

Hi, I am designing a web service which supports two kinds of requests. So I am wondering how would I design the request messages. Consider the case as a web service that provides online messaging service. Here the requests would be : 1. ListOfOnlineUsers_Request 2. MessageUpload_Request These would be handled by a single 'endpoint' (By the way, I am using spring ...

62. Generate Soap xml from WSDL    coderanch.com

I'm looking for something that will generate a sample soap response from a WSDL. I can do this using SOAPUI but I want to tie this into a Maven/Ant build. I'm using AXIS to generate service stubs with XMLBeans but from what I can see axis does not have this functionality The services operations are returning soap responses by getting the ...

63. Validate SOAP against WSDL    coderanch.com

65. webmethod of Doc/Lit bare style with only one header param generates part="" invalid wsdl soap:body    coderanch.com

Hi there, I have a question regarding generated wsdl's soap:body of webmethod which is doc/lit bare style with only one header parameter. I read BasicProfile V1.1 section 4.4.1 R2213 that soap:body can have empty string in their parts attribute. But if wsdl have parts="", i face below problem in Visual Studio. I'm using bottom-up approach. my web method and generated wsdl ...

67. SOAP response not as per the WSDL Mapping    coderanch.com

Hello , I have developed web service as per the WSDL ( contract First approach). I have created Java artifacts , as per the WSDL using wsimport. Due to some work requirement, I have to add few more properties in the response , which are not part of the WSDL. But now I want to have SOAP response as per the ...

68. soap request xml from wsdl    coderanch.com

69. Soap response contains wsdl    coderanch.com

Hi All, I created a SOAP request in java and sent to the webservice, it response contains the wsdl and not the response expected. The same request sent through SOAPUI responds properly as expected. I am bit confused can any body help me. Earlier when i created a sample service and sent a request to the sample. the response for that ...

70. WSDL to SOAP conversion    forums.oracle.com