logo       

Re: NuSOAP and .NET Webservice Problems [slightly NEWBIE]: msg#00114

php.nusoap.general

Subject: Re: NuSOAP and .NET Webservice Problems [slightly NEWBIE]

Here is my guess. By default, Microsoft's tools create Web services that use
the document style and literal encoding, doc/lit for short. In the document
style, the SOAP message technically carries an XML document, not a set of
parameters. Microsoft, in a way they did not document, but which was pretty
easily reverse engineered, maps a set of parameters to a document by wrapping
them in a parent element. Microsoft tools handle the wrapping/unwrapping of
parameters automagically.

Rather than trying to read the minds of Microsoft and NuSOAP programmers,
NuSOAP requires the programmer to specify this wrapping. Therefore, something
like

$params = array('kuerzel' => 'Erko');

would probably for a doc/lit service instead be

$params = array('parameters' => array('kuerzel' => 'Erko'));

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message -----
From: "Oliver Ihlow" <ihlow@xxxxxxxxx>
To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, April 30, 2004 3:14 PM
Subject: [Nusoap-general] NuSOAP and .NET Webservice Problems [slightly NEWBIE]


Hi all,

I have some soapclient-php-pages running against some .NET Webservices,
which are supposed to supply me with some data (irrelevant). On "their"
server-side, there
are several .NET webservices installed.

Allthough trying to understand the descriptions of the .asmx page, I have
only
been able to collect valueable data (getting a faultless response) from one
webservice
of their's, where $params may be an empty array.

All other webservices will take an argument of e.g. $params =
array('kuerzel' => 'Erko');
Anyhow, everytime, I send along some array as argument, I get this (I
suppose) typical MS
error "With- oder With-block variable nicht festgelegt", which is "with- or
with-block variable
not assigned" ...

Allthough somewhat new to SOAP, NuSOAP etc., I am pretty sure, I know what I
have been trying.
INHO, the above mentioned error seems "typically" Microsoft"®". After all, I
get a "500" as server-error.

Does anyone here have an idea, of what I have been missing to deal with .NET
webservices,
or what I may have missed in a documentation, that I could not really find
:-)

... oh, yeah, I've read the several articles and everything else... :-),
still I could not
find an example of a - let me call it "fully MS.NET"-qualified soapclient,
where Soapaction
and just about every "ETC" needs to be mentioned and passed along to the
server, or where
more than one parameter needs to be passed.

Any helpful knowledge to share out there ? Thanks in advance. I'll gladly
supply you with snippets of my problems if you ask for em :-)

Kind regards to everyone,
Oliver Ihlow
OKINOL! GmbH
[www.okinol.de]



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Nusoap-general mailing list
Nusoap-general@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nusoap-general



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id?66&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise