[horde] horde xmlrpc with java client

Jan Schneider jan at horde.org
Wed Feb 11 14:50:10 UTC 2009


Zitat von Roberto Polli <rpolli at babel.it>:

> Hi, all
>
> I'm trying to implement a J2EE application using the Axis toolkit, but I have
> the following error when try to use WsdlToJava tool with the wsdl at
> http://myserver/horde/rpc.php?wsdl
>
> it seems that there's something missing in the wsdl served by horde
>
> WAB0399E Error in generating Java from WSDL:  java.io.IOException: Type
> {http://www.w3.org/2001/XMLSchema} resource is referenced but not defined.
>     java.io.IOException: Type {http://www.w3.org/2001/XMLSchema}resource is
> referenced but not defined.
>     at
> org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:665)
>     at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:545)
>     at
> org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:518)
>     at
> org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
>     at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
>     at java.lang.Thread.run(Thread.java:636)

There is an API method mail/getStream in imp/lib/api.php which uses  
the (invalid) "resource" output type. Replace it by "object" or  
anything else that works.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list