You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by Paulo Nepomuceno <pn...@shc.com.br> on 2008/05/19 21:38:51 UTC
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
Re: Exception when read WSDL
Posted by Heinz Drews <he...@gmail.com>.
Hello Lawrence,
thanks for reacting so fast.
Best regards,
Heinz
On Tue, May 20, 2008 at 8:01 PM, Lawrence Mandel <lm...@ca.ibm.com> wrote:
> 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" <he...@gmail.com>
> 05/19/2008 04:47 PM
> Please respond to
> woden-dev@ws.apache.org
>
>
> To
> woden-dev@ws.apache.org
> 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 <lm...@ca.ibm.com>
> 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" <pn...@shc.com.br>
> 05/19/2008 03:38 PM
> Please respond to
> woden-dev@ws.apache.org
>
>
> To
> <wo...@ws.apache.org>
> 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<http://www.w3.org/ns/wsdl%7Ddescription>"
> element, but found a
> "{http://schemas.xmlsoap.org/wsdl/}definitions<http://schemas.xmlsoap.org/wsdl/%7Ddefinitions>"
> 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<http://www.w3.org/ns/wsdl%7Ddescription>"
> element,
> but
> found a "{http://schemas.xmlsoap.org/wsdl/}definitions<http://schemas.xmlsoap.org/wsdl/%7Ddefinitions>"
> 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: woden-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: woden-dev-help@ws.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: woden-dev-help@ws.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: woden-dev-help@ws.apache.org
>
>
Re: Exception when read WSDL
Posted by Lawrence Mandel <lm...@ca.ibm.com>.
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" <he...@gmail.com>
05/19/2008 04:47 PM
Please respond to
woden-dev@ws.apache.org
To
woden-dev@ws.apache.org
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 <lm...@ca.ibm.com>
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" <pn...@shc.com.br>
05/19/2008 03:38 PM
Please respond to
woden-dev@ws.apache.org
To
<wo...@ws.apache.org>
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
Re: Exception when read WSDL
Posted by Heinz Drews <he...@gmail.com>.
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 <lm...@ca.ibm.com>
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" <pn...@shc.com.br>
> 05/19/2008 03:38 PM
> Please respond to
> woden-dev@ws.apache.org
>
>
> To
> <wo...@ws.apache.org>
> 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<http://www.w3.org/ns/wsdl%7Ddescription>"
> element, but found a
> "{http://schemas.xmlsoap.org/wsdl/}definitions<http://schemas.xmlsoap.org/wsdl/%7Ddefinitions>"
> 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<http://www.w3.org/ns/wsdl%7Ddescription>"
> element,
> but
> found a "{http://schemas.xmlsoap.org/wsdl/}definitions<http://schemas.xmlsoap.org/wsdl/%7Ddefinitions>"
> 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: woden-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: woden-dev-help@ws.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: woden-dev-help@ws.apache.org
>
>
Re: Exception when read WSDL
Posted by Sagara Gunathunga <sa...@gmail.com>.
Hi Paulo,
There are two WSDL versions WSDL 1.1 [4] and WSDL 2.0 [5] and the
current version of the specification is the 2.0; version 1.1 has not been
endorsed by the W3C but version 2.0 is a W3C recommendation.
If you can type your end point with adding "?wsdl" part ( in your example
http://10.173.100.6:8010/GMobile/services/SGAdministration?wsdl ) in the
address bar of a any web browser you can see relevant WSDL document. By
observing the element names you can determine the WSDL version. Simply you
can observe the starting element of the document if it starts with
<definitions> tag, that is WSDL 1.1 document (refer the example document –
[1]) if it starts with description <description> tag, that is a WSDL 2.0
document (refer the example document – [2]). Also namespace prefixes like
<wsdl:XXXXXX> can be used to identify the WSDL version , by observing
particular namespace declaration you can identify the particular WSDL
version .
There are many other differences between these two versions. Reference [3]
is a good tutorial to follow.
[1]- http://www.w3.org/2001/04/wsws-proceedings/uche/wsdl.html
[2]- http://www.w3.org/TR/wsdl20/#Iri-ref-ex
[3] - http://www.xml.com/pub/a/ws/2004/05/19/wsdl2.html
[4] - http://www.w3.org/TR/wsdl
[5] - http://www.w3.org/TR/wsdl20/
Regards,
Sagara Gunathunga
Blog - ssagara.blogspot.com
Web - http://sagaras.awardspace.com/
On Tue, May 20, 2008 at 5:25 PM, Paulo Nepomuceno <pn...@shc.com.br>
wrote:
> Thank you very much! That's it. I tried WSDL4J and bingo, works very nice.
>
> But, how i can know the WSDL version? How many versions of WSDL we have?
>
> Hugs,
>
> Paulo Nepomuceno
>
> -----Original Message-----
> From: Lawrence Mandel [mailto:lmandel@ca.ibm.com]
> Sent: segunda-feira, 19 de maio de 2008 17:31
> To: woden-dev@ws.apache.org
> Subject: Re: Exception when read WSDL
>
>
> 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" <pn...@shc.com.br>
> 05/19/2008 03:38 PM
> Please respond to
> woden-dev@ws.apache.org
>
>
> To
> <wo...@ws.apache.org>
> 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<http://www.w3.org/ns/wsdl%7Ddescription>"
> element, but found a
> "{http://schemas.xmlsoap.org/wsdl/}definitions<http://schemas.xmlsoap.org/wsdl/%7Ddefinitions>"
> 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<http://www.w3.org/ns/wsdl%7Ddescription>"
> element,
> but
> found a "{http://schemas.xmlsoap.org/wsdl/}definitions<http://schemas.xmlsoap.org/wsdl/%7Ddefinitions>"
> 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: woden-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: woden-dev-help@ws.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: woden-dev-help@ws.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: woden-dev-help@ws.apache.org
>
>
RE: Exception when read WSDL
Posted by Paulo Nepomuceno <pn...@shc.com.br>.
Thank you very much! That's it. I tried WSDL4J and bingo, works very nice.
But, how i can know the WSDL version? How many versions of WSDL we have?
Hugs,
Paulo Nepomuceno
-----Original Message-----
From: Lawrence Mandel [mailto:lmandel@ca.ibm.com]
Sent: segunda-feira, 19 de maio de 2008 17:31
To: woden-dev@ws.apache.org
Subject: Re: Exception when read WSDL
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" <pn...@shc.com.br>
05/19/2008 03:38 PM
Please respond to
woden-dev@ws.apache.org
To
<wo...@ws.apache.org>
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
Re: Exception when read WSDL
Posted by Lawrence Mandel <lm...@ca.ibm.com>.
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" <pn...@shc.com.br>
05/19/2008 03:38 PM
Please respond to
woden-dev@ws.apache.org
To
<wo...@ws.apache.org>
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org