By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,967 Members | 1,625 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,967 IT Pros & Developers. It's quick & easy.

Cannot resolve apachesoap:Map

P: n/a
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:definitions targetNamespace="http://xfleet.de/webservices"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://xfleet.de/webservices"
xmlns:intf="http://xfleet.de/webservices"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns1="http://xfleet.de/types"
xmlns:tns10="{http://xfleet.de/types}CarSelectionDetail"
xmlns:tns11="{http://xfleet.de/types}SecurityRequest"
xmlns:tns12="{http://xfleet.de/types}Authorization"
xmlns:tns13="{http://xfleet.de/types}KeyValue"
xmlns:tns14="{http://xfleet.de/types}InvalidationList"
xmlns:tns15="{http://xfleet.de/types}AuthorizationSize"
xmlns:tns16="{http://xfleet.de/types}Manufacturer"
xmlns:tns17="{http://xfleet.de/types}AuthorizationList"
xmlns:tns18="{http://xfleet.de/types}NestedRuntimeException"
xmlns:tns19="{http://xfleet.de/types}Company"
xmlns:tns2="{http://xfleet.de/types}MessageList"
xmlns:tns20="{http://xfleet.de/types}InvalidationEvent"
xmlns:tns21="{http://xfleet.de/types}ModelLine"
xmlns:tns22="{http://xfleet.de/types}TransmissionSystem"
xmlns:tns23="{http://xfleet.de/types}PasswordChangeRequest"
xmlns:tns24="{http://xfleet.de/types}Body"
xmlns:tns25="{http://xfleet.de/types}VehicleType"
xmlns:tns26="{http://xfleet.de/types}CarSelectionFilter"
xmlns:tns27="{http://xfleet.de/types}Realm"
xmlns:tns28="{http://xfleet.de/types}CylinderAlignment"
xmlns:tns29="{http://xfleet.de/types}AuthenticationMethod"
xmlns:tns3="{http://xfleet.de/types}Relation"
xmlns:tns30="{http://xfleet.de/types}Drive"
xmlns:tns31="{http://xfleet.de/types}User"
xmlns:tns32="{http://xfleet.de/types}CarDetailKey"
xmlns:tns33="{http://xfleet.de/types}Condition"
xmlns:tns34="{http://xfleet.de/types}NestedException"
xmlns:tns35="{http://xfleet.de/types}EngineType"
xmlns:tns36="{http://xfleet.de/types}CarSelectionResults"
xmlns:tns37="{http://xfleet.de/types}SessionToken"
xmlns:tns38="{http://xfleet.de/types}UnauthorizedAccessException"
xmlns:tns39="{http://xfleet.de/types}Tail"
xmlns:tns4="{http://xfleet.de/types}Contact"
xmlns:tns40="http://exceptions.common.xfleet.dcb.com"
xmlns:tns41="http://logon.security.common.xfleet.dcb.com"
xmlns:tns42="http://security.common.xfleet.dcb.com"
xmlns:tns5="http://data.common.xfleet.dcb.com"
xmlns:tns6="{http://xfleet.de/types}LimitAttribute"
xmlns:tns7="{http://xfleet.de/types}Message"
xmlns:tns8="{http://xfleet.de/types}UserDataObject"
xmlns:tns9="{http://xfleet.de/types}FuelType"
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.3
Built on Oct 05, 2005 (05:23:37 EDT)-->
<wsdl:types>
<schema targetNamespace="{http://xfleet.de/types}MessageList"
xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://logon.security.common.xfleet.dcb.com"/>
<import namespace="http://exceptions.common.xfleet.dcb.com"/>
<import namespace="http://xfleet.de/types"/>
<import namespace="http://xfleet.de/webservices"/>
<import namespace="http://data.common.xfleet.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.dcb.com"/>
<import namespace="http://exceptions.common.xfleet.dcb.com"/>
<import namespace="http://xfleet.de/webservices"/>
<import namespace="http://data.common.xfleet.dcb.com"/>
<import namespace="http://security.common.xfleet.dcb.com"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="MessageList">
<sequence>
<element maxOccurs="1" minOccurs="0" name="list" nillable="true"
type="soapenc:Array"/>
</sequence>
</complexType>
<complexType name="Relation">
<sequence>
<element maxOccurs="1" minOccurs="0" name="elements" nillable="true"
type="soapenc:Array"/>
</sequence>
</complexType>
<complexType name="Contact">
<sequence>
<element name="street" type="xsd:string"/>
<element name="poBox" type="xsd:string"/>
<element name="city" type="xsd:string"/>
<element name="postalCode" type="xsd:string"/>
<element name="phone" type="xsd:string"/>
<element name="fax" type="xsd:string"/>
<element name="mobile" type="xsd:string"/>
<element name="pager" type="xsd:string"/>
<element name="url" type="xsd:string"/>
<element name="emails" type="apachesoap:Map"/>
</sequence>
</complexType>
<complexType name="LimitAttribute">
<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="locationKey" nillable="true"
type="xsd:string"/>
<element maxOccurs="1" minOccurs="0" name="messageKey" nillable="true"
type="xsd:string"/>
<element maxOccurs="1" minOccurs="0" name="values" nillable="true"
type="soapenc:Array"/>
</sequence>
</complexType>
<complexType name="UserDataObject">
<complexContent>
<extension base="tns1:Contact">
<sequence>
<element name="userName" type="xsd:string"/>
<element name="title" type="xsd:string"/>
<element name="firstName" type="xsd:string"/>
<element name="lastName" type="xsd:string"/>
<element name="dob" type="xsd:dateTime"/>
<element name="gender" type="xsd:string"/>
<element name="locale" type="xsd:string"/>
<element name="costCenterIdent" type="xsd:string"/>
<element name="groupIdent" type="xsd:string"/>
<element name="contractNr" type="xsd:string"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="FuelType">
<sequence>
<element name="code" type="xsd:string"/>
<element name="description" type="xsd:string"/>
</sequence>
</complexType>
<complexType name="CarSelectionDetail">
<sequence>
<element name="emissionGroups" type="soapenc:Array"/>
<element name="body" type="tns1:KeyValue"/>
...

Thanks in advance and best regards.

Hennesey
Feb 16 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

yes he does ;).

That type isn't interoperable. You should be using document/literal for your
services.

If you're developing web services you should check always for
interoperability issues. Check the ws-i web site http://www.ws-i.org/.
"Hennesey" wrote:
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:definitions targetNamespace="http://xfleet.de/webservices"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://xfleet.de/webservices"
xmlns:intf="http://xfleet.de/webservices"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns1="http://xfleet.de/types"
xmlns:tns10="{http://xfleet.de/types}CarSelectionDetail"
xmlns:tns11="{http://xfleet.de/types}SecurityRequest"
xmlns:tns12="{http://xfleet.de/types}Authorization"
xmlns:tns13="{http://xfleet.de/types}KeyValue"
xmlns:tns14="{http://xfleet.de/types}InvalidationList"
xmlns:tns15="{http://xfleet.de/types}AuthorizationSize"
xmlns:tns16="{http://xfleet.de/types}Manufacturer"
xmlns:tns17="{http://xfleet.de/types}AuthorizationList"
xmlns:tns18="{http://xfleet.de/types}NestedRuntimeException"
xmlns:tns19="{http://xfleet.de/types}Company"
xmlns:tns2="{http://xfleet.de/types}MessageList"
xmlns:tns20="{http://xfleet.de/types}InvalidationEvent"
xmlns:tns21="{http://xfleet.de/types}ModelLine"
xmlns:tns22="{http://xfleet.de/types}TransmissionSystem"
xmlns:tns23="{http://xfleet.de/types}PasswordChangeRequest"
xmlns:tns24="{http://xfleet.de/types}Body"
xmlns:tns25="{http://xfleet.de/types}VehicleType"
xmlns:tns26="{http://xfleet.de/types}CarSelectionFilter"
xmlns:tns27="{http://xfleet.de/types}Realm"
xmlns:tns28="{http://xfleet.de/types}CylinderAlignment"
xmlns:tns29="{http://xfleet.de/types}AuthenticationMethod"
xmlns:tns3="{http://xfleet.de/types}Relation"
xmlns:tns30="{http://xfleet.de/types}Drive"
xmlns:tns31="{http://xfleet.de/types}User"
xmlns:tns32="{http://xfleet.de/types}CarDetailKey"
xmlns:tns33="{http://xfleet.de/types}Condition"
xmlns:tns34="{http://xfleet.de/types}NestedException"
xmlns:tns35="{http://xfleet.de/types}EngineType"
xmlns:tns36="{http://xfleet.de/types}CarSelectionResults"
xmlns:tns37="{http://xfleet.de/types}SessionToken"
xmlns:tns38="{http://xfleet.de/types}UnauthorizedAccessException"
xmlns:tns39="{http://xfleet.de/types}Tail"
xmlns:tns4="{http://xfleet.de/types}Contact"
xmlns:tns40="http://exceptions.common.xfleet.dcb.com"
xmlns:tns41="http://logon.security.common.xfleet.dcb.com"
xmlns:tns42="http://security.common.xfleet.dcb.com"
xmlns:tns5="http://data.common.xfleet.dcb.com"
xmlns:tns6="{http://xfleet.de/types}LimitAttribute"
xmlns:tns7="{http://xfleet.de/types}Message"
xmlns:tns8="{http://xfleet.de/types}UserDataObject"
xmlns:tns9="{http://xfleet.de/types}FuelType"
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.3
Built on Oct 05, 2005 (05:23:37 EDT)-->
<wsdl:types>
<schema targetNamespace="{http://xfleet.de/types}MessageList"
xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://logon.security.common.xfleet.dcb.com"/>
<import namespace="http://exceptions.common.xfleet.dcb.com"/>
<import namespace="http://xfleet.de/types"/>
<import namespace="http://xfleet.de/webservices"/>
<import namespace="http://data.common.xfleet.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.dcb.com"/>
<import namespace="http://exceptions.common.xfleet.dcb.com"/>
<import namespace="http://xfleet.de/webservices"/>
<import namespace="http://data.common.xfleet.dcb.com"/>
<import namespace="http://security.common.xfleet.dcb.com"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="MessageList">
<sequence>
<element maxOccurs="1" minOccurs="0" name="list" nillable="true"
type="soapenc:Array"/>
</sequence>
</complexType>
<complexType name="Relation">
<sequence>
<element maxOccurs="1" minOccurs="0" name="elements" nillable="true"
type="soapenc:Array"/>
</sequence>
</complexType>
<complexType name="Contact">
<sequence>
<element name="street" type="xsd:string"/>
<element name="poBox" type="xsd:string"/>
<element name="city" type="xsd:string"/>
<element name="postalCode" type="xsd:string"/>
<element name="phone" type="xsd:string"/>
<element name="fax" type="xsd:string"/>
<element name="mobile" type="xsd:string"/>
<element name="pager" type="xsd:string"/>
<element name="url" type="xsd:string"/>
<element name="emails" type="apachesoap:Map"/>
</sequence>
</complexType>
<complexType name="LimitAttribute">
<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="locationKey" nillable="true"
type="xsd:string"/>
<element maxOccurs="1" minOccurs="0" name="messageKey" nillable="true"
type="xsd:string"/>
<element maxOccurs="1" minOccurs="0" name="values" nillable="true"
type="soapenc:Array"/>
</sequence>
</complexType>
<complexType name="UserDataObject">
<complexContent>
<extension base="tns1:Contact">
<sequence>
<element name="userName" type="xsd:string"/>
<element name="title" type="xsd:string"/>
<element name="firstName" type="xsd:string"/>
<element name="lastName" type="xsd:string"/>
<element name="dob" type="xsd:dateTime"/>
<element name="gender" type="xsd:string"/>
<element name="locale" type="xsd:string"/>
<element name="costCenterIdent" type="xsd:string"/>
<element name="groupIdent" type="xsd:string"/>
<element name="contractNr" type="xsd:string"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="FuelType">
<sequence>
<element name="code" type="xsd:string"/>
<element name="description" type="xsd:string"/>
</sequence>
</complexType>
<complexType name="CarSelectionDetail">
<sequence>
<element name="emissionGroups" type="soapenc:Array"/>
<element name="body" type="tns1:KeyValue"/>
...

Thanks in advance and best regards.

Hennesey

Feb 20 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.