[ http://issues.apache.org/jira/browse/AXIS-2017?page=all ]

Jayachandra Sekhara Rao Sunkara updated AXIS-2017:
--------------------------------------------------

    Attachment: Emitter_java_patch.diff
                resource_properties_patch.diff

As for this patch I updated two files 
org/apache/axis/wsdl/fromJava/Emitter.java and 
org/apache/axis/i18n/resource.properties . I'm attaching the diff of changes 
made. While applying the patch you may want to modify the warning message added 
in the resource.properties

Thanks
Jayachandra

> A warning message in java2WSDL when trying to generate a doc/lit wsdl for a 
> service having method(s) with multiple input parts
> ------------------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-2017
>          URL: http://issues.apache.org/jira/browse/AXIS-2017
>      Project: Axis
>         Type: New Feature
>   Components: WSDL processing
>     Versions: 1.2
>  Environment: any
>     Reporter: Jayachandra Sekhara Rao Sunkara
>     Priority: Minor
>  Attachments: Emitter_java_patch.diff, resource_properties_patch.diff
>
> Hi,
> Considering a service having a method signature like
>  public String echoString_double(String firstParam, String secondParam)
> If a doc/lit type wsdl is tried to get generated for it, currently the 
> Java2WSDL of Axis generates type information such that the request message 
> has multiple parts rather than one complexType element encompassing the 
> mulitple parts. I understand that it's been so, for some historic reasons but 
> nevertheless it's a slight deviation from WSI-BP and hence interop. Well, we 
> have wrapped/literal for interop but informing the naive user about it is a 
> good thing. So at the minimum we should spit out a warning message to the 
> user at the time of Java2WSDL run in such a case. I'm trying to come up with 
> a tiny patch to do the same. See if it can be added.

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

Reply via email to