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 "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2005/04/20 14:36:24 UTC

[jira] Commented: (AXIS-1936) .NET interop problem: generated WSDL should add nillable="true" for methodResponReturn type

     [ http://issues.apache.org/jira/browse/AXIS-1936?page=comments#action_63282 ]
     
Davanum Srinivas commented on AXIS-1936:
----------------------------------------

Reviewing the code, i see that createLiteralArrayElement in Types.java should be called. this adds "minOccurs=0 maxOccurs=unbounded"...can you zip up your sources so that i can run Java2WSDL?

thanks,
dims

> .NET interop problem: generated WSDL should add nillable="true" for methodResponReturn type
> -------------------------------------------------------------------------------------------
>
>          Key: AXIS-1936
>          URL: http://issues.apache.org/jira/browse/AXIS-1936
>      Project: Axis
>         Type: Bug
>  Environment: Axis 1.2RC3 nightly
>     Reporter: Tim K

>
> It seems that I have to edit the WSDL generated by java2wsdl in wrapped/literal mode by hand to add nillable="true" to 
> the response type, like this: 
> <element name="loginResponse"> 
>   <complexType> 
>     <sequence name="loginResponseReturn" type="impl:ArrayOfNamedValue" 
>      nillable="true"/> 
>   </complexType> 
> </element> 
> Java2WSDL doesn't do this by default and .NET will no return a null object even though the return value is xsi:nil
> Please see this bug for the WSDL: http://issues.apache.org/jira/browse/AXIS-1926
> The link to the attachment is:
> http://issues.apache.org/jira/secure/attachment/19629/RemoteLoginManager.wsdl

-- 
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