Hi,
Im very new to Plone, having only really scratched the surface of the product.
My client uses it, and would like an application built using it.
Can anyone give me some pointers on how to consume a SOAP service in Plone?
Any links to tutorials, articles, screencasts etc would be apprciated.
thanks
...
Here is my code:
#Make the SOAP connection
url = "https://api.channeladvisor.com/ChannelAdvisorAPI/v1/InventoryService.asmx?WSDL"
headers = {'Content-Type': 'text/xml; charset=utf-8'}
ca_client_inventory = Client(url, location="https://api.channeladvisor.com/ChannelAdvisorAPI/v1/InventoryService.asmx", headers=headers)
#Make the SOAP he...
I am trying to get the values for faultcode, faultstring, and OrderNumber from the SOAP below
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<faultcode>1234</faultcode>
<faultstring>SaveOrder:SetrsOrderMain:Cannot change OrderDate if GLPeriod is closed, new OrderDate is 3/2/201...
I have a WCF client (running on Win7) pointing to a WebSphere service.
All is good from a test harness (a little test fixture outside my web app) but when my calls to the service originate from my web project one of the calls (and only that one) is extremely slow to deserialize (it takes minutes VS seconds) and not just the first time.
...
I have a WCF 4.0 service for internal use. Another team is trying to consume it in Java.
IWAB0399E Error in generating Java from WSDL: java.io.IOException:
ERROR: Missing <soap:fault> element inFault "PasswordReuseFaultFault" ...
One source suggests it may be a Soap 1.1 vs. Soap 1.2 issue
Indeed my WCF generated WSDL
<wsdl:fault ...
i am parsing SOAP web service in which image is coming in base64 string but when i parse the node by using getnodevalue() method , result shows during debugging is unknown value. in other the same code parse the base64 string and i successfully decoded it.As i saw the image , when parsed in android and i phone it is different image than ...
Dears,
Kindly note that I’m trying to invoke a SOAP (web services) from ORACLE DB using pl\sql , after I have done some investigations it says that I have to use the UTL_HTTP package but It didn't work with me !!!
Kindly to advice me , where should I exactly place the following SOAP in pl\SQL to be invoked .... is it posible ?
SOAP ...
Sorry for such a basic question. I have a snippet in which the var_dump($result) returns
array(1) {
[0]=>
object(stdClass)#2 (10) {
["number"]=>
int(1600)
["zip"]=>
int(20502)
["suffix"]=>
string(2) "NW"
["prefix"]=>
string(0) ""
["type"]=>
string(3) "Ave"
["street"]=>
string(12) "P...
Hey,
The PHP SOAP client is constructing a soap request that uses "href" to reference other parts of the message. The web service i'm trying to consume does not like this. Is there a way to force it to construct the soap envelope without references?
Thanks in advance
...
Is it possible to send a SOAP request directly from a browser to service provider? And then parse the output in javascript to show the result?
For example, if I've a SOAP request like this :
POST /InStock HTTP/1.1
Host: www.example.org
Content-Type: application/soap+xml; charset=utf-8
Content-Length: nnn
<?xml version="1.0"?>
<soap:E...
I'm using PHP5 and NuSOAP - SOAP Toolkit for PHP.
I created the server using the code below:
<?php
function getStockQuote($symbol) {
mysql_connect('localhost','user','pass');
mysql_select_db('test');
$query = "SELECT stock_price FROM stockprices WHERE stock_symbol = '$symbol'";
$result = mysql_query($query);
$row = mysql_fetch_assoc($re...
Hi all.
Here is how to add soap header to a client request. But how to add soap:Header in a server response xml body?
Thanks !
http://stackoverflow.com/questions/354370/adding-a-soap-header-to-a-soappy-request
...
I want to imitate following request using Zend_Soap_Client.
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:clr="http://schemas.microsoft.com/so...
i am call a web service which is locate on https protocol.
and i get "failed to load external entity" error while calling it.
as i search on google it is because in PHP5, SOAP class will not parse WSDL file located on a secure HTTPS connection.
what is the solution? i don't want to use http instead of https.
...
Hi,
I have a client application that makes SOAP requests. I have set the timeout to 20 minutes. However, sometimes I see the timeout error occurring after 10 seconds.
I have the following in code:
RIO.HTTPWebNode.ReceiveTimeout := 1200000
Do I need to set the ConnectTimeout and SendTimeOut? Currently they are set to the default value...
I got this from a Soap client request:
Exception: SoapFault exception:
[soap:Client] Server was unable to
read request. ---> There is an error
in XML document (2, 273). ---> The
string '2010-5-24' is not a valid
AllXsd value. in /path/filinet.php:21
Stack trace: #0 [internal function]:
SoapClient->__call('SubIdDetailsBy...
I originally posted a question about why did the elements of my webservice return not want to deserialize. I found that the WSDL.exe interpretation of my message was not working correctly. Here's what I changed:
[return: XmlElement( "RequestResult" )]
public errorObject[] InitiateRequest(string[] params, string responseURL, stri...
What happens in my service method if I use a WebOperationContext, when the endpoint is not REST?
Justification: I have a service that I'm exposing as both REST and SOAP.
...
I'm trying to consume a webservice that ONLY runs on HTTPS but using the "add service" method in VS or using the WSDL to generate a code file leaves me with a web service that states its http...
<wsdl:service name="OGServ">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">XML Web Services element of OGServ Gat...
Hi,
I'm writing a client that calls a number of WCF webservices (written externallyt to my company) that are very similar in structure. The design I was hoping to use is to manually build the SOAP message from XML chunks that are stored in a database and then processed through a generic web service handler class. I have access to the WS...