Hi,

I'm working on a client application with VS.NET 2003, and I have to consume
some webservices hosted on Apache AXIS 1.1. When I try to reference this
webservice from VS or with wsdl.exe I have the following error :

"Unable to import operation 'getProperties'. The datatype 'Array' is
missing."

I think the error is because of wsdl.exe can not find the type soapenc:Array
generated by Axis. But this type is definied in the xmlns:soapenc namespace
at the beginning of wsdl file:
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";;

This some lines from the wsdl file :

<wsdl:definitions
targetNamespace="http://localhost:8080/bonita_ws/services/ProjectSession";>
        <wsdl:types>
                <schema targetNamespace="urn:bonita">
                <import
namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
                ....
                ....

<wsdl:message name="getPropertiesResponse">
<wsdl:part name="getPropertiesReturn" type="soapenc:Array"/>
</wsdl:message>
....
...

This problem seems to happen only with .net client, with java client and
php, it works correctly.
Have anyone an idea on how to solve this ??? If with the WSE 1.0 or 2.0 it
can be resolved or is there a path from MS.

Thank you in advance,

FAKHRI

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com
Some .NET courses you may be interested in:

NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to