axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimuthu Gamage" <dimut...@gmail.com>
Subject Related to Axis2C generated client issue
Date Thu, 10 Jan 2008 03:25:10 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

It works for me when I tried it with following demo logic.

                 public
burster.publicserviceinterface.GetSettingsResponse getSettings
                  (

                  )
            {
                //TODO : fill this with the necessary business logic
                //throw new
java.lang.UnsupportedOperationException("Please implement " +
this.getClass().getName() + "#getSettings");
                burster.publicserviceinterface.GetSettingsResponse res
= new burster.publicserviceinterface.GetSettingsResponse();

                burster.generated.jaxb2.xsd.BurstSettings setting =
new burster.generated.jaxb2.xsd.BurstSettings();
                burster.generated.jaxb2.xsd.DefaultEmailMessage email
= new burster.generated.jaxb2.xsd.DefaultEmailMessage();
                burster.generated.jaxb2.xsd.EmailServer emailServer=
new burster.generated.jaxb2.xsd.EmailServer();

                email.setEmailMessage("Hi, this is a test mail");
                email.setEmailSubject("Mr.TEST");

                emailServer.setDebug(false);
                emailServer.setEmailAddressFrom("someone here?");
                emailServer.setEmailAddressFromLabel("hi all");

                emailServer.setHost("localhost");
                emailServer.setId("3");
                emailServer.setKeyFile("key");
                emailServer.setPort("50");
                emailServer.setRootCertFile("when");
                emailServer.setServerCertFile("this");
                emailServer.setType("finish?");
                emailServer.setUseSSL(true);
                emailServer.setUseTLS(true);
                emailServer.setUserId("3");
                emailServer.setUserPassword("mypassword");
                setting.setEmailServer(emailServer);
                setting.setDefaultEmailMessage(email);
                res.set_return(setting);

                return res;
        }

So no doubt this is a problem with your server logic.


PS. I tried to send this as a reply to the mail in the thread. And I
was receiving delivery failures repeatedly. Worse thing it says I m
spamming,
So here I m trying to send minimum..

Thanks
Dimuthu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org

iD8DBQFHhZALBsYqdCP8GrkRAs8IAKCKZ+C1CGV/+POK+T7HypTx6Tx3DgCeNirD
57+CKKI8mweavTrI9FHhr3g=
=HQg7
-----END PGP SIGNATURE-----

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


Mime
View raw message