Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Complex Type Parsing
Complex Type Parsing [message #69508] Thu, 31 August 2006 18:59 Go to next message
Eclipse User
Originally posted by: arggaz.hotmail.com

Hi everyone,

I actually have a problem pasing complex types from a WSDL file. I was using
WSDL4J to parse simple types. Now that i want to parse complex type, i find
no resources. I heard about WSIF. But again, i don't know how to use it.
Anybody has any idea ?
Any sample or example is more than welcome.

Thanks a lot

Onassis




---
Antivirus avast! : message Sortant sain.
Base de donnees virale (VPS) : 0635-3, 2006-08-31
Analyse le : 2006-08-31 14:59:48
avast! - copyright (c) 1988-2006 ALWIL Software.
http://www.avast.com
Re: Complex Type Parsing [message #69532 is a reply to message #69508] Thu, 31 August 2006 19:07 Go to previous message
Eclipse User
Originally posted by: merks.ca.ibm.com

Mohand,

I saw your same question on the WTP newsgroup. You should use a single
posting to multiple newsgroups so that an answer on one will appear on
all. The WSDL model in WTP uses the XSD model to represent the XML
Schema parts of the WSDL. In addition, the XSD model's XSDResourceImpl
can be registered to handle .wsdl or .xsd files. When parsing a .wsdl
file, it will create XSDSchema components for all the schemas in the
WSDL. You could look at XSDMainExample to see how the XSD model can be
used to parse .xsd file and you can modify that example to register
"wsdl" as well as "xsd". Probably you'll want to use the WSDL model, in
which case folks on the WTP newsgroup will need to answer your question.


Mohand wrote:
> Hi everyone,
>
> I actually have a problem pasing complex types from a WSDL file. I was using
> WSDL4J to parse simple types. Now that i want to parse complex type, i find
> no resources. I heard about WSIF. But again, i don't know how to use it.
> Anybody has any idea ?
> Any sample or example is more than welcome.
>
> Thanks a lot
>
> Onassis
>
>
>
>
> ---
> Antivirus avast! : message Sortant sain.
> Base de donnees virale (VPS) : 0635-3, 2006-08-31
> Analyse le : 2006-08-31 14:59:48
> avast! - copyright (c) 1988-2006 ALWIL Software.
> http://www.avast.com
>
>
>
>
Re: Complex Type Parsing [message #598670 is a reply to message #69508] Thu, 31 August 2006 19:07 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26137
Registered: July 2009
Senior Member
Mohand,

I saw your same question on the WTP newsgroup. You should use a single
posting to multiple newsgroups so that an answer on one will appear on
all. The WSDL model in WTP uses the XSD model to represent the XML
Schema parts of the WSDL. In addition, the XSD model's XSDResourceImpl
can be registered to handle .wsdl or .xsd files. When parsing a .wsdl
file, it will create XSDSchema components for all the schemas in the
WSDL. You could look at XSDMainExample to see how the XSD model can be
used to parse .xsd file and you can modify that example to register
"wsdl" as well as "xsd". Probably you'll want to use the WSDL model, in
which case folks on the WTP newsgroup will need to answer your question.


Mohand wrote:
> Hi everyone,
>
> I actually have a problem pasing complex types from a WSDL file. I was using
> WSDL4J to parse simple types. Now that i want to parse complex type, i find
> no resources. I heard about WSIF. But again, i don't know how to use it.
> Anybody has any idea ?
> Any sample or example is more than welcome.
>
> Thanks a lot
>
> Onassis
>
>
>
>
> ---
> Antivirus avast! : message Sortant sain.
> Base de donnees virale (VPS) : 0635-3, 2006-08-31
> Analyse le : 2006-08-31 14:59:48
> avast! - copyright (c) 1988-2006 ALWIL Software.
> http://www.avast.com
>
>
>
>
Previous Topic:Complex Type Parsing
Next Topic:Using XSD with XML for importing XML
Goto Forum:
  


Current Time: Thu Oct 23 04:44:58 GMT 2014

Powered by FUDForum. Page generated in 0.01901 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software