Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #30522 > unrolled thread

may I add a new WAR file to the web service server to expand its service methods?

Started byJohn <xsli2@yahoo.com>
First post2014-12-08 18:06 -0800
Last post2014-12-08 21:17 -0500
Articles 2 — 2 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  may I add a new WAR file to the web service server to expand its service methods? John <xsli2@yahoo.com> - 2014-12-08 18:06 -0800
    Re: may I add a new WAR file to the web service server to expand its service methods? Arne Vajhøj <arne@vajhoej.dk> - 2014-12-08 21:17 -0500

#30522 — may I add a new WAR file to the web service server to expand its service methods?

FromJohn <xsli2@yahoo.com>
Date2014-12-08 18:06 -0800
Subjectmay I add a new WAR file to the web service server to expand its service methods?
Message-ID<261dc2da-b38b-4476-8011-3f0fe66da3de@googlegroups.com>
Hi:

We use third party framework. The frame work uses SOAP web services running in Xfire framework. All is delivered to us. Our code is running inside the framework, using the existing web service.

Now I have an idea and not sure it is do-able. I wish I can expand the web service. For example, the current third party web service does not provide calculator service(just an example). I wish the web service has the following methods:

int add(int a, int b)
int multiply(int a, int b)

Can I write some Java code as extra web service methods, create WAR file and deploy it to the Xfire server, without destroying the original services?

I am new to SOAP web service. Just curious.

Thank you.

[toc] | [next] | [standalone]


#30523

FromArne Vajhøj <arne@vajhoej.dk>
Date2014-12-08 21:17 -0500
Message-ID<54865bc8$0$301$14726298@news.sunsite.dk>
In reply to#30522
On 12/8/2014 9:06 PM, John wrote:
> We use third party framework. The frame work uses SOAP web services
> running in Xfire framework. All is delivered to us. Our code is
> running inside the framework, using the existing web service.
>
> Now I have an idea and not sure it is do-able. I wish I can expand
> the web service. For example, the current third party web service
> does not provide calculator service(just an example). I wish the web
> service has the following methods:
>
> int add(int a, int b) int multiply(int a, int b)
>
> Can I write some Java code as extra web service methods, create WAR
> file and deploy it to the Xfire server, without destroying the
> original services?
>
> I am new to SOAP web service. Just curious.

foo.war should expose services as http://server/foo/servicename and
bar.war should expose services as http://server/bar/servicename, so
there should be no conflict.

Arne

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web