xml-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alpa <ajs...@cs.columbia.edu>
Subject Re: Need urgent help with serialization problem
Date Thu, 27 Jun 2002 03:09:28 GMT
Martin,

i tried this and it does not work ...it is almost 2 days i have been
stuck
with this ..

Here is the problem [once again]:

Apache soap client calling methods on a .NET service
--------------------------------------------------------
1) I can invoke a method on a service that takes no parameters and
receive
a string back ...

2) but when i try a method that takes an int, it does not throw an
exception or anything just that the value that gets to the service is
zero.

3) when i try a method that takes a string, it complains about

>> Object reference not set to an instance of an object.

Is there anyone who has ever gotten any SOAP message across correctly ??



Any help would be greatly appreciated,

~Alpa



Martin Gainty wrote:

>
>
> Indirarish
>
> The Registry encoding-style is null so
> the Registry object needs to call
> setDefaultEncodingStyle(java.lang.String defEncStyle)
>           Set the default encoding style.
>
> with org.apache.soap.Constants.ATTR_ENCODING_STYLE as the arg
>
> Anyone else???Martin Gainty
>
>      ______________________________________________
>
>      Disclaimer and confidentiality note
>
>      Everything in this e-mail and any attachments relating to the
>      official business of Laconia Data Systems (LDS) is proprietary to
>      the company. It is confidential, legally privileged and protected
>      by law. LDS does not own and endorse any other content. Views and
>      opinions are those of the sender unless clearly stated as being
>      that of LDS.
>
>      The person addressed in the e-mail is the sole authorised
>      recipient. Please notify the sender immediately if it has
>      unintentionally reached you and do not read, disclose or use the
>      content in any way.
>
>      LDS can not assure that the integrity of this communication has
>      been maintained nor that it is free of errors, virus,
>      interception or interference.
>
>              _______________________________________________
>
>
> >From: "Indrasish N Basuroychowdhury"
> >Reply-To: soap-user@xml.apache.org
> >To: soap-user@xml.apache.org
> >Subject: Re: Need urgent help with serialization problem
> >Date: Wed, 26 Jun 2002 15:20:53 -0400
> >MIME-Version: 1.0
> >Received: from apache.org ([209.66.108.5]) by hotmail.com with
> Microsoft SMTPSVC(5.0.2195.4905); Wed, 26 Jun 2002 12:46:26 -0700
> >Received: (qmail 33448 invoked by uid 500); 26 Jun 2002 19:20:42
> -0000
> >Received: (qmail 33439 invoked from network); 26 Jun 2002 19:20:41
> -0000
> >Received: from ns1.fanniemae.com (198.204.134.65) by 209.66.108.5
> with SMTP; 26 Jun 2002 19:20:41 -0000
> >Received: from psysadm-fw01ax.fanniemae.com (fw01a
> [198.204.133.70])by ns1.fanniemae.com (8.9.1a/8.9.1) with SMTP id
> PAA10054for ; Wed, 26 Jun 2002 15:20:38 -0400 (EDT)
> >Received: from [198.204.145.16] by psysadm-fw01ax.fanniemae.com via
> smtpd (for [198.204.133.67]) with SMTP; 26 Jun 2002 19:20:46 UT
> >Received: from 158.137.201.160 by fm-mailfw1b.fanniemae.com with SMTP
> ( Tumbleweed MMS SMTP Relay (MMS v4.7)); Wed, 26 Jun 2002 15:29:35
> -0400
> >Received: from psysadm-em01.fanniemae.com by fanniemae.com (
> SMI-8.6/SMI-SVR4) id PAA24486; Wed, 26 Jun 2002 15:20:45 -0400
> >Received: from fanniemae.com ([172.24.99.10]) by
> psysadm-em01.fanniemae.com (Netscape Messaging Server 4.15) with ESMTP
> id GYBV2K00.IN5; Wed, 26 Jun 2002 15:20:44 -0400
> >Mailing-List: contact soap-user-help@xml.apache.org; run by ezmlm
> >Precedence: bulk
> >list-help:
> >list-unsubscribe:
> >list-post:
> >Delivered-To: mailing list soap-user@xml.apache.org
> >X-Server-Uuid: 611fd078-1d0c-11d4-90c7-00508bcfbe58
> >Message-ID: <3D1A1414.4F01F0E3@fanniemae.com>
> >Organization: Fannie Mae
> >X-Mailer: Mozilla 4.75 [en]C-CCK-MCD (Windows NT 5.0; U)
> >X-Accept-Language: en
> >References: <3D19E622.A85AC1A8@cs.columbia.edu>
> <3D19F06D.4680C602@ieee.org>
> >X-WSS-ID: 1104C995683849-01-01
> >X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N
> >Return-Path:
> soap-user-return-14084-mgainty=hotmail.com@xml.apache.org
> >X-OriginalArrivalTime: 26 Jun 2002 19:46:29.0852 (UTC)
> FILETIME=[2A8DD9C0:01C21D4A]
> >
> >I keep getting this error while using the example of Alpa:
> >
> >[SOAPException: faultCode=SOAP-ENV:Client; msg=No Deserializer found
> to deserialize a 'http://schemas.xmlsoap.org/soap/envelope/:Parameter'
> using encoding style
> >'null'.; targetException=java.lang.IllegalArgumentException: No
> Deserializer found to deserialize a
> 'http://schemas.xmlsoap.org/soap/envelope/:Parameter' using
> >encoding style 'null'.]
> > at org.apache.soap.rpc.Call.invoke(Call.java:244)
> > at ClientNet.main(ClientNet.java:44)
> >Exception in thread "main"
> >
> >Can someone help me in resolving it.
> >
> >Thanks,
> >
> >Indrasish.
> >
> >James Black wrote:
> >
> > > Alpa wrote:
> > >
> > > > Fault Code = soap:Server
> > > > Fault String = Server was unable to process request. --> Object
> > > > reference not set to an instance of an object.
> > >
> > > It looks like you are not creating a string. It is null most
> likely. You may want to use NUnit (you can find it at sourceforge) and
> do some unit testing on your
> > > service, on the server side first.
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > For additional commands, e-mail:
> >
> >
> >
> >--
> >To unsubscribe, e-mail:
> >For additional commands, e-mail:
>
>
> -----------------------------------------------------------------------
> Chat with friends online, try MSN Messenger: Click Here
> -- To unsubscribe, e-mail: For additional commands, e-mail:

Mime
View raw message