[wsf-c-dev] [jira] Created: (WSFC-240) mtom samples fails for wsclient

damitha kumarage (JIRA) jira at wso2.org
Mon Mar 10 03:52:44 PDT 2008


mtom samples fails for wsclient
-------------------------------

                 Key: WSFC-240
                 URL: https://wso2.org/jira/browse/WSFC-240
             Project: WSO2 WSF/C
          Issue Type: Bug
         Environment: Linux
            Reporter: damitha kumarage


mtom.sh script uses the data/mtom_test.xml as xml payload. When this xml file is not in a single line the server fails. But it does not log no error messages in axis2.xml. It just say in the server output that input is invalid.
The fault is thrown form the following code in axis2c/samples/server/mtom/mtom.c

    file_text_node = axiom_node_get_first_child(file_name_node, env);
    if (!file_text_node)        /* actual text to mtom */
    {
        AXIS2_ERROR_SET(env->error,
                        AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST,
                        AXIS2_FAILURE);
        printf("Echo client ERROR: invalid XML in request\n");
        return NULL;
    }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the Wsf-c-dev mailing list