I'm connecting to a remote web service which I'd prefer to call with ajax and the service (FedEx Services API) doesn't appear to support JSON formatted responses.
Is there a proxy server/apache that will convert the response from XML/SOAP into JSON so my Javascript can easily use it?
...
I'm working in a iPhone app that needs to send a array as a parameter using SOAP.
this is the current request and connection:
NSString *soapMessage = [NSString stringWithFormat:
@"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"
"<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/20...
This request is generated when web service is called. Can you tell me what the namespace will be? I am confused
<?xml version="1.0" encoding="UTF-8"?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Header/>
<S:Body>
<ns2:getNews xmlns:ns2="http://src/">
<ticker>NASDAQ:INFY</ticker>
...
I'm Looking for Web Service develop(by delphi) tutorials, including the development of services and clients. Thanks!
...
Hi
I've been testing nuSoap with codeIgniter (PHP Framework) but seems nuSoap isn't prepared to work with latest php 5.3, even if I download a patched nusoap version for php 5.3
I have the following code:
require_once(APPPATH.'libraries/NuSOAP/lib/nusoap'.EXT); //includes nusoap
$n_params = array('CityName' => 'San Juan', 'CountryName'...
Hello I want to know how to send this array of complex data to a SOAP server (that uses .NET / IIS).
<xs:complexType name="SampleStruct">
<xs:sequence>
<xs:element name="title" type="xs:string"/>
<xs:element name="description" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<x...
Let's say I have a text file of basic mathematical functions.
I want to make a web service that answers these mathematical functions. Say the first one is y=x*x. If I wanted to turn this into a web service, I could simply do this:
[WebMethod]
public int A(int x)
{
return x*x;
}
However, I've extracted the function from the list b...
Consider a Web Service (e.g. SOAP-based) that has an operation which accepts a bulk of data from the client. From the server's point of view it is receiving data, but from the client's point of view it's sending data. How should that operation be named? The options are
ImportData
ExportData / SendData
Is there a de facto standard for...
Is there a way to modify the header (say to insert a security / authentication element) for Service References that are generated by Visual Studio 2008? How would you do it?
...
Hi
I want to integrate with webservice writes in php (PEAR SOAP).
Wsdl file is without types definition.
When i was connect to webservice i getting a null response.
In WebServiceStudio i see xmlrequest and xmlresponse, my I get xmlresponse in c# default soap or other soap.
I know what is causing the null response. PEAR SOAP returnx ...
Hi. So I am in need to learn how to use soapUI pretty quick. I'm finding it pretty tedious to start so I was hoping I might be able to get some help here. Here's what I need to do.
Lets say we have Company A and Company B which is a subset of Company B. Now Company A offers a webservice accessible by Company B such that Company B can ga...
Hi,
I’m just learning Magento and its Web Services API for a new job. I’ve just managed to build some basic PHP scripts fetching products in specific categories. I now need to fetch the best-selling products, but am struggling to find good documentation on this. Any help, pointers, sample code or anything else really would be much appre...
Hi guys. Something very strange.
WSDL file generates fine. Here is source simple class
class SoapTest
{
/**
* Prapapapapapapap
* @return string Bls bls
*/
public function getList()
{
return "code";
}
}
Code for WSDL, Server, Client
if (isset($_REQUEST['wsdl'])) {
$ad = new Zend_S...
Consider the requirement to log incoming SOAP requests to an ASP.NET ASMX web service. The task is to capture the raw XML being sent to the web service.
The incoming message needs to be logged for debug inspection. The application already has its own logging library in use, so the ideal usage would be something like this:
//string or ...
I seem to be having an issue with Jax-WS and Jax-b playing nicely together. I need to consume a web-service, which has a predefined WSDL. When executing the generated client I am receiving the following error:
javax.xml.ws.WebServiceException: javax.xml.bind.MarshalException - with linked exception:
[com.sun.istack.SAXException2: u...
Hi
I want to handle xmlresponse from standard c# soap (or other c# soap) and replace within some argument, because PEAR PHP Soap was incorrected sending WSDL file (wsld without typed definitions).
How i can do this??
...
Hello,
Is there a way to modify the HTTP response code when using apache axis 1.4 for java?
This would be useful for testing purposes, for example simulating server side errors.
I've already tried the following:
Set the HTTP code directly in the http servlet Request:
MessageContext context = MessageContext.getCurrentContext();
...
Hello,
I have used JMS in the past to build application and it works great. Now I work with Architects that would love to use the Spec : SOAP over Java Message Service 1.0.
This spec seams overly complicated.
I do not see many implementation (Beside the vendors pushing for the spec).
Does anyone here is using this specification in a p...
Hi all,
We're currently looking into doing some performance tweaking on a website which relies heavily on a Soap webservice. But ... our servers are located in Belgium and the webservice we connect to is locate in San Francisco so it's a long distance connection to say the least.
Our website is PHP powered, using PHP's built in SoapCli...
I am writting a silverlight application in which I want to call the php webservice written using NuSOAP. here is the WSDL of webservice
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/20...