google-code-export / wordpress-web-service

Automatically exported from code.google.com/p/wordpress-web-service
2 stars 1 forks source link

No methods work, either in generic SOAP client or Flash Builder 4 #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load up /index.php/wpws page, SOAP client loads, test any function

2. Add as data service to FB4, parses WSDL, everything looks good
2A. Drop a datagrid into my application, bind it to e.g. getPost(1), run. 

What is the expected output? What do you see instead?
I expect the expected output is the retrieval of my posts / blog content.

What I see instead, from the generic SOAP client, is: 
We are sorry, the requested operation failed. The server returned the following 
messages
Error Message: The extern component has failed in processing your requests. 

and from Flash:
Error #1088: The markup in the document following the root element must be 
well-formed.
null

What version of the product are you using? On what operating system?
wpws 0.2.0 on Apache2
wordpress 3.0.1 on Apache2
flash builder 4.0 on Win 7

Please provide any additional information below.
I've tried my best reading around the web for help, only thing which has come 
up so far is that it might be a Byte Order Mark problem which is invalidating 
the XML?

Original issue reported on code.google.com by tho...@gmail.com on 24 Jun 2011 at 10:03

GoogleCodeExporter commented 9 years ago
I am getting a similar issue too, but I think it is to do with the URL 
ReWriting or at least something to do with the server end as in Flash Builder I 
get "There was an error while invoking the operation. Check your operation 
inputs and try invoking the operation again." with a response of "No input file 
specified."

Original comment by fab.lu...@gmail.com on 4 Sep 2011 at 11:11

GoogleCodeExporter commented 9 years ago
Patch 11 that I have created should fix this:

http://code.google.com/p/wordpress-web-service/issues/detail?id=11

Either replace the file wpws.template.wsdl with wpws.template.wsdl.patch in a 
local zip of the plugin and reinstall the plugin or:

Use a FTP client to connect to your WordPress installation
Go to the directory wp-content then to plugins and finally open the folder 
wordpress-web-service
Make a copy of wpws.template.wsdl.patch and name it wpws.wsdl
Open the file wpws.wsdl in a text editor
Scroll to the end of the file and replace %{BLOG_PATH} by your blog's url (e.g. 
http://yoursite.com/blog)

Original comment by fab.lu...@gmail.com on 5 Sep 2011 at 7:17

GoogleCodeExporter commented 9 years ago
fab.lungo's patch is in the release.
Could you both thoams and fab.lungo verify wether it works for you now?

Original comment by 0x1010...@gmail.com on 9 Nov 2011 at 12:20

GoogleCodeExporter commented 9 years ago

Original comment by 0x1010...@gmail.com on 23 Nov 2011 at 5:17