Re: Reading WSDL content
[email protected] Sat, 24 Dec 2005 07:37:42 -0200
| Newsgroups | gmane.comp.apache.webservices.wsif.user |
|---|---|
| Message-ID | <[email protected]> |
That xml is only the piece of wsdl that I want to get. The entire wsdl is passed to WSDL4J definition and I want to get just the <types/>. In linux I can get it without problems, but doing this in windows I always get schema=null as I said in the previous e-mail. :-( Does anyone can do the same in my conditions? WSDL4J 1.5.2 and Java 1.5? Thanks in advance for any help!!! Citando Andrzej Jan Taramina <andrzej-2/[email protected]>: > Fabricio: > > You don't seem to define the "soapenc" namespace prefix anywhere. That might > > be causing it. > > > <wsdl:types> > > <schema > > targetNamespace="urn:PessoaArr"xmlns="http://www.w3.org/2001/XMLSchema"> > > <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> > > <complexType name="Pessoa"> > > <sequence> > > <element name="idade"type="xsd:int"/> > > <element name="nome"nillable="true" type="soapenc:string"/> > > </sequence> > > </complexType> > > <complexType name="ArrayOfPessoa"> > > <complexContent> > > <restriction base="soapenc:Array"> > > <attribute ref="soapenc:arrayType"wsdl:arrayType="impl:Pessoa[]"/> > > </restriction> > > </complexContent> > > </complexType> > > </schema> > > </wsdl:types> > > > > Andrzej Jan Taramina > Chaeron Corporation: Enterprise System Solutions > http://www.chaeron.com > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.