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 "Guerino, Frank (MLIM)" <Gu...@exchange.ML.com> on 2001/03/05 15:20:28 UTC

Questions on service deployment

Hi,

I'm new to the group.  I've installed the soap service product set
and have created a simple class called "AdditionService" that
has a method with the following signature:

	public int AddTwoNumbers( int a, int b);

I've tried to deploy this as a service via the admin page and it
adds the service and seems to be visible via the "list" feature.
I'd like to test it but I'm confused as to how to access the
service via the rpcrouter endpoint.  I don't see anything obvious
in the documentation and I was hoping that it was as simple
as calling it via some http request.  Would anyone know how
to get to it?

Also, in order to deploy the service via XML I can use the
command line admin tool along with the endpoint as arguments.
Does anyone know if there is/are any tool(s) that automatically
generate this XML or do I have to always generate it by hand?

Thanks,

Frank



Have problem to run the calculator examples at soap2.1.

Posted by Xiaosi Zhang <zh...@yahoo.com>.
hi,

In the calculator example README, it has the following
information:
"
Client:
------

java samples.calculator.Calculator routerURL


Additional Server Classpath Requirements:
----------------------------------------

  bsf.jar and bsfengines.jar from the Bean Scripting
Framework:
   
http://oss.software.ibm.com/developerworks/opensource/bsf/
  js.jar from Rhino - JavaScript for Java:
    http://www.mozilla.org/rhino/

Additional Client Classpath Requirements:
----------------------------------------

  ../..
"

I download the bsf-2_2 and rhino, and put the bsf.jar
and js.jar to CLASSAPTH. But I can not find the
bsfengines.jar. When I run the calculator client, it
gave me the following error message:
"
Fault Code  = SOAP_ENV:Server.BADTargetObjectURI
Fault String =Unable to load BSF: script service not
avaiable without BSF:com.ibm.bsf.BSFManager.
"
But I think I have put the bsf.jar on my CLASSPATH.
I donot know why.
Somebody could give some help.

Thanks.

Xiaosi


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Have problem to run the calculator examples at soap2.1.

Posted by Xiaosi Zhang <zh...@yahoo.com>.
hi,

In the calculator example README, it has the following
information:
"
Client:
------

java samples.calculator.Calculator routerURL


Additional Server Classpath Requirements:
----------------------------------------

  bsf.jar and bsfengines.jar from the Bean Scripting
Framework:
   
http://oss.software.ibm.com/developerworks/opensource/bsf/
  js.jar from Rhino - JavaScript for Java:
    http://www.mozilla.org/rhino/

Additional Client Classpath Requirements:
----------------------------------------

  ../..
"

I download the bsf-2_2 and rhino, and put the bsf.jar
and js.jar to CLASSAPTH. But I can not find the
bsfengines.jar. When I run the calculator client, it
gave me the following error message:
"
Fault Code  = SOAP_ENV:Server.BADTargetObjectURI
Fault String =Unable to load BSF: script service not
avaiable without BSF:com.ibm.bsf.BSFManager.
"
But I think I have put the bsf.jar on my CLASSPATH.
I donot know why.
Somebody could give some help.

Thanks.

Xiaosi


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/