wsdl 3 « wsdl « Java Enterprise Q&A





1. AnyType in WSDL tranformation - ESB    coderanch.com

Folks, I am trying to created a ESB with Routing Service. I have one Order object which has list of orderLineItems. When i create EJB3 based webservices, the WSDL generated has both the complex types defined properly, The complex type for Order and OrderLineItems are properly defined but OrderLineItems is not used. instead the element in the Order type is defined ...

3. Is WSDL mandatory?    coderanch.com

Is WSDL mandatory for both client and server while using webservice?I have seen examples of SAAJ where only SOAP protocol is used and no WSDL.Does it have to do with the API with which the webservice is being used, like when you use JAX-WS you need to have WSDL at both ends and when SAAJ is used WSDL is not needed? ...

4. Creating Custom wsdl definition    coderanch.com

Hi guys, My work has come to a bit of a stand still because I am trying to define a complex data type that I cannot seem to describe in a wsdl. I'm new to web services so I bear with me if this doesn't come out right. I'm using axis2 to build my web services, which adheres to the SOAP ...

5. custom wsdl issue    coderanch.com

Hi guys, (FYI I'm trying to deploy a axis2 webservice ) I have the following service, bean, descriptor package au.com; public class InfoService{ private Person person; public Person getPerson(String firstName, String lastname){ person = new Person(); person.setId(101); person.setName("Mr. " + firstName +" " + lastname); return person; } } package au.com; public class Person { private int id; private String name; ...

6. wsdl file WEB-INF/wsdl/wscoor.wsdl does not exist    coderanch.com

Hi, I am getting the below exception while i am deploying my web services on "Sun Java System Application Server 9.1 Update 2" and "GlassFish". [#|2008-11-02T17:40:41.953+0800|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=16;_ThreadName=Timer-8;_RequestID=97963739-7432-43f2-b3fa-80d8ce581e53;|Exception occured in J2EEC Phasejava.lang.RuntimeException: wsdl file WEB-INF/wsdl/wscoor.wsdl does not exist for web service Coordinator com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [testJax-WS] -- wsdl file WEB-INF/wsdl/wscoor.wsdl does not exist for web service Coordinator at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:390) ...

7. Help Needed to create web service from WSDL    coderanch.com

Hi all, I need to create stubs from my WSDL file using RAD. If i use IBM Websphere JAX-RPc as my Webservice runtime, Am getting all java files for my wsdl. But if i use Apache Axis as my Web Service run time am missing some java files for my WSDL. Actually , What is the difference between these 2. why ...

8. WSDL - Message parts    coderanch.com

You can have a message with a few parts where some of them will appear in the SOAP body and some in the SOAP header. So logically you want them to be considered as one message but on-the-wire they will be different. However I agree that this can be achieved in other manners and that best practice (in doc/lit/wrapped wsdl) is ...

9. Locating WSDL address on server    coderanch.com

Hi! I have a very basic question that I'm sure it will be quickly answered... I've created a CASA project which contains a BPEL project and deployed it on glassfish. My BPEL project contains a couple of WSDL files which represent web services. Now I need to call these web services from another application (not related to Java or Netbeans), and ...





10. Is this wsdl somehow wrong? - Help please!    coderanch.com

Hello, After almost a month studying about webservices and stuff, and trying to generate java code from a wsdl with axis, xfire, cxf etc. with no success, I started to think that maybe the wsdl that was given to me is wrong. Not a syntax error but a schema mistake or something. I really dont understand a lot about wsdl... so ...

11. WSDL help!    coderanch.com

Hi!! I'm new to SOAP and I'm trying to pass an array through SOAP and receive the same array back.I'm using php so I need to make the WSDL manually.When the array comes back instead of containing it's correct values it comes back as: theArray[0] ='A' theArray[0] ='r' theArray[0] ='r' theArray[0] ='a' theArray[0] ='y' This is my WSDL entry: ...

12. create skeleton with WSDL    coderanch.com

Originally posted by Nitin Pathak: The WSDL2Java emitter add the arbitrary return types (null for String) -3 in your case which needs to be modified in your SoapBindinImpl class to bind it with your functionality provider. Since, this value has nothing to do with your custom WSDL, please update the return statement with the actual implementinn method from the provider.

13. Need help connecting to WSDL for first time    coderanch.com

I have a task to create Java code to connect and retrieve results using a WSDL on a remote server. I hava a valid URL, username and password. I am new to the world of web services. I understand the theory. I am unsure of the implementation. I am using Java 6, Tomcat 5.5, Axis 2, Eclipse 3.4.1, and MyEclipse 5. ...

15. Multiple services in a SINGLE WSDL file    coderanch.com

16. What can we achieve by a WSDL , BPEL etc..    coderanch.com

A WSDL file contains a detailed description of a web service. Client objects can use this description to make calls on the web service. And, during deployment, stub objects can be created using the description. A BPEL file contains a detailed description of a business process and is used heavily by BPM Engine software. A web service enables distributed computing by ...





17. WSDL Style?    coderanch.com

18. Binary Data type in wsdl    coderanch.com

19. What's wrong with my WSDL ?    coderanch.com

Good morning to you all, I would like to share with you a problem I'm having with a WSDL file, that was generated by NetBeans. I'll post it here next: ...

20. Using SOAPContext type in WSDL?    coderanch.com

I am very new to this so please go easy. I would like to access some info in the SOAPContext in my web service and I have read one way to do that is to have the SOAPContext type as the first parameter in you web service. I.E. for a service public void helloUser(String userName); change it to public void helloUser(SOAPContext ...

23. Customization of wsdl imported by another wsdl?    coderanch.com

Hi, I have a wsdl which imports another wsdl using . I want to customize package declarations for generated artifacts differently for each wsdl when I run wsimport. I can do this both inline and external customization for the primary wsdl but not for the imported wsdl. The customizations on the primary wsdl result in customizations for the import wsdl being ...

24. SAML assertion in WSDL    coderanch.com

25. How to create web services from a wsdl with two services    coderanch.com

Hello, Due to a requirement, I put 2 services together in one WSDL. I am using the WSDL to generate the services. When I try to generate a service, I only get the first service that's encountered in the WSDL. My WSDL has one set of messages, 2 porttypes, 2 binding, and 2 service elements. Currently I have both SOAP locations ...

26. how to identify the type of incoming object when using wsdl extracted code? - very urgent    coderanch.com

Actually i wanted to know whether there is any method to know which type the incoming object is? from a wsdl generated stub code. i am trying to send a parameter to "SendServiceRequestType.java" and i dont know how the result will come (whether in xml or stream containing text or any other format) please help me in this regard

27. Not able to get wsdl file from remote server    coderanch.com

Hi Ulf, means we can not get this ?wsdl file via ftp as like any other http resource. So, how can i confirm to my client that my web service is up and running. Basically our client is a telecom operator and they provides us "Delivery Notification" and we need to give them some wsdl url to which they can call ...

28. Any Workaround for unsupported rpc/literal wsdl feature in weblogic8.1.6.    coderanch.com

I need to call the service which expects the rpc/literal format of soap request using weblogic workshop. But the problem is the current verison of weblogic server(8.1.6) that i am using to build won't support this WSDL feature. The generated request has xsi:type associated with the element which is in rpc/encoded format. I need to find workaround to generate request that ...

29. howto drop operation name from message for wrapped document style wsdl    coderanch.com

I have to write a client for the wrapped document style wsdl below. Since it is wrapped document style the input message produced by the generated classes from axis 1.4 wsdl2java includes the operation name (process) as the top level element. However the actual service doesn't accept the operation name - it just wants the message content only. Could anyone recommend ...

30. Compatablility of wsdl with jre    coderanch.com

31. WSDL Call from JAVA issue    coderanch.com

Hi, I feel that the class QaaWSHeader is specific to your application. Evrything that is specified as required parameter in the WSDL should be set before sending the request object. If you generate stubs from WSDL, all the parameters are null by default. Try to search for this class in request object and set the aforementioned fields.

32. Adding comments in WSDL file    coderanch.com

Hi all, sorry asking a dumb question like this , i tried but couldnt figure out how to do it . I have a wsdl file through which i have generated the server stub using axis was able to deploy the webservice on tomcat and consume it . I was just wondering if i can add some comments in my wsdl ...

33. WSDL knowledge.    coderanch.com

Hi, I have learned JAX-WS with code first approach. But I do not know much about syntax of WSDL. I have learned basics of WSDL and I am familiar with structure of WSDL. But few details like soapAction in binding etc, I could not understand. My question as a web services developer, am I expected to know all details of WSDL? ...

34. WSDL to service    coderanch.com

I have the following XSD "Template_Service_Schema.xsd"

35. WSDL request-response with void return type    coderanch.com

Can you have the response from a request-response operation have a void return type? I need request-response rather than one-way because the operation needs to have faults. The problem is that it is a simple operation in which if something goes wrong I can just throw a fault/exception. If all succeeds there is no reason to return anything to the client. ...

36. WSDL question..    coderanch.com

Hi! Yes, this is normal and it can actually be an advantage, in order to prevent the WSDL from becoming too big. Often, when looking at a WSDL, it is not necessary to know exactly what the request messages, response messages and fault messages contain. If you, at some occasion, need to know in detail, then just refer to the XML ...

37. Question on WSDL portType    coderanch.com

38. exception when using -wsdl with wsgen    coderanch.com

Hi. I haven't recently used external generation of .wsld and .xsd files from web service implementation class, but last time when I did, it was working just fine. However, now when I try I get the exception : INFO] javax.xml.soap.SOAPException: Unable to create SAAJ meta-factoryProvider com.sun.xml.messagi ng.saaj.soap.SAAJMetaFactoryImpl not found [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.Error: javax.xml.soap.SOAPException: Unable to create SAAJ meta-factoryProvider com.sun.x ...

39. WSDL OK, but method is not supported    coderanch.com

An existing web service GetStuff exists and runs as expected, but the exact copy of it GetOtherStuff does not. GetOtherStuff appears in the generated WSDL and has been added to the method list (as required in this implementation) - but the response is: SOAP-ENV:Server Method 'GetOtherStuff' is not supported. /OSMQSoap/rpcrouter This seems to indicate the WSDL is OK with ...

40. Proper way to define a fault in a WSDL    coderanch.com

I am having trouble generating a mapping file using JBoss's wstools and it is because it does not like my fault I have defined in my wsdl. I know I should use jax-ws but I have to use jax-rpc for now as I am on a very old legacy system. here is my wsdl can anyone tell if I am defining ...

41. The facets of the simpleTypes in a wsdl    coderanch.com

Hello, I have read about the restriction simple types in a wsdl as the example below: My query was how can I validate the input string the user is passing in fits this pattern, Do I need to validate it in my Service implementation using normal Java logic or is there any ...

42. Unable to access WSDL    coderanch.com

43. wsdl    coderanch.com

Hi! I remember when I started looking at SOAP web services and WSDLs. At that time, I thought WSDLs were slightly frightening and difficult to grasp. Despite the experience I have gained, I still do not sit down and write a WSDL document from scratch, so I am going to suggest a slightly more convenient approach to WSDL-first web service development. ...

44. From where the WSDL come from?    coderanch.com

Hi, I created a sample web service, as in Axis2 quickstart guide, http://ws.apache.org/axis2/1_5_1/quickstartguide.html Its a very simple service, i deployed in Tomcat, and when i requested its WSDL, its shown in the web browser. What i need to know is, even though i didnt explicitly generate the WSDL file, how it showed up in the browser when a request is made? ...

45. WSDL on internet shows IP address instead of hostname    coderanch.com

I created a webservice (my first!) using Eclipse Galileo and Axis2 (1.4.1). I deployed the service and everything seems to be running fine. The only problem is someone went looked at the wsdl file. They noticed that our IP address was shown instead of a hostname. It is in the soap's address location area. ...

46. What is the proper use of @WebService.wsdlLocation to specify the location of my WSDL file?    coderanch.com

I'm developing a simple web service as a stateless EJB using Eclipse, JDK 1.6.0_06 and deploying to JBoss AS 5.1.0.GA The generated WSDL has the wrong service address in the Port element and I'm not sure yet how to correct it. What I thought I would do in the mean time is to hand-correct the WSDL and reference the corrected version ...

47. Is my WSDL correct ?    coderanch.com

Hi... i have two methods: getClientList() and getClientListForOffice(), but funny, i can only use the first one. Here is my WSDL:

49. A question with respect to structure of wsdl file    coderanch.com

tns means TargetNameSpace : it is the main XML namespace for your whole WSDL definitions, and it is used to prefix them. Look at the top of your WSDL file, you have there a lot of xmlns:XXX references, which are all the namespaces used in it ; probably xmlns:tns, xmlns:xsd, xmlns:soap: xmlns:wsdl etc ...

50. How to include Authrozitaion information in a WSDL file    coderanch.com

Hi I am depending on Authorization feature of SOAP for my webservice. Means that i want to have something like this in my WSDL file : jeff imbatman How can i associate this with my Webservice now ?? Please help . Thank you .

51. Testing a wsdl file    coderanch.com

Thank you . I have downloaded trail version of soapui and tried working on it . I have developed a simple web service ( A calculator in my case accepts two numbers and gives the result) I have used jax ws deployed it on to sun one application server . When tried to use soapui i got this exception :

52. WSDL 2.0 - overloaded operation ?    coderanch.com

53. WSDL - One way operations    coderanch.com

I am trying to create a webservice using Axis2 which has a method with no parameter. This method does not accept a parameter but returns a value. Please refer to "getAllResumeIds" operation. The below WSDL gives me a warning "WS-I: (BP2208) wsdl:operation was not a request/response or one-way operation". Also the code generation from this WSDL fails. ...

54. how to write WSDL definition file    coderanch.com

55. WSDL web service call failure: reasons    coderanch.com

56. Understanding the WSDL    coderanch.com

57. "issues" with 1.2 wsdl    coderanch.com

I am generating a java client that lets me make calls to a Microsoft web service. I used IBM's RAD to generate the java code and all worked well. The server has now been updated and includes 1.2 support...unfortunately RAD 6.1, which I am using does not. When I try and use Axis 1.4 wsdl2java to generate the same client data, ...

58. WSDL 1.1: Two "address"-elements within one "port"?    coderanch.com

Well, my WSDL is compliant to the WSDL 1.1 XSD, but not to the speficiation. It validates within Eclipse, because there is an any-element in the XSD: So you can add whatever you want, also instead of . And your other question: I am the creator of this file (contract first). We offer the server ...

59. WSDL file Not exists: Something wrong with web services deployment    coderanch.com

Hi, While i try to build and deploy the Webservices and call the webservices using JAXWS2.0 and Tomcat server 6.0.14 or higher versions on AIX platforms. i get the following error "WSDL file Not exists: Something wrong with web services deployment". But if i try to do the same with tomcat server 5.5.12, it works fine,without any issues. May i know ...

60. Is there a WSDL generator?    coderanch.com

62. Creating a Web Service from an Existing WSDL File.    coderanch.com

I am using JWS . I am having a wsdl file , i want to create a Java Files with that wsdl file . Please let me know how can i create a Related Java Files from the Command Prompt with the help of that wsdl file ?? Waiting for your replies . Thanks in advance .

64. Acceesing WSDL    coderanch.com

65. creating wsdl first and then webservice    coderanch.com

66. creating a WSDL    coderanch.com

All, Are there any best practices to create a wsdl document. We are starting with a top-down approach and don't have much expertise in wsdl creation. We were more a bottom-up webservices shop. What are the free tools available for xml schema (xsd) and wsdl creation. All tools like XML Spy , Oxygen xml, Stylus Studio seem to be paid. Let ...

67. wsdl Location    coderanch.com

68. how to convert WSDL file into java    coderanch.com

69. custom wsdl    coderanch.com

I'm using netbeans 6.9.1 to build a jax-ws web service. I need to return a custom wsdl. I've used the following annotation. @WebService(wsdlLocation="WEB-INF/wsdl/intercept.wsdl") However the autogenerated wsdl is still being returned when I query the web service for the wsdl in the browser like so: http://localhost:8080/MyWebService/Intercept?wsdl I checked the war file and it's indeed in the wsdl folder where it's supposed ...

70. WSDL question    coderanch.com

71. How to load wsdl file in Java    coderanch.com

I have a requirement wherein I have to invoke a web service depending upon a condition.Something like this if(condition) invoke web service 1 else invoke web service 2 I think I can somehow find a way to load wsdl through code ,then I can load wsdl file in if and else part and then invoke operations. if I cannot do this,is ...

72. Cannot create service instance, service 'x' not found in wsdl    coderanch.com

Hi all, I have a problem in accessing a web service, please help me out Task : I have a WSDL with me, which i am able to open and see it (ie. i have network access) , i have to call the methods in the wsdl What i did : I used that wsdl to create a client in Jboss ...

73. Support string array in wsdl    coderanch.com

Hi! First of all, you should really read up on the WS-I Basic Profile for web service interoperability. Using SOAP encoding is not recommended etc. Have you considered using the maxOccurs attribute with a value greater than 1 in the XML schema specifying the string array? I feel this could simplify your XML schema. Best wishes!

74. WSDL to Java    coderanch.com

hi, I am trying to convert the WSDL file to JAVA using Eclipse IDE. first i uploaded the WSDL file in Web Services,after building the Services i got the Class files like Soap , Skeleton , Impl and Proxy.but i don't how to place the request to web services with this class files, whether i need to write any client side ...

75. WSDL To JAVA    coderanch.com

76. WSDL file questions    coderanch.com

Hi everyone, i got a list of WSDL files, and my manager ask me to understand WSDL file and write a report which describe what information we could get from these files. since i am new to WSDL files, and my concerns here are "what i need to write in my report in order to give whatever my manager ask for" ...

77. Different webservices wsdl at consumer and target    coderanch.com

Hi, I have a requirement where in I need to support multiple applications hosting wsdls where is my application will be consuming their wsdls. Now the issue is lets say application A "adds"some new operation to wsdl and B doesnt,and I reflect the change in the client in my application, will it create problem while consuming the wsdl from application B? ...

78. Why cant i see my WSDL    coderanch.com

When I looked into the description of HTTP 503, it says The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay MAY be indicated in a Retry-After header. If ...

79. juddiv3 from wsdl to java?    coderanch.com

Hello everyone! 1. I am having some problems with converting juddiv3 wsdl files to java code. I am using: - juddi-portal-bundle-3.0.3 working perfectly. - axis2 1.5.4 libraries correctly loaded on eclipse Helios. 2. And these are the steps I follow in order to use create a Web Service Client from the juddiv3 wsdl files: - Create a new Dynamic Web Project. ...

80. Question on PARAM names in WSDL file    coderanch.com

I am working on my XP local box trying to test a web service tutorial and in the WSDL file I am showing param names that are not descriptive of what is needed to be passed in by those who will ultimately be trying to consume the web service. My understanding is that the names in my method should be denoted ...

81. Invalid wsdl request    coderanch.com

82. WSDL necessary?    coderanch.com

I'm a bit new on webservices in general so bare with me as I'm trying to make sense of a current process. We have jpd out there which another application (.NET) is importing the namespace and utilizing one of the methods. The method simple takes in an HTTP GET and sends back some data in xml format. There is no WSDL ...

83. Single WSDL, Multiple Services?    coderanch.com

84. Display HostName in EPR of WSDL    coderanch.com

Hi All I am using axis2-1.4.1, when i deploy aar file wsdl gets automatically generated when i access with "?wsdl" at the end of the service. EPR (endpoint reference) is coming up the with ip address. Is there a way to display hostname or any site name like myhost.com. And also its displaying ip with port number on which tomcat is ...

85. Trying to test the WSDL file I wrote    coderanch.com

Hi All, So I wrote the xsds, wsdl, generated the skeleton code out of the wsdl, and I am printing a hello world in the binding impl class. Now, I have the project EAR file deployed to my local app server. I am trying to test the service using the web services explore (assuming my service is up and running since ...

86. Finding .wsdl file    coderanch.com

87. How to invoke wsdl from java    coderanch.com

88. Need help on wsdl design,web service request/response    coderanch.com

I have been assigned to design a webservice and being a newbie I need help regards the design in Axis2 The input to the service would have at least 500 records of data with each record having specific number of fields. The service needs to do the following- 1) Methods to manipulate data based on specific logic and change formatting of ...

89. WSDL and QName Question    coderanch.com

90. access wsdl over the LAN    coderanch.com

91. When to use wsdl vs regular old scraping ?    coderanch.com

Hi guys : I guess I'm kind of old school. When I need data from a web source, I write code to parse it. If its XML, I use an XML library. When and why are REST and WSDL needed ? I just saw a .wsdl description for a sight which I manually parse data from, and I'm wondering if I ...

92. a new method is added to the old wsdl file causing issue    coderanch.com

We are using netbeans. Also we are using methods from a webservice. We generated all the client files and checked in those client files and dont regenerate all the time and the code was working fine. Recently, a new method was added to a webservice. I regenerated all the client files again. But we are not using the new method in ...

93. Service working but cannot see wsdl    coderanch.com

I think that is a server issue, you might get a reply faster by posting on a server related forum though you might find people here that know the server. Error code 500 means that something has gone wrong server side while trying to process a legal request. Unfortunately error code 500 is not very specific.

94. Java class to WSDL    coderanch.com

Hi! It is generally a good idea not to use Java collection types, such as Map, List, Set etc, as parameter or return types of methods that are exposed as web service operations. While it may be possible to make it work with some web service stack(s), there is a significant risk of lock-in. Best wishes!

95. SoapAction Element change in WSDL    coderanch.com

96. WSDL part element    coderanch.com

Hi All, I have two statement about WSDL1.1 part element .. can you please explain it. Global schema complexType must be referenced by the type attribute. Global schema element must be referenced by the element attribute. I have read in RHM that part element use type attribute to reffer simple type in case of RPC style and element attribute in document ...

97. Where is my wsdl path?    coderanch.com

Hi, I deployed a WAR file contains CXF2 and Spring 3.0.5 to JBOSS AS7, but I couldn't found where the wsdl is published. Here is the deployment log file: 16:22:33,619 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "order-ws-0.0.1-SNAPSHOT.war" 16:22:36,474 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry jaxb-api.jar in "/C:/jboss-as-web-7.0.1.Final/bin/content/order-ws-0.0.1-SNAPSHOT.war/WEB-INF/lib/jaxb-impl-2.1.13.jar" does not point to a valid jar for ...

98. XSL to enhance WSDL presentation    coderanch.com

Hello everyone I have a webservice running (which is good ) I can obtain its WSDL thru : requesting in a browser WS_Name?WSDL The WSDL starts with: ...

99. WSDL browser just hangs... nothing to do ? is anyone else getting this too??    coderanch.com

Hi i was trying to run my first Webservice. When i go to run>>Launch web service explorer and then in firefox i select WSDL page and click explore I just get a blank window saying please wait while the form loads and nothing happens I am running Eclipse Java EE IDE for Web Developers. Version: Indigo Service Release 1 Build id: ...

100. Cannot able to create a wsdl file    coderanch.com