You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Mirsad Zahirovic <mz...@beveragesolutions.com> on 2002/08/23 17:55:37 UTC

Pluggable Provider for C

Has anyone attempted to build a Pluggable Provider for programs written
in C? I am trying to expose some legacy applications written in C on AIX
as web services. In theory I should be able to build a Pluggable
Provider in Java and use it to route calls to C applications. However, I
get lost when looking at "TemplateProvider.java", I'm not sure what I
need to get the call to a C application. Any help would be appreciated.
 
mz 
 

RE: Pluggable Provider for C

Posted by Mirsad Zahirovic <mz...@beveragesolutions.com>.
Thanks for the tip. I'll have to split the application into a bunch of
functions and make it a shared library.

mz
 

-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com] 
Sent: Friday, August 23, 2002 9:12 AM
To: soap-user@xml.apache.org; soap-dev@xml.apache.org
Subject: Re: Pluggable Provider for C

I am not sure that a provider is the best solution for you, as a new
provider works best when it is working with a subsystem that has some
type
of naming service and dynamic invocation mechanism, such as EJBs or COM
objects.

When you say "call a C application", do you mean invoke the application,
or
do you mean call some function written in C?  If you mean the latter,
you
place the C function in an AIX shared library, then write a Java wrapper
for
it using JNI.

Scott Nichol

----- Original Message -----
From: "Mirsad Zahirovic" <mz...@beveragesolutions.com>
To: <so...@xml.apache.org>; <so...@xml.apache.org>
Sent: Friday, August 23, 2002 11:55 AM
Subject: Pluggable Provider for C


Has anyone attempted to build a Pluggable Provider for programs written
in C? I am trying to expose some legacy applications written in C on AIX
as web services. In theory I should be able to build a Pluggable
Provider in Java and use it to route calls to C applications. However, I
get lost when looking at "TemplateProvider.java", I'm not sure what I
need to get the call to a C application. Any help would be appreciated.

mz




--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


RE: Pluggable Provider for C

Posted by Mirsad Zahirovic <mz...@beveragesolutions.com>.
Thanks for the tip. I'll have to split the application into a bunch of
functions and make it a shared library.

mz
 

-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com] 
Sent: Friday, August 23, 2002 9:12 AM
To: soap-user@xml.apache.org; soap-dev@xml.apache.org
Subject: Re: Pluggable Provider for C

I am not sure that a provider is the best solution for you, as a new
provider works best when it is working with a subsystem that has some
type
of naming service and dynamic invocation mechanism, such as EJBs or COM
objects.

When you say "call a C application", do you mean invoke the application,
or
do you mean call some function written in C?  If you mean the latter,
you
place the C function in an AIX shared library, then write a Java wrapper
for
it using JNI.

Scott Nichol

----- Original Message -----
From: "Mirsad Zahirovic" <mz...@beveragesolutions.com>
To: <so...@xml.apache.org>; <so...@xml.apache.org>
Sent: Friday, August 23, 2002 11:55 AM
Subject: Pluggable Provider for C


Has anyone attempted to build a Pluggable Provider for programs written
in C? I am trying to expose some legacy applications written in C on AIX
as web services. In theory I should be able to build a Pluggable
Provider in Java and use it to route calls to C applications. However, I
get lost when looking at "TemplateProvider.java", I'm not sure what I
need to get the call to a C application. Any help would be appreciated.

mz




--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: Pluggable Provider for C

Posted by Scott Nichol <sn...@scottnichol.com>.
I am not sure that a provider is the best solution for you, as a new
provider works best when it is working with a subsystem that has some type
of naming service and dynamic invocation mechanism, such as EJBs or COM
objects.

When you say "call a C application", do you mean invoke the application, or
do you mean call some function written in C?  If you mean the latter, you
place the C function in an AIX shared library, then write a Java wrapper for
it using JNI.

Scott Nichol

----- Original Message -----
From: "Mirsad Zahirovic" <mz...@beveragesolutions.com>
To: <so...@xml.apache.org>; <so...@xml.apache.org>
Sent: Friday, August 23, 2002 11:55 AM
Subject: Pluggable Provider for C


Has anyone attempted to build a Pluggable Provider for programs written
in C? I am trying to expose some legacy applications written in C on AIX
as web services. In theory I should be able to build a Pluggable
Provider in Java and use it to route calls to C applications. However, I
get lost when looking at "TemplateProvider.java", I'm not sure what I
need to get the call to a C application. Any help would be appreciated.

mz




Re: Pluggable Provider for C

Posted by Scott Nichol <sn...@scottnichol.com>.
I am not sure that a provider is the best solution for you, as a new
provider works best when it is working with a subsystem that has some type
of naming service and dynamic invocation mechanism, such as EJBs or COM
objects.

When you say "call a C application", do you mean invoke the application, or
do you mean call some function written in C?  If you mean the latter, you
place the C function in an AIX shared library, then write a Java wrapper for
it using JNI.

Scott Nichol

----- Original Message -----
From: "Mirsad Zahirovic" <mz...@beveragesolutions.com>
To: <so...@xml.apache.org>; <so...@xml.apache.org>
Sent: Friday, August 23, 2002 11:55 AM
Subject: Pluggable Provider for C


Has anyone attempted to build a Pluggable Provider for programs written
in C? I am trying to expose some legacy applications written in C on AIX
as web services. In theory I should be able to build a Pluggable
Provider in Java and use it to route calls to C applications. However, I
get lost when looking at "TemplateProvider.java", I'm not sure what I
need to get the call to a C application. Any help would be appreciated.

mz




--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: Pluggable Provider for C

Posted by Scott Nichol <sn...@scottnichol.com>.
I am not sure that a provider is the best solution for you, as a new
provider works best when it is working with a subsystem that has some type
of naming service and dynamic invocation mechanism, such as EJBs or COM
objects.

When you say "call a C application", do you mean invoke the application, or
do you mean call some function written in C?  If you mean the latter, you
place the C function in an AIX shared library, then write a Java wrapper for
it using JNI.

Scott Nichol

----- Original Message -----
From: "Mirsad Zahirovic" <mz...@beveragesolutions.com>
To: <so...@xml.apache.org>; <so...@xml.apache.org>
Sent: Friday, August 23, 2002 11:55 AM
Subject: Pluggable Provider for C


Has anyone attempted to build a Pluggable Provider for programs written
in C? I am trying to expose some legacy applications written in C on AIX
as web services. In theory I should be able to build a Pluggable
Provider in Java and use it to route calls to C applications. However, I
get lost when looking at "TemplateProvider.java", I'm not sure what I
need to get the call to a C application. Any help would be appreciated.

mz




Re: Pluggable Provider for C

Posted by Scott Nichol <sn...@scottnichol.com>.
I am not sure that a provider is the best solution for you, as a new
provider works best when it is working with a subsystem that has some type
of naming service and dynamic invocation mechanism, such as EJBs or COM
objects.

When you say "call a C application", do you mean invoke the application, or
do you mean call some function written in C?  If you mean the latter, you
place the C function in an AIX shared library, then write a Java wrapper for
it using JNI.

Scott Nichol

----- Original Message -----
From: "Mirsad Zahirovic" <mz...@beveragesolutions.com>
To: <so...@xml.apache.org>; <so...@xml.apache.org>
Sent: Friday, August 23, 2002 11:55 AM
Subject: Pluggable Provider for C


Has anyone attempted to build a Pluggable Provider for programs written
in C? I am trying to expose some legacy applications written in C on AIX
as web services. In theory I should be able to build a Pluggable
Provider in Java and use it to route calls to C applications. However, I
get lost when looking at "TemplateProvider.java", I'm not sure what I
need to get the call to a C application. Any help would be appreciated.

mz




--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


RE: Pluggable Provider for C

Posted by Anne Thomas Manes <an...@manes.net>.
You might try using a C/C++-based SOAP server.
Check out Systinet WASP Server for C++.
See http://www.systinet.com.

Anne
  -----Original Message-----
  From: Mirsad Zahirovic [mailto:mzahirovic@beveragesolutions.com]
  Sent: Friday, August 23, 2002 11:56 AM
  To: soap-dev@xml.apache.org; soap-user@xml.apache.org
  Subject: Pluggable Provider for C


  Has anyone attempted to build a Pluggable Provider for programs written in
C? I am trying to expose some legacy applications written in C on AIX as web
services. In theory I should be able to build a Pluggable Provider in Java
and use it to route calls to C applications. However, I get lost when
looking at "TemplateProvider.java", I'm not sure what I need to get the call
to a C application. Any help would be appreciated.



  mz




RE: Pluggable Provider for C

Posted by Anne Thomas Manes <an...@manes.net>.
You might try using a C/C++-based SOAP server.
Check out Systinet WASP Server for C++.
See http://www.systinet.com.

Anne
  -----Original Message-----
  From: Mirsad Zahirovic [mailto:mzahirovic@beveragesolutions.com]
  Sent: Friday, August 23, 2002 11:56 AM
  To: soap-dev@xml.apache.org; soap-user@xml.apache.org
  Subject: Pluggable Provider for C


  Has anyone attempted to build a Pluggable Provider for programs written in
C? I am trying to expose some legacy applications written in C on AIX as web
services. In theory I should be able to build a Pluggable Provider in Java
and use it to route calls to C applications. However, I get lost when
looking at "TemplateProvider.java", I'm not sure what I need to get the call
to a C application. Any help would be appreciated.



  mz




RE: Pluggable Provider for C

Posted by Anne Thomas Manes <an...@manes.net>.
You might try using a C/C++-based SOAP server.
Check out Systinet WASP Server for C++.
See http://www.systinet.com.

Anne
  -----Original Message-----
  From: Mirsad Zahirovic [mailto:mzahirovic@beveragesolutions.com]
  Sent: Friday, August 23, 2002 11:56 AM
  To: soap-dev@xml.apache.org; soap-user@xml.apache.org
  Subject: Pluggable Provider for C


  Has anyone attempted to build a Pluggable Provider for programs written in
C? I am trying to expose some legacy applications written in C on AIX as web
services. In theory I should be able to build a Pluggable Provider in Java
and use it to route calls to C applications. However, I get lost when
looking at "TemplateProvider.java", I'm not sure what I need to get the call
to a C application. Any help would be appreciated.



  mz




RE: Pluggable Provider for C

Posted by Anne Thomas Manes <an...@manes.net>.
You might try using a C/C++-based SOAP server.
Check out Systinet WASP Server for C++.
See http://www.systinet.com.

Anne
  -----Original Message-----
  From: Mirsad Zahirovic [mailto:mzahirovic@beveragesolutions.com]
  Sent: Friday, August 23, 2002 11:56 AM
  To: soap-dev@xml.apache.org; soap-user@xml.apache.org
  Subject: Pluggable Provider for C


  Has anyone attempted to build a Pluggable Provider for programs written in
C? I am trying to expose some legacy applications written in C on AIX as web
services. In theory I should be able to build a Pluggable Provider in Java
and use it to route calls to C applications. However, I get lost when
looking at "TemplateProvider.java", I'm not sure what I need to get the call
to a C application. Any help would be appreciated.



  mz