[ https://issues.apache.org/jira/browse/AXIS2C-991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Senaka Fernando resolved AXIS2C-991. ------------------------------------ Resolution: Fixed Fixed Issue. Thanks Lukas. The issue here is the body must always go after the header and the body_node is always not the first child but rather is the first element. Regards, Senaka > axiom_soap_header_create_with_parent in soap_header doesn't detach body node > ---------------------------------------------------------------------------- > > Key: AXIS2C-991 > URL: https://issues.apache.org/jira/browse/AXIS2C-991 > Project: Axis2-C > Issue Type: Bug > Affects Versions: 1.2.0 > Reporter: Lukas JOSEFIK > Assignee: Senaka Fernando > > if header is added and between soap envelope and soap body is text node, then > is detached this text node, not body node. > detach first element node instead of first... > if (axiom_node_get_first_child(parent_node, env)) > { > ..... > body_node = axiom_node_get_first_child(parent_node, env); > if(AXIOM_ELEMENT == axiom_node_get_node_type(body_node, env)) > ...... > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]