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 "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org> on 2005/09/30 17:49:47 UTC
[jira] Resolved: (AXIS2-248) WSDL with headers generates uncompilable code
[ http://issues.apache.org/jira/browse/AXIS2-248?page=all ]
Ruchith Udayanga Fernando resolved AXIS2-248:
---------------------------------------------
Resolution: Fixed
Fixed
> WSDL with headers generates uncompilable code
> ---------------------------------------------
>
> Key: AXIS2-248
> URL: http://issues.apache.org/jira/browse/AXIS2-248
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: client-api
> Versions: 0.92
> Environment: WinXP, JDK 5.0
> Reporter: Simon Fell
> Attachments: partner.wsdl
>
> running WSDL2Code on a WSDL that has operations with headers generates code that doesn't compile, in addition, headers get repeated multiple times in the method signatures, e.g.
> public codegen.databindingurn_partner_soap_sforce_com.GetDeletedResponseDocument getDeleted(
> codegen.databindingurn_partner_soap_sforce_com.GetDeletedDocument param9,
> codegen.databindingurn_partner_soap_sforce_com.SessionHeaderDocument param10,
> codegen.databindingurn_partner_soap_sforce_com.CallOptionsDocument param11,
> codegen.databindingurn_partner_soap_sforce_com.SessionHeaderDocument param12,
> codegen.databindingurn_partner_soap_sforce_com.CallOptionsDocument param13,
> codegen.databindingurn_partner_soap_sforce_com.SessionHeaderDocument param14,
> codegen.databindingurn_partner_soap_sforce_com.CallOptionsDocument param15,
> codegen.databindingurn_partner_soap_sforce_com.CallOptionsDocument param16,
> codegen.databindingurn_partner_soap_sforce_com.SessionHeaderDocument param17,
> codegen.databindingurn_partner_soap_sforce_com.CallOptionsDocument param18,
> codegen.databindingurn_partner_soap_sforce_com.AssignmentRuleHeaderDocument param19,
> codegen.databindingurn_partner_soap_sforce_com.SessionHeaderDocument param20,
> codegen.databindingurn_partner_soap_sforce_com.CallOptionsDocument param21) throws java.rmi.RemoteException{
> compile errors include such things as
> Severity Description Resource In Folder Location Creation Time
> 2 The method toOM(LoginDocument) in the type SoaploginDatabindingSupporter is not applicable for the arguments (SessionHeaderDocument) SoapStub.java axis2PartnerTest/codegen line 505 September 29, 2005 7:56:44 PM
> Severity Description Resource In Folder Location Creation Time
> 2 The method toOM(GetDeletedDocument) in the type SoapgetDeletedDatabindingSupporter is not applicable for the arguments (AssignmentRuleHeaderDocument) SoapStub.java axis2PartnerTest/codegen line 783 September 29, 2005 7:56:44 PM
> I'll attach the 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