Hello all,
I am developing a Visual Studio .Net 2005 application that consumes an Axis
1.3 web service.
Importing the WSDL file generates an error "cannot resolve apachesoap:Map
type"
What's wrong? Does the JAVA guy has to correct something?
Here is the beginning of the WSDL file:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitio ns targetNamespace ="http://xfleet.de/webservices"
xmlns:apachesoa p="http://xml.apache.org/xml-soap"
xmlns:impl="htt p://xfleet.de/webservices"
xmlns:intf="htt p://xfleet.de/webservices"
xmlns:soapenc=" http://schemas.xmlsoap .org/soap/encoding/"
xmlns:tns1="htt p://xfleet.de/types"
xmlns:tns10="{h ttp://xfleet.de/types}CarSelect ionDetail"
xmlns:tns11="{h ttp://xfleet.de/types}SecurityR equest"
xmlns:tns12="{h ttp://xfleet.de/types}Authoriza tion"
xmlns:tns13="{h ttp://xfleet.de/types}KeyValue"
xmlns:tns14="{h ttp://xfleet.de/types}Invalidat ionList"
xmlns:tns15="{h ttp://xfleet.de/types}Authoriza tionSize"
xmlns:tns16="{h ttp://xfleet.de/types}Manufactu rer"
xmlns:tns17="{h ttp://xfleet.de/types}Authoriza tionList"
xmlns:tns18="{h ttp://xfleet.de/types}NestedRun timeException"
xmlns:tns19="{h ttp://xfleet.de/types}Company"
xmlns:tns2="{ht tp://xfleet.de/types}MessageLi st"
xmlns:tns20="{h ttp://xfleet.de/types}Invalidat ionEvent"
xmlns:tns21="{h ttp://xfleet.de/types}ModelLine "
xmlns:tns22="{h ttp://xfleet.de/types}Transmiss ionSystem"
xmlns:tns23="{h ttp://xfleet.de/types}PasswordC hangeRequest"
xmlns:tns24="{h ttp://xfleet.de/types}Body"
xmlns:tns25="{h ttp://xfleet.de/types}VehicleTy pe"
xmlns:tns26="{h ttp://xfleet.de/types}CarSelect ionFilter"
xmlns:tns27="{h ttp://xfleet.de/types}Realm"
xmlns:tns28="{h ttp://xfleet.de/types}CylinderA lignment"
xmlns:tns29="{h ttp://xfleet.de/types}Authentic ationMethod"
xmlns:tns3="{ht tp://xfleet.de/types}Relation"
xmlns:tns30="{h ttp://xfleet.de/types}Drive"
xmlns:tns31="{h ttp://xfleet.de/types}User"
xmlns:tns32="{h ttp://xfleet.de/types}CarDetail Key"
xmlns:tns33="{h ttp://xfleet.de/types}Condition "
xmlns:tns34="{h ttp://xfleet.de/types}NestedExc eption"
xmlns:tns35="{h ttp://xfleet.de/types}EngineTyp e"
xmlns:tns36="{h ttp://xfleet.de/types}CarSelect ionResults"
xmlns:tns37="{h ttp://xfleet.de/types}SessionTo ken"
xmlns:tns38="{h ttp://xfleet.de/types}Unauthori zedAccessExcept ion"
xmlns:tns39="{h ttp://xfleet.de/types}Tail"
xmlns:tns4="{ht tp://xfleet.de/types}Contact"
xmlns:tns40="ht tp://exceptions.comm on.xfleet.dcb.c om"
xmlns:tns41="ht tp://logon.security. common.xfleet.d cb.com"
xmlns:tns42="ht tp://security.common .xfleet.dcb.com "
xmlns:tns5="htt p://data.common.xfl eet.dcb.com"
xmlns:tns6="{ht tp://xfleet.de/types}LimitAttr ibute"
xmlns:tns7="{ht tp://xfleet.de/types}Message"
xmlns:tns8="{ht tp://xfleet.de/types}UserDataO bject"
xmlns:tns9="{ht tp://xfleet.de/types}FuelType"
xmlns:wsdl="htt p://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.3
Built on Oct 05, 2005 (05:23:37 EDT)-->
<wsdl:types>
<schema targetNamespace ="{http://xfleet.de/types}MessageLi st"
xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http ://logon.security. common.xfleet.d cb.com"/>
<import namespace="http ://exceptions.comm on.xfleet.dcb.c om"/>
<import namespace="http ://xfleet.de/types"/>
<import namespace="http ://xfleet.de/webservices"/>
<import namespace="http ://data.common.xfl eet.dcb.com"/>
<import namespace="http ://security.common .xfleet.dcb.com "/>
<import namespace="http ://schemas.xmlsoap .org/soap/encoding/"/>
</schema>
<schema targetNamespace ="http://xfleet.de/types"
xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http ://logon.security. common.xfleet.d cb.com"/>
<import namespace="http ://exceptions.comm on.xfleet.dcb.c om"/>
<import namespace="http ://xfleet.de/webservices"/>
<import namespace="http ://data.common.xfl eet.dcb.com"/>
<import namespace="http ://security.common .xfleet.dcb.com "/>
<import namespace="http ://schemas.xmlsoap .org/soap/encoding/"/>
<complexType name="MessageLi st">
<sequence>
<element maxOccurs="1" minOccurs="0" name="list" nillable="true"
type="soapenc:A rray"/>
</sequence>
</complexType>
<complexType name="Relation" >
<sequence>
<element maxOccurs="1" minOccurs="0" name="elements" nillable="true"
type="soapenc:A rray"/>
</sequence>
</complexType>
<complexType name="Contact">
<sequence>
<element name="street" type="xsd:strin g"/>
<element name="poBox" type="xsd:strin g"/>
<element name="city" type="xsd:strin g"/>
<element name="postalCod e" type="xsd:strin g"/>
<element name="phone" type="xsd:strin g"/>
<element name="fax" type="xsd:strin g"/>
<element name="mobile" type="xsd:strin g"/>
<element name="pager" type="xsd:strin g"/>
<element name="url" type="xsd:strin g"/>
<element name="emails" type="apachesoa p:Map"/>
</sequence>
</complexType>
<complexType name="LimitAttr ibute">
<sequence>
<element name="min" type="xsd:long"/>
<element name="max" type="xsd:long"/>
</sequence>
</complexType>
<complexType name="Message">
<sequence>
<element maxOccurs="1" minOccurs="0" name="locationK ey" nillable="true"
type="xsd:strin g"/>
<element maxOccurs="1" minOccurs="0" name="messageKe y" nillable="true"
type="xsd:strin g"/>
<element maxOccurs="1" minOccurs="0" name="values" nillable="true"
type="soapenc:A rray"/>
</sequence>
</complexType>
<complexType name="UserDataO bject">
<complexContent >
<extension base="tns1:Cont act">
<sequence>
<element name="userName" type="xsd:strin g"/>
<element name="title" type="xsd:strin g"/>
<element name="firstName " type="xsd:strin g"/>
<element name="lastName" type="xsd:strin g"/>
<element name="dob" type="xsd:dateT ime"/>
<element name="gender" type="xsd:strin g"/>
<element name="locale" type="xsd:strin g"/>
<element name="costCente rIdent" type="xsd:strin g"/>
<element name="groupIden t" type="xsd:strin g"/>
<element name="contractN r" type="xsd:strin g"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="FuelType" >
<sequence>
<element name="code" type="xsd:strin g"/>
<element name="descripti on" type="xsd:strin g"/>
</sequence>
</complexType>
<complexType name="CarSelect ionDetail">
<sequence>
<element name="emissionG roups" type="soapenc:A rray"/>
<element name="body" type="tns1:KeyV alue"/>
...
Thanks in advance and best regards.
Hennesey
I am developing a Visual Studio .Net 2005 application that consumes an Axis
1.3 web service.
Importing the WSDL file generates an error "cannot resolve apachesoap:Map
type"
What's wrong? Does the JAVA guy has to correct something?
Here is the beginning of the WSDL file:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitio ns targetNamespace ="http://xfleet.de/webservices"
xmlns:apachesoa p="http://xml.apache.org/xml-soap"
xmlns:impl="htt p://xfleet.de/webservices"
xmlns:intf="htt p://xfleet.de/webservices"
xmlns:soapenc=" http://schemas.xmlsoap .org/soap/encoding/"
xmlns:tns1="htt p://xfleet.de/types"
xmlns:tns10="{h ttp://xfleet.de/types}CarSelect ionDetail"
xmlns:tns11="{h ttp://xfleet.de/types}SecurityR equest"
xmlns:tns12="{h ttp://xfleet.de/types}Authoriza tion"
xmlns:tns13="{h ttp://xfleet.de/types}KeyValue"
xmlns:tns14="{h ttp://xfleet.de/types}Invalidat ionList"
xmlns:tns15="{h ttp://xfleet.de/types}Authoriza tionSize"
xmlns:tns16="{h ttp://xfleet.de/types}Manufactu rer"
xmlns:tns17="{h ttp://xfleet.de/types}Authoriza tionList"
xmlns:tns18="{h ttp://xfleet.de/types}NestedRun timeException"
xmlns:tns19="{h ttp://xfleet.de/types}Company"
xmlns:tns2="{ht tp://xfleet.de/types}MessageLi st"
xmlns:tns20="{h ttp://xfleet.de/types}Invalidat ionEvent"
xmlns:tns21="{h ttp://xfleet.de/types}ModelLine "
xmlns:tns22="{h ttp://xfleet.de/types}Transmiss ionSystem"
xmlns:tns23="{h ttp://xfleet.de/types}PasswordC hangeRequest"
xmlns:tns24="{h ttp://xfleet.de/types}Body"
xmlns:tns25="{h ttp://xfleet.de/types}VehicleTy pe"
xmlns:tns26="{h ttp://xfleet.de/types}CarSelect ionFilter"
xmlns:tns27="{h ttp://xfleet.de/types}Realm"
xmlns:tns28="{h ttp://xfleet.de/types}CylinderA lignment"
xmlns:tns29="{h ttp://xfleet.de/types}Authentic ationMethod"
xmlns:tns3="{ht tp://xfleet.de/types}Relation"
xmlns:tns30="{h ttp://xfleet.de/types}Drive"
xmlns:tns31="{h ttp://xfleet.de/types}User"
xmlns:tns32="{h ttp://xfleet.de/types}CarDetail Key"
xmlns:tns33="{h ttp://xfleet.de/types}Condition "
xmlns:tns34="{h ttp://xfleet.de/types}NestedExc eption"
xmlns:tns35="{h ttp://xfleet.de/types}EngineTyp e"
xmlns:tns36="{h ttp://xfleet.de/types}CarSelect ionResults"
xmlns:tns37="{h ttp://xfleet.de/types}SessionTo ken"
xmlns:tns38="{h ttp://xfleet.de/types}Unauthori zedAccessExcept ion"
xmlns:tns39="{h ttp://xfleet.de/types}Tail"
xmlns:tns4="{ht tp://xfleet.de/types}Contact"
xmlns:tns40="ht tp://exceptions.comm on.xfleet.dcb.c om"
xmlns:tns41="ht tp://logon.security. common.xfleet.d cb.com"
xmlns:tns42="ht tp://security.common .xfleet.dcb.com "
xmlns:tns5="htt p://data.common.xfl eet.dcb.com"
xmlns:tns6="{ht tp://xfleet.de/types}LimitAttr ibute"
xmlns:tns7="{ht tp://xfleet.de/types}Message"
xmlns:tns8="{ht tp://xfleet.de/types}UserDataO bject"
xmlns:tns9="{ht tp://xfleet.de/types}FuelType"
xmlns:wsdl="htt p://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.3
Built on Oct 05, 2005 (05:23:37 EDT)-->
<wsdl:types>
<schema targetNamespace ="{http://xfleet.de/types}MessageLi st"
xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http ://logon.security. common.xfleet.d cb.com"/>
<import namespace="http ://exceptions.comm on.xfleet.dcb.c om"/>
<import namespace="http ://xfleet.de/types"/>
<import namespace="http ://xfleet.de/webservices"/>
<import namespace="http ://data.common.xfl eet.dcb.com"/>
<import namespace="http ://security.common .xfleet.dcb.com "/>
<import namespace="http ://schemas.xmlsoap .org/soap/encoding/"/>
</schema>
<schema targetNamespace ="http://xfleet.de/types"
xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http ://logon.security. common.xfleet.d cb.com"/>
<import namespace="http ://exceptions.comm on.xfleet.dcb.c om"/>
<import namespace="http ://xfleet.de/webservices"/>
<import namespace="http ://data.common.xfl eet.dcb.com"/>
<import namespace="http ://security.common .xfleet.dcb.com "/>
<import namespace="http ://schemas.xmlsoap .org/soap/encoding/"/>
<complexType name="MessageLi st">
<sequence>
<element maxOccurs="1" minOccurs="0" name="list" nillable="true"
type="soapenc:A rray"/>
</sequence>
</complexType>
<complexType name="Relation" >
<sequence>
<element maxOccurs="1" minOccurs="0" name="elements" nillable="true"
type="soapenc:A rray"/>
</sequence>
</complexType>
<complexType name="Contact">
<sequence>
<element name="street" type="xsd:strin g"/>
<element name="poBox" type="xsd:strin g"/>
<element name="city" type="xsd:strin g"/>
<element name="postalCod e" type="xsd:strin g"/>
<element name="phone" type="xsd:strin g"/>
<element name="fax" type="xsd:strin g"/>
<element name="mobile" type="xsd:strin g"/>
<element name="pager" type="xsd:strin g"/>
<element name="url" type="xsd:strin g"/>
<element name="emails" type="apachesoa p:Map"/>
</sequence>
</complexType>
<complexType name="LimitAttr ibute">
<sequence>
<element name="min" type="xsd:long"/>
<element name="max" type="xsd:long"/>
</sequence>
</complexType>
<complexType name="Message">
<sequence>
<element maxOccurs="1" minOccurs="0" name="locationK ey" nillable="true"
type="xsd:strin g"/>
<element maxOccurs="1" minOccurs="0" name="messageKe y" nillable="true"
type="xsd:strin g"/>
<element maxOccurs="1" minOccurs="0" name="values" nillable="true"
type="soapenc:A rray"/>
</sequence>
</complexType>
<complexType name="UserDataO bject">
<complexContent >
<extension base="tns1:Cont act">
<sequence>
<element name="userName" type="xsd:strin g"/>
<element name="title" type="xsd:strin g"/>
<element name="firstName " type="xsd:strin g"/>
<element name="lastName" type="xsd:strin g"/>
<element name="dob" type="xsd:dateT ime"/>
<element name="gender" type="xsd:strin g"/>
<element name="locale" type="xsd:strin g"/>
<element name="costCente rIdent" type="xsd:strin g"/>
<element name="groupIden t" type="xsd:strin g"/>
<element name="contractN r" type="xsd:strin g"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="FuelType" >
<sequence>
<element name="code" type="xsd:strin g"/>
<element name="descripti on" type="xsd:strin g"/>
</sequence>
</complexType>
<complexType name="CarSelect ionDetail">
<sequence>
<element name="emissionG roups" type="soapenc:A rray"/>
<element name="body" type="tns1:KeyV alue"/>
...
Thanks in advance and best regards.
Hennesey
Comment