Results 1 to 2 of 2

Thread: ext-all-debug.js:1846 [WARN] XML data not found in the response

  1. #1
    Sencha User
    Join Date
    Dec 2015
    Posts
    7

    Default ext-all-debug.js:1846 [WARN] XML data not found in the response

    My soap web services is ok. The wsdl url throws the correct wsdl xml files.
    http://localhost:8080/ExtjsSOAPWeb/CallMemberBean?wsdl
    With soapui utility I can confirm the right soap message. But in my extjs client I have some
    problem. These are my codes

    Code:
    Ext.onReady(function() {
        var family = Ext.create('Ext.data.Store', {
    
    
            model: 'Member',
            autoLoad: true,
            proxy: {
                type: 'soap',
                api: {
                    read: 'ICallMemberPort'
                },
                soapAction: {
                    read: 'http://localhost:8080/'
                },
                operationParam: 'operation',
                targetNamespace: 'http://www.aaa.com/',
                reader: {
                    type: 'xml',
                    record: 'ns|return',
                    namespace: 'ns'
                },
                exception: function(proxy, response, operation) {
                    Ext.MessageBox.show({
                        title: 'REMOTE EXCEPTION',
                        msg: operation.getError(),
                        icon: Ext.MessageBox.ERROR,
                        buttons: Ext.Msg.OK
                    });
                }
            },
    
    
            listeners: {
                load: function(family, operation, success) {
    
    
                    if (success) {
                        console.log('response : ' + family.data.length)
                    } else {
                        console.log('it failed')
                    }
                }
            }
    
    
        });
    
    
        var onButtonClick = function() {
            family.load()
        };
    });

    family.load() method throws the following url to SOAP server.
    http://localhost:8080/ExtjsSOAPWeb/?...CallMemberPort
    However this url does not reply soap xml message, but just java string value. So the error message is shown like below,

    [WARN] XML data not found in the response
    it failed

    I think the configuration of proxy element is wrong. and i don't know why. Pls, inform me the correct url which invoke the right soap message and proxy configuration.
    Your information will be deeply appreciated. Thank in advanced!

  2. #2
    Sencha User
    Join Date
    Dec 2015
    Posts
    7

    Default

    Service Endpoint Interface is like below,

    @WebService(targetNamespace="http://www.aaa.com")
    public interface ICallMemberPort {
    @WebMethod
    @WebResult
    List getMember(@WebParam String id);
    }
    Is the exception thrown because I don't add parameters to ICallMemberPort interface? Then how can I add the parameters to SOAP Enpoint Interface?

Similar Threads

  1. Sencha Touch 2.x [WARN][Ext.data.reader.Reader#process] JSON object not found
    By akpotosufredrick in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 3 Aug 2013, 5:43 AM
  2. XML data not found in the response
    By hyde007 in forum Sencha Touch 2.x: Q&A
    Replies: 3
    Last Post: 4 Jun 2012, 8:06 PM
  3. [FIXED] List - [WARN][Ext.dataview.List#applyStore] The specified Store cannot be found
    By savitanebula in forum Sencha Touch 2.x: Bugs
    Replies: 8
    Last Post: 21 Mar 2012, 5:24 AM
  4. Uncaught Ext.Error: XML data not found in the response
    By smatric in forum Ext: Discussion
    Replies: 0
    Last Post: 8 Jul 2011, 3:34 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •