You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-user@ws.apache.org by "Vinh Nguyen (vinguye2)" <vi...@cisco.com> on 2007/12/18 21:51:06 UTC

xs:any content for PauseSubscription

Hi,
I'm trying to implement the option WS-N operations like
PauseSubscription.  wsdl2java generates this method with no parameters:
 
public Element pauseSubscription();
 
But, the input schema type is defined as:
 
  <xsd:element name="PauseSubscription">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:any namespace="##other" processContents="lax"
                 minOccurs="0" maxOccurs="unbounded"/>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
 
So, should the generated method have an Element[] parameter, or none at
all?  This seems to be a general wsdl2java problem when it encounters
types that contain xs:any.
 
Aloha,
-Vinh