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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to