ArrayOfString is referenced but not defined


  • Anonymous

    hi all.
    I am developing a web service in php with no soap for returning a complex object with some string arrays in it.
    In order to do that a defined the  following complex object to represent my array of strings:
      'itemName' => array(
        'name' => 'itemName',
        'type' => 'xsd:string',
        'minOccurs' => '0',    
        'maxOccurs' => 'unbounded'
    In a PHP client everything works fine, but when a im generating a java client in eclipse i get the following error :
    IWAB0399E Error in generating Java from WSDL: Type {}ArrayOfString is referenced but not defined.
    Then just for test I try to generate a .net client and I get errors: There was an error verifying some XML Schemas generated during export: Type '' is not declared. and
    Cannot import wsdl:portType
    Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Description.XmlSerializerMessageContractImporter
    Error: Referenced type '' is only valid for encoded SOAP.

    Can anyone help me?
    Best Regards