Some WSDL to java fails to parse the WSDL when it sees more than one part in
a message.
The service definition contains header in the parameters which translate to
WSDL having two parts in the message.
Is there a way to generate WSDL with a single part?

public String runTask(
@WebParam(name=Constants.SESSION_ID, mode=Mode.IN, header=true)String
sessionId,
@WebParam(name="runTaskRequest", mode=Mode.IN, partName="TaskInfo")TaskInfo
task
)

WSDL:

<wsdl:message name="runTask">
<wsdl:part element="ns1:runTask" name="parameters"></wsdl:part>
<wsdl:part element="ns1:SessionId" name="SessionId"></wsdl:part>
</wsdl:message>



--
View this message in context: 
http://cxf.547215.n5.nabble.com/java-first-Having-a-header-in-the-parameter-generates-multi-part-in-the-message-WSDL-tp5764348.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Reply via email to