Hi all,
Perhaps I've been working too hard lately that I'm getting confused
again:)
 
Suppose I have a wsdl with the following operation messages:
<xs:element name="Get">
    <xs:complexType>
        <xs:sequence>
            <xs:element name="Name" type="xs:string"></xs:element>
            <xs:element name="Value" type="xs:string"></xs:element>
        </xs:sequence>
    </xs:complexType>
</xs:element>
<xs:element name="GetResponse">
    <xs:complexType>
        <xs:sequence>
            <xs:element ref="wsa:EndpointReference" />
        </xs:sequence>
    </xs:complexType>
</xs:element>
 
Muse generates this capability method:
public Element get(Element arg0, Element arg1)
 
I can then update it to:
public EndpointReference get(String name, String value)
 
But now, I am trying to implement a WS-Enumeration operation with this
wsdl definition:
<xs:element name="Enumerate">
   <xs:complexType>
      <xs:sequence>
         <xs:element name="EndTo" type="wsa:EndpointReferenceType"
minOccurs="0"/>
         <xs:element name="Expires" type="tns:ExpirationType"
minOccurs="0"/>
         <xs:element name="Filter" type="tns:FilterType" minOccurs="0"/>
         <xs:any namespace="##other" processContents="lax" minOccurs="0"
maxOccurs="unbounded"/>
      </xs:sequence>
      <xs:anyAttribute namespace="##other" processContents="lax"/>
   </xs:complexType>
</xs:element>
<xs:element name="EnumerateResponse">
   <xs:complexType>
      <xs:sequence>
          <xs:element name="Expires" type="tns:ExpirationType"
minOccurs="0"/>
          <xs:element name="EnumerationContext"
type="tns:EnumerationContextType"/>
          <xs:any namespace="##other" processContents="lax"
minOccurs="0" maxOccurs="unbounded"/>
      </xs:sequence>
      <xs:anyAttribute namespace="##other" processContents="lax"/>
   </xs:complexType>
</xs:element>
 
Muse generates this capability method:
public Element enumerateOp(Element arg0, Element arg1, Element arg2)
 
If I want to update this signature to not use the Element type, what
would I change it to?  Would the return value be an Object[]?
 
 
 
 
 

Reply via email to