[prev in list] [next in list] [prev in thread] [next in thread] 

List:       osflash-swx
Subject:    [swx] Problem with SWX-Wordpress
From:       herd () mac ! web ! id (Herdiansah)
Date:       2008-03-04 16:34:45
Message-ID: 5D3AF334-CC22-42B5-BFFD-FD03293B39F3 () mac ! web ! id
[Download RAW message or body]

Thanks, I already had ServiceCapture for HTTP proxy.


Cheers,
Herdiansah
--------------------------------------------------------
Mobile: +628151800094
Portfolio: http://www.herdiansah.com
Blog: http://www.dailyflashid.org/

On Mar 4, 2008, at 6:50 PM, ben wrote:

> No worries :)
>
> Ben
> p.s. When working with swx, i've found using HTTP proxy tools like  
> Charles (there are others out there too) quite handy to  
> troubleshoot communication between the client and swx server. You  
> might want to get one of them.
>
> Herdiansah wrote:
>>
>> Hi Ben,
>>
>> Thanks for doing a test. I really appreciate that.
>> So the wordpress database configuration that I already set in  
>> globals.php only works for swx service explorer :)
>> Now I have set the wordpress db configuration in wordpress service  
>> file and everything works fine.
>>
>> Cheers,
>> Herdiansah
>> --------------------------------------------------------
>> Mobile: +628151800094
>> Portfolio: http://www.herdiansah.com
>> Blog: http://www.dailyflashid.org/
>>
>>
>>
>>
>> On Mar 4, 2008, at 5:45 PM, ben wrote:
>>
>>> Hi Herdiansah,
>>>
>>> Welcome to the swx list, it's nice and peaceful here.
>>>
>>> I tried doing a request to the same service your app is doing  
>>> (Wordpress class, getImages function, argument 0)
>>>
>>> and i get a fault event triggered that says:
>>>
>>> Error 2: mysql_connect() [<a href='function.mysql- 
>>> connect'>function.mysql-connect</a>]: Access denied for user  
>>> 'web5'@'localhost' (using password: YES) in /home/d41lyfla/ 
>>> public_html/swx/php/services/Wordpress.php, line 29.
>>>
>>> Hope that helps. Looks like a db connection issue.
>>>
>>> Here's the code to reproduce the problem (place on one frame in a  
>>> movie and put swx's org source actionscript folder next to it):
>>>
>>> import org.swxformat.SWX;
>>>
>>> var swx:SWX = new SWX();
>>> swx.gateway = "http://swx.dailyflashid.org/php/swx.php";
>>> swx.encoding = "GET";
>>> swx.debug = true;
>>>
>>> var callParameters:Object =
>>> {
>>>     serviceClass: "Wordpress",
>>>     method: "getImages",
>>>     args: [0],
>>>     result: [this, resultHandler],
>>>     timeout: [this, timeoutHandler],
>>>     fault: [this, faultHandler]
>>> }
>>>
>>> swx.call(callParameters);
>>>
>>> function resultHandler(event:Object)
>>> {
>>>     trace("result!");
>>> }
>>> function timeoutHandler(event:Object)
>>> {
>>>     trace("timeoutHandler!");
>>> }
>>> function faultHandler(event:Object)
>>> {
>>>     trace("faultHandler!");
>>>     trace(event.fault.message);
>>> }
>>>
>>>
>>> stop();
>>>
>>> Cheers
>>> Ben
>>>
>>> Herdiansah wrote:
>>>>
>>>> Hi,
>>>>
>>>> I have setup SWX gateway and installed SWX-Wordpress on my site.
>>>> I have test the SWX-WP API using SWX service explorer and it  
>>>> works fine.
>>>> And then I've made a simple test for this service but it didn't  
>>>> work
>>>> and then I tried a simple test using Twitter service and it work.
>>>>
>>>> If you take a look at this http://swx.dailyflashid.org/php/ 
>>>> explorer/
>>>> and try the wordpress service it works fine.
>>>> but if you try this simple test http://herdiansah.com/swx/wp/
>>>> wordpress_test.html  it won't work while the twitter test does work
>>>> http://herdiansah.com/swx/twitter/twitter_test.html
>>>> Both test file using the same code only different in service.
>>>>
>>>> is anyone having the same issue with SWX-Wordpress?
>>>>
>>>> Cheers,
>>>> Herdiansah
>>>> --------------------------------------------------------
>>>> Mobile: +628151800094
>>>> Portfolio: http://www.herdiansah.com
>>>> Blog: http://www.dailyflashid.org/
>>>>
>>>>
>>>> _______________________________________________
>>>> swx mailing list
>>>> swx at osflash.org
>>>> http://osflash.org/mailman/listinfo/swx_osflash.org
>>>>
>>>>
>>>
>>> _______________________________________________
>>> swx mailing list
>>> swx at osflash.org
>>> http://osflash.org/mailman/listinfo/swx_osflash.org
>>
>>
>>
>> _______________________________________________
>> swx mailing list
>> swx at osflash.org
>> http://osflash.org/mailman/listinfo/swx_osflash.org
>>
>
> _______________________________________________
> swx mailing list
> swx at osflash.org
> http://osflash.org/mailman/listinfo/swx_osflash.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/swx_osflash.org/attachments/20080304/c70ee2ca/attachment.html 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic