axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mr Smith" <mrsmith.w...@gmail.com>
Subject Re: Fault in parsing web service
Date Wed, 12 Dec 2007 14:05:47 GMT
On Dec 10, 2007 2:07 PM, Mr Smith <mrsmith.work@gmail.com> wrote:
> Hi!
>
> I'm trying to use a web service located here:
> http://soap.towerdata.com/validate.wsdl but I'm getting an error with
> axis 1.4 (I'm consuming the web service with ColdFusion which comes
> with axis 1.2 but I also downloaded axis 1.4 and used wsdl2java). Here
> is the error I get from wsdl2java:
>
> java.io.IOException: ERROR: Missing <soap:fault> element inFault
> "Fault" in operation "Fault", in binding Validate
>        at org.apache.axis.wsdl.symbolTable.SymbolTable.faultsFromSOAPFault(SymbolTable.java:2858)
>        at org.apache.axis.wsdl.symbolTable.SymbolTable.populateBindings(SymbolTable.java:2549)
>        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:744)
>        at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:543)
>        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(Unknown Source)

I found the problem. The fault element didn't have a namespace for the
operation Validate.

-- 
<mack />

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message