xsd « wsdl « Java Enterprise Q&A





1. Converting a WSDL file into XSD file in java    stackoverflow.com

Hi I want to convert a given WSDL file into a XML schema programatically. I need the schema for validating my SOAP responses against it. Can anyone help me with the ...

2. Get List of all non-builtin Types from WSDL?    stackoverflow.com

Given a WSDL/XSD, what's the easiest way to produce a list of all simple & complex Types? (Java preferred.) i.e.

<xsd:element name="ThirdPartyProductInfo" type="typens:ThirdPartyProductInfo" minOccurs="0"/>
<xsd:element name="SalesRank" type="xsd:string" minOccurs="0"/>
<xsd:element name="BrowseList" type="typens:BrowseNodeArray" minOccurs="0"/>
I'd expect the output ...

3. Generating a WSDL from a xsd file    stackoverflow.com

I need to generate a WSDL file given a xsd file. How do I do this? Can I do this in VS2005? What is the simplest way to do this? Cheers! Ausgar

4. Java web service, xsd date instead of dateTime    stackoverflow.com

In Java EE 1.4 using JAX-RPC 1.1, how can i expose web service, so the wsdl has a complex type (person) where one of the properties of the person is a ...

5. JAX-WS and XSD Validation    stackoverflow.com

I have a wsdl that has a imported xsd, this xsd has quite a restrictions like this:

<xsd:simpleType name="len_type">
    <xsd:restriction base="xsd:string">
        <xsd:pattern ...

6. how to convert .xsd file to wsdl?    stackoverflow.com

I have .xsd file i need to convert it into wsdl,how would i do so?and is this conversion the right approach. I have request and response data in same .xsd file ...

7. nillable and minOccurs xsd element attributes    stackoverflow.com

I am going back and forth with setting an element to minOccurs="0" and nillable="true". I was reading this article and now in my WSDL I'm not sure if using both ...

8. what is the difference between XSD and WSDL    stackoverflow.com

what is the difference between an XML Schema and WSDL, I have been reading a lot of stuff, but I still get confused ...
The difference I noticed is that WSDL contains ...

9. Changes in ECORE are not reflected when saving Resource    stackoverflow.com

I'm using WSDL ecore together with XSD ecore to read and edit WSDL file. During my edit I need to remove a couple of XSD Types and Elements and replace them ...





10. Automatically extracting inline XSD from WSDL into XSD file(s)    stackoverflow.com

I am using a third party Web Service whose definition and implementation are beyond my control. This web service will change in the future. The Web Service should be used to generate an ...

11. xsd and wsdl incorrect file    stackoverflow.com

How to fix corrupted xsd and wsdl files, is there any IDE which can suggest what is wrong? such as eclipse for java code when pressing CTRL + 1 , or ...

12. Is there a good wsdl and xsd editor?    stackoverflow.com

I've found the wsdl editor in Eclipse to be bug-ridden. Netbeans dropped their wsdl plugin sometime ago. Is there a good editor that allows you to create and edit ...

13. Design interoperable web services    stackoverflow.com

I'm designing a set of web services to allow our clients to connect from their apps to one of our systems. Our clients have their apps developed in all varieties of ...

14. BizTalk Web Reference - generated XSD has "lost" information from WSDL    stackoverflow.com

I am using BizTalk 2006 R2 to generate a web reference from a WSDL file. Comparing the generated XSD to the WSDL, it is apparent that a lot of information has been ...

15. Read complex types from wsdl in java    stackoverflow.com

I'm havving a bit of a trouble finding some way to read the complex types from a wsdl in my Java app. I'm using WSDL4J but it doesn't seem to help ...

16. xsd:Import doesn't work in WSDL?    stackoverflow.com

When put below wsdl into my VS2010 project I got a "Type 'urn:listing3:Phone' is not declared." error. Looks like the xsd:import doesn't work, why?

<?xml version="1.0" ?>
<wsdl:definitions targetNamespace="urn:listing2"
     ...





17. Why doesn't the /reference option to svcutil.exe work?    stackoverflow.com

I'm attempting to use svcutil.exe to generate -only- the service contracts (interfaces) from a set of .wsdl files. When I do this (from an http-hosted wsdl), it picks up the included ...

18. Writing WSDL file to existing web service    stackoverflow.com

I need to write a WSDL file to an existing web service which is provided to me by a colleague (it's realized with Perl and SOAP::Lite). Therefore, I have a given ...

19. Looking for a tool to flatten WSDL and its XSD    stackoverflow.com

I have a web service exposed by an external entity that is developed in java. My client is a .Net client. I am unable to create the proxy class for this webservice using ...

20. How to specify schemalocation for an xsd in local folder, while importing it into a wsdl file    stackoverflow.com

I have a XSD in local , and I need to import the same into a WSDL. I have couple of other xsds too which are already on the production namespace. ...

21. WSDL xsd:choice to java?    stackoverflow.com

I'm parsing a WSDL which has a xsd:choice. How can I model a xsd:choice on java?, I didn't find a union class or something like that.

22. copy-of and then append elements (WSDL generation from XSD)    stackoverflow.com

I am generating WSDL from XSD with XSLT 2.0, and I am copying the schema directly into the WSDL like so:

    ....
    <!-- WSDL ...

23. How to make a dotnet webservice set minOccurs="1" on a string value    stackoverflow.com

I have an XSD:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns="http://a.com/a.xsd"
     targetNamespace="http://a.com/a.xsd"
     elementFormDefault="qualified"
     attributeFormDefault="unqualified">
    <xs:element ...

24. Web Service cycle using Contract-First in Java    stackoverflow.com

I'm working on an application with contract first web services (wsimport and jaxws-maven-plugin). How should I write WSDL/XSD files in order to be able to process cycles? For example object department ...

25. How to parse wsdl and xsd files?    stackoverflow.com

I've been looking for a way to programmatically parse WSDL and associated XSD files to get values from annotation / documentation tags. I managed to get values from wsdl using ...

26. XSLT chaining or combining xsl:copy-of and xsl:copy    stackoverflow.com

I've got the following two XSL transforms that I would like to chain together in one XSL file. The first transform:

<xsl:stylesheet 
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:s0="http://schemas.xmlsoap.org/wsdl/">
<xsl:template match="/">
 ...

27. Parsing wsdl and xsd    stackoverflow.com

I've been looking for a way to programmatically parse WSDL and associated XSD files to get values from annotation / documentation tags. I managed to get values from wsdl using wsdl4j, ...

28. Help in defining conditional params in WSDL    stackoverflow.com

I am working on defining WSDL and it has i/p param in the operation. WSDL will be tested by SOATest. Query: I have a param which is conditional and need help in defining. I want ...

29. soapUI - issue with wsdl that includes xsd    stackoverflow.com

I have a static wsdl that includes an xsd. The xsd and wsdl are in the same XML namespace hence the xsd include.

<wsdl:types>
    <xsd:schema targetNamespace="http://www.mycompany.com/idm">
    ...

30. workaround to remove import or include statements in XSD    stackoverflow.com

I have a WSDL file which has many import and include schema statements. ie

A.xsd   
    //  some code <import   B.xsd...
and B.xsd 
  ...

31. How can i convert wsdl to XSD type format?    stackoverflow.com

I am having XML in wsdl format, now i want to change it's encoding to the format XSD format. Do i need to make some changes in web config, or what ...

32. How to replace the content of imported XSD in a wsdl file and prevent content replacement of referenced XSD inside imported XSD    stackoverflow.com

I have an WSDL file content like this , I have shown only the affected part of wsdl

<wsdl:definitions>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:ebay:api:PayPalAPI">  
      ...

33. WebServices: Array and Array element are given the same tag?    stackoverflow.com

I'm using Eclipse to generate webservices from a WSDL file. So far everythink works fine except for the arrays: the tag given to the arrays is the same as the tag given ...

34. Axis 1.4 unable to process xsd:enumeration?    stackoverflow.com

I have WSDL file which imports a XSD file that contains following section:

<xsd:simpleType name="PrimaryIdCodeList">
    <xsd:restriction base="xsd:string">
        <xsd:enumeration value="DL"/>
    ...

35. Generating Web Service Java Classes in Package Different from Namespace from WSDL and XSD Files    stackoverflow.com

I am developing a web service in Java technologies from an existing WSDL and XSD files. The web service is interfacing with an existing client application that has namespaces starting ...

37. Override WSDL + XSD generation    forums.netbeans.org

Is there anyway to tell Netbeans to stop creating a WSDL and XSD during build? I have a service, created the WSDL and XSD and then made some changes to the ...

38. how to validate xsd and wsdl in nb 6.9?    forums.netbeans.org

open an xsd in nb 6.9, right click and choose 'Validate XML' -> leads to error message cvc-elt.1: Cannot find the declaration of element 'xsd:schema'. this worked fine in nb 6.7 ...

39. How to make the whole xsd schema as part of wsdl instead of import it?    forums.netbeans.org

Hi, How to make my mywebservice/mywebserviceWS?wsdl to include xsd as part of the wsdl instead of include it using the import like below.

40. wsdl and xsd.    coderanch.com

Hi, i am developing a web service. my in put xml will validate with the xsd file. and i create the sopa object and send to the service.here what is the necessity of wsdl file and what is the use of wsdl. here i am validating the xsd in client side can i do same validation in server side if it ...

41. import multiple xsd file in wsdl    coderanch.com

Hi, I am trying to build a wsdl file in WSAD which should import multiple xsd files. When I am importing single xsd file then wsdl is not giving me any error and I am able to generate client source doe also. But after importing multiple xsd file in wsdl; it is showing error as duplicate namespace. Any idea; any sample ...

42. can i define my own xsd in WSDL    coderanch.com

Originally posted by Peer Reynders: Yes, you can use your own XSD inside a WSDL (WSDL file imports). However you only do that when you are using WSDL2Java. Specifying your own XSD inside a WSDL that is generated by Java2WSDL goes counter to the motivation behind Java2WSDL as a tool (i.e. removing "the burden" of knowing and understanding WSDL from the ...

43. parsing XSD from WSDL using java    coderanch.com

HI., I Have one problem.. I need to get The response from a WSDL.Which contains XSD. I am able to get All the services and Portypes. But i am not able to get the XSD elements.. can any one tell me how to get XSD from WSDL using Java.is there is any API to do this. Breaf: Want to get XSD ...

44. Inline XSD in WSDL?    coderanch.com

45. Creating a WSDL using an XSD - how ?    coderanch.com

Hello, I have a Schema file and i am trying to use it to create a wsdl file,...afterwards i would like to create a client to call up the webservice.... i know there are a number of tools available for this, but can someone tell me how exactly this is done? what exactly are the steps for creating a web service ...

46. WSDL validation using XSD    coderanch.com

47. WSDL importing xsd containg DTD, prohibited?    coderanch.com

Hello All, I have done a wsdl description for .NET web service which is used by Java clients and that wsdl imports xmldsig-core-schema.xsd for referencing XML Signature. When compiling my wsdl and xmldsig-core-schema.xsd with wsdl.exe command in MS enviroinment wsdl MyService.wsdl /l:C# /out:MyService.cs /par:xmldsig-core-schema.xsd I get "DTD is prohibited in this XML document" error message. When I look file xmldsig-core-schema.xsd with ...

48. wsdl: how do i generate wsdl that places the type info in the main body instead of using xsd:import?    coderanch.com

I've created a webservice, which I'm trying to access using an Actionscript 3.0 client. Unfortunately the client cannot parse the wsdl since it trips up on the import here: However the AS3 client can access the Amzon SOAP service fine, which I've noticed does not do the import. Thanks for any help

49. extract inline XSD from wsdl into an external file?    coderanch.com

hi.. we are attempting to use jibx and spring as webservice users, the advantage in jibx is that generates beans without code dependencies. and does the mapping xml/object in an xml file. but jibx onlu generates beans from xsd's not wsdl, so we would like some how to extreact all the schemas in under types sections, into external files and then ...

50. WSDL and XSD    coderanch.com

51. How to create XSD from WSDL using IDE    java-forums.org

52. WSDL XMLBeans XSD    forums.oracle.com

XMLBeans or JAXB or castor or for that matter any similar API can be used to generate pojos based on an xsd or WSDL file. However the WSDL file provides much more information as compared to the XSD files e.g the post types and bindings etc. so would it be safe to say that an XSD file is a subset of ...