search for: faultcod

Displaying 9 results from an estimated 9 matches for "faultcod".

Did you mean: faultcode
2005 Mar 08
2
ActionWebService SOAP Faults aren''t schema valid
...DataPower''s XS40 XML Security Gateways. One of the intrinsic functions of this gateway is automatic SOAP schema validation. When testing some failure cases, I noticed that SOAP Faults returned by ActionWebService aren''t schema valid to the SOAP 1.1 schema, specifically: > <faultcode xsi:type="xsd:string">Server</faultcode> SOAP 1.1 section 4.4 says that env:Fault/faultcode "MUST be a qualified name" and gives some recommended values (i.e xsd:QName). I''d like to fix these issues but I''m new to Rails, although I''ve been f...
2011 Feb 13
1
RCytoscape setPosition error
...All = union(nodesFr, nodesTo) nElemFr = length(nodesFr) nElemTo = length(nodesTo) g <- graph::addNode(nodesAll, g) setPosition(cw, nodesFr , c(400, 400, 400), c(100, 200, 300)) setPosition(cw, nodesTo , c(600, 600, 600), c(100, 200, 300)) Error in convertToR(xmlParse(node, asText = TRUE)) : faultCode: 0 faultString: Failed to invoke method setNodesPositions in class tudelft.CytoscapeRPC.CytoscapeRPCCallHandler: null setPosition(cw, nodesTo , c(600, 600, 600), c(100, 200, 300)) Error in convertToR(xmlParse(node, asText = TRUE)) : faultCode: 1001 faultString: Node with id: D could not be foun...
2006 Jan 04
5
Webservice External XMLRPC
..."10.0.0.132", "/api/directspool", 3003) begin param = server.call(''add'',:html=>''sadfdsaf'',:from=>''dsafdsaf'') puts "4 + 5 = #{param}" rescue XMLRPC::FaultException => e puts "Error:" puts e.faultCode puts e.faultString end I get the following error : no such method ''add'' on API DirectSpoolAPI The rails loggins says : Processing ApiController#directspool (for 10.0.0.1 at 2006-01-04 22:04:03) [POST] Parameters: {"methodName"=>"add", "action&q...
2007 Sep 21
2
ActionWebServer and SOAPFault
...:expects => [{:customer_id => :int}], :returns => [Customer] And controller: def find_customer_by_id(customer_id) Customer.find(customer_id) end The requirement from the vendor is that if such customer does not exist I have to send back to client SOAPFault message with faultcode = "error", faultstring = "no such customer" and such detail: <error> <param id="errorCode" label="Error code">incorrect_request</param> <param id="errorDescr" label="Error description">Custome with such customer_id...
2008 Sep 16
2
xm, no such domain error code...
Right now xm will return 1 if you run `xm list non_existant_domain` Wouldnt it be a better idea to have a specific error code for this error so that scripts wrapping around xm can better determine if the domain does not exist or if xm just failed for whatever reason? ~Shaun _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com
2008 Sep 17
2
[Xen-ia64-devel] [PATCH] xm: Don''t spawn vncviewer twice.
..._access_control(vals) preprocess_cpuid(vals, ''cpuid'') @@ -1193,23 +1160,10 @@ try: dominfo = server.xend.domain.create(config) except xmlrpclib.Fault, ex: - import signal - if vncpid: - os.kill(vncpid, signal.SIGKILL) if ex.faultCode == xen.xend.XendClient.ERROR_INVALID_DOMAIN: err("the domain ''%s'' does not exist." % ex.faultString) else: err("%s" % ex.faultString) - except Exception, ex: - # main.py has good error messages that let the user kno...
2006 Aug 16
7
ActionWebService: XMLRPC Server Multicall possible?
Hi all, I have a question concerning ActionWebService XMLRPC servers: Is it possible to send multicall requests to the Web service? I tried to use multicall and get the error message: no such method ''system.multicall'' on API [MyAPI] In Changeset 2021 there is the following commit message: add ''system.multicall'' support to XML-RPC. boxcarred methods must
2006 Feb 18
0
activerecord connections with xmlrpc
...------------------ require ''xmlrpc/client'' client = XMLRPC::Client.new("localhost","/RPC2",8080) begin param = client.call("get_username",123) puts "Hello #{param}" rescue XMLRPC::FaultException => e puts "Error:" puts e.faultCode puts "faultString = [#{e.faultString}]" end ------------------------------------------------------ "PragDave" had a recent blog on a related note: http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Tech/Ruby/Connections.rdoc but again being a newbie to ruby/rails, my gymnastics...
2006 Mar 23
0
Re: [Xen-changelog] Improve error handling, in particular fixing the ProtocolError that is thrown
...gt; > # getopt.gnu_getopt is better, but only exists in Python 2.3+. Use > @@ -1111,7 +1111,10 @@ > except SystemExit: > sys.exit(1) > except xmlrpclib.Fault, ex: > - print "Error: %s" % ex.faultString > + if ex.faultCode == xen.xend.XendClient.ERROR_INVALID_DOMAIN: > + print "Error: the domain ''%s'' does not exist." % ex.faultString > + else: > + print "Error: %s" % ex.faultString > sys.exit(1) > exce...