From: Grossberger G. <g.g...@me...> - 2002-11-29 18:10:54
|
Hello Guillaume, the problem was completely different, the namespaces provided by nusoap = where to much for the asmx service. i scratched all definitions of = strings, chars, binaries etc. then there was a problem of some chars that should be sent as binaries, but now it is all working. gg > -----Urspr=FCngliche Nachricht----- > Von: WebServices [mailto:web...@ma...] > Gesendet: Freitag, 29. November 2002 18:56 > An: Grossberger Gerhard; nus...@li... > Betreff: Re: [Nusoap-general] Problem with Application >=20 >=20 > Hi Gerhard, >=20 > If I understood well, you try to take some values from an=20 > HTML input form, > send them to a PHP application and this one has to transmit=20 > them through > HTTP/SOAP to your ASP.net application ? >=20 > In this case, you need : >=20 > A PHP application for taking the HTML input form values and=20 > send (through a > PHP proxy using NuSOAP) to your ASP.net web apps. >=20 > something like (without security concepts off course) : >=20 > <?php > // Load the library > include_once("../lib/nusoap.php"); >=20 > //Take the input values from the FORM -necessary if $GLOBALS =3D OFF > $input1 =3D $_POST['input1']; > $input2 =3D $_POST['input2']; >=20 > //Instanciate the NuSOAP client from your .net WSDL service > $soapclient =3D new > soapclient('http://mywebservices.free.fr/server/myWS1.php?wsdl > ','wsdl'); >=20 > //Instanciate the Proxy for connecting to the .net service > $soap_proxy =3D $soapclient->getProxy(); >=20 > //Call the .net service with your parameters > $soap_proxy->HelloWorld($input1, $input2); >=20 > ?> >=20 > That's it. >=20 > CU >=20 > Guillaume >=20 > ----- Original Message ----- > From: "Grossberger Gerhard" <g.g...@me...> > To: <nus...@li...> > Sent: Friday, November 29, 2002 10:09 AM > Subject: [Nusoap-general] Problem with Application >=20 >=20 > Hello, >=20 > i=B4m having a problem connecting from php with nusoap to an asp.net > webservice. i have tried to get data from an html form and send them > to the webservice, but the only report i get is: >=20 > "Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt." >=20 > which means "the objectpointer has not been assigned to an=20 > object instance" > or something similar. has anyone encountered this problem yet? >=20 >=20 > Gerhard Grossberger > IT-solutions manager > -------------------------------------------------- > medienhaus + partner > wasserzeile 35 > a-3400 klosterneuburg > fon : +43 / 2243 / 34 630, fax : +43 / 2243 / 34 848 > e-mail : g.g...@me... > http://www.medienhaus.co.at <http://www.medienhaus.co.at/> > -------------------------------------------------- >=20 >=20 >=20 >=20 |