axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Dorn" <dorn_alb...@gmx.net>
Subject Yahoo REST Service Fault-Messages with Axis2
Date Sun, 25 May 2008 12:01:08 GMT
Hello,

i have a problem with the errror responses of a Yahoo REST WebService. The Error Response
from Yahoo [ http://search.yahooapis.com/WebSearchService/V1/contextSearch ] is:

<?xml version="1.0" encoding="UTF-8"?>
<Error xmlns="urn:yahoo:api">The following errors were detected:		
      <Message>invalid value: appid (empty or missing)</Message>		
      <Message>invalid value: query (empty or missing)</Message>		
      <Message>invalid value: context</Message>
</Error>

When i try to recieve this message, i get the following exception:

Exception in thread "main" java.lang.IllegalArgumentException: The MessageContext does not
have an associated SOAPFault.


The Problem is that it is not possible for me to recieve this error, bcos this exception.
Why does the error response neet do be a SOAPFault? I the example RESTClient [ http://ws.apache.org/axis2/1_3/rest-ws.html
].

Thank you
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

---------------------------------------------------------------------
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