logo       

Re: Dynamic publishing: msg#00773

Subject: Re: Dynamic publishing
Tuan,

I have a similar need but for a totally different reason. We have a services
framework and want to dynamically publish public 'service entry points' at
runtime through Axis SOAP. We only have a Java class file and an associated
interface as parameters so we have to make up the rest of the difference.
Right now we're spawning Java2WSDL and WSDL2Java back to back so I can get a
.WSDD file and then call the AdminClient to deploy the deploy.wsdd file. Its
a mess and I wish there was a better way to do this. At this point we were
too unsure of the deploy.wsdd file format to generate it ourselves. Perhaps
even having this documented, or having a class that we could instantiate and
call instead of actually spawning the wsdl... utilities would be better. But
for now, its working...:-(

I'm hoping someone has a better way and will respond, but if you're still
stuck you could possibly consider this route as an interim solution.

Grant

----- Original Message -----
From: "Tuan Le Viet" <tuanle@xxxxxxxxxxxxxxxx>
To: <axis-user@xxxxxxxxxxxxxx>
Sent: Thursday, September 26, 2002 11:13 PM
Subject: Dynamic publishing


> Hi there,
>
> Does Axis support "dynamic publishing"?
>
> My intention:
>
> +I have a class called BankAccount with 3 methods:
>
>            +void deposit(int amount)
>
>            +void withdraw(int amount)
>
>            +int checkBalance()
>
> +I have a class Bank, which have 1 method: String getAccount(String
accountNo).
>
> +I statically publish it as Web service, users will call getAccount method
to get the URL to BankAccount web service, for example: if user called
getAccount("12345"), URL returned is:
http://somehost/axis/services/account12345
>
> +users then interact with this BankAccount webservice to deposit,
withdraw, checkBalance.
>
> +In order to achieve this, it's required to dynamically publish each
BankAccount instance as a web service.
>
> Is this possible with Axis?
>
> I would really appreciate any pointers.
>
> Cheers,
>
> Tuan
>
>
>
>
>
>




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe