Based on an autogenerated wsdl I made a modified version. Things turn out
much like before the modification, but now
wsdl2java generates stubs for String[] return type. Is this related to my
use of default namespace ?

my wsdl starts like this,

<definitions name="http://services.somewhere.com/AccessGrantingService";

targetNamespace="http://services.somewhere.com";

xmlns="http://schemas.xmlsoap.org/wsdl/";

xmlns:apachesoap="http://xml.apache.org/xml-soap";

xmlns:impl="http://services.somewhere.com";

xmlns:intf="http://services.somewhere.com";

xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";

xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";

xmlns:xsd="http://www.w3.org/2001/XMLSchema";>


<types>

<schema targetNamespace="http://services.somewhere.com";
xmlns="http://www.w3.org/2001/XMLSchema";>

<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>

<complexType name="ArrayOf_xsd_string"><complexContent><restriction
base="soapenc:Array">

<attribute ref="soapenc:arrayType" arrayType="xsd:string[]"/>

</restriction></complexContent></complexType>


<complexType name="AccountAccessDetails">

<sequence>

<element name="homeURL" type="xsd:string"/>

<element name="hash-key" type="xsd:token"/>

<element name="suspended-until" type="xsd:dateTime"/>

<element name="active-until" type="xsd:dateTime"/>

<element name="access-timeout" type="xsd:dateTime"/>

</sequence>

</complexType>

</schema>

</types>





Reply via email to