You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by "Vinh Nguyen (JIRA)" <ji...@apache.org> on 2007/11/21 00:47:43 UTC
[jira] Created: (MUSE-279) wsdl2java doesn't recognize
or schema syntax
wsdl2java doesn't recognize <complexContext> or <extension> schema syntax
-------------------------------------------------------------------------
Key: MUSE-279
URL: https://issues.apache.org/jira/browse/MUSE-279
Project: Muse
Issue Type: Bug
Affects Versions: 2.0.0
Environment: Muse 2.0.0
Reporter: Vinh Nguyen
Assignee: Dan Jemiolo
Priority: Minor
Hi,
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>
wsdl2java currently outputs a capability method with 1 parameter:
public Element query(Element param0)
But I believe it should have 2 parameters:
public Element query(int howMany, Element namedQueryValue)
Looks like wsdl2java is supposed to generate the 2-parameter method, since Muse automatically creates the "queryRequest" wrapper when sending the request. The problem is that wsdl2java does not recognize the <complexContext> or <extension> schema syntax.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org