Good suggestion Heinz. I've opened WODEN-208 [1] to track this issue.

[1] https://issues.apache.org/jira/browse/WODEN-208

Lawrence





"Heinz Drews" <[EMAIL PROTECTED]> 
05/19/2008 04:47 PM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: Exception when read WSDL






Hello Lawrence,

sometime ago I run into the same problem by accident by pointing to the 
wrong WSDL.

As a user I would ask why Woden is not just giving a simple error message 
saying that the WSDL can't be processed.

The exception message including the stacktrace does not help at all.

Regards,
Heinz 

On Mon, May 19, 2008 at 10:30 PM, Lawrence Mandel <[EMAIL PROTECTED]> 
wrote:
Hi Paulo,

Woden is a WSDL 2.0 parser. Your WSDL document is a WSDL 1.1 document. I
suggest you try a WSDL 1.1 parser, like WDSL4J [1].

[1] http://sourceforge.net/projects/wsdl4j

Lawrence





"Paulo Nepomuceno" <[EMAIL PROTECTED]>
05/19/2008 03:38 PM
Please respond to
[email protected]


To
<[email protected]>
cc

Subject
Exception when read WSDL







Hy guys, my problem is:

I'm trying my first read WSDL file, but it doesn't work. It's following
the
source's test, wsdl file and an exception below.

Thank's in advance.

=============================================== Source
======================================================================
                WSDLFactory factory = WSDLFactory.newInstance();
                WSDLReader reader = factory.newWSDLReader();
                reader.setFeature(WSDLReader.FEATURE_VALIDATION, true);
                DescriptionElement descElem = (DescriptionElement)
reader.readWSDL("
http://10.173.100.6:8010/GMobile/services/SGAdministration?
wsdl");

================================================ WSDL
============================================================================
====
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
targetNamespace="
http://10.173.100.6:8010/GMobile/services/SGAdministration";
xmlns:apachesoap="http://xml.apache.org/xml-soap";
xmlns:impl="http://10.173.100.6:8010/GMobile/services/SGAdministration";
xmlns:intf="http://10.173.100.6:8010/GMobile/services/SGAdministration";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:tns1="
http://getjad.elements.administration.service.mobilews.shc.com.b
r"
xmlns:tns2="
http://getdistributions.elements.administration.service.mobilews
.shc.com.br"
xmlns:tns3="
http://getmanufactures.elements.administration.service.mobilews.
shc.com.br"
xmlns:tns4="
http://getmodels.elements.administration.service.mobilews.shc.co
m.br"
xmlns:tns5="
http://getoperators.elements.administration.service.mobilews.shc
.com.br"
xmlns:tns6="
http://getgprsconfig.elements.administration.service.mobilews.sh
c.com.br"
xmlns:tns7="
http://celluserreg.elements.administration.service.mobilews.shc.
com.br" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
 <wsdl:types>
 <schema
targetNamespace="
http://getjad.elements.administration.service.mobilews.shc.
com.br" xmlns="http://www.w3.org/2001/XMLSchema";>
  <import
namespace="
http://getmanufactures.elements.administration.service.mobilews.s
hc.com.br"/>
  <import
namespace="
http://getgprsconfig.elements.administration.service.mobilews.shc
.com.br"/>
  <import
namespace="
http://getdistributions.elements.administration.service.mobilews.
shc.com.br"/>
  <import
namespace="http://10.173.100.6:8010/GMobile/services/SGAdministration"/>
  <import
namespace="
http://getmodels.elements.administration.service.mobilews.shc.com
.br"/>
  <import
namespace="
http://getoperators.elements.administration.service.mobilews.shc.
com.br"/>
  <import
namespace="
http://celluserreg.elements.administration.service.mobilews.shc.c
om.br"/>
  <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
  <complexType name="JadRequest">
   <sequence>
    <element name="celDistrId" nillable="true" type="xsd:int"/>
    <element name="distrId" nillable="true" type="xsd:int"/>
    <element name="downloadMax" nillable="true" type="xsd:int"/>
    <element name="validityBegin" nillable="true" type="xsd:dateTime"/>
    <element name="validityDays" nillable="true" type="xsd:int"/>
   </sequence>
  </complexType>
  <complexType name="Input">
   <sequence>
    <element name="jadRequest" nillable="true" type="tns1:JadRequest"/>
   </sequence>
  </complexType>
  <complexType name="JadResponse">
   <sequence>
    <element name="url" nillable="true" type="xsd:string"/>
   </sequence>
  </complexType>
  <complexType name="Output">
   <sequence>
    <element name="jadResponse" nillable="true" type="tns1:JadResponse"/>
    <element name="msg" nillable="true" type="xsd:string"/>
    <element name="resultCode" nillable="true" type="xsd:int"/>
   </sequence>
  </complexType>
  <complexType name="Body">
   <sequence>
    <element name="input" nillable="true" type="tns1:Input"/>
    <element name="output" nillable="true" type="tns1:Output"/>
   </sequence>
  </complexType>
  <complexType name="Header">
   <sequence>
    <element name="password" nillable="true" type="xsd:string"/>
    <element name="user" nillable="true" type="xsd:string"/>
   </sequence>
  </complexType>
  <complexType name="GetJad">
   <sequence>
    <element name="body" nillable="true" type="tns1:Body"/>
    <element name="header" nillable="true" type="tns1:Header"/>
   </sequence>
  </complexType>
 </schema>
 <schema
targetNamespace="
http://getdistributions.elements.administration.service.mob
ilews.shc.com.br" xmlns="http://www.w3.org/2001/XMLSchema";>
  <import
namespace="
http://getmanufactures.elements.administration.service.mobilews.s
hc.com.br"/>
  <import
namespace="
http://getgprsconfig.elements.administration.service.mobilews.shc
.com.br"/>
  <import
namespace="http://10.173.100.6:8010/GMobile/services/SGAdministration"/>
  <import
namespace="
http://getmodels.elements.administration.service.mobilews.shc.com
.br"/>
  <import
namespace="
http://getoperators.elements.administration.service.mobilews.shc.
com.br"/>
  <import
namespace="
http://celluserreg.elements.administration.service.mobilews.shc.c
om.br"/>
  <import
namespace="
http://getjad.elements.administration.service.mobilews.shc.com.br
"/>
  <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
  <complexType name="DistributionsRequest">
   <sequence/>
  </complexType>
  <complexType name="Input">
   <sequence>
    <element name="distributionsRequest" nillable="true"
type="tns2:DistributionsRequest"/>
   </sequence>
  </complexType>
  <complexType name="Distribution">
   <sequence>
    <element name="id" nillable="true" type="xsd:int"/>
    <element name="name" nillable="true" type="xsd:string"/>
   </sequence>
  </complexType>
  <complexType name="DistributionsResponse">
   <sequence>
    <element name="distributions" nillable="true"
type="impl:ArrayOf_tns2_Distribution"/>
   </sequence>
  </complexType>
  <complexType name="Output">
   <sequence>
    <element name="distributionsResponse" nillable="true"
type="tns2:DistributionsResponse"/>
    <element name="msg" nillable="true" type="xsd:string"/>
    <element name="resultCode" nillable="true" type="xsd:int"/>
   </sequence>
  </complexType>
  <complexType name="Body">
   <sequence>
    <element name="input" nillable="true" type="tns2:Input"/>
    <element name="output" nillable="true" type="tns2:Output"/>
   </sequence>
  </complexType>
  <complexType name="Header">
   <sequence>
    <element name="password" nillable="true" type="xsd:string"/>
    <element name="user" nillable="true" type="xsd:string"/>
   </sequence>
  </complexType>
  <complexType name="GetDistributions">
   <sequence>
    <element name="body" nillable="true" type="tns2:Body"/>
    <element name="header" nillable="true" type="tns2:Header"/>
   </sequence>
  </complexType>
 </schema>
 <schema
targetNamespace="
http://10.173.100.6:8010/GMobile/services/SGAdministration";
xmlns="http://www.w3.org/2001/XMLSchema";>
  <import
namespace="
http://getmanufactures.elements.administration.service.mobilews.s
hc.com.br"/>
  <import
namespace="
http://getgprsconfig.elements.administration.service.mobilews.shc
.com.br"/>
  <import
namespace="
http://getdistributions.elements.administration.service.mobilews.
shc.com.br"/>
  <import
namespace="
http://getmodels.elements.administration.service.mobilews.shc.com
.br"/>
  <import
namespace="
http://getoperators.elements.administration.service.mobilews.shc.
com.br"/>
  <import
namespace="
http://celluserreg.elements.administration.service.mobilews.shc.c
om.br"/>
  <import
namespace="
http://getjad.elements.administration.service.mobilews.shc.com.br
"/>
  <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
  <complexType name="ArrayOf_tns2_Distribution">
   <complexContent>
    <restriction base="soapenc:Array">
     <attribute ref="soapenc:arrayType"
wsdl:arrayType="tns2:Distribution[]"/>
    </restriction>
   </complexContent>
  </complexType>
  <complexType name="ArrayOf_tns3_Manufacturer">
   <complexContent>
    <restriction base="soapenc:Array">
     <attribute ref="soapenc:arrayType"
wsdl:arrayType="tns3:Manufacturer[]"/>
    </restriction>
   </complexContent>
  </complexType>
  <complexType name="ArrayOf_tns4_Model">
   <complexContent>
    <restriction base="soapenc:Array">
     <attribute ref="soapenc:arrayType" wsdl:arrayType="tns4:Model[]"/>
    </restriction>
   </complexContent>
  </complexType>
  <complexType name="ArrayOf_tns5_Operator">
   <complexContent>
    <restriction base="soapenc:Array">
     <attribute ref="soapenc:arrayType"
wsdl:arrayType="tns5:Operator[]"/>
    </restriction>
   </complexContent>
  </complexType>
 </schema>
 <schema
targetNamespace="
http://getmanufactures.elements.administration.service.mobi
lews.shc.com.br" xmlns="http://www.w3.org/2001/XMLSchema";>
  <import
namespace="
http://getgprsconfig.elements.administration.service.mobilews.shc
.com.br"/>
  <import
namespace="
http://getdistributions.elements.administration.service.mobilews.
shc.com.br"/>
  <import
namespace="http://10.173.100.6:8010/GMobile/services/SGAdministration"/>
  <import
namespace="
http://getmodels.elements.administration.service.mobilews.shc.com
.br"/>
  <import
namespace="
http://getoperators.elements.administration.service.mobilews.shc.
com.br"/>
  <import
namespace="
http://celluserreg.elements.administration.service.mobilews.shc.c
om.br"/>
  <import
namespace="
http://getjad.elements.administration.service.mobilews.shc.com.br
"/>
  <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
  <complexType name="ManufacturersRequest">
   <sequence/>
  </complexType>
  <complexType name="Input">
   <sequence>
    <element name="manufacturersRequest" nillable="true"
type="tns3:ManufacturersRequest"/>
   </sequence>
  </complexType>
  <complexType name="Manufacturer">
   <sequence>
    <element name="id" nillable="true" type="xsd:int"/>
    <element name="name" nillable="true" type="xsd:string"/>
   </sequence>
  </complexType>
  <complexType name="ManufacturersResponse">
   <sequence>
    <element name="manufacturers" nillable="true"
type="impl:ArrayOf_tns3_Manufacturer"/>
   </sequence>
  </complexType>
  <complexType name="Output">
   <sequence>
    <element name="manufacturersResponse" nillable="true"
type="tns3:ManufacturersResponse"/>
    <element name="msg" nillable="true" type="xsd:string"/>
    <element name="resultCode" nillable="true" type="xsd:int"/>
   </sequence>
  </complexType>
  <complexType name="Body">
   <sequence>
    <element name="input" nillable="true" type="tns3:Input"/>
    <element name="output" nillable="true" type="tns3:Output"/>
   </sequence>
  </complexType>
  <complexType name="Header">
   <sequence>
    <element name="password" nillable="true" type="xsd:string"/>
    <element name="user" nillable="true" type="xsd:string"/>
   </sequence>
  </complexType>
  <complexType name="GetManufacturers">
   <sequence>
    <element name="body" nillable="true" type="tns3:Body"/>
    <element name="header" nillable="true" type="tns3:Header"/>
   </sequence>
  </complexType>
 </schema>
 <schema
targetNamespace="
http://getmodels.elements.administration.service.mobilews.s
hc.com.br" xmlns="http://www.w3.org/2001/XMLSchema";>
  <import
namespace="
http://getmanufactures.elements.administration.service.mobilews.s
hc.com.br"/>
  <import
namespace="
http://getgprsconfig.elements.administration.service.mobilews.shc
.com.br"/>
  <import
namespace="
http://getdistributions.elements.administration.service.mobilews.
shc.com.br"/>
  <import
namespace="http://10.173.100.6:8010/GMobile/services/SGAdministration"/>
  <import
namespace="
http://getoperators.elements.administration.service.mobilews.shc.
com.br"/>
  <import
namespace="
http://celluserreg.elements.administration.service.mobilews.shc.c
om.br"/>
  <import
namespace="
http://getjad.elements.administration.service.mobilews.shc.com.br
"/>
  <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
  <complexType name="ModelsRequest">
   <sequence>
    <element name="manufacterId" nillable="true" type="xsd:int"/>
   </sequence>
  </complexType>
  <complexType name="Input">
   <sequence>
    <element name="modelsRequest" nillable="true"
type="tns4:ModelsRequest"/>
   </sequence>
  </complexType>
  <complexType name="Model">
   <sequence>
    <element name="id" nillable="true" type="xsd:int"/>
    <element name="name" nillable="true" type="xsd:string"/>
   </sequence>
  </complexType>
  <complexType name="ModelsResponse">
   <sequence>
    <element name="models" nillable="true"
type="impl:ArrayOf_tns4_Model"/>
   </sequence>
  </complexType>
  <complexType name="Output">
   <sequence>
    <element name="modelsResponse" nillable="true"
type="tns4:ModelsResponse"/>
    <element name="msg" nillable="true" type="xsd:string"/>
    <element name="resultCode" nillable="true" type="xsd:int"/>
   </sequence>
  </complexType>
  <complexType name="Body">
   <sequence>
    <element name="input" nillable="true" type="tns4:Input"/>
    <element name="output" nillable="true" type="tns4:Output"/>
   </sequence>
  </complexType>
  <complexType name="Header">
   <sequence>
    <element name="password" nillable="true" type="xsd:string"/>
    <element name="user" nillable="true" type="xsd:string"/>
   </sequence>
  </complexType>
  <complexType name="GetModels">
   <sequence>
    <element name="body" nillable="true" type="tns4:Body"/>
    <element name="header" nillable="true" type="tns4:Header"/>
   </sequence>
  </complexType>
 </schema>
 <schema
targetNamespace="
http://getoperators.elements.administration.service.mobilew
s.shc.com.br" xmlns="http://www.w3.org/2001/XMLSchema";>
  <import
namespace="
http://getmanufactures.elements.administration.service.mobilews.s
hc.com.br"/>
  <import
namespace="
http://getgprsconfig.elements.administration.service.mobilews.shc
.com.br"/>
  <import
namespace="
http://getdistributions.elements.administration.service.mobilews.
shc.com.br"/>
  <import
namespace="http://10.173.100.6:8010/GMobile/services/SGAdministration"/>
  <import
namespace="
http://getmodels.elements.administration.service.mobilews.shc.com
.br"/>
  <import
namespace="
http://celluserreg.elements.administration.service.mobilews.shc.c
om.br"/>
  <import
namespace="
http://getjad.elements.administration.service.mobilews.shc.com.br
"/>
  <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
  <complexType name="OperatorsRequest">
   <sequence/>
  </complexType>
  <complexType name="Input">
   <sequence>
    <element name="operatorsRequest" nillable="true"
type="tns5:OperatorsRequest"/>
   </sequence>
  </complexType>
  <complexType name="Operator">
   <sequence>
    <element name="id" nillable="true" type="xsd:int"/>
    <element name="name" nillable="true" type="xsd:string"/>
   </sequence>
  </complexType>
  <complexType name="OperatorsResponse">
   <sequence>
    <element name="operators" nillable="true"
type="impl:ArrayOf_tns5_Operator"/>
   </sequence>
  </complexType>
  <complexType name="Output">
   <sequence>
    <element name="msg" nillable="true" type="xsd:string"/>
    <element name="operatorsResponse" nillable="true"
type="tns5:OperatorsResponse"/>
    <element name="resultCode" nillable="true" type="xsd:int"/>
   </sequence>
  </complexType>
  <complexType name="Body">
   <sequence>
    <element name="input" nillable="true" type="tns5:Input"/>
    <element name="output" nillable="true" type="tns5:Output"/>
   </sequence>
  </complexType>
  <complexType name="Header">
   <sequence>
    <element name="password" nillable="true" type="xsd:string"/>
    <element name="user" nillable="true" type="xsd:string"/>
   </sequence>
  </complexType>
  <complexType name="GetOperators">
   <sequence>
    <element name="body" nillable="true" type="tns5:Body"/>
    <element name="header" nillable="true" type="tns5:Header"/>
   </sequence>
  </complexType>
 </schema>
 <schema
targetNamespace="
http://getgprsconfig.elements.administration.service.mobile
ws.shc.com.br" xmlns="http://www.w3.org/2001/XMLSchema";>
  <import
namespace="
http://getmanufactures.elements.administration.service.mobilews.s
hc.com.br"/>
  <import
namespace="
http://getdistributions.elements.administration.service.mobilews.
shc.com.br"/>
  <import
namespace="http://10.173.100.6:8010/GMobile/services/SGAdministration"/>
  <import
namespace="
http://getmodels.elements.administration.service.mobilews.shc.com
.br"/>
  <import
namespace="
http://getoperators.elements.administration.service.mobilews.shc.
com.br"/>
  <import
namespace="
http://celluserreg.elements.administration.service.mobilews.shc.c
om.br"/>
  <import
namespace="
http://getjad.elements.administration.service.mobilews.shc.com.br
"/>
  <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
  <complexType name="GPRSConfigRequest">
   <sequence>
    <element name="manufacturerId" nillable="true" type="xsd:int"/>
    <element name="modelId" nillable="true" type="xsd:int"/>
    <element name="operatorId" nillable="true" type="xsd:int"/>
   </sequence>
  </complexType>
  <complexType name="Input">
   <sequence>
    <element name="gprsConfigRequest" nillable="true"
type="tns6:GPRSConfigRequest"/>
   </sequence>
  </complexType>
  <complexType name="GPRSConfigResponse">
   <sequence>
    <element name="config" nillable="true" type="xsd:string"/>
   </sequence>
  </complexType>
  <complexType name="Output">
   <sequence>
    <element name="gprsConfigResponse" nillable="true"
type="tns6:GPRSConfigResponse"/>
    <element name="msg" nillable="true" type="xsd:string"/>
    <element name="resultCode" nillable="true" type="xsd:int"/>
   </sequence>
  </complexType>
  <complexType name="Body">
   <sequence>
    <element name="input" nillable="true" type="tns6:Input"/>
    <element name="output" nillable="true" type="tns6:Output"/>
   </sequence>
  </complexType>
  <complexType name="Header">
   <sequence>
    <element name="password" nillable="true" type="xsd:string"/>
    <element name="user" nillable="true" type="xsd:string"/>
   </sequence>
  </complexType>
  <complexType name="GetGPRSConfig">
   <sequence>
    <element name="body" nillable="true" type="tns6:Body"/>
    <element name="header" nillable="true" type="tns6:Header"/>
   </sequence>
  </complexType>
 </schema>
 <schema
targetNamespace="
http://celluserreg.elements.administration.service.mobilews
.shc.com.br" xmlns="http://www.w3.org/2001/XMLSchema";>
  <import
namespace="
http://getmanufactures.elements.administration.service.mobilews.s
hc.com.br"/>
  <import
namespace="
http://getgprsconfig.elements.administration.service.mobilews.shc
.com.br"/>
  <import
namespace="
http://getdistributions.elements.administration.service.mobilews.
shc.com.br"/>
  <import
namespace="http://10.173.100.6:8010/GMobile/services/SGAdministration"/>
  <import
namespace="
http://getmodels.elements.administration.service.mobilews.shc.com
.br"/>
  <import
namespace="
http://getoperators.elements.administration.service.mobilews.shc.
com.br"/>
  <import
namespace="
http://getjad.elements.administration.service.mobilews.shc.com.br
"/>
  <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
  <complexType name="CellPhone">
   <sequence>
    <element name="cellPhoneId" nillable="true" type="xsd:int"/>
    <element name="ddd" nillable="true" type="xsd:int"/>
    <element name="ddi" nillable="true" type="xsd:int"/>
    <element name="model" nillable="true" type="xsd:int"/>
    <element name="number" nillable="true" type="xsd:int"/>
    <element name="operator" nillable="true" type="xsd:int"/>
    <element name="skin" nillable="true" type="xsd:int"/>
    <element name="timestamp" nillable="true" type="xsd:dateTime"/>
   </sequence>
  </complexType>
  <complexType name="CellPhoneUser">
   <sequence>
    <element name="address" nillable="true" type="xsd:string"/>
    <element name="applications" nillable="true" type="xsd:int"/>
    <element name="birth" nillable="true" type="xsd:dateTime"/>
    <element name="cellPhone" nillable="true" type="tns7:CellPhone"/>
    <element name="city" nillable="true" type="xsd:string"/>
    <element name="complement" nillable="true" type="xsd:string"/>
    <element name="cpf" nillable="true" type="xsd:string"/>
    <element name="distrId" nillable="true" type="xsd:int"/>
    <element name="email" nillable="true" type="xsd:string"/>
    <element name="gender" nillable="true" type="xsd:int"/>
    <element name="inclusion" nillable="true" type="xsd:dateTime"/>
    <element name="name" nillable="true" type="xsd:string"/>
    <element name="neighborhood" nillable="true" type="xsd:string"/>
    <element name="number" nillable="true" type="xsd:string"/>
    <element name="password" nillable="true" type="xsd:string"/>
    <element name="rg" nillable="true" type="xsd:string"/>
    <element name="state" nillable="true" type="xsd:int"/>
    <element name="timestamp" nillable="true" type="xsd:dateTime"/>
    <element name="userId" nillable="true" type="xsd:int"/>
    <element name="zipCode" nillable="true" type="xsd:string"/>
   </sequence>
  </complexType>
  <complexType name="CellPhoneUserRegistrationRequest">
   <sequence>
    <element name="cellPhoneUser" nillable="true"
type="tns7:CellPhoneUser"/>
   </sequence>
  </complexType>
  <complexType name="Input">
   <sequence>
    <element name="cellPhoneUserRegistrationRequest" nillable="true"
type="tns7:CellPhoneUserRegistrationRequest"/>
   </sequence>
  </complexType>
  <complexType name="CellPhoneUserRegistrationResponse">
   <sequence>
    <element name="idCelDistr" nillable="true" type="xsd:int"/>
   </sequence>
  </complexType>
  <complexType name="Output">
   <sequence>
    <element name="cellPhoneUserRegistrationResponse" nillable="true"
type="tns7:CellPhoneUserRegistrationResponse"/>
    <element name="msg" nillable="true" type="xsd:string"/>
    <element name="resultCode" nillable="true" type="xsd:int"/>
   </sequence>
  </complexType>
  <complexType name="Body">
   <sequence>
    <element name="input" nillable="true" type="tns7:Input"/>
    <element name="output" nillable="true" type="tns7:Output"/>
   </sequence>
  </complexType>
  <complexType name="Header">
   <sequence>
    <element name="password" nillable="true" type="xsd:string"/>
    <element name="user" nillable="true" type="xsd:string"/>
   </sequence>
  </complexType>
  <complexType name="CellPhoneUserRegistration">
   <sequence>
    <element name="body" nillable="true" type="tns7:Body"/>
    <element name="header" nillable="true" type="tns7:Header"/>
   </sequence>
  </complexType>
 </schema>
 </wsdl:types>

  <wsdl:message name="getGPRSConfigResponse">

     <wsdl:part name="getGPRSConfigReturn" type="tns6:GetGPRSConfig"/>

  </wsdl:message>

  <wsdl:message name="getJadRequest">

     <wsdl:part name="getJad" type="tns1:GetJad"/>

  </wsdl:message>

  <wsdl:message name="getManufacturersRequest">

     <wsdl:part name="getManufacturers" type="tns3:GetManufacturers"/>

  </wsdl:message>

  <wsdl:message name="getModelsRequest">

     <wsdl:part name="getModels" type="tns4:GetModels"/>

  </wsdl:message>

  <wsdl:message name="getManufacturersResponse">

     <wsdl:part name="getManufacturersReturn"
type="tns3:GetManufacturers"/>

  </wsdl:message>

  <wsdl:message name="getDistributionsRequest">

     <wsdl:part name="getDistributions" type="tns2:GetDistributions"/>

  </wsdl:message>

  <wsdl:message name="getModelsResponse">

     <wsdl:part name="getModelsReturn" type="tns4:GetModels"/>

  </wsdl:message>

  <wsdl:message name="getDistributionsResponse">

     <wsdl:part name="getDistributionsReturn"
type="tns2:GetDistributions"/>

  </wsdl:message>

  <wsdl:message name="registerCellPhoneUserRequest">

     <wsdl:part name="cellPhoneUserRegistration"
type="tns7:CellPhoneUserRegistration"/>

  </wsdl:message>

  <wsdl:message name="getOperatorsRequest">

     <wsdl:part name="getOperators" type="tns5:GetOperators"/>

  </wsdl:message>

  <wsdl:message name="getOperatorsResponse">

     <wsdl:part name="getOperatorsReturn" type="tns5:GetOperators"/>

  </wsdl:message>

  <wsdl:message name="getJadResponse">

     <wsdl:part name="getJadReturn" type="tns1:GetJad"/>

  </wsdl:message>

  <wsdl:message name="getGPRSConfigRequest">

     <wsdl:part name="getGPRS" type="tns6:GetGPRSConfig"/>

  </wsdl:message>

  <wsdl:message name="registerCellPhoneUserResponse">

     <wsdl:part name="registerCellPhoneUserReturn"
type="tns7:CellPhoneUserRegistration"/>

  </wsdl:message>

  <wsdl:portType name="SGAdministration">

     <wsdl:operation name="getJad" parameterOrder="getJad">

        <wsdl:input message="impl:getJadRequest" name="getJadRequest"/>

        <wsdl:output message="impl:getJadResponse"
name="getJadResponse"/>

     </wsdl:operation>

     <wsdl:operation name="getDistributions"
parameterOrder="getDistributions">

        <wsdl:input message="impl:getDistributionsRequest"
name="getDistributionsRequest"/>

        <wsdl:output message="impl:getDistributionsResponse"
name="getDistributionsResponse"/>

     </wsdl:operation>

     <wsdl:operation name="getManufacturers"
parameterOrder="getManufacturers">

        <wsdl:input message="impl:getManufacturersRequest"
name="getManufacturersRequest"/>

        <wsdl:output message="impl:getManufacturersResponse"
name="getManufacturersResponse"/>

     </wsdl:operation>

     <wsdl:operation name="getModels" parameterOrder="getModels">

        <wsdl:input message="impl:getModelsRequest"
name="getModelsRequest"/>

        <wsdl:output message="impl:getModelsResponse"
name="getModelsResponse"/>

     </wsdl:operation>

     <wsdl:operation name="getOperators" parameterOrder="getOperators">

        <wsdl:input message="impl:getOperatorsRequest"
name="getOperatorsRequest"/>

        <wsdl:output message="impl:getOperatorsResponse"
name="getOperatorsResponse"/>

     </wsdl:operation>

     <wsdl:operation name="getGPRSConfig" parameterOrder="getGPRS">

        <wsdl:input message="impl:getGPRSConfigRequest"
name="getGPRSConfigRequest"/>

        <wsdl:output message="impl:getGPRSConfigResponse"
name="getGPRSConfigResponse"/>

     </wsdl:operation>

     <wsdl:operation name="registerCellPhoneUser"
parameterOrder="cellPhoneUserRegistration">

        <wsdl:input message="impl:registerCellPhoneUserRequest"
name="registerCellPhoneUserRequest"/>

        <wsdl:output message="impl:registerCellPhoneUserResponse"
name="registerCellPhoneUserResponse"/>

     </wsdl:operation>

  </wsdl:portType>

  <wsdl:binding name="SGAdministrationSoapBinding"
type="impl:SGAdministration">

     <wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>

     <wsdl:operation name="getJad">

        <wsdlsoap:operation soapAction=""/>

        <wsdl:input name="getJadRequest">

           <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://endpoints.service.mobilews.shc.com.br"; use="encoded"/>

        </wsdl:input>

        <wsdl:output name="getJadResponse">

           <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://10.173.100.6:8010/GMobile/services/SGAdministration";
use="encoded"/>

        </wsdl:output>

     </wsdl:operation>

     <wsdl:operation name="getDistributions">

        <wsdlsoap:operation soapAction=""/>

        <wsdl:input name="getDistributionsRequest">

           <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://endpoints.service.mobilews.shc.com.br"; use="encoded"/>

        </wsdl:input>

        <wsdl:output name="getDistributionsResponse">

           <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://10.173.100.6:8010/GMobile/services/SGAdministration";
use="encoded"/>

        </wsdl:output>

     </wsdl:operation>

     <wsdl:operation name="getManufacturers">

        <wsdlsoap:operation soapAction=""/>

        <wsdl:input name="getManufacturersRequest">

           <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://endpoints.service.mobilews.shc.com.br"; use="encoded"/>

        </wsdl:input>

        <wsdl:output name="getManufacturersResponse">

           <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://10.173.100.6:8010/GMobile/services/SGAdministration";
use="encoded"/>

        </wsdl:output>

     </wsdl:operation>

     <wsdl:operation name="getModels">

        <wsdlsoap:operation soapAction=""/>

        <wsdl:input name="getModelsRequest">

           <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://endpoints.service.mobilews.shc.com.br"; use="encoded"/>

        </wsdl:input>

        <wsdl:output name="getModelsResponse">

           <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://10.173.100.6:8010/GMobile/services/SGAdministration";
use="encoded"/>

        </wsdl:output>

     </wsdl:operation>

     <wsdl:operation name="getOperators">

        <wsdlsoap:operation soapAction=""/>

        <wsdl:input name="getOperatorsRequest">

           <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://endpoints.service.mobilews.shc.com.br"; use="encoded"/>

        </wsdl:input>

        <wsdl:output name="getOperatorsResponse">

           <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://10.173.100.6:8010/GMobile/services/SGAdministration";
use="encoded"/>

        </wsdl:output>

     </wsdl:operation>

     <wsdl:operation name="getGPRSConfig">

        <wsdlsoap:operation soapAction=""/>

        <wsdl:input name="getGPRSConfigRequest">

           <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://endpoints.service.mobilews.shc.com.br"; use="encoded"/>

        </wsdl:input>

        <wsdl:output name="getGPRSConfigResponse">

           <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://10.173.100.6:8010/GMobile/services/SGAdministration";
use="encoded"/>

        </wsdl:output>

     </wsdl:operation>

     <wsdl:operation name="registerCellPhoneUser">

        <wsdlsoap:operation soapAction=""/>

        <wsdl:input name="registerCellPhoneUserRequest">

           <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://endpoints.service.mobilews.shc.com.br"; use="encoded"/>

        </wsdl:input>

        <wsdl:output name="registerCellPhoneUserResponse">

           <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://10.173.100.6:8010/GMobile/services/SGAdministration";
use="encoded"/>

        </wsdl:output>

     </wsdl:operation>

  </wsdl:binding>

  <wsdl:service name="SGAdministrationService">

     <wsdl:port binding="impl:SGAdministrationSoapBinding"
name="SGAdministration">

        <wsdlsoap:address
location="http://10.173.100.6:8010/GMobile/services/SGAdministration"/>

     </wsdl:port>

  </wsdl:service>

</wsdl:definitions>


============================================== Exception
============================================================================
=
[Error] SGAdministration.wsdl:2:1087: cvc-elt.1: Cannot find the
declaration
of element 'wsdl:definitions'.
Woden[Fatal Error],0:0,WSDL501,Expected a
"{http://www.w3.org/ns/wsdl}description"; element, but found a
"{http://schemas.xmlsoap.org/wsdl/}definitions"; element instead.
Exception in thread "main" WSDLException: faultCode=INVALID_WSDL: Fatal
WSDL
error:
0:0,WSDL501,Expected a "{http://www.w3.org/ns/wsdl}description"; element,
but
found a "{http://schemas.xmlsoap.org/wsdl/}definitions"; element instead.:
                at
org.apache.woden.internal.ErrorReporterImpl.reportError(ErrorReporterImpl.ja
va:241)
                at
org.apache.woden.internal.ErrorReporterImpl.reportError(ErrorReporterImpl.ja
va:196)
                at
org.apache.woden.internal.ErrorReporterImpl.reportError(ErrorReporterImpl.ja
va:180)
                at
org.apache.woden.internal.BaseWSDLReader.parseDescription(BaseWSDLReader.jav
a:365)
                at
org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java:185)
                at
org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java:233)
                at
org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java:268)
                at
org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java:127)
                at
br.com.teste.TesteWonden.testeParse(TesteWonden.java:32)
                at br.com.teste.TesteWonden.main(TesteWonden.java:18)

Paulo Nepomuceno



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to