Hi David,
It sounds great, although I tried that out:
java -jar wsdl2as-0.1-SNAPSHOT-jar-with-dependencies.jar
"http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl"
-o c:\utils\wsdl2as
and it fired this exception:
C:\utils\wsdl2as>java -jar wsdl2as-0.1-SNAPSHOT-jar-with-dependencies.jar
"http:
//webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl" -o
c:\uti
ls\wsdl2as
Exception in thread "main" java.lang.IllegalArgumentException: Was
expecting typ
e tns:HelpResponse used by part body to have a sequence declaring exactly
one el
ement; multiple return values aren't handled, sorry
at
uk.co.badgersinfoil.wsdl2as.ActionScript3Builder.buildWrappedResponse
Handling(ActionScript3Builder.java:328)
at
uk.co.badgersinfoil.wsdl2as.ActionScript3Builder.buildOperationRespon
seHandler(ActionScript3Builder.java:290)
at
uk.co.badgersinfoil.wsdl2as.ActionScript3Builder.buildBindingOperatio
nMethod(ActionScript3Builder.java:277)
at
uk.co.badgersinfoil.wsdl2as.ActionScript3Builder.buildBinding(ActionS
cript3Builder.java:262)
at
uk.co.badgersinfoil.wsdl2as.ActionScript3Builder.buildAllBindings(Act
ionScript3Builder.java:243)
at
uk.co.badgersinfoil.wsdl2as.ActionScript3Builder.build(ActionScript3B
uilder.java:78)
at uk.co.badgersinfoil.wsdl2as.Main.process(Main.java:88)
at uk.co.badgersinfoil.wsdl2as.Main.main(Main.java:59)
Am I doing anything wrong?
I look foward to hearing from hearing from you. I'm really interested in
this stuff.
Cheers, Diego
On Mon, 27 Nov 2006 06:03:26 +1300, David Holroyd
<[EMAIL PROTECTED]> wrote:
> I've uploaded an early alpha version of wsdl2as. Find out more about it
> here:
>
> http://osflash.org/wsdl2as
>
> Note that by default, the generated stubs require XML objects to be
> passed as arguments to SOAP methods, and will pass an XML object to
> onData() as a result of invoking the Call. If you would like to see the
> Value Objects that the type mapper creates, you can enable the
> '--mapping asxsd' command line option, but be aware that while
> XML->Object code is created, the Object->XML code is not, so that option
> isn't so useful yet.
>
> If anyone has the time to try running this against their WSDL and report
> back any errors or other feedback, that would be great!
>
> Note that:
> - This only for document/literal services
> - It will only do SOAP 1.1
> - There are all sorts of limitations on what kinds of XMLSchema it will
> understand, though it can handle the basics
>
>
> Good luck!
> dave
>
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org