You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yoko-commits@incubator.apache.org by br...@apache.org on 2006/07/26 13:30:08 UTC
svn commit: r425730 - in /incubator/yoko/trunk/tools/src:
main/java/org/apache/yoko/tools/common/
main/java/org/apache/yoko/tools/processors/idl/ test/resources/idl/
Author: bravi
Date: Wed Jul 26 06:30:07 2006
New Revision: 425730
URL: http://svn.apache.org/viewvc?rev=425730&view=rev
Log:
[YOKO-41] : Adding support for element list & typedef sequence in the idltowsdl tool.
Modified:
incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/common/CORBAConstants.java
incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/MessagePartVisitor.java
incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/MessageVisitor.java
incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/PortTypeVisitor.java
incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/PrimitiveTypesVisitor.java
incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/TypesVisitor.java
incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/WSDLASTVisitor.java
incubator/yoko/trunk/tools/src/test/resources/idl/expected_HelloWorld.wsdl
incubator/yoko/trunk/tools/src/test/resources/idl/expected_Primitives.wsdl
incubator/yoko/trunk/tools/src/test/resources/idl/primitives.idl
Modified: incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/common/CORBAConstants.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/common/CORBAConstants.java?rev=425730&r1=425729&r2=425730&view=diff
==============================================================================
--- incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/common/CORBAConstants.java (original)
+++ incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/common/CORBAConstants.java Wed Jul 26 06:30:07 2006
@@ -23,6 +23,10 @@
public interface CORBAConstants {
+ String IDL_VERSION = ":1.0";
+ String REPO_STRING = "IDL:";
+
+ String NS_CORBA_TYPEMAP = "typemap";
String NP_WSDL_CORBA = "corba";
String NU_WSDL_CORBA = "http://schemas.apache.org/yoko/bindings/corba";
String NP_TM_CORBA = "corbatm";
Modified: incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/MessagePartVisitor.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/MessagePartVisitor.java?rev=425730&r1=425729&r2=425730&view=diff
==============================================================================
--- incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/MessagePartVisitor.java (original)
+++ incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/MessagePartVisitor.java Wed Jul 26 06:30:07 2006
@@ -37,7 +37,7 @@
import org.apache.ws.commons.schema.XmlSchemaSequence;
public class MessagePartVisitor implements ASTVisitor {
-
+
static final String IN_PARAMETER = "inparameter";
static final String OUT_PARAMETER = "outparameter";
static final String INOUT_PARAMETER = "inoutparameter";
@@ -151,7 +151,7 @@
inputMsg.addPart(part);
} else {
part = (Part) inputMsg.getParts().get(0);
- }
+ }
inWrappedElement = typesVisitor.addElement(inWrappingSequence, element, partName);
typesVisitor.setCurrentPart(element, partName, param);
typesVisitor.visit(typeNode);
Modified: incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/MessageVisitor.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/MessageVisitor.java?rev=425730&r1=425729&r2=425730&view=diff
==============================================================================
--- incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/MessageVisitor.java (original)
+++ incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/MessageVisitor.java Wed Jul 26 06:30:07 2006
@@ -38,7 +38,7 @@
import org.apache.ws.commons.schema.XmlSchemaSequence;
public class MessageVisitor implements ASTVisitor {
-
+
Definition definition;
Operation operation;
@@ -131,6 +131,10 @@
// nothing to do here
break;
}
+ case IDLTokenTypes.LITERAL_raises: {
+ //create a fault message
+ break;
+ }
default: {
if (outputMessage == null) {
outputMessage = createOutputMessage();
@@ -143,6 +147,24 @@
}
}
node2 = getNextMessagePartNode(node2);
+ }
+ boolean emptyMessage = false;
+ if (inputMessage == null) {
+ inputMessage = createInputMessage();
+ }
+ if (partVisitor.getInputMessage() == null) {
+ partVisitor.setInputMessage(inputMessage);
+ emptyMessage = true;
+ }
+ if (outputMessage == null) {
+ outputMessage = createOutputMessage();
+ }
+ if (partVisitor.getOutputMessage() == null) {
+ partVisitor.setOutputMessage(outputMessage);
+ emptyMessage = true;
+ }
+ if (emptyMessage) {
+ //try to visit the part visitor & create a empty sequence complex type.
}
}
Modified: incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/PortTypeVisitor.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/PortTypeVisitor.java?rev=425730&r1=425729&r2=425730&view=diff
==============================================================================
--- incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/PortTypeVisitor.java (original)
+++ incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/PortTypeVisitor.java Wed Jul 26 06:30:07 2006
@@ -40,15 +40,13 @@
import org.apache.yoko.tools.common.CORBAConstants;
-public class PortTypeVisitor implements ASTVisitor {
-
- static final String IDL_VERSION = ":1.0";
- static final String REPO_STRING = "IDL:";
+public class PortTypeVisitor implements ASTVisitor {
Definition definition;
ExtensionRegistry extReg;
PortType portType;
WSDLASTVisitor wsdlASTVisitor;
+ String module;
public PortTypeVisitor(WSDLASTVisitor visitor) {
definition = visitor.getDefinition();
@@ -56,10 +54,22 @@
extReg = definition.getExtensionRegistry();
}
+ public void addModuleName(String name) {
+ if (module != null) {
+ module += "." + name;
+ } else {
+ module = name;
+ }
+ }
+
public void visit(AST node) {
portType = definition.createPortType();
AST interfaceNode = node.getFirstChild();
- portType.setQName(new QName(definition.getTargetNamespace(), interfaceNode.toString()));
+ String intfName = interfaceNode.toString();
+ if (module != null) {
+ intfName = module + "." + intfName;
+ }
+ portType.setQName(new QName(definition.getTargetNamespace(), intfName));
portType.setUndefined(false);
definition.addPortType(portType);
Binding binding = createBinding();
@@ -98,9 +108,9 @@
try {
BindingType bindingType = (BindingType)
extReg.createExtension(Binding.class, CORBAConstants.NE_CORBA_BINDING);
- bindingType.setRepositoryID(REPO_STRING
+ bindingType.setRepositoryID(CORBAConstants.REPO_STRING
+ portType.getQName().getLocalPart().replace('.', '/')
- + IDL_VERSION);
+ + CORBAConstants.IDL_VERSION);
binding.addExtensibilityElement(bindingType);
} catch (WSDLException ex) {
throw new RuntimeException(ex);
Modified: incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/PrimitiveTypesVisitor.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/PrimitiveTypesVisitor.java?rev=425730&r1=425729&r2=425730&view=diff
==============================================================================
--- incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/PrimitiveTypesVisitor.java (original)
+++ incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/PrimitiveTypesVisitor.java Wed Jul 26 06:30:07 2006
@@ -19,88 +19,27 @@
package org.apache.yoko.tools.processors.idl;
-import antlr.ASTVisitor;
import antlr.collections.AST;
+import org.apache.schemas.yoko.bindings.corba.TypeMappingType;
+
import org.apache.ws.commons.schema.XmlSchema;
import org.apache.ws.commons.schema.XmlSchemaCollection;
import org.apache.ws.commons.schema.XmlSchemaType;
-import org.apache.ws.commons.schema.constants.Constants;
-public class PrimitiveTypesVisitor implements ASTVisitor {
+public class PrimitiveTypesVisitor extends TypesVisitorBase {
- XmlSchema schema;
- XmlSchemaCollection schemas;
- XmlSchemaType schemaType;
-
- public PrimitiveTypesVisitor(XmlSchemaCollection xmlSchemas, XmlSchema xmlSchema) {
- schemas = xmlSchemas;
- schema = xmlSchema;
+ public PrimitiveTypesVisitor(XmlSchemaCollection xmlSchemas,
+ XmlSchema xmlSchema,
+ TypeMappingType typeMapRef) {
+ super(xmlSchemas, xmlSchema, typeMapRef);
}
- public XmlSchemaType getSchemaType() {
- return schemaType;
- }
-
-
public void visit(AST node) {
- switch (node.getType()) {
- case IDLTokenTypes.LITERAL_long:
- if (node.getNextSibling().getType() == IDLTokenTypes.LITERAL_long) {
- // long long
- schemaType = schemas.getTypeByQName(Constants.XSD_LONG);
- } else {
- // long
- schemaType = schemas.getTypeByQName(Constants.XSD_INT);
- }
- break;
- case IDLTokenTypes.LITERAL_unsigned:
- AST node2 = node.getNextSibling();
- if (node2.getType() == IDLTokenTypes.LITERAL_short) {
- // unsigned short
- schemaType = schemas.getTypeByQName(Constants.XSD_UNSIGNEDSHORT);
- } else if (node2.getType() == IDLTokenTypes.LITERAL_long) {
- AST node3 = node2.getNextSibling();
- if (node3.getType() == IDLTokenTypes.LITERAL_long) {
- // unsigned long long
- schemaType = schemas.getTypeByQName(Constants.XSD_UNSIGNEDLONG);
- } else {
- // unsigned long
- schemaType = schemas.getTypeByQName(Constants.XSD_UNSIGNEDINT);
- }
- } else {
- // TBD: we should never get here
- }
- break;
- case IDLTokenTypes.LITERAL_short:
- schemaType = schemas.getTypeByQName(Constants.XSD_SHORT);
- break;
- case IDLTokenTypes.LITERAL_float:
- schemaType = schemas.getTypeByQName(Constants.XSD_FLOAT);
- break;
- case IDLTokenTypes.LITERAL_double:
- schemaType = schemas.getTypeByQName(Constants.XSD_DOUBLE);
- break;
- case IDLTokenTypes.LITERAL_char:
- schemaType = schemas.getTypeByQName(Constants.XSD_BYTE);
- break;
- case IDLTokenTypes.LITERAL_wchar:
- case IDLTokenTypes.LITERAL_string:
- case IDLTokenTypes.LITERAL_wstring:
- schemaType = schemas.getTypeByQName(Constants.XSD_STRING);
- break;
- case IDLTokenTypes.LITERAL_boolean:
- schemaType = schemas.getTypeByQName(Constants.XSD_BOOLEAN);
- break;
- case IDLTokenTypes.LITERAL_octet:
- schemaType = schemas.getTypeByQName(Constants.XSD_UNSIGNEDBYTE);
- break;
- case IDLTokenTypes.LITERAL_any:
- schemaType = schemas.getTypeByQName(Constants.XSD_ANYTYPE);
- break;
- default:
- // TBD
- break;
+ XmlSchemaType schemaType = TypesUtils.findType(schemas, schema, node);
+ if (schemaType != null) {
+ setSchemaType(schemaType);
+ setCorbaType(TypesUtils.findCorbaType(typeMap, schemaType.getQName()));
}
}
}
Modified: incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/TypesVisitor.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/TypesVisitor.java?rev=425730&r1=425729&r2=425730&view=diff
==============================================================================
--- incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/TypesVisitor.java (original)
+++ incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/TypesVisitor.java Wed Jul 26 06:30:07 2006
@@ -24,6 +24,7 @@
import javax.wsdl.Definition;
import javax.wsdl.Types;
+import javax.wsdl.WSDLException;
import javax.wsdl.extensions.schema.Schema;
import javax.wsdl.factory.WSDLFactory;
@@ -33,6 +34,7 @@
import antlr.collections.AST;
import org.apache.schemas.yoko.bindings.corba.ArgType;
+import org.apache.schemas.yoko.bindings.corba.TypeMappingType;
import org.apache.ws.commons.schema.XmlSchema;
import org.apache.ws.commons.schema.XmlSchemaCollection;
@@ -41,12 +43,18 @@
import org.apache.ws.commons.schema.XmlSchemaObject;
import org.apache.ws.commons.schema.XmlSchemaSequence;
import org.apache.ws.commons.schema.XmlSchemaSerializer;
+import org.apache.ws.commons.schema.XmlSchemaType;
-import org.apache.yoko.tools.common.CorbaPrimitiveMap;
-import org.apache.yoko.wsdl.CorbaTypeImpl;
+import org.apache.yoko.tools.common.CORBAConstants;
public class TypesVisitor implements ASTVisitor {
+ static final List<Integer> PRIMITIVE_TYPES = new ArrayList<Integer>();
+ static final int PRIMITIVE = 0;
+ static final int ARRAY = -1;
+
+ TypeMappingType typeMap;
+
Definition definition;
WSDLFactory wsdlFactory;
@@ -56,14 +64,14 @@
ArgType currentParam;
- CorbaPrimitiveMap corbaPrimitiveMap = new CorbaPrimitiveMap();
-
List<String> parts = new ArrayList<String>();
- public TypesVisitor(WSDLASTVisitor visitor) {
+ public TypesVisitor(WSDLASTVisitor visitor)
+ throws WSDLException {
definition = visitor.getDefinition();
schemas = new XmlSchemaCollection();
- schema = new XmlSchema(definition.getTargetNamespace(), schemas);
+ schema = new XmlSchema(definition.getTargetNamespace(), schemas);
+ createCorbaTypeMap();
}
public void attachSchema() throws Exception {
@@ -125,14 +133,97 @@
}
public void visit(AST node) {
- //only handling primitive types
- PrimitiveTypesVisitor visitor = new PrimitiveTypesVisitor(schemas, schema);
- visitor.visit(node);
- if (currentType instanceof XmlSchemaElement) {
- QName qname = visitor.getSchemaType().getQName();
- ((XmlSchemaElement) currentType).setSchemaTypeName(qname);
- currentParam.setIdltype(((CorbaTypeImpl) corbaPrimitiveMap.get(qname)).getQName());
+ int type = getType(node);
+ TypesVisitorBase visitor = null;
+ switch (type) {
+ case PRIMITIVE: {
+ visitor = new PrimitiveTypesVisitor(schemas, schema, typeMap);
+ visitor.visit(node);
+ node = node.getNextSibling();
+ break;
+ }
+ case ARRAY: {
+ visitor = new ArrayVisitor(schemas, schema, typeMap);
+ visitor.visit(node);
+ break;
+ }
+ case IDLTokenTypes.LITERAL_struct: {
+ //System.err.println("Struct type not yet Supported");
+ break;
+ }
+ case IDLTokenTypes.LITERAL_exception: {
+ //System.err.println("Exception type not yet supported");
+ break;
+ }
+ case IDLTokenTypes.IDENT: {
+ XmlSchemaType stype = TypesUtils.findType(schemas, schema, node);
+ if (currentType instanceof XmlSchemaElement) {
+ QName qname = stype.getQName();
+ ((XmlSchemaElement) currentType).setSchemaTypeName(qname);
+ //currentParam.setIdltype();
+ }
+ break;
+ }
+ default: {
+ //System.err.println("Type not yet supported : " + node);
+ }
+ }
+ if (visitor != null) {
+ if (currentType instanceof XmlSchemaElement) {
+ ((XmlSchemaElement) currentType).setSchemaTypeName(visitor.getSchemaTypeName());
+ currentParam.setIdltype(visitor.getCorbaTypeName());
+ }
+ }
+ }
+
+ private int getType(AST node) {
+ if (isPrimitive(node.getType())) {
+ return PRIMITIVE;
+ } else if (isArray(node)) {
+ return ARRAY;
+ } else {
+ return node.getType();
}
+ }
+
+ private boolean isPrimitive(int nodeType) {
+ return PRIMITIVE_TYPES.contains(nodeType);
+ }
+
+ private boolean isArray(AST node) {
+ boolean result = false;
+ if (node.getType() == IDLTokenTypes.LITERAL_typedef) {
+ AST node2 = node.getFirstChild();
+ if (node2.getType() == IDLTokenTypes.LITERAL_sequence) {
+ result = true;
+ }
+ }
+ return result;
+ }
+
+ private void createCorbaTypeMap() throws WSDLException {
+ typeMap = (TypeMappingType)
+ definition.getExtensionRegistry().createExtension(Definition.class,
+ CORBAConstants.NE_CORBA_TYPEMAPPING);
+ typeMap.setTargetNamespace(definition.getTargetNamespace()
+ + "/"
+ + CORBAConstants.NS_CORBA_TYPEMAP);
+ definition.addExtensibilityElement(typeMap);
+ }
+
+ static {
+ PRIMITIVE_TYPES.add(new Integer(IDLTokenTypes.LITERAL_float));
+ PRIMITIVE_TYPES.add(new Integer(IDLTokenTypes.LITERAL_double));
+ PRIMITIVE_TYPES.add(new Integer(IDLTokenTypes.LITERAL_long));
+ PRIMITIVE_TYPES.add(new Integer(IDLTokenTypes.LITERAL_short));
+ PRIMITIVE_TYPES.add(new Integer(IDLTokenTypes.LITERAL_unsigned));
+ PRIMITIVE_TYPES.add(new Integer(IDLTokenTypes.LITERAL_char));
+ PRIMITIVE_TYPES.add(new Integer(IDLTokenTypes.LITERAL_wchar));
+ PRIMITIVE_TYPES.add(new Integer(IDLTokenTypes.LITERAL_boolean));
+ PRIMITIVE_TYPES.add(new Integer(IDLTokenTypes.LITERAL_any));
+ PRIMITIVE_TYPES.add(new Integer(IDLTokenTypes.LITERAL_octet));
+ PRIMITIVE_TYPES.add(new Integer(IDLTokenTypes.LITERAL_string));
+ PRIMITIVE_TYPES.add(new Integer(IDLTokenTypes.LITERAL_wstring));
}
}
Modified: incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/WSDLASTVisitor.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/WSDLASTVisitor.java?rev=425730&r1=425729&r2=425730&view=diff
==============================================================================
--- incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/WSDLASTVisitor.java (original)
+++ incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/WSDLASTVisitor.java Wed Jul 26 06:30:07 2006
@@ -67,19 +67,27 @@
definition.addNamespace(WSDLConstants.SOAP_PREFIX, WSDLConstants.SOAP11_NAMESPACE);
definition.addNamespace(WSDLConstants.TNS_PREFIX, tns);
definition.addNamespace(CORBAConstants.NP_WSDL_CORBA, CORBAConstants.NU_WSDL_CORBA);
- initVisitors();
addCorbaExtensions(definition.getExtensionRegistry());
+ initVisitors();
}
public void visit(AST node) {
- switch (node.getType()) {
- case IDLTokenTypes.LITERAL_interface: {
- portTypeVisitor.visit(node);
- break;
- }
- default: {
- System.out.println("Visit for node: " + node.getType() + ":" + node);
- }
+ while (node != null) {
+ switch (node.getType()) {
+ case IDLTokenTypes.LITERAL_interface: {
+ portTypeVisitor.visit(node);
+ break;
+ }
+ case IDLTokenTypes.LITERAL_module: {
+ node = node.getFirstChild();
+ portTypeVisitor.addModuleName(node.toString());
+ break;
+ }
+ default: {
+ typesVisitor.visit(node);
+ }
+ }
+ node = node.getNextSibling();
}
try {
typesVisitor.attachSchema();
@@ -118,7 +126,7 @@
return (Binding[]) result.toArray(new Binding[result.size()]);
}
- private void initVisitors() {
+ private void initVisitors() throws WSDLException {
typesVisitor = new TypesVisitor(this);
portTypeVisitor = new PortTypeVisitor(this);
}
Modified: incubator/yoko/trunk/tools/src/test/resources/idl/expected_HelloWorld.wsdl
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/tools/src/test/resources/idl/expected_HelloWorld.wsdl?rev=425730&r1=425729&r2=425730&view=diff
==============================================================================
--- incubator/yoko/trunk/tools/src/test/resources/idl/expected_HelloWorld.wsdl (original)
+++ incubator/yoko/trunk/tools/src/test/resources/idl/expected_HelloWorld.wsdl Wed Jul 26 06:30:07 2006
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://schemas.apache.org/yoko/idl/HelloWorld" xmlns:tns="http://schemas.apache.org/yoko/idl/HelloWorld" xmlns:corba="http://schemas.apache.org/yoko/bindings/corba" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <corba:typeMapping targetNamespace="http://schemas.apache.org/yoko/idl/HelloWorld/typemap" />
<wsdl:types>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://schemas.apache.org/yoko/idl/HelloWorld" xmlns="http://schemas.apache.org/yoko/idl/HelloWorld" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="greetMeResponse">
Modified: incubator/yoko/trunk/tools/src/test/resources/idl/expected_Primitives.wsdl
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/tools/src/test/resources/idl/expected_Primitives.wsdl?rev=425730&r1=425729&r2=425730&view=diff
==============================================================================
--- incubator/yoko/trunk/tools/src/test/resources/idl/expected_Primitives.wsdl (original)
+++ incubator/yoko/trunk/tools/src/test/resources/idl/expected_Primitives.wsdl Wed Jul 26 06:30:07 2006
@@ -1,7 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://schemas.apache.org/yoko/idl/primitives" xmlns:tns="http://schemas.apache.org/yoko/idl/primitives" xmlns:corba="http://schemas.apache.org/yoko/bindings/corba" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <corba:typeMapping targetNamespace="http://schemas.apache.org/yoko/idl/primitives/typemap">
+ <corba:sequence xmlns="http://schemas.apache.org/yoko/idl/primitives" elemtype="corba:string" bound="0" repositoryID="IDL:stringArray:1.0" type="stringArray" name="stringArray" />
+ </corba:typeMapping>
<wsdl:types>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://schemas.apache.org/yoko/idl/primitives" xmlns="http://schemas.apache.org/yoko/idl/primitives" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:complexType name="stringArray">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="item" type="xs:string">
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
<xs:element name="getShortResponse">
<xs:complexType>
<xs:sequence>
@@ -450,22 +459,60 @@
</xs:sequence>
</xs:complexType>
</xs:element>
+ <xs:element name="getStringArrayResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="outStringArray" type="stringArray">
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="setStringArray">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="inStringArray" type="stringArray">
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="getSetStringArray">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="inOutStringArray" type="stringArray">
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="getSetStringArrayResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="inOutStringArray" type="stringArray">
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
</xs:schema>
</wsdl:types>
<wsdl:message name="getSetWChar">
<wsdl:part name="inparameter" element="tns:getSetWChar"/>
</wsdl:message>
+ <wsdl:message name="getLong">
+ </wsdl:message>
+ <wsdl:message name="getChar">
+ </wsdl:message>
<wsdl:message name="getSetUnsignedLong">
<wsdl:part name="inparameter" element="tns:getSetUnsignedLong"/>
</wsdl:message>
<wsdl:message name="getWCharResponse">
<wsdl:part name="outparameter" element="tns:getWCharResponse"/>
</wsdl:message>
+ <wsdl:message name="getSetStringResponse">
+ <wsdl:part name="outparameter" element="tns:getSetStringResponse"/>
+ </wsdl:message>
<wsdl:message name="getLongLongResponse">
<wsdl:part name="outparameter" element="tns:getLongLongResponse"/>
</wsdl:message>
- <wsdl:message name="getSetStringResponse">
- <wsdl:part name="outparameter" element="tns:getSetStringResponse"/>
+ <wsdl:message name="getString">
</wsdl:message>
<wsdl:message name="getSetCharResponse">
<wsdl:part name="outparameter" element="tns:getSetCharResponse"/>
@@ -476,33 +523,54 @@
<wsdl:message name="getSetShort">
<wsdl:part name="inparameter" element="tns:getSetShort"/>
</wsdl:message>
+ <wsdl:message name="getStringArray">
+ </wsdl:message>
+ <wsdl:message name="setWCharResponse">
+ </wsdl:message>
<wsdl:message name="getSetBoolean">
<wsdl:part name="inparameter" element="tns:getSetBoolean"/>
</wsdl:message>
+ <wsdl:message name="setStringArray">
+ <wsdl:part name="inparameter" element="tns:setStringArray"/>
+ </wsdl:message>
<wsdl:message name="getSetLongResponse">
<wsdl:part name="outparameter" element="tns:getSetLongResponse"/>
</wsdl:message>
+ <wsdl:message name="getBoolean">
+ </wsdl:message>
<wsdl:message name="getBooleanResponse">
<wsdl:part name="outparameter" element="tns:getBooleanResponse"/>
</wsdl:message>
+ <wsdl:message name="getShort">
+ </wsdl:message>
+ <wsdl:message name="getUnsignedShort">
+ </wsdl:message>
+ <wsdl:message name="getWstring">
+ </wsdl:message>
<wsdl:message name="setShort">
<wsdl:part name="inparameter" element="tns:setShort"/>
</wsdl:message>
<wsdl:message name="getWstringResponse">
<wsdl:part name="outparameter" element="tns:getWstringResponse"/>
</wsdl:message>
+ <wsdl:message name="setUnsignedLongLongResponse">
+ </wsdl:message>
+ <wsdl:message name="setShortResponse">
+ </wsdl:message>
+ <wsdl:message name="setStringArrayResponse">
+ </wsdl:message>
<wsdl:message name="getSetWstringResponse">
<wsdl:part name="outparameter" element="tns:getSetWstringResponse"/>
</wsdl:message>
<wsdl:message name="getCharResponse">
<wsdl:part name="outparameter" element="tns:getCharResponse"/>
</wsdl:message>
- <wsdl:message name="setUnsignedLongLong">
- <wsdl:part name="inparameter" element="tns:setUnsignedLongLong"/>
- </wsdl:message>
<wsdl:message name="getSetWCharResponse">
<wsdl:part name="outparameter" element="tns:getSetWCharResponse"/>
</wsdl:message>
+ <wsdl:message name="setUnsignedLongLong">
+ <wsdl:part name="inparameter" element="tns:setUnsignedLongLong"/>
+ </wsdl:message>
<wsdl:message name="getSetLongLong">
<wsdl:part name="inparameter" element="tns:getSetLongLong"/>
</wsdl:message>
@@ -512,6 +580,8 @@
<wsdl:message name="getFloatResponse">
<wsdl:part name="outparameter" element="tns:getFloatResponse"/>
</wsdl:message>
+ <wsdl:message name="getWChar">
+ </wsdl:message>
<wsdl:message name="getUnsignedLongLongResponse">
<wsdl:part name="outparameter" element="tns:getUnsignedLongLongResponse"/>
</wsdl:message>
@@ -521,9 +591,15 @@
<wsdl:message name="getSetLongLongResponse">
<wsdl:part name="outparameter" element="tns:getSetLongLongResponse"/>
</wsdl:message>
+ <wsdl:message name="getFloat">
+ </wsdl:message>
+ <wsdl:message name="getUnsignedLongLong">
+ </wsdl:message>
<wsdl:message name="getSetUnsignedShort">
<wsdl:part name="inparameter" element="tns:getSetUnsignedShort"/>
</wsdl:message>
+ <wsdl:message name="setBooleanResponse">
+ </wsdl:message>
<wsdl:message name="setWChar">
<wsdl:part name="inparameter" element="tns:setWChar"/>
</wsdl:message>
@@ -539,12 +615,20 @@
<wsdl:message name="setWstring">
<wsdl:part name="inparameter" element="tns:setWstring"/>
</wsdl:message>
+ <wsdl:message name="getOctet">
+ </wsdl:message>
<wsdl:message name="setChar">
<wsdl:part name="inparameter" element="tns:setChar"/>
</wsdl:message>
+ <wsdl:message name="setUnsignedShortResponse">
+ </wsdl:message>
<wsdl:message name="getSetUnsignedLongLongResponse">
<wsdl:part name="outparameter" element="tns:getSetUnsignedLongLongResponse"/>
</wsdl:message>
+ <wsdl:message name="setDoubleResponse">
+ </wsdl:message>
+ <wsdl:message name="setStringResponse">
+ </wsdl:message>
<wsdl:message name="getShortResponse">
<wsdl:part name="outparameter" element="tns:getShortResponse"/>
</wsdl:message>
@@ -557,9 +641,16 @@
<wsdl:message name="getDoubleResponse">
<wsdl:part name="outparameter" element="tns:getDoubleResponse"/>
</wsdl:message>
+ <wsdl:message name="getUnsignedLong">
+ </wsdl:message>
<wsdl:message name="getSetChar">
<wsdl:part name="inparameter" element="tns:getSetChar"/>
</wsdl:message>
+ <wsdl:message name="setUnsignedLongResponse">
+ </wsdl:message>
+ <wsdl:message name="getSetStringArrayResponse">
+ <wsdl:part name="outparameter" element="tns:getSetStringArrayResponse"/>
+ </wsdl:message>
<wsdl:message name="getUnsignedShortResponse">
<wsdl:part name="outparameter" element="tns:getUnsignedShortResponse"/>
</wsdl:message>
@@ -593,11 +684,13 @@
<wsdl:message name="getSetUnsignedLongLong">
<wsdl:part name="inparameter" element="tns:getSetUnsignedLongLong"/>
</wsdl:message>
+ <wsdl:message name="getSetString">
+ <wsdl:part name="inparameter" element="tns:getSetString"/>
+ </wsdl:message>
<wsdl:message name="getStringResponse">
<wsdl:part name="outparameter" element="tns:getStringResponse"/>
</wsdl:message>
- <wsdl:message name="getSetString">
- <wsdl:part name="inparameter" element="tns:getSetString"/>
+ <wsdl:message name="setFloatResponse">
</wsdl:message>
<wsdl:message name="setFloat">
<wsdl:part name="inparameter" element="tns:setFloat"/>
@@ -605,162 +698,222 @@
<wsdl:message name="getSetFloatResponse">
<wsdl:part name="outparameter" element="tns:getSetFloatResponse"/>
</wsdl:message>
- <wsdl:message name="getSetUnsignedLongResponse">
- <wsdl:part name="outparameter" element="tns:getSetUnsignedLongResponse"/>
+ <wsdl:message name="getDouble">
+ </wsdl:message>
+ <wsdl:message name="getSetStringArray">
+ <wsdl:part name="inparameter" element="tns:getSetStringArray"/>
</wsdl:message>
<wsdl:message name="setString">
<wsdl:part name="inparameter" element="tns:setString"/>
</wsdl:message>
+ <wsdl:message name="getSetUnsignedLongResponse">
+ <wsdl:part name="outparameter" element="tns:getSetUnsignedLongResponse"/>
+ </wsdl:message>
+ <wsdl:message name="setLongResponse">
+ </wsdl:message>
+ <wsdl:message name="getStringArrayResponse">
+ <wsdl:part name="outparameter" element="tns:getStringArrayResponse"/>
+ </wsdl:message>
<wsdl:message name="getSetWstring">
<wsdl:part name="inparameter" element="tns:getSetWstring"/>
</wsdl:message>
+ <wsdl:message name="setCharResponse">
+ </wsdl:message>
+ <wsdl:message name="getLongLong">
+ </wsdl:message>
<wsdl:message name="setDouble">
<wsdl:part name="inparameter" element="tns:setDouble"/>
</wsdl:message>
+ <wsdl:message name="setOctetResponse">
+ </wsdl:message>
+ <wsdl:message name="setLongLongResponse">
+ </wsdl:message>
+ <wsdl:message name="setWstringResponse">
+ </wsdl:message>
<wsdl:message name="setLongLong">
<wsdl:part name="inparameter" element="tns:setLongLong"/>
</wsdl:message>
<wsdl:portType name="Primitives">
<wsdl:operation name="getShort">
+ <wsdl:input name="getShortRequest" message="tns:getShort"/>
<wsdl:output name="getShortResponse" message="tns:getShortResponse"/>
</wsdl:operation>
<wsdl:operation name="setShort">
<wsdl:input name="setShortRequest" message="tns:setShort"/>
+ <wsdl:output name="setShortResponse" message="tns:setShortResponse"/>
</wsdl:operation>
<wsdl:operation name="getSetShort">
<wsdl:input name="getSetShortRequest" message="tns:getSetShort"/>
<wsdl:output name="getSetShortResponse" message="tns:getSetShortResponse"/>
</wsdl:operation>
<wsdl:operation name="getUnsignedShort">
+ <wsdl:input name="getUnsignedShortRequest" message="tns:getUnsignedShort"/>
<wsdl:output name="getUnsignedShortResponse" message="tns:getUnsignedShortResponse"/>
</wsdl:operation>
<wsdl:operation name="setUnsignedShort">
<wsdl:input name="setUnsignedShortRequest" message="tns:setUnsignedShort"/>
+ <wsdl:output name="setUnsignedShortResponse" message="tns:setUnsignedShortResponse"/>
</wsdl:operation>
<wsdl:operation name="getSetUnsignedShort">
<wsdl:input name="getSetUnsignedShortRequest" message="tns:getSetUnsignedShort"/>
<wsdl:output name="getSetUnsignedShortResponse" message="tns:getSetUnsignedShortResponse"/>
</wsdl:operation>
<wsdl:operation name="getLong">
+ <wsdl:input name="getLongRequest" message="tns:getLong"/>
<wsdl:output name="getLongResponse" message="tns:getLongResponse"/>
</wsdl:operation>
<wsdl:operation name="setLong">
<wsdl:input name="setLongRequest" message="tns:setLong"/>
+ <wsdl:output name="setLongResponse" message="tns:setLongResponse"/>
</wsdl:operation>
<wsdl:operation name="getSetLong">
<wsdl:input name="getSetLongRequest" message="tns:getSetLong"/>
<wsdl:output name="getSetLongResponse" message="tns:getSetLongResponse"/>
</wsdl:operation>
<wsdl:operation name="getUnsignedLong">
+ <wsdl:input name="getUnsignedLongRequest" message="tns:getUnsignedLong"/>
<wsdl:output name="getUnsignedLongResponse" message="tns:getUnsignedLongResponse"/>
</wsdl:operation>
<wsdl:operation name="setUnsignedLong">
<wsdl:input name="setUnsignedLongRequest" message="tns:setUnsignedLong"/>
+ <wsdl:output name="setUnsignedLongResponse" message="tns:setUnsignedLongResponse"/>
</wsdl:operation>
<wsdl:operation name="getSetUnsignedLong">
<wsdl:input name="getSetUnsignedLongRequest" message="tns:getSetUnsignedLong"/>
<wsdl:output name="getSetUnsignedLongResponse" message="tns:getSetUnsignedLongResponse"/>
</wsdl:operation>
<wsdl:operation name="getLongLong">
+ <wsdl:input name="getLongLongRequest" message="tns:getLongLong"/>
<wsdl:output name="getLongLongResponse" message="tns:getLongLongResponse"/>
</wsdl:operation>
<wsdl:operation name="setLongLong">
<wsdl:input name="setLongLongRequest" message="tns:setLongLong"/>
+ <wsdl:output name="setLongLongResponse" message="tns:setLongLongResponse"/>
</wsdl:operation>
<wsdl:operation name="getSetLongLong">
<wsdl:input name="getSetLongLongRequest" message="tns:getSetLongLong"/>
<wsdl:output name="getSetLongLongResponse" message="tns:getSetLongLongResponse"/>
</wsdl:operation>
<wsdl:operation name="getUnsignedLongLong">
+ <wsdl:input name="getUnsignedLongLongRequest" message="tns:getUnsignedLongLong"/>
<wsdl:output name="getUnsignedLongLongResponse" message="tns:getUnsignedLongLongResponse"/>
</wsdl:operation>
<wsdl:operation name="setUnsignedLongLong">
<wsdl:input name="setUnsignedLongLongRequest" message="tns:setUnsignedLongLong"/>
+ <wsdl:output name="setUnsignedLongLongResponse" message="tns:setUnsignedLongLongResponse"/>
</wsdl:operation>
<wsdl:operation name="getSetUnsignedLongLong">
<wsdl:input name="getSetUnsignedLongLongRequest" message="tns:getSetUnsignedLongLong"/>
<wsdl:output name="getSetUnsignedLongLongResponse" message="tns:getSetUnsignedLongLongResponse"/>
</wsdl:operation>
<wsdl:operation name="getFloat">
+ <wsdl:input name="getFloatRequest" message="tns:getFloat"/>
<wsdl:output name="getFloatResponse" message="tns:getFloatResponse"/>
</wsdl:operation>
<wsdl:operation name="setFloat">
<wsdl:input name="setFloatRequest" message="tns:setFloat"/>
+ <wsdl:output name="setFloatResponse" message="tns:setFloatResponse"/>
</wsdl:operation>
<wsdl:operation name="getSetFloat">
<wsdl:input name="getSetFloatRequest" message="tns:getSetFloat"/>
<wsdl:output name="getSetFloatResponse" message="tns:getSetFloatResponse"/>
</wsdl:operation>
<wsdl:operation name="getDouble">
+ <wsdl:input name="getDoubleRequest" message="tns:getDouble"/>
<wsdl:output name="getDoubleResponse" message="tns:getDoubleResponse"/>
</wsdl:operation>
<wsdl:operation name="setDouble">
<wsdl:input name="setDoubleRequest" message="tns:setDouble"/>
+ <wsdl:output name="setDoubleResponse" message="tns:setDoubleResponse"/>
</wsdl:operation>
<wsdl:operation name="getSetDouble">
<wsdl:input name="getSetDoubleRequest" message="tns:getSetDouble"/>
<wsdl:output name="getSetDoubleResponse" message="tns:getSetDoubleResponse"/>
</wsdl:operation>
<wsdl:operation name="getChar">
+ <wsdl:input name="getCharRequest" message="tns:getChar"/>
<wsdl:output name="getCharResponse" message="tns:getCharResponse"/>
</wsdl:operation>
<wsdl:operation name="setChar">
<wsdl:input name="setCharRequest" message="tns:setChar"/>
+ <wsdl:output name="setCharResponse" message="tns:setCharResponse"/>
</wsdl:operation>
<wsdl:operation name="getSetChar">
<wsdl:input name="getSetCharRequest" message="tns:getSetChar"/>
<wsdl:output name="getSetCharResponse" message="tns:getSetCharResponse"/>
</wsdl:operation>
<wsdl:operation name="getWChar">
+ <wsdl:input name="getWCharRequest" message="tns:getWChar"/>
<wsdl:output name="getWCharResponse" message="tns:getWCharResponse"/>
</wsdl:operation>
<wsdl:operation name="setWChar">
<wsdl:input name="setWCharRequest" message="tns:setWChar"/>
+ <wsdl:output name="setWCharResponse" message="tns:setWCharResponse"/>
</wsdl:operation>
<wsdl:operation name="getSetWChar">
<wsdl:input name="getSetWCharRequest" message="tns:getSetWChar"/>
<wsdl:output name="getSetWCharResponse" message="tns:getSetWCharResponse"/>
</wsdl:operation>
<wsdl:operation name="getString">
+ <wsdl:input name="getStringRequest" message="tns:getString"/>
<wsdl:output name="getStringResponse" message="tns:getStringResponse"/>
</wsdl:operation>
<wsdl:operation name="setString">
<wsdl:input name="setStringRequest" message="tns:setString"/>
+ <wsdl:output name="setStringResponse" message="tns:setStringResponse"/>
</wsdl:operation>
<wsdl:operation name="getSetString">
<wsdl:input name="getSetStringRequest" message="tns:getSetString"/>
<wsdl:output name="getSetStringResponse" message="tns:getSetStringResponse"/>
</wsdl:operation>
<wsdl:operation name="getWstring">
+ <wsdl:input name="getWstringRequest" message="tns:getWstring"/>
<wsdl:output name="getWstringResponse" message="tns:getWstringResponse"/>
</wsdl:operation>
<wsdl:operation name="setWstring">
<wsdl:input name="setWstringRequest" message="tns:setWstring"/>
+ <wsdl:output name="setWstringResponse" message="tns:setWstringResponse"/>
</wsdl:operation>
<wsdl:operation name="getSetWstring">
<wsdl:input name="getSetWstringRequest" message="tns:getSetWstring"/>
<wsdl:output name="getSetWstringResponse" message="tns:getSetWstringResponse"/>
</wsdl:operation>
<wsdl:operation name="getBoolean">
+ <wsdl:input name="getBooleanRequest" message="tns:getBoolean"/>
<wsdl:output name="getBooleanResponse" message="tns:getBooleanResponse"/>
</wsdl:operation>
<wsdl:operation name="setBoolean">
<wsdl:input name="setBooleanRequest" message="tns:setBoolean"/>
+ <wsdl:output name="setBooleanResponse" message="tns:setBooleanResponse"/>
</wsdl:operation>
<wsdl:operation name="getSetBoolean">
<wsdl:input name="getSetBooleanRequest" message="tns:getSetBoolean"/>
<wsdl:output name="getSetBooleanResponse" message="tns:getSetBooleanResponse"/>
</wsdl:operation>
<wsdl:operation name="getOctet">
+ <wsdl:input name="getOctetRequest" message="tns:getOctet"/>
<wsdl:output name="getOctetResponse" message="tns:getOctetResponse"/>
</wsdl:operation>
<wsdl:operation name="setOctet">
<wsdl:input name="setOctetRequest" message="tns:setOctet"/>
+ <wsdl:output name="setOctetResponse" message="tns:setOctetResponse"/>
</wsdl:operation>
<wsdl:operation name="getSetOctet">
<wsdl:input name="getSetOctetRequest" message="tns:getSetOctet"/>
<wsdl:output name="getSetOctetResponse" message="tns:getSetOctetResponse"/>
</wsdl:operation>
+ <wsdl:operation name="getStringArray">
+ <wsdl:input name="getStringArrayRequest" message="tns:getStringArray"/>
+ <wsdl:output name="getStringArrayResponse" message="tns:getStringArrayResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="setStringArray">
+ <wsdl:input name="setStringArrayRequest" message="tns:setStringArray"/>
+ <wsdl:output name="setStringArrayResponse" message="tns:setStringArrayResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="getSetStringArray">
+ <wsdl:input name="getSetStringArrayRequest" message="tns:getSetStringArray"/>
+ <wsdl:output name="getSetStringArrayResponse" message="tns:getSetStringArrayResponse"/>
+ </wsdl:operation>
</wsdl:portType>
<wsdl:binding name="PrimitivesCORBABinding" type="tns:Primitives">
<corba:binding repositoryID="IDL:Primitives:1.0" />
@@ -768,6 +921,8 @@
<corba:operation name="getShort">
<corba:param mode="out" name="outShort" idltype="corba:short" />
</corba:operation>
+ <wsdl:input name="getShortRequest">
+ </wsdl:input>
<wsdl:output name="getShortResponse">
</wsdl:output>
</wsdl:operation>
@@ -777,6 +932,8 @@
</corba:operation>
<wsdl:input name="setShortRequest">
</wsdl:input>
+ <wsdl:output name="setShortResponse">
+ </wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSetShort">
<corba:operation name="getSetShort">
@@ -791,6 +948,8 @@
<corba:operation name="getUnsignedShort">
<corba:param mode="out" name="outUnsignedShort" idltype="corba:ushort" />
</corba:operation>
+ <wsdl:input name="getUnsignedShortRequest">
+ </wsdl:input>
<wsdl:output name="getUnsignedShortResponse">
</wsdl:output>
</wsdl:operation>
@@ -800,6 +959,8 @@
</corba:operation>
<wsdl:input name="setUnsignedShortRequest">
</wsdl:input>
+ <wsdl:output name="setUnsignedShortResponse">
+ </wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSetUnsignedShort">
<corba:operation name="getSetUnsignedShort">
@@ -814,6 +975,8 @@
<corba:operation name="getLong">
<corba:param mode="out" name="outLong" idltype="corba:long" />
</corba:operation>
+ <wsdl:input name="getLongRequest">
+ </wsdl:input>
<wsdl:output name="getLongResponse">
</wsdl:output>
</wsdl:operation>
@@ -823,6 +986,8 @@
</corba:operation>
<wsdl:input name="setLongRequest">
</wsdl:input>
+ <wsdl:output name="setLongResponse">
+ </wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSetLong">
<corba:operation name="getSetLong">
@@ -837,6 +1002,8 @@
<corba:operation name="getUnsignedLong">
<corba:param mode="out" name="outUnsignedLong" idltype="corba:ulong" />
</corba:operation>
+ <wsdl:input name="getUnsignedLongRequest">
+ </wsdl:input>
<wsdl:output name="getUnsignedLongResponse">
</wsdl:output>
</wsdl:operation>
@@ -846,6 +1013,8 @@
</corba:operation>
<wsdl:input name="setUnsignedLongRequest">
</wsdl:input>
+ <wsdl:output name="setUnsignedLongResponse">
+ </wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSetUnsignedLong">
<corba:operation name="getSetUnsignedLong">
@@ -860,6 +1029,8 @@
<corba:operation name="getLongLong">
<corba:param mode="out" name="outUnsignedLong" idltype="corba:longlong" />
</corba:operation>
+ <wsdl:input name="getLongLongRequest">
+ </wsdl:input>
<wsdl:output name="getLongLongResponse">
</wsdl:output>
</wsdl:operation>
@@ -869,6 +1040,8 @@
</corba:operation>
<wsdl:input name="setLongLongRequest">
</wsdl:input>
+ <wsdl:output name="setLongLongResponse">
+ </wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSetLongLong">
<corba:operation name="getSetLongLong">
@@ -883,6 +1056,8 @@
<corba:operation name="getUnsignedLongLong">
<corba:param mode="out" name="outUnsignedLongLong" idltype="corba:ulonglong" />
</corba:operation>
+ <wsdl:input name="getUnsignedLongLongRequest">
+ </wsdl:input>
<wsdl:output name="getUnsignedLongLongResponse">
</wsdl:output>
</wsdl:operation>
@@ -892,6 +1067,8 @@
</corba:operation>
<wsdl:input name="setUnsignedLongLongRequest">
</wsdl:input>
+ <wsdl:output name="setUnsignedLongLongResponse">
+ </wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSetUnsignedLongLong">
<corba:operation name="getSetUnsignedLongLong">
@@ -906,6 +1083,8 @@
<corba:operation name="getFloat">
<corba:param mode="out" name="outFloat" idltype="corba:float" />
</corba:operation>
+ <wsdl:input name="getFloatRequest">
+ </wsdl:input>
<wsdl:output name="getFloatResponse">
</wsdl:output>
</wsdl:operation>
@@ -915,6 +1094,8 @@
</corba:operation>
<wsdl:input name="setFloatRequest">
</wsdl:input>
+ <wsdl:output name="setFloatResponse">
+ </wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSetFloat">
<corba:operation name="getSetFloat">
@@ -929,6 +1110,8 @@
<corba:operation name="getDouble">
<corba:param mode="out" name="outDouble" idltype="corba:double" />
</corba:operation>
+ <wsdl:input name="getDoubleRequest">
+ </wsdl:input>
<wsdl:output name="getDoubleResponse">
</wsdl:output>
</wsdl:operation>
@@ -938,6 +1121,8 @@
</corba:operation>
<wsdl:input name="setDoubleRequest">
</wsdl:input>
+ <wsdl:output name="setDoubleResponse">
+ </wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSetDouble">
<corba:operation name="getSetDouble">
@@ -952,6 +1137,8 @@
<corba:operation name="getChar">
<corba:param mode="out" name="outChar" idltype="corba:char" />
</corba:operation>
+ <wsdl:input name="getCharRequest">
+ </wsdl:input>
<wsdl:output name="getCharResponse">
</wsdl:output>
</wsdl:operation>
@@ -961,6 +1148,8 @@
</corba:operation>
<wsdl:input name="setCharRequest">
</wsdl:input>
+ <wsdl:output name="setCharResponse">
+ </wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSetChar">
<corba:operation name="getSetChar">
@@ -975,6 +1164,8 @@
<corba:operation name="getWChar">
<corba:param mode="out" name="outWChar" idltype="corba:string" />
</corba:operation>
+ <wsdl:input name="getWCharRequest">
+ </wsdl:input>
<wsdl:output name="getWCharResponse">
</wsdl:output>
</wsdl:operation>
@@ -984,6 +1175,8 @@
</corba:operation>
<wsdl:input name="setWCharRequest">
</wsdl:input>
+ <wsdl:output name="setWCharResponse">
+ </wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSetWChar">
<corba:operation name="getSetWChar">
@@ -998,6 +1191,8 @@
<corba:operation name="getString">
<corba:param mode="out" name="outString" idltype="corba:string" />
</corba:operation>
+ <wsdl:input name="getStringRequest">
+ </wsdl:input>
<wsdl:output name="getStringResponse">
</wsdl:output>
</wsdl:operation>
@@ -1007,6 +1202,8 @@
</corba:operation>
<wsdl:input name="setStringRequest">
</wsdl:input>
+ <wsdl:output name="setStringResponse">
+ </wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSetString">
<corba:operation name="getSetString">
@@ -1021,6 +1218,8 @@
<corba:operation name="getWstring">
<corba:param mode="out" name="outWstring" idltype="corba:string" />
</corba:operation>
+ <wsdl:input name="getWstringRequest">
+ </wsdl:input>
<wsdl:output name="getWstringResponse">
</wsdl:output>
</wsdl:operation>
@@ -1030,6 +1229,8 @@
</corba:operation>
<wsdl:input name="setWstringRequest">
</wsdl:input>
+ <wsdl:output name="setWstringResponse">
+ </wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSetWstring">
<corba:operation name="getSetWstring">
@@ -1044,6 +1245,8 @@
<corba:operation name="getBoolean">
<corba:param mode="out" name="outBoolean" idltype="corba:boolean" />
</corba:operation>
+ <wsdl:input name="getBooleanRequest">
+ </wsdl:input>
<wsdl:output name="getBooleanResponse">
</wsdl:output>
</wsdl:operation>
@@ -1053,6 +1256,8 @@
</corba:operation>
<wsdl:input name="setBooleanRequest">
</wsdl:input>
+ <wsdl:output name="setBooleanResponse">
+ </wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSetBoolean">
<corba:operation name="getSetBoolean">
@@ -1067,6 +1272,8 @@
<corba:operation name="getOctet">
<corba:param mode="out" name="outOctet" idltype="corba:octet" />
</corba:operation>
+ <wsdl:input name="getOctetRequest">
+ </wsdl:input>
<wsdl:output name="getOctetResponse">
</wsdl:output>
</wsdl:operation>
@@ -1076,6 +1283,8 @@
</corba:operation>
<wsdl:input name="setOctetRequest">
</wsdl:input>
+ <wsdl:output name="setOctetResponse">
+ </wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSetOctet">
<corba:operation name="getSetOctet">
@@ -1084,6 +1293,33 @@
<wsdl:input name="getSetOctetRequest">
</wsdl:input>
<wsdl:output name="getSetOctetResponse">
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="getStringArray">
+ <corba:operation name="getStringArray">
+ <corba:param mode="out" name="outStringArray" />
+ </corba:operation>
+ <wsdl:input name="getStringArrayRequest">
+ </wsdl:input>
+ <wsdl:output name="getStringArrayResponse">
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="setStringArray">
+ <corba:operation name="setStringArray">
+ <corba:param mode="in" name="inStringArray" />
+ </corba:operation>
+ <wsdl:input name="setStringArrayRequest">
+ </wsdl:input>
+ <wsdl:output name="setStringArrayResponse">
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="getSetStringArray">
+ <corba:operation name="getSetStringArray">
+ <corba:param mode="inout" name="inOutStringArray" />
+ </corba:operation>
+ <wsdl:input name="getSetStringArrayRequest">
+ </wsdl:input>
+ <wsdl:output name="getSetStringArrayResponse">
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
Modified: incubator/yoko/trunk/tools/src/test/resources/idl/primitives.idl
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/tools/src/test/resources/idl/primitives.idl?rev=425730&r1=425729&r2=425730&view=diff
==============================================================================
--- incubator/yoko/trunk/tools/src/test/resources/idl/primitives.idl (original)
+++ incubator/yoko/trunk/tools/src/test/resources/idl/primitives.idl Wed Jul 26 06:30:07 2006
@@ -17,6 +17,8 @@
* under the License.
*/
+typedef sequence<string> stringArray;
+
interface Primitives {
void getShort (out short outShort);
@@ -74,6 +76,10 @@
void getOctet (out octet outOctet);
void setOctet (in octet inOctet);
void getSetOctet(inout octet inOutOctet);
+
+ void getStringArray(out stringArray outStringArray);
+ void setStringArray(in stringArray inStringArray);
+ void getSetStringArray(inout stringArray inOutStringArray);
// void getAny (out any outAny);
// void setAny (in any inAny);