Hello,

  I'm new to Openlaszlo, trying to use it as a SOAP client and running
into a problem (limitation/something) maybe someone can help identify.
I've made a simple WSDL (which works in a wsdl explorer, for what that's
worth) and have more or less copied the Amazon RPC example from the
developer's guide to try to send a soap message (see attached).

  The Amazon example works; if I Debug.inspect(amazon.proto) in that
example, if I'm reading the output correctly (and I may not be), the
prototype is an LzNamespace with the namespace set by the
targetNamespace of their wsdl, and there are a lot of array members you
can do "stuff" with.

  In my example WidgetFactory, if I Debug.inspect(WidgetFactory.proto) I
have an LzNamespace with an incorrect namespace set (and it actually
changed if I put different content in the wsdl <schema>), and with two
array members, ala:

WidgetFactory proto:
«#LzNamespace#6#5| LzNamespace http://www.w3.org/2001/XMLSchema» {
long: ns[ct]
namespace: 'http://www.w3.org/2001/XMLSchema'
}

It seems the namespace here should be what my wsdl targets
(http://tempuri.org/WidgetFactory/).  And in lps.log, I see eg.:

DEBUG soap.WSDLParser      - found port type operation for createWidget
DEBUG soap.LZSOAPService   - registered type mapping for object:
{http://tempuri.org/WidgetFactory/}createWidgetRequestType
DEBUG soap.ClientSOAPService - adding operation: createWidget

I would have expected to see a WidgetFactory.proto member of
"createWidgetRequestType" and "createWidget" to access those.  I've
tried to mimic how Amazon's namespace usage is done, but either
something is "not right" or I'm running into some bug or limitation.
Any ideas?

  I'm using 4.0.11 (linux "development kit" with the included tomcat
server), and tried both swf and dhtml.

Thanks,
Jesse

-- 
Jesse Norell
Kentec Communications, Inc.
[EMAIL PROTECTED]

Attachment: WidgetFactory.lzx
Description: XML document

Attachment: WidgetFactoryRPC.wsdl
Description: XML document

Reply via email to