Hi,
I'm trying to implement an OSSJ service using the Muse framework, but am
having problems/confusion with the XML schema conventions used by OSSJ.
 
I have an operation input with this message type definition:
 
    <element name="queryRequest">
        <complexType>
            <complexContent>
                <extension base="IteratorRequest">
                    <sequence>
                        <element name="namedQuery"
type="NamedQueryValue" minOccurs="0" />
                    </sequence>
                </extension>
            </complexContent>
        </complexType>
    </element>
    <complexType name="IteratorRequest" abstract="true">
        <sequence>
            <element name="howMany" type="unsignedInt" nillable="true"
minOccurs="0"/>
        </sequence>
    </complexType>
    <complexType name="NamedQueryValue" abstract="true">
        <sequence />
    </complexType>

Should the corresponding capability method have one or two parameters?
wsdl2java currently outputs this:
public Element query(Element param0)
 
But I believe it should be this:
public Element query(int howMany, Element namedQueryValue)
 
Aloha,
-Vinh
 

Reply via email to