I'm using a web service where the WSDL describes a single string element in each request and response.
<s:element name="SERVICE">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="SERVICERequest" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
Embedded in that string are a numb...
I'm writing UI to test an asmx web service. Server and client are .NET. Client proxy has been generated using wsdl.exe.
I would like to intercept and store a string representation of outgoing and incoming SOAP messages generated as a result of calling methods on the web proxy, so I can add a feature to the UI which will show the message...
I have tried to implement progress reporting using a soap extension as described at the following links:
stackoverflow
codeproject
However, my "ProgressUpdate" method is not being called, and I believe that is because I haven't got an app.config file in my Windows Mobile project to tell the web service calls to be processed by the SOAP...
Since this question tells me that SoapHttpClientProtocol is not thread safe. And, my real life testing tells me this is true, as my SoapHeader properties keep getting mixed up between calls. Is there a way to make sure that I can use this across threads and keep my properties correct? And make sure I don't run into the example given in t...
I built a Delphi-7 Windows Application which uses some web services. The application is built in such a way that it does not require run-time DLLs. When I deployed it on a Windows 2003 server it fails while calling the web service. It results in error "Access violation at address 00c05269. Write of address 00c05269". I believe the reason...
I am using PHP 5.2.10 and I am trying to consume a webservice which returns complex data types using the standard SOAP extension.
The problem is that SoapClient does not populate objects which are nested into other objects / array of objects. A simplified example of what I get when I call the getUtente method, specifying "my_unique_id" ...
Hi!
I'm trying to figure out how to structure data properly in PHP in order to make a SOAP XML request like this:
<typ:saveRequest locationName="example.com">
<typ:datatype owner="ME" class="OPEN">
<typ:order>1</typ:order>
<typ:datavalue>[email protected]</typ:datavalue>
</typ:datatype>
</typ:saveRequest>
Th...
I'm trying to modify the soapenv:Header to include addressing in my soap request
my $header=SOAP::Header->name("Header")->prefix("soap")->uri("http://www.w3.org/2005/08/addressing");
When I send the request:
print $soap->call($header, $security->value(\$userToken, $action, $message))->result;
I receive the following...
<"soap:Hea...
Hi i am trying to make a phpSoap Client request to server that expects message to be in below format. I have tried may options got it to work to some extent when there is one name spaced Datum
sat_system
10029
[email protected]
987asdfghbv5633
2009-11-22T11:04:30.000Z
sat_system
...
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...
I am new with Perl. I'm following a bioinformatics webapi and I'm attempting to simply display the value stored in $result. My print "$result\n"; command doesn't appear to be functioning. What are some possibilities as to what is going on here?
# #!/usr/local/bin/perl
use strict;
# 1. include SOAP Lite
use SOAP::Lite;
# 2. specifies...
I've spent the last week developing code to connect to a Web Service using the nuSoap library. I just deployed the code to production, but immediately started getting error's that I hadn't seen before. I traced the problem back to a line of code that is trying to instantiate a new soapclient object. It turns out that both libraries have ...
I am having difficulty with the PHP SoapClient() function. The SOAP request is successful, but the response is returned as an object containing a single XML string with the key "any". For example:
<?php
$params = array('strUsername' => 'Test',
'strPassword' => 'Test');
$client=new SoapClient('http://www.example.com/webs...
I've tried using gSOAP for accessing a web service (e.g. using supplied WSDL to generate C stubs and then using them in an app). However, I've found that the generated .c and object files is quite big (several megabytes), which is a problem in embedded environment where I work.
Do you know of any simpler SOAP libraries, or do I have to ...
Hi,
I am having a problem getting a custom soap header to work with PHP5. Can anybody guide me please.
What I require is something like this
<SOAP-ENV:Header>
<USER>myusername</USER>
<PASSWORD>mypassword</PASSWORD>
</SOAP-ENV:Header>
What I get is :
<SOAP-ENV:Header>
<ns2:null>
<USER>myusername</USER>
<PASSWORD>myp...
Hi all , I urgently need your help .
I am new to consuming a web service using SOAP protocol. I have been given a demo webservice URL which ends in .WSDL and NOT .asml?WSDL. The problem is I cannot add a web reference using Visual studio OR Disco.exe or Wsdl.exe - This webservice has been created on a java platform and for security reas...
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...
Hello I'm having problems sending arrays, structs and arrays of structs from PHP to an ASP.NET SOAP server...
Anyone have a sollution for this? I've googled for days and any sollution worked for me. Perphaps I'm forgetting something...
There are examples of my code:
$client = new SoapClient($options);
$pCriteria = new stdClass();
$pC...
My Company registered in certain services on the Web and are relying on the company's IP to use these services, Director asked me to allow some staff to enter these sites from outside the company, after authorized staff enter to comany's site.
How could they use the company's IP to allow them to browse services sites?
Do I need to use...
I have this situation....
Client-initiated SOAP 1.1 communication between one server and let's say, tens of thousands of clients. Clients are external, coming in through our firewall, authenticated by certificate, https, etc.. They can be anywhere, and usually have their own firewalls, NAT routers, etc... They're truely external, not ju...