Re: Reading WSDL content

Aleksander Slominski <[email protected]> Sat, 24 Dec 2005 04:51:13 -0500
Newsgroups gmane.comp.apache.webservices.wsif.user
Message-ID <[email protected]>
[email protected] wrote:

>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?
>  
>
this is very strange and iwould blame CLASSPATH and to lesser degree on 
some possible incompatibility with JDK. did you try JDK 1.4.2 with  linux?

best,

alek

>
>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.
>  
>


-- 
The best way to predict the future is to invent it - Alan Kay