cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien DUMETIER (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-1001) WSDL2Java header problem when using -exsh parameter
Date Thu, 13 Sep 2007 13:29:32 GMT
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


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