Hi Keith: A couple of things:

First off the SOAP-ENC:root="1" attribute in the QueryUserDocsResponse element seems a little unusual to me. Depending on the SOAP stack that receives this SOAP message you may find it won't like having an attribute named root - although the stack should ignore it as innocuous.

Secondly, if you're using Jython (the Java version of Python) then may I recommend my open-source TestMaker tool. TestMaker comes with a Java library that implements protocol handlers for SOAP, HTTP, HTTPS, XML-RPC, and the email protocols. The code could be a good reference for your own implementation. Details are at http://www.pushtotest.com/ptt.

Hope this helps.

-Frank



On Thursday, February 27, 2003, at 08:50 AM, Keith Baker wrote:

Sorry if it wasn't clear... I'm looking to write a wsdl file that will
allow Axis to understand this SOAP message. I am also wondering if this
message is even proper SOAP. Its generated by python SOAPy which I have
read has some issues with complex types like this.
Keith



On Wed, 2003-02-26 at 12:04, Keith Baker wrote:
I'm trying to get java to speak to python.  My python code used to
return an array of strings which worked just fine.  Now it returns a
multidimensional array...  but it is returning it in the form:

<QueryUserDocsResponse SOAP-ENC:root="1">
<Result SOAP-ENC:arrayType="xsd:list[1]" xsi:type="SOAP-ENC:Array">
<item SOAP-ENC:arrayType="xsd:string[2]" xsi:type="SOAP-ENC:Array">
<item>Robert</item>
<item>Frost</item>
</item>
</Result>
</QueryUserDocsResponse>

I can't figure out how to write the type to retrieve this...  I just
want a multidimensional array of strings...  Any hints?  Which list is
really the "right" list for this?
                                        Keith

--
-----------------------
Keith Baker
PGP Key: E5D92911 --
http://math-www.uni-paderborn.de/pgpnet/pks-commands.html
Metacarta Inc.
126 Prospect St.
Suite 5
Cambridge, MA 02139
617-661-6382 x127
-----------------------
-----------------------
"If a server crashes in a server farm and no one pings it, does
it still cost four figures to fix?"
--
-----------------------
Keith Baker
PGP Key: E5D92911 --
http://math-www.uni-paderborn.de/pgpnet/pks-commands.html
Metacarta Inc.
126 Prospect St.
Suite 5
Cambridge, MA 02139
617-661-6382 x127
-----------------------
This message may contain privileged, proprietary, and otherwise
private information. If you are not the intended recipient, please
notify the sender immediately, delete this message, and do not
distribute it.
-----------------------
"If a server crashes in a server farm and no one pings it, does
it still cost four figures to fix?"
<signature.asc>
--
Frank Cohen, Founder, PushToTest, http://www.PushToTest.com, phone: 408 374 7426
Come to PushToTest for free open-source test automation solutions that test and monitor
Web-enabled applications, especially Web Services for scalability and reliability.





Reply via email to