Displaying 20 results from an estimated 110 matches similar to: "Ajax.request - SOAPAction"
2006 Jul 30
0
Laszlo to AWS SOAPAction problem
I was testing Laszlo SOAP client requests against a Rails AWS backend. I
got unclear error messages and a backtrace which showed Rails going into
XML-RPC protocol code.
After some code analysis, it seems that AWS requires a non-empty
SOAPAction attribute in the header. After commenting out a one-line
check for this in soap_protocol.rb, everything seems to work fine. Also
I didn''t
2007 Jun 07
0
Prototype 1.5.1 Content-Type Header
Hi All,
Iam trying to call a SOAP service using prototype.
The service throws a error when the request header ''Content-
Type = application/x-www-form-urlencoded''
Hence i want to overide that functionality.
I used the following code for that.
function makeWSCall(){
var opt = {
method: ''post'',
2006 Apr 24
0
Web Services/Invoke Inconsistencies
Hey all,
Got a bit of a long one here, so bear with me while I try to hash out
the details... better to give too much than not enough.
So we''re using the ActionWebService in order to communicate with a
3rd-party software client. We''ve created the API as discussed in Agile
Web Development, and, in fact, invoke actually works perfectly.
We have three example XML posts... they
2012 Oct 30
2
RCurl - curlPerform - Time out?!?
Hi,
I am working with the RCurl package and I am using the curlPerform
function for an soap-query.
The problem is that the code is usually working well, but sometimes the
connection gets lost.
So I wrote a while-loop to repeat the query if anything might happened
so that the same query runs again, but if the query-faults it takes a
very long time for the repetition.
My question is if there
2006 Sep 06
0
soapenc:base64 and xsd:base64Binary
Hello guys,
I have a little mix in all those webservices and wsdl files and all
this things, and I have maybe a strange question.
I''m trying to consume webservice from different webservice
implementation than ror. And I there is one thing from ror regenerated
wsdl file. Method parameter defined by :base64 type is defined in wsdl
as ''soapenc:base64''. My question is, why
2007 Aug 09
0
layered SOAP webservices
Hi all,
My SOAP web service works with direct and delegated dispatching. But
as soon as I switch to layered, I get an error message
no such web service ''api''
Now, the actionwebservice/lib/action_web_service/protocol/
soap_protocol.rb, in function
decode_action_pack_request(action_pack_request),
service_name = action_pack_request.parameters[''action'']
2009 Jun 18
0
SSOAP access to a j2EE-ws service
I am currently trying to access a SOAP web service (hosted on a JBoss5
server and defined as a J2EE-ws service) via the SSOAP R-package. But
all I can get is a NULL answer. The web service seems to work as it can
be accessed using a general web-service tester.
The web service wsdl is here: http://smg8.ulb.ac.be:8080/web2?wsdl.
This is how I try to call the web service from R:
---
>
2006 Aug 02
0
Need help with SOAP and .NET
I am trying to consume a .NET webservice from
http://ws.melissadata.com/dqws/address.asmx
Whenever I call soap.doSingleRecord I receive an error saying that I have an
"Empty XML Request Structure". Looking at the sample SOAP request it appears
that all the settings I am sending need to be wrapped in <Request> tags. So
it lookes like I need to build a seperate Request object and
2010 Jun 22
0
Working cludge [Re: SSOAP fails with .types[[1]] : subscript out of bounds]
Hi,
so, last post from here unless I can provide any more input
to fix the upstream package.
On Tue, 2010-06-22 at 10:02 +0200, Steffen Neumann wrote:
> So I got a bit further, the reason for the error is
> that the WSDL *does not have* any <wsdl:types>...</wsdl:types>,
I created a local copy and inserted a dummy
<wsdl:types>...</wsdl:types> element.
Then, my
2008 May 09
1
SSOAP: arguments passed as
Hi,
I have a SOAP service, provided by BioMoby
which I'd like to call via SSOAP.
My service breaks during genSOAPClientInterface()
genSOAPClientInterface(def=service, verbose = TRUE)
Operation MassBank_Simple_2
Error: Cannot resolve SOAP type in empty context
Problem seems to be that there are no <types> defined in the WSDL,
and that the service passes input/output as a single
2006 May 02
1
SOAP client not seeing all of my AWS service methods
Hi all,
Ruby 1.8.4
Rails 1.1.2
I''m a newb when it comes to SOAP, but I thought I''d give it a shot. I
have several web services defined. However, when I try to connect with
a SOAP client it seems the client is only picking up one of the
services, called Hardware.
require ''soap/wsdlDriver''
wsdl_url =
2006 Jan 16
11
Preventing bubble
I''m trying to prevent double ajax requests when I have nested onclick
handlers.
I have a table with clickable column headings (for sorting by that
column).
I have onclick handlers on both the <th> and the <a> link so that
clicking anywhere on the table heading should work.
<th onclick="window.location.href=''http://foo?sort=foo'';">
2006 Jan 23
1
autocomplete=off not working on Firefox
I noticed that the latest control.js disables auto complete:
this.element.setAttribute(''autocomplete'',''off'');
So I removed my inline "autocomplete=''off''" from my input fields.
But Firefox still auto completes.
Using the Firefox DOM Inspector I do see that it''s applied
by Ajax.Autocompleter as expected. The Inspector
2007 Feb 15
2
ajax.request not working in ie7
it sends the request fine in firefox but it never gets sent in ie7 (im using
iewatch). here''s my code:
var headers = [''Man'', ''POST http://'' + location.host + ''/something
HTTP/1.1'',''MessageType'',''CALL'' ];
var myAjax = new Ajax.Request( url, { requestHeaders: headers
,contentType:
2006 Jul 24
15
XML Question
I''ve got an XML file which is pretty well structured. I need to retrieve
specific elements from that file to fill out empty HTML elements on a page.
I think what I need is xPath? Or - is that overkill? Is there some easier
way to locate an XML element?
What I have in mind is pulling the XML file using Ajax, then xPath to get
the bits I need.
Am I on the right path and does
2005 May 17
7
Basecamp API
Seeing as how the new Basecamp API reflects a similar use of RoR that
I have been working on I''m curious as to what we can expect to be
extracted from there in 0.13?
Was the API written as an ActionWebService or just as a set of controllers?
Any generic AR xml parsing/output methods that we may see in 0.13?
Any reason you decided to do everything with HTTP Get instead of
utilizing
2006 May 23
10
throttling...
Is there a way to throttle the firing of updater requests easily with
Prototype?
Thanks,
mark
2006 Jan 04
6
ajax in rails is a security violation
Does anybody have any issues with the AJAX code inside rails? Whenever i
use any sites i have built, or even external sites (such as basecamphq) my
internal security device blocks access to the Ajax piece with a 400 Bad
Request ( i scoured the net for other ajax examples and no isses anywhere
else). I think there is something in the AJAX code of rails that is not
implemented correctly. Has
2006 Mar 22
12
RJS page.replace(_html) problems
For some time now I try to get my code working. This Monday I switched
to RJS (first with 1.0 + plugin) and yesterday to Edge Rails, so I guess
I''ve been using the most recent version.
I have a div with id="detail" which I want to update with a partial.
If I''m using page.replace_html the content will be replaced with text,
i.e. the javascript won''t become
2006 May 22
0
Accept header
Hello,
I''d want set an Accept header different from the default one:
''text/javascript, text/html, application/xml, text/xml, */*''.
Then I set in options:
{
...
requestHeaders: [''Accept'',
''text/xml;q=1,application/xml,text/javascript,text/html''],
...
}
In this way the internal requestHeaders array in Ajax.Request will have