I’m using ME Version: 7.5 Build id: 7.5-20090609
I am generating a Web service from the bottom up.
I have a Java class with two methods – one returns a simple class and this works fine.
The other method returns a complex type containing an array of itself and an array of another simple class.
public MessageBody[] GetMessageBody(String host, String user, String password, String protocol, int port, String readFolder, int[] msgNumbers)
throws MailFault
public class MessageBody {
int msgNumber;
String bodyText;
Attachment[] attachments;
MessageBody[] childParts; // Enbedded multipart
}
public class Attachment {
String contentType;
String fileName;
byte[] content;
}
The only thing that shows up in the schema is MessageBody as a sequence with no other elements.
The response is empty when this method is called and no fault occurs even though I can see the array is populated.
Why don’t these complex types get annotated?
thnaks