axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajith Harshana Ranabahu (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-765) Incorrect parameter type in WSDL2Java generated stub method OMElement instead of specific type
Date Mon, 17 Jul 2006 05:30:14 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-765?page=all ]

Ajith Harshana Ranabahu resolved AXIS2-765.
-------------------------------------------

    Resolution: Fixed

The root cause of this issue is a fault in the Axis2 service population logic which ignored
the parts list provided by the binding/body element. I've changed the logic of the WSDL11toAxisServiceBuilder
to correctly pick the parts when the parts list is present.
The code for the given WSDL is now correctly generated

> Incorrect parameter type in WSDL2Java generated stub method OMElement instead of specific
type
> ----------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-765
>                 URL: http://issues.apache.org/jira/browse/AXIS2-765
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: client-api
>    Affects Versions: 1.0
>         Environment: windows
>            Reporter: Ozgur Gurkan
>         Assigned To: Ajith Harshana Ranabahu
>         Attachments: ProviderDomain.zip
>
>
> The generated stub source doesn't containt the correct parameter type in the service
method. Instead of having the specific type as specified in the WSDL for the parameter, it
contains the generic "org.apache.axiom.om.OMElement" type. 
> The stub was generated using Axis2 1.0 WSDL2Java tool.
> D:\dev\wellpoint\SAF\wsdl\ProviderDomain>d:\devtools\axis2-SNAPSHOT\bin\WSDL2Java.bat
-uri ProviderService_Binding_JMS_V0100.wsdl -s -o codegen -d xmlbeans -p com.wellpoint.integration.saf.int.provider.axis2
>                    /**
>                     * Auto generated method signature
>                     * @see com.wellpoint.integration.saf.int.provider.axis2.ProviderService#UpdateMemberPCPDetail
>                         * @param param0
>                     
>                         * @param param1
>                     
>                         * @param param2
>                     
>                     */
>                     public org.apache.axiom.om.OMElement UpdateMemberPCPDetail(
>                     org.apache.axiom.om.OMElement param0,com.wellpoint.esb.context.ContextDocument
param1,com.wellpoint.esb.header.ESBHeaderDocument param2)
> The first parameter should have been "com.wellpoint.service.provider.ProviderUpdateMemberPCPDetailRequestDocument".

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


Mime
View raw message