[ 
http://issues.apache.org/jira/browse/AXIS2-765?page=comments#action_12420966 ] 

Derek Foster commented on AXIS2-765:
------------------------------------

This issue probably has the same root cause as AXIS2-844 and Axis2-845.

> 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)
>         Type: Bug

>   Components: client-api
>     Versions: 1.0
>  Environment: windows
>     Reporter: Ozgur Gurkan
>     Assignee: 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to