Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
3.3.3
-
None
-
None
-
None
-
Unknown
Description
We are trying to implement a webservice from a given wsdl. It contains an operation (createRetoureId) that references an empty element (CreateRetoureIdRequest)
as parameter, e.g. it is an operation without an actual parameter. In the generated code this parameter is mapped to "java.lang.Object":
}}{{@WebMethod
@WebResult(name = "CreateRetoureIdResponse", targetNamespace = "http://oneclickforrefund.dpag.de", partName = "parameters")
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2019-09-13T11:24:07.696+02:00")
public CreateRetoureIdResponse createRetoureId(
{{ @WebParam(partName = "createRetoureIdRequest", name = "CreateRetoureIdRequest", targetNamespace = "http://oneclickforrefund.dpag.de")}}
{{ java.lang.Object createRetoureIdRequest}}
) throws CreateRetoureIdException_Exception;
I did not find a way to pass a valid value to the method when being invoked from Java. Neither "null" nor "new Object()" result in a message being send.
The wsdl is attached and publicly available at https://internetmarke.deutschepost.de/OneClickForRefund?wsdl