[SOAP] PHP Web Service:Uncaught SoapFault exception
hi everyone!
When i run web services applications i take always this message:
Fatal error: Uncaught SoapFault exception: [Client] looks like we got no XML
document in C:\Program Files\Apache
Group\Apache2\htdocs\WebServices\SOAP_EXTENSION\StockQuote\client3.php:3
Stack trace: #0 [internal function]: SoapClient->__call('getQuote', Array)
#1 C:\Program Files\Apache
Group\Apache2\htdocs\WebServices\SOAP_EXTENSION\StockQuote\client3.php(3):
SoapClient->getQuote('ibm') #2 {main} thrown in C:\Program Files\Apache
Group\Apache2\htdocs\WebServices\SOAP_EXTENSION\StockQuote\client3.php o
|
1/3/2010 4:49:26 PM
|
1
|
pdimi...@yahoo.com (DimG)
|
[SOAP] migrate SOAP function from PHP4 to PHP5
Hi,
I have some difficulties to migrate some PHP4 soap function to PHP5 soap
functions. I have 2 differents files, one PHP4 soap server file which
contain the server function above and one PHP4 client soap file which
contain the client function above. See txt files
The problems i met, are that it's difficult enough to migrate these PHP4
functions into PHP5 soap. I know how instanciations are modified, ex new
soapclient -> new SoapClient and new soapserver -> new SoapServer. But there
is a lot of PHP4 functions which seem to not exist in PHP5 requirements; ex
: $client->respons
|
11/30/2009 5:23:06 PM
|
1
|
clichost...@gmail.com (mindof)
|
[SOAP] SOAP_SINGLE_ELEMENT_ARRAYS doesn't work
Hi!
I am kind-a new to this whole SOAP world, but my boss wants a SOAP (WSDL)
webservice, so I am going to learn it.
I have a problem tho, my SOAPServer returns an array of ComplexType's. So
far so good. It even works!
One problem, PHP returns a object in stead of the array when there is only
one element in the array.
I searched on Google and found the following bug:
http://bugs.php.net/bug.php?id=36226
That's exactly my problem! So I tried that feature
SOAP_SINGLE_ELEMENT_ARRAYS, didn't work.
I searched again; found: http://bugs.php.net/bug.php?id=47492
No news on that pag
|
11/27/2009 10:12:34 AM
|
0
|
n...@signet.nl (nsteen)
|
[SOAP] function to parse XML into an array
Hi All,
this simple function parses XML data given in $S string
into $M array.
Any repetitive tags are indexed and accessible using M['tag'][1..n]
hope this makes your life easier ;)
Pawe�
function ParseXML(&$M,$S) {
while(1) {
$a=strpos($S,"<");
if($a===false) { if(!is_array($M)) $M=$S; return; }
$b=strpos($S,">",$a);
$tag=substr($S,$a+1,$b-$a-1);
if($tag[0]=='?') { $S=substr($S,$b+1); continue; } //ignoring meta tags
$c=strpos($S,"</$tag>",$b);
$T=substr($S,$b+1,$c-$b-1);
$S=substr($S,$c+3+strlen($tag));
if(isset($M[$tag])) {
|
11/26/2009 1:11:15 PM
|
0
|
bkr...@proton.eu.org (=?ISO-8859-2?Q?Pawe=B3_Krupa?=)
|
size limit for message sub-nodes?
Hello,
I have defined a SOAP message for submitting mixed data, including a =
base64 encoded image. Everything works fine when the images I send are =
small (640x480). However when my images grow too large (1024x768), the =
image data coming out of the SOAP request appears to be truncated. For =
example, instead of being 169,048 bytes, it is 166,448 bytes.
What I'm doing is re-encoding the image data that SoapServer has decoded =
for me for the purpose of storing it in a text field in a mysql table. =
So it may be that SoapServer is truncating the data. Or (less likely?) =
|
11/25/2009 6:35:51 AM
|
2
|
selimna...@gmail.com (Brian Miles)
|
HTML Form Generation From WSDL
--00032555b33697cb440478b6f851
Content-Type: text/plain; charset=ISO-8859-1
Hi all!
I would like to parse a WSDL file and automatically create the corresponding
html form in order to call the web service. What is the best method?
Should i use __getTypes and __getFunctions in order to get functions and
types and then construct the form?
Thank you in advance.
--00032555b33697cb440478b6f851--
|
11/19/2009 10:39:16 AM
|
0
|
mulde...@gmail.com (mulder)
|
[SOAP] PHP SOAP - Timeout from the target service
Hello,
I am new to SOAP and working on a project to retrieve documents using a wsdl
but getting a timeout from the server.
I am using WAMP 2 PHP SOAP Client.
Here is my code for retrieving the documents:
$client = new
SoapClient("http://test:9650/XDSbReg/services/DocumentRegistry_Service?wsdl",array(
'trace' => 1,
'exceptions' => 0,
'soap_version' => 'SOAP_1_2',
'style' => 'SOAP_RPC|SOAP_DOCUMENT',
'use' => 'SOAP_ENCODED|SOAP_LITERAL',
|
11/2/2009 5:13:10 PM
|
0
|
james.kaba...@ge.com (jimmyk)
|
Changing version from PHP4 to PHP5
--------------060404000102060501070105
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Hi everybody,
We have some code written for PHP4 using the SOAP libraries for connect
as a CLIENT to a web service. The web service SERVER is not ours, we
don�t know how it is programed. The code is:
require_once('lib/nusoap.php'); // where we are publishing the SOAP
libraries
function checkUser($user, $pass)
{
$client = new
soapclient("http://80.32.91.149:25000/servicioXYZ.asmx?WSDL", "wsdl");
$params = array(
|
10/31/2009 2:37:42 PM
|
0
|
l...@grupo-int.com ("I.N.T. - Luis")
|
Changing version from PHP4 to PHP5
--------------060702060309080507040306
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Hi everybody,
We have some code written for PHP4 using the SOAP libraries for connect
as a CLIENT to a web service. The web service SERVER is not ours, we
don�t know how it is programed. The code is:
require_once('lib/nusoap.php'); // where we are publishing the SOAP
libraries
function checkUser($user, $pass)
{
$client = new
soapclient("http://80.32.91.149:25000/servicioXYZ.asmx?WSDL", "wsdl");
$params = array(
|
10/31/2009 2:32:38 PM
|
0
|
l...@grupo-int.com ("I.N.T. - Luis")
|
Supporting WSDL V2.0
Hi.
According to the current documentation, the SOAP extension for PHP
only supports WSDL 1.1.
Are there any plans to support WSDL 2.0
What do you all mainly work with?
I'm starting out to provide web services using a web service helper
(http://www.jool.nl/jool-tech-zone/webservice-helper/) which is
generating a WSDL 1.1 file.
Any info would be appreciated.
Regards,
Richard.
--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND
|
10/23/2009 3:06:18 PM
|
0
|
rquadl...@googlemail.com (Richard Quadling)
|
[SOAP] Error: no data present after HTTP headers
I got a soapclient that most of the time doesn't give a response or it
returns Error: HTTP Error: no data present after HTTP headers or it returns
the right tekst.
I am testing this as a prove of concept so it on my localhost.
Does $client->Call('HelloWorld',array()); wait for an answer and than start
the rest of the script or not and if not how can I change that?
here is my code
<?php
// no direct access
echo '<div class="componentheading">HW Titel
</div>';
print rand(1,100) . "<br>" ;
require_once("nusoap.php");
$client = new
nusoap_client('http://localhost/ServiceDJ
|
10/22/2009 8:28:04 AM
|
0
|
ajrij...@hotmail.com (AJR65)
|
[SOAP] SOAP message structure passing between SOAP client/server
Hello,
I am trying to write a SOAP client / server app & cannot get the SOAP
message structures passed back and forth between the client & servers:
Attached are the WSDL, XSDs, XML example, & PHP that is causing me so much
grieve.
Has anyone any ideal what I am doing wrong?
I've not attached some of the schemas and skeleton php files.
This is Mac osX, PHP 5.3 with SOAP extension & apache 2.2.x.
Thanks.
http://www.nabble.com/file/p25950961/AmazonServices.wsdl AmazonServices.wsdl
http://www.nabble.com/file/p25950961/AmazonServicesClient.php
AmazonServicesClient.php
|
10/18/2009 10:05:15 PM
|
0
|
jagro...@me.com (noddle)
|
Get values from wsdl:types
I need to read the values from <wsdl:types>, but I don't find how to
do this using SOAPClient.
I have an WSDL with this types:
<wsdl:types>
<xsd:schema targetNamespace="http://soap.domain.com/v2"
xmlns="http://www.w3.org/2001/XMLSchema">
<simpleType name="Language">
<restriction base="string">
<enumeration value="EN"/>
<enumeration value="DE"/>
<enumeration value="ES"/>
<enumeration value="FR"/>
<enumeration value="GR"/>
<enumeration value="IT"/>
|
10/14/2009 9:24:41 AM
|
0
|
npi...@gmail.com (Marco)
|
consuming WCF with php5.2.6
I'm having trouble finding the magic combination to consume a WCF
service, can anyone advise on where I'm wrong?
I've got a test script as follows, (it's locked down to my IP so i
dont think you;'ll be able to test it, but i've included the wsdl
location for completeness)
any help really appreciated.
D
<?php
try{
$client = new
SoapClient("http://services.ciphe.org.uk/FindPlumber/FindPlumberService.svc?wsdl");
# get a list of the available methods
print "Functions:\n";
var_dump($client->__getFunctions());
/* this outputs
Functions:
array(1) {
[
|
9/28/2009 10:10:29 PM
|
0
|
h...@derekalmond.com (Derek Almond)
|
soapclient using https randomly closes connection
I am using php 5.2.9 (solaris) and have access to a .NET webservice that I
have to access using https.
In most cases, accessing it works just fine, but every now and again,
SoapClient closes the connection before actually having transfered the
request, erroring with "could not connect to host ...".
I have captured the actual communication using snoop and examined the
result
in wireshark and I see that the tcp connection to the webservice is
established correct, but before the request is transmitted, SoapClient
closes the tcp-connection which is acknowledged by the webservice whic
|
9/9/2009 2:19:29 PM
|
0
|
...@hst.aau.dk (Bernhard Ege)
|
[SOAP] Paypal soap api integration
I am tried to use paypal DoDirectPayment soap api but in the code download
from the paypal site is using
$profile = & new APIProfile($pid, $handler); I am using php5 so I get an
error like this
Strict Standards: Assigning the return value of new by reference is
deprecated in
/home/feathers/public_html/projects/nissan/application/modules/default/controllers/TestpayController.php
on line 53
I tried to repalces the & singn but in sdk file papay uses this formula how
can I solve it
Please help me
By: Tobbin
--
View this message in context: http://www.nabble.com/Paypal-soap-ap
|
8/29/2009 6:34:38 AM
|
0
|
tobbinthekked...@gmail.com (Tobin)
|
[SOAP] SOAP SSL Context : Could not connect to host
Hi,
I have a problem when I try to perform my soap call over HTTPS, but without
client certificate authentication (local_cert).
The Server application does not manage private key, just a public
self-signed certificate.
So I just have the public certificate from the server application which is
encoded in PEM format.
I have tried to modify the SSL context without success.
Note: $cafile in the commented line refers to the public certificate file
that i recover from the WebServer with my Firefox navigator.
Is it a bug?
Can phpsoap work with only a server certificate?
Than
|
8/17/2009 2:33:21 PM
|
0
|
michael.lebre...@orange-ftgroup.com (Mickael L)
|
[SOAP] SoapClient/WSDL Port Problem
Hello All,
I am trying to use PHP5 SoapClient to integrate a web-service that is
running on a specific port.
http://crash:8090/FlightHazardsService?wsdl
The wsdl contains several xs:include/import statements, an example is shown
below.
<xs:include
schemaLocation="http://crash:8090/FlightHazardsService?xsd=../schemas/flightHazardsService/request_flight_hazards.xsd"/>
Whenever I try to create a SoapClient, I get the following error. I see
that the port (8090) is not included in the url below and assume that it why
things are not working.
[WSDL] SOAP-ERROR: Parsing Sc
|
8/13/2009 2:25:25 PM
|
0
|
brent.e...@gmail.com ("brent.ertz")
|
Using SOAP over HTTPS.
Hi.
So far I've used SOAP services purely for our intranet setup over HTTP.
I'm now making them available to external third-parties.
Can PHP use SOAP over HTTPS without any issues.
Our webservice web server will have a https://soap.domain.com domain.
Using IIS for this.
We are distinguishing between authentication (i.e. a login) and
secured communication.
Our framework will require a login request to gain a security token
which will be required for subsequent requests, but we don't want to
pass that detail over the wire in plain text.
So, using secured comms (https)
|
8/11/2009 3:45:24 PM
|
0
|
rquadl...@googlemail.com (Richard Quadling)
|
E_ERROR in SoapClient
--00504502c74efe901a046fe9bd33
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Is there a way to prevent the E_ERROR when SoapClient is not able to load a
WSDL file?
I just want to handle the error gracefully.
Thanks.
--
-Paulo
http://twitter.com/halufa
--00504502c74efe901a046fe9bd33--
|
7/30/2009 10:26:52 AM
|
0
|
hal...@gmail.com (Paulo Azevedo)
|
SOAP-ERROR: Parsing WSDL
Hello,
I am trying to connect to a webservice with WSDL but get the following
error-message:
SOAP-ERROR: Parsing WSDL: Unknown required WSDL extension
'http://schemas.xmlsoap.org/wsdl/soap/'
This is how I try to instanciate the Client:
$client=new
SoapClient('http://api.rkd.reuters.com/schemas/wsdl/Charts_1_HttpAndRKDToken.wsdl');
I am new to webservices and therefore have no idea what is the problem
and what might be a solution to this. Could anyone help me?
Thank you!
Harald
|
7/28/2009 11:34:55 AM
|
0
|
h...@gmx.net (Harald Amelung)
|
[SOAP] Warning: SoapClient::SoapClient(http://AWSECommerceService.wsdl): failed to open stream: Connection refuse
Hi everyone,
I am trying to using PHP5's Soap to get some info from Amazon.
The script which I wrote is attached. The script works OK when I run it on
my localhost using PHP 5.2.9-1 and Apache 2.0.63. But, when I upload the
same script into my actual online website, I've got this Warning:
Warning:
SoapClient::SoapClient(http://webservices.amazon.com/AWSECommerceService/US/AWSECommerceService.wsdl)
[soapclient.soapclient]: failed to open stream: Connection refused in
/home/hudson/pg/d700vtj/public_html/ws/extSeller.php on line 23
++++++++++++++++++++++++++++++++++++++++++++++++
|
7/15/2009 11:39:53 PM
|
0
|
majjed2...@hotmail.com (majjed2000)
|
SOAPClient authentication problem
Hi,
Today I found a nasty problem with a simple php SOAP client. Never had
problems before, but today I have the following error at SOAPClient
constructor line:
SoapClient::SoapClient(http://www.w3.org/2001/xml.xsd): failed to open
stream: HTTP request failed! HTTP/1.1 401 Authorization Required
The source is as simple as:
$client = new SoapClient("http://my.host.com/my_web_service?wsdl",
array( 'trace' => TRUE,
'login'=>'mylogin',
'password'=>'secret'
)
|
6/30/2009 9:49:30 AM
|
0
|
davide.roman...@gmail.com (Davide Romanini)
|
Making Progress... Appears params are not being passed?
--0003255513aaa1f3b1046d18526e
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
The SOAP message body should look like this...
<soapenv:Body>
<echo:sendEcho>
<echo:message>Hello, SMI</echo:message>
</echo:sendEcho>
</soapenv:Body>
But instead I am getting this...
<SOAP-ENV:Body>
<sendEcho/>
</SOAP-ENV:Body>
My call looks like this...
$params=array(
"message"=>"hello, SMI"
);
$client->__soapCall('sendEcho',$params);
Any ideas why the params are not getting added? what am I doing wrong.
Thank you all again for all of your help!!!!!
|
6/24/2009 1:45:19 PM
|
0
|
rjon...@gmail.com (Russell Jones)
|
Locate tphe Male G Spot For Body Shaking Orgasmms
Locate the Male G Spot For Boody Shaaking Orgasms (www meds25 com)
'Priceless' L.A. Ghetto Choins Are Fkaes
|
6/21/2009 12:25:04 AM
|
0
|
relocat...@formo.com (relocating)
|
RE: [SOAP] Fatal error: SOAP-ERROR: Encoding: object hasn't 'Qualification' property
Can you provide a wsdl?
Sent from my AT&T Windows Mobile phone.
-----Original Message-----
From: McDevitt, Chris <CMcDevitt@aaamichigan.com>
Sent: Thursday, June 18, 2009 12:04 PM
To: soap@lists.php.net <soap@lists.php.net>
Subject: [SOAP] Fatal error: SOAP-ERROR: Encoding: object hasn't 'Qualifica=
tion' property
I'm having a bit of a problem and I was wondering if someone could help
out.
I'm creating a SOAP client:
$client =3D new SoapClient($url, array('trace' =3D> 1,'exceptions' =3D> 0))=
;
$result =3D $client->OpGetList(array($qualification));
Aft
|
6/18/2009 5:14:25 PM
|
0
|
w...@phpfever.com (Will Fitch)
|
Fatal error: SOAP-ERROR: Encoding: object hasn't 'Qualification' property
------_=_NextPart_001_01C9F036.DEEC4EB8
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
I'm having a bit of a problem and I was wondering if someone could help
out.
=20
I'm creating a SOAP client:
=20
$client =3D new SoapClient($url, array('trace' =3D> 1,'exceptions' =3D> =
0));
$result =3D $client->OpGetList(array($qualification));
=20
After I call OpGetList from the web service I receive this:
=20
Fatal error: SOAP-ERROR: Encoding: object hasn't 'Qualification'
property
=20
If I call the same service with a s
|
6/18/2009 5:04:41 PM
|
0
|
CMcDev...@aaamichigan.com ("McDevitt, Chris")
|
Can anyone comment on http://bugs.php.net/bug.php?id=30302
Hi.
I've got a question regarding using InfoPath with PHP SOAP based services.
I'm NOT a SOAP expert. I use the Webservice helper at [1].
As I understand things, I'm using RPC/encoded and need to use
document/literal ([2], [3])
The links cover some of the things I've found, but the bug in [4], and
especially the last comment in that bug suggests that I'm not going to
be able to get anywhere.
Any ideas?
Regards,
Richard Quadling.
[1] http://www.jool.nl/new/1,webservice_helper.html
[2] http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/
[3] http://msd
|
6/17/2009 7:58:56 AM
|
0
|
rquadl...@googlemail.com (Richard Quadling)
|
WS-Security and SOAP
--00221532cb881bcbea046c78f55c
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
I am running into a persistent issue trying to authenticate/consume a SOAP
service. I am pretty new to this, especially WS-Security...
I am sending the following WS-Security header as I can tell, but I am
getting the response "Not enough message parts were received for the
operation", which seems to me about the most useless fault/error response I
have ever received :) I am using the WSSecurity.class.php found on
phpclasses.org to help with the WS-Security
Anyway, there a
|
6/16/2009 3:37:28 PM
|
0
|
r...@virante.com (Russell Jones)
|
Active Intermediary or Build from Scratch
Hi,
Not so much a code question but more of a planning/strategic query.
I am wondering whether to set things on our LAMP server up as an active
intermediary (http://www.w3.org/TR/soap12-part1/#activeinter) or just be
the end node, do our parsing etc. and build a new message from scratch
which we send on to the ultimate end node.
In a bit more detail, the situation is as follows. Various physical
locations around the UK submit spreadsheets to our UK server over a VPN.
Data protection law makes us strip those documents of various details
before we send them on to a processor
|
6/16/2009 9:04:09 AM
|
0
|
jimmy.tr...@googlemail.com (Jim Tromp)
|
PHP Soap server, gSoap client
--0015174bea246b6339046bb52fef
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,
I'm trying to use the PHP SoapServer with gSoap as a client.
The server is like this:
$server =3D new SoapServer("wsdl/s.wsdl");
$server->setClass('MyClass', $arg);
$server->handle();
The important parts of the wsdl are:
---------------------------------------------------------------------------=
--
<complexType name=3D'Status'>
<xsd:sequence>
<xsd:element name=3D'Id' type=3D'xsd:integer' />
<xsd:element name=3D'Health' t
|
6/6/2009 10:03:55 PM
|
0
|
jjschmi...@gmail.com (Jurgen Schmidt)
|
__soapCall
--=_alternative 006E85B2872575C9_=
Content-Type: text/plain; charset="US-ASCII"
No matter what method I call I always get the same fault. falutcode:
HTTP, faultstring: Not Found.
Here is a sample of the code:
$wsdl = 'some?wsdl';
$client = new SoapClient($wsdl);
$params = array();
$params['String_1'] = '12345';
$params['Integer_2'] = 12345;
try {
$response = $client->__soapCall('webServiceMethod',$params);
}
catch (SoapFault $fault) {
trigger_error("Soap Fault: (faultcode: {$fault->faultcode},
faultstring: {$fault->faultstring})",E_USER_ERROR);
}
What do
|
6/2/2009 8:07:19 PM
|
0
|
Scott.H...@flyingj.com
|
Help needed with SOAP and PHP 5
Hi Experts,
I have started learning PHP (version 5 )and SOAP.
I am able to connect to the setup a connection and got the output of
__getFunctions() method.
When I am trying to call a function defined there which needs
authentication and request in the following format,I am getting
errors.
<soapenv:Body>
<savePurchaseOrder
xmlns=3D=94http://www.smartturn.com/services/OccamService/purchase-order=94=
>
<inCredential>
<ns1:UserId
xmlns:ns1=3D=94http://www.smartturn.com/services/occamtypes=94>testuser</ns=
1:Us
erId>
<ns2:Password
xmlns:ns2=3D=94http://www.smartturn.com/service
|
5/31/2009 12:47:19 PM
|
0
|
forevernir...@gmail.com (Nirmal)
|
[SOAP] Help needed in SOAP and PHP5
Hi experts=20
I am facing a problem while retreiving data from soap function.My server
needs the following kind of request.
<soapenv:Body>
<savePurchaseOrder
xmlns=3D=E2=80=9Dhttp://www.smartturn.com/services/OccamService/purchase-or=
der=E2=80=9D>
<inCredential>
<ns1:UserId
xmlns:ns1=3D=E2=80=9Dhttp://www.smartturn.com/services/occamtypes=E2=80=9D>=
testuser</ns1:Us
erId>
<ns2:Password
xmlns:ns2=3D=E2=80=9Dhttp://www.smartturn.com/services/occamtypes=E2=80=9D>=
testpassword</ns
2:Password>
</inCredential>
<inPurchaseOrders>
=E2=80=A6
</inPurchaseOrders>
</savePurchas
|
5/31/2009 11:59:00 AM
|
0
|
forevernir...@gmail.com (Nirmal Agarwal)
|
SoapServer ISO-8859-1 encoding doesn't seem to work
--_51b51974-bab5-4dad-a737-3a0ef9f13b18_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
Hi
I'm using php 5.2.3 (also tested on php 5.2.9). For some reason=2C even th=
ough I am setting the reply encoding:
ini_set("soap.wsdl_cache_enabled"=2C "0")=3B // disable WSDL caching
$server =3D new SoapServer("test.wsdl"=2C array('encoding'=3D>'ISO-8859-1')=
)=3B
$server->setClass("ManualService")=3B
$server->handle()=3B
The reply from the server is:
Date: Wed=2C 27 May 2009 15:30:08 GMT
Server: Apache/1.3.37 (Unix) mod_gzip/1.3.2
|
5/27/2009 3:46:52 PM
|
0
|
bruce1...@hotmail.com (Bruce Bailey)
|
Request from IBM WebSphere causes HTTP status 500
Hello everyone,
I've been working on a SOAP webservice lately and experienced major
problems with an IBM WebSphere client.
My setup:
- Debian Lenny
- PHP 5.2.6-1
- PHP's official SOAP extension
I provide a simple service with a single operation named execute(),
offering a generic interface for remote procedure calls. I checked
my SoapServer with a PHP client and it works like a charm.
However if the service consumer runs an IBM WebSphere my methods
never get called. I checked Apache's access.log and it says:
XXX.XXX.XX.XXX - - [25/May/2009:16:41:56 +0200] "POST /server.ph
|
5/27/2009 12:53:49 PM
|
0
|
sende.mir.p...@gmx.de
|
Problem with getting value from SoapResponse
Hi,
I've the problem that the SOAP Extension does not seem to parse the
response correctly. A small example:
I call a Webservice using a WSDL:
$objClient = new SoapClient(
"mywsdl.wsdl"
,array(
'trace'=>1
,'encoding'=>'ISO-8859-1'
,'location'=>'http://SOAPURL'
)
);
and I call a function supplying the required parameters:
$ob
|
5/26/2009 5:24:06 PM
|
0
|
darkserv...@gmail.com (Dark Servant)
|
Re[SOAP] source for SOAP
To help facilitate, among other things, development and test of SOAP, I have
provided a free root account on a sparc Solaris 10. About 50g of space, in
this, I am able to provide. This is no spam. So, this is not detrimental to
SOAP. This may not, be a useless resource.
Installing software made for Solaris 10 may not be unimportant. You may, AS
USER 'unix' TELNET TO ONE SYSTEM, THEN, FROM THERE, AS "root" you will
telnet to any of three other systems. The system you will telnet(username:
unix, no password) to first is: trainingzone.getmyip.com once there, you may
telnet(as root, n
|
4/29/2009 12:29:28 AM
|
0
|
...@kartik.com (kartikvashishta)
|
PHP SOAP namespace issue
--0-1634505110-1240507420=:40507
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Hi,=0A =0AI am using SOAP extension for php =0Aand have a problem with name=
spaces. Here is a sample SOAP request a client =0Asends.=0A =0A =0Atyp=3D"h=
ttp://aqua.yahoo.com/types">=0A =0A<soapenv:Header/>=0A =0A<soapenv:Bod=
y>=0A <submitAdTestASync>=0A <TestRequest id=3D"1" =0Aiteratio=
n=3D"1">=0A <Test =0Aname=3D"AquaTest">=0A <typ:TR=
extId=3D"1" numOfTestCycles=3D"2" =0Atype=3D"html" Queue=3D"aqua"></typ:TR=
>=0A =0A
|
4/23/2009 5:23:40 PM
|
0
|
srikanth.madugu...@yahoo.com (Srikanth Madugundi)
|
Re: [SOAP] Help with Soap Client
--0-378671264-1240146951=:2823
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hi Tom,
=A0
The problem is in the WSDL.
Search for=A0=A0those=A0lines =A0having=A0=A0use=3D"encoded" in WSDL file a=
nd append=20
=A0encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/"=A0 with them=
..
=A0
Previous:
=A0use=3D"encoded"=20
After Modification :
=A0use=3D"encoded" encodingStyle=3D"http://schemas.xmlsoap.org/soap/encodin=
g/"
=A0
Hope it works!
=A0
Naveen
--- On Sun, 4/19/09, EPA WC <epawcweb@gmail.com> wrote:
From: EPA WC
|
4/19/2009 1:15:51 PM
|
0
|
naveenkr2...@yahoo.com (NAVEEN)
|
Help with Soap Client
Hi All,
I am using the following code to build a SoapClient with some web service:
////////////////
<?php
ini_set("soap.wsdl_cache_enabled", "0");
ini_set('default_socket_timeout', 600);
$client = new SoapClient("http://iaspub.epa.gov/webservices/StationService/index.html?WSDL",array('trace'
=> 1));
try {
$sc = $client->getStationCount(43.1,43.5,-83.5,-83.1);
print $sc;
} catch (SoapFault $exception) {
echo $exception;
}
?>
//////////////
But I got the following error:
///////////////
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing
WSDL:
|
4/19/2009 4:27:51 AM
|
0
|
epawc...@gmail.com (EPA WC)
|
RE: Inconsitant data
Sorry - full correct email below;
-----Original Message-----
From: Steven Macintyre [mailto:steven.macintyre@gmail.com]
Sent: Tuesday, March 31, 2009 5:04 PM
To: 'soap@lists.php.net'
Subject: Inconsitant data
Hi all,
We are creating a call on a SOAP interface, we have no problems with the
interface accepting our other data, however two nodes are not recorded when
using $client->__getLastRequest() and trace is enabled.
Please see below;
Information passed
Array
(
[ShippingData] =>
[PaymentData] => Array
(
[PaymentMethod] => Account
|
3/31/2009 3:04:58 PM
|
0
|
steven.macint...@gmail.com ("Steven Macintyre")
|
Inconsitant data
Hi all,
We are creating a call on a SOAP interface, we have no problems with the
interface accepting our other data, however two nodes are not recorded when
using $client->__getLastRequest() and trace is enabled.
Please see below;
Information passed
Array
(
[ShippingData] =>
[PaymentData] => Array
(
[PaymentMethod] => Account
[PaymentAccount] => G017N00000002
[PaymentConfirmed] => A
[PaymentReference] => 1435(32156979)
[AuthorizationCode] => 925547
)
[ContactData] =>
[Orde
|
3/31/2009 3:04:14 PM
|
0
|
steven.macint...@gmail.com ("Steven Macintyre")
|
[SOAP] PHP Soap on Windows Vista
Does anyone uses PHP Soap on Windows Vista?
I have a problem. I have a client and a server on the same machine.
It works on windows XP but not on Windows Vista.
Does anyone have any idea?
Thanks
--
View this message in context: http://www.nabble.com/PHP-Soap-on-Windows-Vista-tp22674144p22674144.html
Sent from the Php - Soap mailing list archive at Nabble.com.
|
3/24/2009 4:34:52 AM
|
0
|
ferna...@opapagaiorinoceronte.net (bonafe)
|