Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

SOAP: soap_fault object even when the action completes successfully?
Hi there,

sorry those are my first steps with pear-soap but it seems like some
very nice stuff to work with :).

I'm trying to implement a soap-server to get remote-access to some
php-library used here.
I do the testing with a simple soap-client using pear-soap too.

I've successfully gotten the soap-server to return some data as a struct.
Now I'm trying to send some data as a struct and getting an id (for the
database-result) back.

The action completes successfully but I get a soap_fault object back,
whose content I can't seem to understand :(.

I would appreciate if anyone could shed any light on it.
The soap_fault object looks like that:
---

soap_fault Object
(
[error_message_prefix] =>
[mode] => 1
[level] => 1024
[code] => HTTP
[message] => stdClass Object
(
[firma] => Max Mustermann
[name] => Max
[ort] => Musterstadt
)
<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envel
ope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns4="urn:gSalesServer"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>

<ns4:gSales_neuerKundeResponse>
<knr xsi:type="xsd:int">11146</knr></ns4:gSales_neuerKundeRes
ponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

[userinfo] =>
[backtrace] => Array
(....

---

I can show code on request as well.

Thanks in advance,

Thomas

Report this thread to moderator Post Follow-up to this message
Old Post
Thomas -lists
06-06-05 01:56 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Pear archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:43 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.