[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    RE: WSDL is it possible ...
From:       "Don Stewart" <Don.Stewart () corizon ! com>
Date:       2005-03-17 9:47:03
Message-ID: C5DAE38EC9EA674AA3CE2A7BA4B884AF19EFCA () ORION ! corizon ! com
[Download RAW message or body]

Radu,
 
I'll see what I can put toghether.
 
Thanks
 
Don

________________________________

From: Radu Preotiuc-Pietro [mailto:radup@bea.com] 
Sent: 16 March 2005 23:05
To: dev@xmlbeans.apache.org
Subject: RE: WSDL is it possible ...


I am afraid not. We haven't written a tool that takes a SchemaType
instance an spits out a Schema XML file.
What you can do, is use the org.apache.xmlbeans.impl.xb.xsdschema.*
classes to load a Schema file in memory as an XmlBean and get the XML
representations for the types that you need and save those out to a
different file.
 
Radu

	-----Original Message-----
	From: Don Stewart [mailto:Don.Stewart@corizon.com]
	Sent: Wednesday, March 16, 2005 6:26 AM
	To: dev@xmlbeans.apache.org
	Subject: WSDL is it possible ...
	
	
	I have parsed a WSDL URL and generated the XmlBeans. I can get
hold of the 4 Global Types defined as the documents for the
request/responses.
	Is there a simple way of writing out an .xsd file for each of
these types from the SchemaTypeSystem ?
	 
	Many Thanks
	 
	Don


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=861204609-17032005><FONT face=Arial 
color=#0000ff size=2>Radu,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=861204609-17032005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=861204609-17032005><FONT face=Arial 
color=#0000ff size=2>I'll see what I can put toghether.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=861204609-17032005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=861204609-17032005><FONT face=Arial 
color=#0000ff size=2>Thanks</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=861204609-17032005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=861204609-17032005><FONT face=Arial 
color=#0000ff size=2>Don</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Radu Preotiuc-Pietro 
[mailto:radup@bea.com] <BR><B>Sent:</B> 16 March 2005 23:05<BR><B>To:</B> 
dev@xmlbeans.apache.org<BR><B>Subject:</B> RE: WSDL is it possible 
...<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=421000223-16032005><FONT face=Arial color=#0000ff size=2>I am 
afraid not. We haven't written a tool that takes a SchemaType instance an spits 
out a Schema XML file.</FONT></SPAN></DIV>
<DIV><SPAN class=421000223-16032005><FONT face=Arial color=#0000ff size=2>What 
you can do, is use the org.apache.xmlbeans.impl.xb.xsdschema.* classes to load a 
Schema file in memory as an XmlBean and get the XML representations for the 
types that you need and save those out to a different file.</FONT></SPAN></DIV>
<DIV><SPAN class=421000223-16032005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=421000223-16032005><FONT face=Arial color=#0000ff 
size=2>Radu</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Don Stewart 
  [mailto:Don.Stewart@corizon.com]<BR><B>Sent:</B> Wednesday, March 16, 2005 
  6:26 AM<BR><B>To:</B> dev@xmlbeans.apache.org<BR><B>Subject:</B> WSDL is it 
  possible ...<BR><BR></FONT></DIV>
  <DIV><SPAN class=700352414-16032005><FONT face=Arial size=2>I have parsed a 
  WSDL URL and generated the XmlBeans. I can get hold of the 4 Global Types 
  defined as the documents for the request/responses.</FONT></SPAN></DIV>
  <DIV><SPAN class=700352414-16032005><FONT face=Arial size=2>Is there a simple 
  way of writing out an .xsd file for each of these types from the 
  SchemaTypeSystem ?</FONT></SPAN></DIV>
  <DIV><SPAN class=700352414-16032005><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=700352414-16032005><FONT face=Arial size=2>Many 
  Thanks</FONT></SPAN></DIV>
  <DIV><SPAN class=700352414-16032005><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=700352414-16032005><FONT face=Arial 
  size=2>Don</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic