axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gnanasekaran Vinayakamurthy" <Gnanasekaran.Vinayakamur...@phoenix.edu>
Subject RE: Axis throws error:SimpleDeserializer
Date Mon, 09 Oct 2006 16:58:52 GMT
Thanks Thilina..... 


-----Original Message-----
From: Thilina Gunarathne [mailto:csethil@gmail.com] 
Sent: Friday, October 06, 2006 11:50 AM
To: axis-user@ws.apache.org
Subject: Re: Axis throws error:SimpleDeserializer

Are you using the nightly builds... If not please try with Axis2
nightlies available at http://people.apache.org/dist/axis2/nightly/

~Thilina

On 10/6/06, Gnanasekaran Vinayakamurthy
<Gnanasekaran.Vinayakamurthy@phoenix.edu> wrote:
>
>
>
>
> Hi Group,
>
>
>
> I have proper functioning Microsoft Sql Server Reporting Services and
trying
> to make web service calls to .Net Reporting Services from generated
stub
> -java client classes using Axis2 -WSDL2Java, but found that generated
> classes used method(convertTOOM), which are not available in any of
the jar
> files provided by axis. And due to this I just used Call interface
directly
> and tried to call a method, but it is giving a strange error : -
> "faultString: org.xml.sax.SAXException: SimpleDeserializer encountered
a
> child element, which is NOT expected, in something it was trying to
> deserialize."
>
>
>
> If I use SoapUI tool to make web service calls, then it is working
well, but
> when I tried the same using Axis, then facing errors...... I searched
in web
> to find solution for this error, but found none.
>
>
>
>
>
> This is my code.............
>
>
>
>         public static void main(String [] args) throws Exception {
>
>
>
>             Service  service = new Service();
>            Call call = (Call) service.createCall();
>            call.setTargetEndpointAddress(new URL(serviceURL));
>            call.setOperationName(new QName("nameSpace",
"ListEvents"));
>            call.setSOAPActionURI("URI");
>
>            String retVal = (String) call.invoke(new Object[] {} );
>         }
>
>
>
> I have also attached WSDL file with this, please check this.
>
>
> I would really appreciate your help on this.
>
>
>
>
>
> Thanks,
>
> Vinay
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>


-- 
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

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


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