Skip to content

ArrayOfInt generates private int for 24SevenOffice WSDL #275

@timharek

Description

@timharek

When I generate using 24SevenOffices WSDL for CompanyService I get the following:

type ArrayOfInt struct {
	int []int32 `xml:"int,omitempty" json:"int,omitempty"`
}

And this is what the WSDL has:

...
      <s:complexType name="ArrayOfInt">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="int" type="s:int" />
        </s:sequence>
      </s:complexType>
...

Is the WSDL-spec bad or is this a bug with gowsdl?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions