Rumor has it that Tom Jordahl said:
>
> Axis WSDL2Java ignores everything but SOAP bindings.
>

Perhaps it's an order problem?  One of the WSDL's that's causing a
problem is
http://www.framewerks.com/webservices/fwarticleservice/fwarticles.asmx?wsdl
(just had to be a .NET thing, didn't it :)

If you look at the WSDL, you'll find three sets of messages, one set
for each of the SOAP, HTTP/Get and HTTP/Post bindings.  The message
part "Body" for the HTTP/Get binding does not have a type.  Based on
what I've seen so far, this is common practice.

When I try to parse this WSDL with Axis, I get the following error:

Message part Body of operation or fault GetArticles has no element or
type attribute.
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.getParametersFromParts(SymbolTable.java:1322)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.getOperationParameters(SymbolTable.java:1053)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.populateParameters(SymbolTable.java:987)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:385)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:371)
        at org.apache.axis.wsdl.gen.Parser.run(Parser.java:269)

>From what you're telling me, Axis may be ignoring the bindings; but it
appears it is trying to consume all of the messages, regardless of
whether they are referenced by a SOAP binding.  This is the scenario
I'd like to avoid if possible since I really don't care about the
parts used solely by the HTTP bindings.

Any ideas?


-- 
Cheers,

    Brenda


Reply via email to