Skip to Content
author's profile photo Former Member
Former Member

WSDL error ... please help !


I'm going crazy trying to find what is wrong with this wsdl. Note that it is generated by axis.

When I try to generate a proxy for it , I get this error :

WSDL part <firstname> points to unavailable type with qname: <string>

It points me to getPerson firstname ... but I don't see what is wrong with the way it is defined...

If you can help , it would be really appreciated !!!!


<?xml version="1.0" encoding="UTF-8" ?>" xmlns:impl="http://localhost:8080/axis/services/EmployeeWebService" xmlns:intf="http://localhost:8080/axis/services/EmployeeWebService" xmlns:soapenc="" xmlns:tns1="urn:testaxis" xmlns:wsdl="" xmlns:wsdlsoap="" xmlns:xsd="">


WSDL created by Apache Axis version: 1.4

Built on Apr 22, 2006 (06:55:48 PDT)



<import namespace="http://localhost:8080/axis/services/EmployeeWebService" />" />

<complexType name="Person">


<element name="firstname" nillable="true" type="xsd:string" />

<element name="lastName" nillable="true" type="xsd:string" />




<import namespace="urn:testaxis" />" />

<complexType name="ArrayOf_tns1_Person">


<restriction base="soapenc:Array">

<attribute ref="soapenc:arrayType" wsdl:arrayType="tns1:Person[]" />






<wsdl:message name="getPersonRequest">

<wsdl:part name="firstname" type="soapenc:string" />

<wsdl:part name="lastName" type="soapenc:string" />


<wsdl:message name="getPersonsRequest" />

<wsdl:message name="getPersonsResponse">

<wsdl:part name="getPersonsReturn" type="impl:ArrayOf_tns1_Person" />


<wsdl:message name="getPersonResponse">

<wsdl:part name="getPersonReturn" type="tns1:Person" />


<wsdl:portType name="MyWebServiceClass">

<wsdl:operation name="getPerson" parameterOrder="firstname lastName">

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

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


<wsdl:operation name="getPersons">

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

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



<wsdl:binding name="EmployeeWebServiceSoapBinding" type="impl:MyWebServiceClass">" />

<wsdl:operation name="getPerson">

<wsdlsoap:operation soapAction="" />

<wsdl:input name="getPersonRequest">" namespace="" use="encoded" />


<wsdl:output name="getPersonResponse">" namespace="http://localhost:8080/axis/services/EmployeeWebService" use="encoded" />



<wsdl:operation name="getPersons">

<wsdlsoap:operation soapAction="" />

<wsdl:input name="getPersonsRequest">" namespace="" use="encoded" />


<wsdl:output name="getPersonsResponse">" namespace="http://localhost:8080/axis/services/EmployeeWebService" use="encoded" />




<wsdl:service name="MyWebServiceClassService">

<wsdl:port binding="impl:EmployeeWebServiceSoapBinding" name="EmployeeWebService">

<wsdlsoap:address location="http://localhost:8080/axis/services/EmployeeWebService" />




Edited by: Thierry Dagnino on Feb 25, 2009 2:02 PM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 25, 2009 at 10:05 PM


    just a guess: it might have to do with the fact that the attribute parameterOrder used in operation getPerson is not supported. Try to get rid of it on the service side (doesn't make much sense anyway for 2 parameters) and try to create the proxy again.

    maybe it helps,


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.