1. #21
    Sencha User
    Join Date
    Jan 2008
    Posts
    52
    Vote Rating
    0
    egobits is on a distinguished road

      0  

    Default


    ...And please, could you give me an example of the index.html that will make all the proper calls? These are the errors im getting on my index.html:




    Ext.ux.menu has no properties
    [Break on this error] Ext.ux.menu.RangeMenu.prototype.icons = {
    grid-editor-mysql... (line 1799)
    GET http://localhost/ext-2.0.2/examples/...=1204751859000 (110ms)ext-base.js (line 10)
    Ext.ux.soap.WsdlContainer has no properties
    [Break on this error] Ext.ux.soap.WsdlContainer.cachedWsdl = new Array();
    Ext.ux.Soap.js (line 188)
    Ext.ux.soap.SoapReader is not a constructor
    [Break on this error] {name:'FArribo', mapping:'row.Column6'}
    example.js (line 29)

  2. #22
    Ext User
    Join Date
    Aug 2007
    Posts
    119
    Vote Rating
    0
    sierk is on a distinguished road

      0  

    Default


    Quote Originally Posted by egobits View Post
    Hi Sierk,
    i tried to use your code with my settings:



    The problem is that at the end of the page i am using:
    alert(store);
    and im getting "UNDEFINED".

    What could be wrong?
    You should not add the WSDL part at the end of your url this will be added by the WSDL container.
    I also found out that i did not upload the correct file. Therefor i changed my code and uploaded it again. It now includes a working demo. To download go to page 2.

    Sierk

  3. #23
    Ext User
    Join Date
    Dec 2007
    Location
    italy
    Posts
    120
    Vote Rating
    0
    tarini is on a distinguished road

      0  

    Default


    hi guys... i attached my new version of this little library..

    i added english comment... i hope that they will be understood

    i have some namespaces problems. this version is optimized with my soap implementation and i am not sure will works with every implementation...


    tell me what you think

    PS i use it in this way

    PHP Code:
    var proxy = new Ext.ux.soap.SoapProxy({
        
    url "http://localhost:8080/SoapTest/ws/MyService",
        
    loadMethod "dammiTantiUser"
    });
    var 
    reader = new Ext.ux.soap.SoapReader([
            
    'name',
            
    'title',
            {
    name:'role'mapping:'role.description'defaultValue:'N/A'}
    ]);            
    var 
    store = new Ext.data.Store({
        
    proxyproxy,
        
    readerreader
    }); 
    Attached Files
    Last edited by tarini; 6 Mar 2008 at 5:35 AM. Reason: adding usage example

  4. #24
    Ext User
    Join Date
    Feb 2008
    Posts
    4
    Vote Rating
    0
    dolfelt is on a distinguished road

      0  

    Default


    I am using this with HTTPS SSL. What is happening is that there is no response. The responseXML variable is returning blank, causing the script to have an undefined variable error. Is there any way to use this with ssl? Also, I am using Adobe AIR to do this.

    Thanks,
    Daniel

  5. #25
    Sencha User
    Join Date
    Jan 2008
    Posts
    52
    Vote Rating
    0
    egobits is on a distinguished road

      0  

    Default


    @Sierk:
    Just tested it, and worked fine! Im gonna make a few tests with your script and my own webservice and i'll let you know about any glitches. Greets!

  6. #26
    Sencha User
    Join Date
    Jan 2008
    Posts
    52
    Vote Rating
    0
    egobits is on a distinguished road

      0  

    Default


    @Sierk:

    The example works alright! Still, when trying to use it with a webservice on my SQL Server 2005 i have a issue that doesnt let your ext.soap class retrieve any information.

    This is what i get on my HTTP Sniffer when accesing the webservice directly from a URL (code 200 OK):
    GET /Viajes?wsdl HTTP/1.1
    Accept: */*
    Accept-Language: en-us
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 2.0.50727)
    Host: e3virt002:8080
    Connection: Keep-Alive
    Authorization: Negotiate YIIFHgYGKwYBBQUCoIIFEjCCBQ6gMDAuBgkqhkiC9xIBAgIGCSqGSIb3EgECAgYKKoZIhvcSAQICAwYKKwYBBAGCNwICCqKCBNgEggTUYIIE0AYJKoZIhvcSAQICAQBuggS/MIIEu6ADAgEFoQMCAQ6iBwMFACAAAACjggPgYYID3DCCA9igAwIBBaEUGxJGQVZPUklUQUZSVUlULkNPUlCiLzAtoAMCAQKhJjAkGwRIVFRQGxxlM3ZpcnQwMDIuZmF2b3JpdGFmcnVpdC5jb3Jwo4IDiDCCA4SgAwIBF6EDAgEDooIDdgSCA3LB4cQ0pYcrjGv+8vlQNQ5LLss+v5QGOouND8BfJKY4XC2mazZQc/KLSuJrHoaEbfJD4FD4TcrbDvXCAQbiaE/7xvoHKrogzn3lG27wepdkNTah7NXMevidKIAbiWk9lasy0CcQR9WQJ7pt969/E8fXDavZt/7nmsLVkm5Rpu1eIq9yA0eHXKglAXth/03TarymjyHXBTipDEik2FalO3ZpcW6kid68vH5vE7SreN5io30hqKoEjodd1Tz1i/j6gF5TAYuMipQ4ZTrF6ksKVOiy6h2lx2mWibvQxOGddaJ3WtpUl5wuMsGPQgRcm6R5za1L1gwCVCPeKERmUAE2t8ZFV+KgWKz/7OlRqAMz4JkNeJ+7PfXEEYfG4NQAqFYg74TAjUWQRnGI0F6EGXSPicuAOMC0chaZX8UPzbvjeYjtjbwULiH9/ZLWO0sXBe4RX1Zfql75ODXjiX097aVDqOd0723tiVvk6YTw6ZI+vQzYx14bvszUPH09bDG+9xPKS1MVn58i/mZF6Zpra/OCd/o2bxcdj6tOZxV21KrYsVgSVUbMcp1jtQaojvaL+EhOsW6NoiNClvSt0mbBZWVUd7sZXEHrwHyRYDhiBJkehnw9gmlk1PpZ4+JuU2NchCNkkc75satPMNn2S/XlkB6Nq+qX0FkEXVg6LawELOU3h24YPXcn/WuewNXNJ10ONkP/iNMHsef6JFCDCe3nF/Q+Qpp8mL4eCqpmR11VbJm0Gr3KzZ8DNOWgzTo6qVeK7xYZBq4lBTLcVjRjsjIJ7vHBunVEZQbAkPEVwNcL74gkP8ot9iJy+tKX7P5aUWKB+MpDXKUkQaQs5dDe+5q6t5hdbFbBGNZOdKNVTDsSCqK4oNKa///PeyS9mMhqaT0o8m/G9
    And this is what i get in the sniffer log when trying to access the webservice from your soap extension (code 500 Internal server error):
    GET /Viajes?wsdl&wsdl HTTP/1.1
    Accept: */*
    Accept-Language: en-us
    Referer: http://localhost/viajes/index.html
    x-requested-with: XMLHttpRequest
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 2.0.50727)
    Host: e3virt002:8080
    Connection: Keep-Alive
    Authorization: Negotiate YIIFHgYGKwYBBQUCoIIFEjCCBQ6gMDAuBgkqhkiC9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a few less characters at the end. Also, the ext.soap extension tries to negotiate with the webservice with Kerberos (fails) and the with NTLM (fails again).

    Any ideas?

  7. #27
    Ext User
    Join Date
    Aug 2007
    Posts
    119
    Vote Rating
    0
    sierk is on a distinguished road

      0  

    Default


    Quote Originally Posted by egobits View Post
    @Sierk:

    The example works alright! Still, when trying to use it with a webservice on my SQL Server 2005 i have a issue that doesnt let your ext.soap class retrieve any information.

    This is what i get on my HTTP Sniffer when accesing the webservice directly from a URL (code 200 OK):


    And this is what i get in the sniffer log when trying to access the webservice from your soap extension (code 500 Internal server error):


    As you can see, the key sent in the ext.soap has a few less characters at the end. Also, the ext.soap extension tries to negotiate with the webservice with Kerberos (fails) and the with NTLM (fails again).

    Any ideas?
    I see some strange stuff at the begining of you trace:
    GET /Viajes?wsdl&wsdl
    It looks like you added wsdl as a parameter. This should not be done because we will do it automaticly.

    Sierk

  8. #28
    Sencha User
    Join Date
    Jan 2008
    Posts
    52
    Vote Rating
    0
    egobits is on a distinguished road

      0  

    Default


    @Sierk:

    Thanks, i fixed that prob. Now i have another one... it seems that the server is not validating

    1) GET http://e3virt002:8080/Viajes?wsdl (1938ms)
    * here i get the whole WS scheme.

    2) POST http://e3virt002:8080/Viajes?_dc=120...2429&undefined 500 (625ms)
    * Post:
    <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlnsoapenv="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header xmlnsoap="http://schemas.xmlsoap.org/soap/envelope/"></soap:Header><soapenv:Body><ns1:ListaViajes xmlns:ns1="http://e3virt002/"></ns1:ListaViajes></soapenv:Body></soapenv:Envelope>
    * Response:
    <?xml version="1.0" encoding="utf-8"?><SOAP-ENV:Envelope xmlpace="preserve" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlnsql="http://schemas.microsoft.com/sqlserver/2004/SOAP" xmlnsqlsoaptypes="http://schemas.microsoft.com/sqlserver/2004/SOAP/types" xmlnsqlrowcount="http://schemas.microsoft.com/sqlserver/2004/SOAP/types/SqlRowCount" xmlnsqlmessage="http://schemas.microsoft.com/sqlserver/2004/SOAP/types/SqlMessage" xmlnsqlresultstream="http://schemas.microsoft.com/sqlserver/2004/SOAP/types/SqlResultStream" xmlnsqltransaction="http://schemas.microsoft.com/sqlserver/2004/SOAP/types/SqlTransaction" xmlnsqltypes="http://schemas.microsoft.com/sqlserver/2004/sqltypes" xmlns:msdata="urnchemas-microsoft-com:xml-msdata"><SOAP-ENV:Body><SOAP-ENV:Fault xmlnsqlsoapfaultcode="http://schemas.microsoft.com/sqlserver/2004/SOAP/SqlSoapFaultCode"><SOAP-ENV:Code><SOAP-ENV:Value>SOAP-ENV:Sender</SOAP-ENV:Value><SOAP-ENV:Subcode><SOAP-ENV:Value>sqlsoapfaultcode:ParsingError</SOAP-ENV:Value><SOAP-ENV:Subcode><SOAP-ENV:Value>sqlsoapfaultcode:InvalidContentType</SOAP-ENV:Value></SOAP-ENV:Subcode></SOAP-ENV:Subcode></SOAP-ENV:Code><SOAP-ENV:Reason><SOAP-ENV:Text xml:lang="en-US">There was an error in the incoming SOAP request packet: Sender, ParsingError, InvalidContentType</SOAP-ENV:Text></SOAP-ENV:Reason><SOAP-ENV:Node>http://e3virt002:8080/Viajes?_dc=1205342452429&amp;undefined</SOAP-ENV:Node><SOAP-ENV:Role>http://schemas.microsoft.com/sqlserver/2004/SOAP</SOAP-ENV:Role><SOAP-ENVetail/></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
    * The parameters sent to the POST are:
    - _dc = 1205342452429
    - undefined = (EMPTY) ?

    Obviously it is a SERVER error (500)... any ideas on why this could be happening?

  9. #29
    Ext User
    Join Date
    Aug 2007
    Posts
    119
    Vote Rating
    0
    sierk is on a distinguished road

      0  

    Default


    Quote Originally Posted by egobits View Post
    @Sierk:

    * The parameters sent to the POST are:
    - _dc = 1205342452429
    - undefined = (EMPTY) ?

    Obviously it is a SERVER error (500)... any ideas on why this could be happening?
    First _dc can be disabled by setting disableCaching: false within loadWsdl. The undefined i cannot explain but will look for it are you using the proxy php script ?

    Sierk

  10. #30
    Sencha User
    Join Date
    Jan 2008
    Posts
    52
    Vote Rating
    0
    egobits is on a distinguished road

      0  

    Default


    @Sierk:
    Is it possible to use your class without the ws_proxy.php? the CURL library is giving us to much trouble on our windows based server

    The errors we still get is because the curl_init() function doesnt work properly.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar