|
Re: soap client call(): msg#00066php.nusoap.general
I am glad to hear it is working for you. The difference between when you should use call('functionName',array($theElementsAlreadyInAnArray)) versus call('functionName,$theElementsAlreadyInAnArray)) is that the first call would be for a document style service, the second for an rpc style. The extra array wrapper in the first call is necessary because NuSOAP does not magically add the wrapper element for the document style. It is still on my to-do to make NuSOAP try to guess whether the wrapper is needed, so the programmer does not need to know the style of the service. 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: "Larry Brown" <lbrown@xxxxxx> To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx> Sent: Wednesday, May 12, 2004 12:46 PM Subject: Re: [Nusoap-general] soap client call() I'm sorry. I should have described the question with more clarity or included more information. The question had to do with how I can submit single elements for the request rather than an array of elements. I had not thought it fully through to recognize that sending the method call the name of the remote method to execute and then an array of singular elements would send the elements in a singular form. My own code between servers expects an array of elements on the recieving end and so I was making an array of elements and the calling... call('functionName',array($theElementsAlreadyInAnArray)). Once I realized I should just run.. call('functionName,$theElementsAlreadyInAnArray)) and why, it worked just fine. I am able to connect to them and run the function listed below without error. Sorry to waste anyone's time. Paying job = good. Thanks for addressing the question however misguided it was. Larry On Tue, 2004-05-11 at 09:03, Scott Nichol wrote: > To continue, I am busy with my paying job for the next couple of days, but I > would expect to be able to improve NuSOAP to handle this sometime this week. > I hope you can wait that long. > > 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: "Scott Nichol" <snicholnews@xxxxxxxxxxxxxxx> > To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx> > Sent: Tuesday, May 11, 2004 8:52 AM > Subject: Re: [Nusoap-general] soap client call() > > > Indeed, the WSDL seems fine. I believe the problem is that this is an > rpc/encoded service with elementFormDefault="qualified" in the schema, and I > suspect NuSOAP does not support this combination correctly. > > 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: "Jan Horsman" <jan@xxxxxxxx> > To: "Larry Brown" <lbrown@xxxxxx> > Cc: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx> > Sent: Tuesday, May 11, 2004 3:23 AM > Subject: Re: [Nusoap-general] soap client call() > > > This is how SOAPscope reads the wsdl doc. It looks all right to me. > SOAPscope kan succesfully call the GetNewOrders method. (a SOAP Fault is > returned) > > [rpc/encoded] > GetNewOrders > ( > int lBOID, > short iSourceID, > string sLoginName, > string sPassword > ) > > with kind regards, > Jan Horsman > > Larry Brown wrote: > > >I have successfully created a server and client that speak fine to one > >another. However, I created the server and know all of the aspects of > >the connection and so created an array of values to send for the request > >and subsequently dealt the the returning array as normal. > > > >I am confronted now with connecting to some other client who is using an > >MS based soap server. The WSDL document > >(https://supplier.clearstar.net/SOAPSvr/ClearStarSOAP.wsdl) appears not > >to receive the requesting fields as an array. Am I reading it wrong and > >should just use... > > > >$details = > >array('1BOID'=>$int1BOIDValue,'iSourceID'=>$sourceID,'sLoginName'=>"$login",'sPassword'=>"$password"); > > > >$request = $client->call('GetNewOrders',$details); > > > >I guess there are some fundamental concepts I have yet to figure out. > >It is much easier when I'm creating both ends =) > > > >Larry > > > > > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by Sleepycat Software > >Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver > >higher performing products faster, at low TCO. > >http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > >_______________________________________________ > >Nusoap-general mailing list > >Nusoap-general@xxxxxxxxxxxxxxxxxxxxx > >https://lists.sourceforge.net/lists/listinfo/nusoap-general > > > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Nusoap-general mailing list > Nusoap-general@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/nusoap-general > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Nusoap-general mailing list > Nusoap-general@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/nusoap-general ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Nusoap-general mailing list Nusoap-general@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/nusoap-general ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: soap client call(): 00066, Larry Brown |
|---|---|
| Next by Date: | Re: Debugging: 00066, Scott Nichol |
| Previous by Thread: | Re: soap client call()i: 00066, Larry Brown |
| Next by Thread: | Debugging: 00066, Chris Boget |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |