Hi
I'm currently using Zend_Soap_AutoDiscover to generate my WSDL file, the problem is I want this wsdl to handle output of type ArrayOfString ( string[] ). so I changed the complex type strategy to Zend_Soap_Wsdl_Strategy_ArrayOfTypeSequence, it works properly but the problem is that the output isn't really an array of string the outpu...
I have to consume to a third-party web service using SOAP. It was easy to get it to work with WCF, but now I have a problem with SOAP faults. The service sends me an incorrect SOAP fault:
<?xml version="1.0" encoding="utf-8" ?>
<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV...
I have a Web Service method developed using .NET 3.5 (VS2008) which expects a few strings (username, password, subject, file type) and a binary document coded in Base64.
I enabled both SOAP and HTTP POST. While SOAP works perfectly, it is not possible to send HTTP POST requests. The server responses with "Server was unable to process re...
I've got a Flash UI that does a periodic server call to get some updated information. The call uses the flex sdk's rpc.soap.Operation class. It looks something like this:
var wsOperation:Operation = Operation(webService.getOperation(SomeOperation));
wsOperation.addEventListener("fault", wsError);
wsOperation.addEventListe...
Is there a way to access the Socket object using Axis? Specifically, I need to call the method setTcpNoDelay, in order to disable the Nagle algorithm. This is a requirement in the Service Level Agreement from the Web Service provider.
I cannot find a way to do it in the Axis docs, wiki or otherwise. I am using Axis 1.4, but can switch t...
So I have a SoapServer class that handles whatever functions is requested of it from the client. Within one of those functions I need to call a 3rd party soap service, so I set about getting what I need as a SoapClient and returning the result back to my SoapServer. Here's a copy of the stack trace:
ReadCategories Respsonse:SoapFault ex...
I'm very new to WSDL, but what I'm trying to do is very simple. I have gotten a web service working with python's ZSI library, but am stuck defining a service which returns an array of a custom type.
In my WSDL I have the following:
<xsd:element name="ArtPiece">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="tit...
I'm trying to access a SOAP service i don't control. One of the actions is called ProcessMessage. I follow example and generate a SOAP request, but I get an error back saying that the action doesn't exist. I traced the problem to the way the body of the envelope is generated.
<env:Envelope ... ">
<env:Header>
<wsse:Security...
Hello,
Im trying to call a Java web service created using Axis from PHP code.The webservice is hosted on my LAN. I am able to call the web service successfully using SoapUI. I have the PHP Soap Extension installed.
However,im not sure whether my PHP code is correct. Below is my PHP code.
<?php
$client = new SoapClient('http://machinen...
Howdy, CFers! We've got an incredibly frustrating situation with a CF Web Services-based API that we wrote and maintain. We had an API in place for years that was stable and working happily with Ruby, PHP, and ColdFusion clients. Then this year a .NET client came along, and we found that our web service was not interoperable with statica...
Hi,
I have a store based on osCommerce. I am using two modules to add few functionality to the store. one uses PEAR::SOAP library and another uses NuSOAP library.
Now that merchants want to use together. the issue here is both libraries implement the same functionality with the same class name , methods and objects etc.
what is the ri...
Hello,
I'm having trouble understanding how to pass user-defined types in PHP SOAP calls. Could someone give me a hint (or a link to a manual) please?
Example:
In my WSDL file, I define the type:
<types>
<schema targetNamespace="http://example.com/CustData"
xmlns="http://www.w3.org/2000/10/XMLSchema">
<element name="perso...
I have a client application that needs to access a 3rd party SOAP server. The difficultly is that there are additionally these two requirements:
a) Requests can be scheduled so they may need to be delayed before being sent to the SOAP server for X seconds
b) Requests need to be modified to add authentication headers
So the solution r...
I'm out to create a fairly simple web service for intranet use. The service will ultimately be the interface to a DB that will allow me to keep track of what the various internal tools within the company are doing. I'm thinking I want a web service so that various tools (and thus different languages) within the organization can easily ...
My web service is receiving xml from a third party that looks like this:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<Foo>bar</Foo>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
My jaxws web service rejects this with a parsing error. Also if I try to validate this xml u...
I have a web service using Axis2 (1.4.1) with Rampart for the security.
When authentication fails, Axis2 will throw an exception internally and respond with http status 200.
Is there a way to configure Axis2 or Rampart to responds properly with a 401 (Unauthorized)?
Maybe somebody can give a hint what/where to look for? I looked throu...
I'm trying to use SOAP headers to allow for SQL Authentication while accessing a webservice published on my SQL 2005 box via HTTP Endpoint. On the endpoint, I've set Authentication = (Basic), Ports = (SSL), and LOGIN_TYPE = MIXED. I'm able to generate the WSDL and consume it just fine in VS utilizing domain credentials. However, when ...
Hello,
I am trying to create a standalone client to consume some web services. I must add my username and password to the SOAP Header. I tried adding the credentials as follows:
OTSWebSvcsService service = new OTSWebSvcsService();
OTSWebSvcs port = service.getOTSWebSvcs();
BindingProvider prov = (BindingProvider)port;
prov.getRequest...
I'm trying to consume a SOAP web service WSDL in ASP.Net(C#)
from https://secure.ultracart.com/axis/services/AffiliateServiceV1?wsdl
so in Visual Studio 2008 in Asp.Net I right-click and "Add Web Reference..." and I feed it my WSDL url and it seams to add it ok to the project, and the classes show up in IntelliSense fine, so I write the...
So I'm writing a Ruby client for a SOAP web service, and I've figured out how to call a simple method:
# WebServiceClient.rb
require 'soap/wsdlDriver'
wsdl_url = 'http://urlmadness?wsdl'
service = SOAP::WSDLDriverFactory.new(wsdl_url).create_rpc_driver
result = service.simpleMethod(:sayHello => 'Hello')
p result.return
Now I need t...