}
inMessageElementQname = schemaElement.getQName();
XmlSchemaType type = schemaElement.getSchemaType();
if (type != null && type instanceof XmlSchemaComplexType){
XmlSchemaComplexType complexType = (XmlSchemaComplexType) type;
XmlSchemaParticle particle = complexType.getParticle();
if (particle != null && particle instanceof XmlSchemaSequence){
XmlSchemaSequence xmlSchemaSequence = (XmlSchemaSequence) particle;
XmlSchemaObjectCollection schemaObjectCollection =
xmlSchemaSequence.getItems();
if (schemaObjectCollection != null) {
Iterator iterator = schemaObjectCollection.getIterator();
while (iterator.hasNext()) {
Object next = iterator.next();
if (!(next instanceof XmlSchemaElement)) {
return new URI [0];
}
XmlSchemaElement innerElement = (XmlSchemaElement) next;
if (innerElement.getRefName() != null) {
return new URI [0];
}
if (innerElement.getMinOccurs() != 1 ||
innerElement.getMaxOccurs() != 1) {
isMultipart = false;
}
XmlSchemaType schemaType = innerElement.getSchemaType();
QName innerElementQName = innerElement.getSchemaTypeName();
if (schemaType instanceof XmlSchemaSimpleType) {
if (Constants.XSD_QNAME.equals(innerElementQName) ||
Constants.XSD_NOTATION.equals(innerElementQName) ||
Constants.XSD_HEXBIN.equals(innerElementQName) ||
Constants.XSD_BASE64.equals(innerElementQName)) {
isIRI = false;
}
} else {
isIRI = false;
}
if (Constants.XSD_ANY.equals(innerElementQName) && iterator.hasNext()) {
isRPC = false;
}
String name = innerElement.getName();
if (inMessageElementDetails.get(name) != null) {
isRPC = false;
isMultipart = false;
}
inMessageElementDetails.put(name, innerElementQName);
}
}
} else {
return new URI [0];
}
} else {
return new URI [0];
}
} else {
return new URI [0];
}
} else {
return new URI [0];
}
AxisMessage outMessage = null;
Map outMessageElementDetails = new LinkedHashMap();
if (isRPC && !WSDL2Constants.MEP_URI_IN_ONLY.equals(mep)) {
outMessage = axisOperation.getMessage(WSDL2Constants.MESSAGE_LABEL_OUT);
QName qName = outMessage.getElementQName();
if (qName == null && Constants.XSD_ANY.equals(qName)) {
isRPC = false;
}
XmlSchemaElement schemaElement = outMessage.getSchemaElement();
if (schemaElement != null) {
if (!(axisOperation.getName().getLocalPart() + Java2WSDLConstants.RESPONSE)
.equals(schemaElement.getName())) {
isRPC = false;
}
if (!schemaElement.getQName().getNamespaceURI()
.equals(inMessageElementQname.getNamespaceURI())) {
isRPC = false;
}
XmlSchemaType type = schemaElement.getSchemaType();
if (type != null && type instanceof XmlSchemaComplexType) {
XmlSchemaComplexType complexType = (XmlSchemaComplexType) type;
XmlSchemaParticle particle = complexType.getParticle();
if (particle != null && particle instanceof XmlSchemaSequence) {
XmlSchemaSequence xmlSchemaSequence = (XmlSchemaSequence) particle;
XmlSchemaObjectCollection schemaObjectCollection =
xmlSchemaSequence.getItems();
if (schemaObjectCollection != null) {