Xfire generator can not handle soap:header parts feature correctly ------------------------------------------------------------------
Key: XFIRE-948 URL: http://jira.codehaus.org/browse/XFIRE-948 Project: XFire Issue Type: Bug Components: Generator Affects Versions: 1.2.5 Environment: JSDK1.5 Reporter: hubert zhang Assignee: Dan Diephouse See the WSDL file: <wsdl:message name="getActiveAlarms"> <wsdl:documentation> The getActiveAlarms request message. </wsdl:documentation> <wsdl:part name="mtosiHeader" element="tmf854XSD:header"/> <wsdl:part name="mtosiBody" element="tmf854XSD:getActiveAlarms"/> </wsdl:message> <wsdl:operation name="getActiveAlarms"> <soap:operation style="document"/> <wsdl:input> <soap:header message="tmf854WS:getActiveAlarms" part="mtosiHeader" use="literal" /> <soap:body parts="mtosiBody" use="literal" /> </wsdl:input> <wsdl:output> <soap:header message="tmf854WS:getActiveAlarmsResponse" part="mtosiHeader" use="literal" /> <soap:body parts="mtosiBody" use="literal" /> </wsdl:output> <wsdl:fault name="ProcessingFailureException"> <soap:fault name="ProcessingFailureException" use="literal" /> </wsdl:fault> </wsdl:operation> then the generated java file looks like this: @WebMethod(operationName = "getActiveAlarms", action = "") @WebResult(name = "header", targetNamespace = "tmf854.v1") public HeaderT getActiveAlarms( @WebParam(name = "header", targetNamespace = "tmf854.v1") HeaderT header, @WebParam(name = "getActiveAlarms", targetNamespace = "tmf854.v1") GetActiveAlarmsT getActiveAlarms, @WebParam(name = "header", targetNamespace = "tmf854.v1", header = true) HeaderT header2, @WebParam(name = "getActiveAlarmsResponse", targetNamespace = "tmf854.v1", mode = WebParam.Mode.OUT) Holder<GetActiveAlarmsResponseT> getActiveAlarmsResponse, @WebParam(name = "header", targetNamespace = "tmf854.v1", mode = WebParam.Mode.OUT, header = true) Holder<HeaderT> header3) throws ProcessingFailureException ; so many headers there ,this means the generator can not handle the parts attribute correctly! Is this a bug? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email