cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "maomaode (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (CXF-1001) WSDL2Java header problem when using -exsh parameter
Date Fri, 14 Sep 2007 02:10:32 GMT

     [ https://issues.apache.org/jira/browse/CXF-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

maomaode reassigned CXF-1001:
-----------------------------

    Assignee: maomaode

> WSDL2Java header problem when using -exsh parameter
> ---------------------------------------------------
>
>                 Key: CXF-1001
>                 URL: https://issues.apache.org/jira/browse/CXF-1001
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.0.1
>         Environment: JDK6 update 2
>            Reporter: Julien DUMETIER
>            Assignee: maomaode
>         Attachments: AccountService.wsdl
>
>
> When using the WSDL2Java tool with the -exsh true parameter,
> it seems that the methods without parameter are not generated with the header parameters.
> For example, with the WSDL transmitted, i obtain this :
> 	@WebResult(targetNamespace = "com.esendex.ems.soapinterface", name = "GetMessageLimitResult")
> 	@RequestWrapper(localName = "GetMessageLimit", targetNamespace = "com.esendex.ems.soapinterface",
className = "soapinterface.ems.esendex.com.GetMessageLimit")
> 	@ResponseWrapper(localName = "GetMessageLimitResponse", targetNamespace = "com.esendex.ems.soapinterface",
className = "soapinterface.ems.esendex.com.GetMessageLimitResponse")
> 	@WebMethod(operationName = "GetMessageLimit", action = "com.esendex.ems.soapinterface/GetMessageLimit")
> 	public int getMessageLimit(@WebParam();
> And i expected that :
> 	@WebResult(targetNamespace = "com.esendex.ems.soapinterface", name = "GetMessageLimitResult")
> 	@RequestWrapper(localName = "GetMessageLimit", targetNamespace = "com.esendex.ems.soapinterface",
className = "soapinterface.ems.esendex.com.GetMessageLimit")
> 	@ResponseWrapper(localName = "GetMessageLimitResponse", targetNamespace = "com.esendex.ems.soapinterface",
className = "soapinterface.ems.esendex.com.GetMessageLimitResponse")
> 	@WebMethod(operationName = "GetMessageLimit", action = "com.esendex.ems.soapinterface/GetMessageLimit")
> 	public int getMessageLimit(@WebParam(targetNamespace = "com.esendex.ems.soapinterface",
name = "MessengerHeader", header = true)
> 	soapinterface.ems.esendex.com.MessengerHeader messengerHeader);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message