You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "x (JIRA)" <ax...@ws.apache.org> on 2006/10/17 15:10:34 UTC

[jira] Created: (AXIS-2572) WSDL2Java - wsdl:required is false, and Axis is treating this as "true".

WSDL2Java - wsdl:required is false, and Axis is treating this as "true".
------------------------------------------------------------------------

                 Key: AXIS-2572
                 URL: http://issues.apache.org/jira/browse/AXIS-2572
             Project: Apache Axis
          Issue Type: Bug
          Components: WSDL processing
    Affects Versions: 1.4
         Environment: JDK1.4.2 
platform windows
            Reporter: x
            Priority: Blocker


Find below a part of my wsdl file.

After code generation (WSDL2Java) using  Axis built 1.4.  I receive the error that the 2 objects are required witing my message.

I have a message with 2 OPTIONAL parts.  object1 indicates the wsdl:required="false" and object2 does implicitly the same as the default value for wsdl:required is false.  Although when I generated the wsdl file successfully and run the code I get an axis fault telling that the two objects are required.

	<wsdl:message name="CreateObjectSoapIn">
		<wsdl:part name="object1" element="t:object1" wsdl:required="false"/>
		<wsdl:part name="object2" element="t:object2" />
	</wsdl:message>

Thanks for the quick response,

Guy

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org