473,473 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

PHP5:soap extension - Encoding problem

Hallo!

Ich erhalte bei Abfrage eines Webservices folgende Fehlermeldung:

******************************************
<b>Fatal error</b>: Uncaught SoapFault exception: [Client] SOAP-ERROR:
Encoding: External reference 'www.*****.de' in api7.php:19
Stack trace:

#0 [internal function]: SoapClient-&gt;__call('GetFieldLinked', Array)
#1 api7.php(19): SoapClient-&gt;GetFieldLinked(Array)
#2 {main}
thrown in <b>api7.php</bon line <b>19</b><br />
******************************************

Dieses rührt aus einem nicht konformen Tag innerhalb des Ergebnisses:
<link type="homepage>www.****.de</link>

Damit ich diesen Fehler korrigieren kann, muss ich jedoch erst einmal
die Datensätze des Webservices erhalten, was leider aufgrund der
vorhergehenden evaluation durch php nicht möglich ist. Ist es
möglich, dieses Problem zu umgehen (z.b. die evaluation auszuschalten
/ das encoding zu verändern)?

Hier noch der Code:
******************************************
<?php
header("Content-type: text");

$client = new SoapClient("campus.wsdl",
array('trace' =1,
"style" =SOAP_RPC,
"use" =SOAP_ENCODED,
'soap_version' =SOAP_1_1)

);
$param = array (
'sFieldGuid' ='0xDCCDB6C7B7AC0946B64671727AD54959',
'bTree' =false,
'bIncludeEvents' =true
);

$subres = $client->GetFieldLinked($param);

?>
******************************************
Vielen Dank!

Volker

Jul 17 '06 #1
0 1720

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Henrik Brautaset Aronsen | last post by:
I am having problems converting from Pear SOAP to PHP5 SOAP, especially when it comes to complex types. I would be grateful for any help on how this should be translated: ...
0
by: Tristan Tarrant | last post by:
Dear all, we're having a problem with the SOAP extension provided by PHP5. Similar calls using the SOAP component of PEAR work. Tracing the request with a network analyzer this is what PHP5...
0
by: porneL | last post by:
If I use $soapclient->__soapCall(...) with data in PHP arrays, resulting XML uses elements and their contents only. i.e. array('foo'=>array('bar'=>'baz')) is in request as...
4
by: Lee Stewart | last post by:
I have a custom piece of code that I need to call from PHP5, so I'm going to write an extension that will handle things for me. This is becoming urgent - my original plan didn't work out and I'm...
2
by: administrator | last post by:
Hello I have a problem with Soap class in PHP5. I'm trying to connect to webservice (I have links, login, password etc.) Wsdl file, which the soapclient takes from webservice address forces the...
1
by: David Haynes | last post by:
I think something is not working as stated. According to the php.net site, the XML: <foo bar="blah">12345</foo> should be represented as: array('foo' => array('_' => 12345, 'bar' => 'blah'));...
0
by: dex | last post by:
Hi, I'm trying use a webservice with PHP5 soap extension in WSDL mode. I generated the php classes using wsdl2php. The problem is that 'auth' member of loginRequest (witch is a complex type)...
0
by: Naoum Naoumov | last post by:
So I have a gsoap server and a PHP soap client and I am trying to return a list (vector) of objects to the PHP client. However, the client seems to only store the last element of the array ... Any...
1
by: obj63 | last post by:
Hi All, TIA, but currently I am trying to make a soap call to an API and I am not able to get the soap body to conform properly. The current soap body that I am generating is <SOAP-ENV:Body>...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.