I received some code from a client containg a wsdl.exe generated SoapHttpClientProtocol sub-class for us to access. I altered the code as follows:
public WebService(string url, bool useDefaultCredentials)
{
this.Url = url;
this.UseDefaultCredentials = useDefaultCredentials;
}
The client changed the URL for the web-service so we ...
I'm trying to communicate with a soap service and I know that I should send a SOAP Envelope like this:
POST /webpay_test/SveaWebPay.asmx HTTP/1.1
Host: webservices.sveaekonomi.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://webservices.sveaekonomi.se/webpay/CreateOrder"
<?xml version="1.0" encoding...
Well this is an old issue I've been dealing with and still no solution, so trying a new approach.
How can I send th SOAP response early (Before script execution ends)?
These issues are cause when the ACK file is not sent before 30 seconds as the process takes longer to complete then the allotted time.
flush() not working, get this err...
Hi, currently making a SOAP request using Java's SOAPConnectionFactory and SOAPConnection's .call() method, which returns a SOAPMessage object, and I would like to apply an XPath query to it. Is this at all possible, or am I going about it completely wrong?
As far as I can work out, I'd have to somehow convert SOAPMessage to an InputSo...
ok, I started a bounty (and may up the points). Please read the question. It's not so much the coding as the configuration, and I have not yet found anywhere that explains that.
I have read a bunch of tutorials, believe that I grok SOAP conceptually but am still having problems getting it to run.
I think that I am ok with the coding,...
I have a Zend_Soap_Client object, and I'm trying to call a method on it:
$soapClient = new Zend_SoapClient('my_wsdl');
$params = array(
'Login' => 'username',
'Message' => 'hello'
);
$soapClient->GetSoapRequest($params);
echo $soapClient->getLastRequest();
I would expect to see:
<?xml version="1.0" encoding="UTF-8"?>
<env:...
I created a simple .NET WebService (it just passes back a string). How do I modify the server side (and possibly the client side) so that it also uses a username/password to validate before sending a response?
Client Code:
static void Main(string[] args)
{
UpdateClient client = new UpdateClient("UpdateSOAPIIS");
client.ClientC...
We are building a proprietary system involving a client and a server linked over TCP/IP. Occasionally, the server will have some new expected or unexpected information that would be of interest to the client. My understanding is that SOAP and REST are query/response systems that require the client to request something and the server re...
Hi, I'm trying to write a client application in Perl using SOAP::Lite. I am trying to call a specific function, but I cannot seem to get the parameters right. I keep getting a response back saying "Found more elements in the soap envelope than required by the WSDL", but no more information beyond that.
Is there any way in SOAP::Lite to...
Hi I have a service-proxy with one method:
void SendRequest(MyMessage msg);
The MyMessage is defined as follows:
[MessageContract(IsWrapped=false)]
public class MyMessage{
[MessageBodyMember(Order=0)]
public XmlElement Body;
public MyMessage(XmlElement Body){
this.Body = Body;
}
}
Now, the problem is that w...
Hello, I'm trying to assert SOAP response by using Xpath to select particular nodes, here is my XML response
<return>
<contactList>
<contacts>
<person>
<contactId>3426</contactId>
<personName>
<names>
<firstNa...
Can some one provide a very specific and to the point answer for this question ?
...
Hi,
I'm using a webservice that in my request includes a ¥ symbol (chr 0165). I have set the encoding on my soap client to:
$soap = new MySoapClient('address.wsdl',
array('trace' => 1, 'encoding'=>'ISO-8859-1'));
But when I look at my outgoing soap package the "¥" is changed to "Â¥"
I'm not good at encoding but I've tried a number...
I need to get 1000's of XML files stored in a sql server database through a .Net web service for a call from iPhone? Please suggest a better way to handle it in .net web service?
...
I'm trying to integrate with the Articulate Online SOAP API (https://www.articulate-online.com/Services/Api/1.0/Documentation/TOC.aspx) on a PHP4 server using the NuSOAP (http://sourceforge.net/projects/nusoap/) client.
I've done NuSOAP integrations in the past without much effort, but this one seems to be more troublesome due to the co...
which protocol would be the best choice for the communication between server and mobile client app??
RESTful? SOAP? XML-RPC? or something else like Native TCP?
mobile clients include iphone, android.
...
I am building a web service to pass back a list of (artist) objects. Inside of the artist object there is a list of (album) objects. Inside the Album object there is a list of songs.
SO basically I am building a big parent child tree of music.
My question is, how to I pass this using SOAP?
What is the best method to use.
Right no...
Why and when to use RESTful services?
I know how to create a WCF webservice. But I am not able to comprehend when to use a SOAP based service and when to use a RESTful service. I read many articles on SOAP vs REST, but still, I don't have a clear picture of why and when to use RESTful services.
What are some concrete points in order to...
Hi trying to generate a security header in a Java Axis2 Client program in the format of.
<soapenv:Header>
<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext>
<wsse:UsernameToken>
<wsse:Username>myUsername</wsse:Username>
<wsse:Password>myPassword</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
...
I'm working with a .NET based Web Service where some of the API calls can be accessed via HTTP POST/GET but on others only SOAP 1.1/1.2 are available.
The company that has developed the API have come back to me have said the following and I was wondering if he's trying to pull the wool over my eyes or whether he's speaking the truth. H...