If your input data is also complex, then I would definitely find out if
it is being serialized correctly. I am using the MindReef tool to take
a look at the send/return data. And my problem right now is that I am
not getting it put together correctly. Still searching for solutions...
So, if I were you, I'd print out the input data first to see if you are
getting that serialized correctly.
Mohsen
-----Original Message-----
From: nusoap-general-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:nusoap-general-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Robin
Diederen
Sent: Wednesday, March 01, 2006 9:34 AM
To: Gamshad, Mohsen
Cc: nusoap-general@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Nusoap-general] Once again: Complex Data Question
Mohsen,
Thank you for the information!
Do I understand correctly, that if the data I am receiving would be
packaged differently, this problem wouldn't be ocurring? The data I
receive has some ComplexTypes too.
Best, Robin
Gamshad, Mohsen wrote:
>Robin,
>
>My problem has to do with how NuSoap creates the payload based on the
>input parameters. In the past, the service I used didn't have a method
>that took a more complex data input. Since we are working in an
>un-typed environment, I am not sure how to package for complex
>parameters values. So, to your question then, I am not experiencing a
>problem with the return, it's that my input data is not structured
>correctly. And I really need help from the folks who know the
>internals of NuSoap as it pertains to handling complex data. All I
>need is how I would put together (ala arrays in php) a complex data
parameter.
>
>Anyone???? Scott?
>
>Thanks,
>Mohsen
>
>
>
>-----Original Message-----
>From: Robin Diederen [mailto:robin.diederen@xxxxxxx]
>Sent: Wednesday, March 01, 2006 12:45 AM
>To: Gamshad, Mohsen
>Cc: nusoap-general@xxxxxxxxxxxxxxxxxxxxx
>Subject: Re: [Nusoap-general] Once again: Complex Data Question
>
>Mohsen,
>
>Do you have a clue where this error originates? I'm experiencing the
>same problem here and I can't find a solution to it. I get this error
>after calling a procedure that gives quite some information (SOAP
>response). Can it perhaps be that the respons is too big/long?
>
>Best, Robin
>
>Gamshad, Mohsen wrote:
>
>
>
>>I've been asking the question of how to code for the payload data
>>forever, hopefully some one might have an answer this time around.
>> Basically, I have a wsdl that has the following input data
>>
>>
>specification:
>
>
>>
>><soapenv:Envelope
>>xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>>
>> <soapenv:Body>
>> <tns:FlagFileUpdate IsTestMessage="true"
>>xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>>xmlns:tns="urn:PrismServices:data:v1">
>>
>> <tns:FlagFile Name="testName">
>> <tns:Description Length="0" IsTruncated="true"
>>TruncationSetting="0">test</tns:Description>
>> <tns:Locale>SomeLocale</tns:Locale>
>> </tns:FlagFile>
>> <tns:ReleaseItemID ID="112233" RemoveLink="true"/>
>> </tns:FlagFileUpdate>
>> </soapenv:Body>
>>/soapenv:Envelope>
>>
>>
>>How would I code for the input data that I have to provide? So, from
>>above I need to provide:
>>
>>- IsTestMessage attribute
>>- Name attribute for FlagFile element
>>- the string value for teh Description element
>>- the ID attribute of the ReleaseItem element.
>>
>>
>>I tried this:
>>
>>$msgParams = array('IsTestMessage' => 'True',
>> array(array('Name' => 'testName'),
>>array('Description' => 'test', 'Locale' => 'SomeLocale'), 'ID' =>
>>'112233'));
>>
>>But this doesn't work as (when viewed with a SOAP tool) I get :
>>
>><SOAP-ENV:Envelope
>>xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/
>> 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:tns="urn:PrismServices:data:v1">
>><SOAP-ENV:Body>
>> <FlagFileUpdate xmlns="urn:PrismServices:data:v1">
>> <FlagFile/>
>> <ReleaseItemID/>
>> </FlagFileUpdate>
>></SOAP-ENV:Body>
>>
>></SOAP-ENV:Envelope>
>>
>>So, I don't get any of the attributes or the data elements populated.
>>
>>
>
>
>
>>Any help would be appreciated.
>>
>>Thanks,
>>mohsen
>>
>>
>>
>>
>>
>>
>>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by xPML, a groundbreaking scripting
>language that extends applications into web and mobile media. Attend
>the live webcast and join the prime developer group breaking into this
new coding territory!
>http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
>_______________________________________________
>Nusoap-general mailing list
>Nusoap-general@xxxxxxxxxxxxxxxxxxxxx
>https://lists.sourceforge.net/lists/listinfo/nusoap-general
>
>
>
>
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language that extends applications into web and mobile media. Attend the
live webcast and join the prime developer group breaking into this new
coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Nusoap-general mailing list
Nusoap-general@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nusoap-general
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
|