Re: logging request/response messages

2006-03-05 Thread Mike Barton
Try using WSABI, available @ http://sourceforge.net/projects/wsabi4axis 
It comes with monitoring module that does exactly what you want.


--Mike

Christopher Cheng wrote:
I would like to log XML request / response text messages and their response 
times in database, is there a way to do it in Axis? 










Re: AXIS 1.2 / OSCAR - How to automate server services deployment

2005-06-21 Thread Mike Barton
I would recommend that you start looking at AxisEngine and 
WSDDGlobalConfiguration to better understand how Axis manages deployments.


As for partitioning, it all depends on your requirements. From an ease 
of management perspective, I would suggest using a single instance of 
Axis, managing multiple services.  But, again it all depends on your 
requirements.


Ephemeris Lappis wrote:

Hello.

I'm working on a test to evaluate the difficulty level of an automated
service deployment in an axis server embeded in an OSGi bundle...

I've quickly made a first prototype of server side deployment descriptor
generation, starting with a wsdl input and a given implementation class.
This first test uses the org.apache.axis.wsdl.toJava.Emitter to generate the
deploy.wsdd, and then merges it with the axis server-config.wsdd. Then, an
AxisServlet instance is bound to the OSGi HttpService. This solution works
for a single service and a unique deployment.

Now, i realistic bundle should take into account multiple services that may
dynamically be deployed and undeployed...

What is the better start point in the axis server classes to handle these
hot deployment and undeployment ? To preserve the total partition between
services, is it better to create a new servlet for each service port ? Or,
is there a better way to use a single servlet and add or remove services ?

Thanks for your help.

--
Ephemeris Lappis







Re: /services/ intermittent display

2005-05-25 Thread Mike Barton
WSABI, like Axis, lives within the context of the webapp. So, it is 
possible to have multiple instances under a single web container.


--Mike

Michael Oliver wrote:

Great, what about more than one?

We have a Component Framework where each Component is a stand alone
webapp and each component has its own server-config.wsdd 


Michael Oliver
CTO
Alarius Systems LLC
6800 E. Lake Mead Blvd, #1096
Las Vegas, NV 89156
Phone:(702)643-7425
Fax:(702)974-0341
*Note new email changed from [EMAIL PROTECTED]

-Original Message-
From: Mike Barton [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 25, 2005 3:51 PM

To: axis-user@ws.apache.org
Subject: Re: /services/ intermittent display

Michael,

Yes... you can configure WSABI to read (and modify) arbitrary wsdd 
files.  Simply open "wsabi-configure.properties" file under 
/WEB-INF/classes directory of WSABI with your favorite editor and modify


the following properties:

providerClass=org.allesta.wsabi.axis.configure.provider.AxisFileProvider
wsddConfigPath=
wsddConfigName=

Note that this assumes WSABI app has read (and write) access to 
server-config.wsdd file.


--Mike.

Michael Oliver wrote:


Mike,

WSAbi looks great, however it looks like it only works with axis
installed as a stand alone application at /webapps/axis/ 


I have axis added to existing webapp at a different path, can WSAbi be
configured for that?

Michael Oliver
CTO
Alarius Systems LLC
6800 E. Lake Mead Blvd, #1096
Las Vegas, NV 89156
Phone:(702)643-7425
Fax:(702)974-0341
*Note new email changed from [EMAIL PROTECTED]

-Original Message-----
From: Mike Barton [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 25, 2005 3:16 PM

To: axis-user@ws.apache.org
Subject: Re: /services/ intermittent display

Michael,

Try using WSABI, which allows you manage Axis via a simple web based 
GUI.  This should get you going really fast.  WSABI is available at:


Download: http://sourceforge.net/projects/wsabi4axis
Information: http://www.allesta.com
Live Demo: http://demo.wsabi.org


--Mike


Michael Oliver wrote:


I have built and deployed a web service as part of an existing Web 
Application.




I deployed the web service using the AdminClient and deploy.wsdd



The Web Service is accessible and 
/services/AlariusAssignmentsServicces?wsdl works


And the service methods are accessible and also work.



What puzzles me is that before I did the AdminClient deploy of the 
deploy.wsdd I got a page at /services/ that said




"No service is available at this URL"



After I did the AdminClient deploy.wsdd I saw the attached 
server-config.wsdd and /services/ alone gave a display that showed the




services and links to get the wsdl



But after restarting Tomcat, the services still work, but the page at 
/services/ has reverted to "No service is available at this URL"




Log4j debug org.apache.axis shows that AxisServlet is running and 
appears to be processing through the server-config.wsdd but the


display 




doesn't change.



I would like to get that page display running again for demo purposes 
and while it doesn't seem to affect the processing of the web


services, 




it is a comfort thing that if the display shows its there, I may be


able 




to skip actually exercising it depending on the audience for the demo.



Michael Oliver

CTO

Alarius Systems LLC

6800 E. Lake Mead Blvd, #1096

Las Vegas, NV 89156

Phone:(702)643-7425

Fax:(702)974-0341

*Note new email changed from [EMAIL PROTECTED]


















Re: /services/ intermittent display

2005-05-25 Thread Mike Barton

Michael,

Yes... you can configure WSABI to read (and modify) arbitrary wsdd 
files.  Simply open "wsabi-configure.properties" file under 
/WEB-INF/classes directory of WSABI with your favorite editor and modify 
the following properties:


providerClass=org.allesta.wsabi.axis.configure.provider.AxisFileProvider
wsddConfigPath=
wsddConfigName=

Note that this assumes WSABI app has read (and write) access to 
server-config.wsdd file.


--Mike.

Michael Oliver wrote:

Mike,

WSAbi looks great, however it looks like it only works with axis
installed as a stand alone application at /webapps/axis/ 


I have axis added to existing webapp at a different path, can WSAbi be
configured for that?

Michael Oliver
CTO
Alarius Systems LLC
6800 E. Lake Mead Blvd, #1096
Las Vegas, NV 89156
Phone:(702)643-7425
Fax:(702)974-0341
*Note new email changed from [EMAIL PROTECTED]

-Original Message-----
From: Mike Barton [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 25, 2005 3:16 PM

To: axis-user@ws.apache.org
Subject: Re: /services/ intermittent display

Michael,

Try using WSABI, which allows you manage Axis via a simple web based 
GUI.  This should get you going really fast.  WSABI is available at:


Download: http://sourceforge.net/projects/wsabi4axis
Information: http://www.allesta.com
Live Demo: http://demo.wsabi.org


--Mike


Michael Oliver wrote:

I have built and deployed a web service as part of an existing Web 
Application.




I deployed the web service using the AdminClient and deploy.wsdd



The Web Service is accessible and 
/services/AlariusAssignmentsServicces?wsdl works


And the service methods are accessible and also work.



What puzzles me is that before I did the AdminClient deploy of the 
deploy.wsdd I got a page at /services/ that said




"No service is available at this URL"



After I did the AdminClient deploy.wsdd I saw the attached 
server-config.wsdd and /services/ alone gave a display that showed the




services and links to get the wsdl



But after restarting Tomcat, the services still work, but the page at 
/services/ has reverted to "No service is available at this URL"




Log4j debug org.apache.axis shows that AxisServlet is running and 
appears to be processing through the server-config.wsdd but the


display 


doesn't change.



I would like to get that page display running again for demo purposes 
and while it doesn't seem to affect the processing of the web


services, 


it is a comfort thing that if the display shows its there, I may be


able 


to skip actually exercising it depending on the audience for the demo.



Michael Oliver

CTO

Alarius Systems LLC

6800 E. Lake Mead Blvd, #1096

Las Vegas, NV 89156

Phone:(702)643-7425

Fax:(702)974-0341

*Note new email changed from [EMAIL PROTECTED]













Re: /services/ intermittent display

2005-05-25 Thread Mike Barton

Michael,

Try using WSABI, which allows you manage Axis via a simple web based 
GUI.  This should get you going really fast.  WSABI is available at:


Download: http://sourceforge.net/projects/wsabi4axis
Information: http://www.allesta.com
Live Demo: http://demo.wsabi.org


--Mike


Michael Oliver wrote:
I have built and deployed a web service as part of an existing Web 
Application.


 


I deployed the web service using the AdminClient and deploy.wsdd

 

The Web Service is accessible and 
/services/AlariusAssignmentsServicces?wsdl works


And the service methods are accessible and also work.

 

What puzzles me is that before I did the AdminClient deploy of the 
deploy.wsdd I got a page at /services/ that said


 


“No service is available at this URL”

 

After I did the AdminClient deploy.wsdd I saw the attached 
server-config.wsdd and /services/ alone gave a display that showed the 
services and links to get the wsdl


 

But after restarting Tomcat, the services still work, but the page at 
/services/ has reverted to “No service is available at this URL”


 

Log4j debug org.apache.axis shows that AxisServlet is running and 
appears to be processing through the server-config.wsdd but the display 
doesn’t change.


 

I would like to get that page display running again for demo purposes 
and while it doesn’t seem to affect the processing of the web services, 
it is a comfort thing that if the display shows its there, I may be able 
to skip actually exercising it depending on the audience for the demo.


 


Michael Oliver

CTO

Alarius Systems LLC

6800 E. Lake Mead Blvd, #1096

Las Vegas, NV 89156

Phone:(702)643-7425

Fax:(702)974-0341

*Note new email changed from [EMAIL PROTECTED]

 





Re: Debug CLIENT without tcpmon

2005-04-09 Thread Mike Barton
You can use the handlers in wsabi on the client side as well...
--Mike
Steffen Heil wrote:
Hi

Try wsabi4axis available for free download from SourceForge 
at http://sourceforge.net/projects/wsabi4axis/

It has a handler based audit log service that should give 
what you are looking for.

I do NOT have any access to the server...
Regards,
  Steffen



Re: Debug CLIENT without tcpmon

2005-04-09 Thread Mike Barton
Try wsabi4axis available for free download from SourceForge at 
http://sourceforge.net/projects/wsabi4axis/

It has a handler based audit log service that should give what you are 
looking for.

You can see it in action @ http://demo.wsabi.org  Look under "Monitor" 
section and click on "Audit Logs"

Steffen Heil wrote:
Hi
I need to debug a web service.
I do have the wsdl and I compiled it using wsdl2java.
That part works.
Now I try to call the service and it fails.
What I need is a way to see, what's being sent and what's received.
But I cannot use tcpmon, because the service is only available using ssl...
Any hint?
Regards,
  Steffen



Re: Logging all requests

2005-04-08 Thread Mike Barton
This is repetition of my previous post but...
Try WSABI... available at http://sourceforge.net/projects/wsabi4axis/
It comes with handlers to persist SOAP messages.. both request and response.
The demo is available at http://demo.wsabi.org   Look under "Monitor" 
section.

--Mike
Ralph Pöllath wrote:
Hi,
I'm using code generated by wsdl2java in my spring based app and would 
like to log the SOAP envelopes of all outgoing requests and their 
responses - basically what tcpmon does, but without running a separate 
process.

Any ideas?
Cheers,
-Ralph.




Re: How to dump the raw SOAP Envelope?

2005-04-08 Thread Mike Barton
Try WSABI... available at http://sourceforge.net/projects/wsabi4axis/
It comes with handlers to persist SOAP messages.. both request and response.
--Mike
Jin-Ha Tchoe wrote:
Hi,
we use Axis 1.2 Alpha with Tomcat 4.0.3 and Castor 0.95 for a
SOAP-Service. Sometimes we have customers you are not accustomed to SOAP
and have lots of problems using our Service. The problems range from
simple typos and wrong namespaces to forgetting the SOAP-Envelope.
 Whenever Axis and Castor are unable to determine the right Service or
(Un-)marshal the message, the most the customers can see (and therefore
us) is a simple AxisFault. Unfortunately that does not help us see what
exactly is going wrong. So, is there a way for Axis to dump the complete
raw SOAP Envelope _before_ doing its work, so that we can something?
Many thanks in advance,
Jin-Ha Tchoe



Re: Dynamically reconfiguring Axis at runtime?

2005-03-15 Thread Mike Barton
It's perfectly sane :-)
Check out http://demo.wsabi.org
Mike.
Brian Abbott wrote:
Hi,
I have a webservice generated from a class that has
overloaded methods. However, I only want one method
defination to be exposed through Axis and have only
that same method be represented in the generated WSDL.
What would be the best way to do this? I was thinking
about dynamically removing the definitions from
WSDDDeployment dynamically at runtime. Is that a sane
idea? Is there a more "preffered" way? If I was to
reconfigure the AxisEngine's EngineConfiguration,
where would I start for that?
Thank you so much,
Brian Abbott

		
__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 





ANNOUNCE: WSABI For Axis v1.0 RC1 has been released

2005-03-01 Thread Mike Barton
Hello Axis Users,
WSABI For Axis 1.0 RC1, a new version of the leading open source Web 
services  management (WSM) product has been released. It is now 
available in source and binary form Source Forge pages at Source Forge.

The latest version of WSABI For Axis includes a brand new security 
module with "1-Click Security" feature.  Users no longer need to 
manually edit deployment configuration files to secure Web services. 
Also included in this release is a new performance charting feature that 
enables you to easily view response times on an ongoing basis as your 
Web services process requests.

This is a Release Candidate snapshot of the latest development tree, 
adding new features and fixing recently discovered bugs.

Live Demo:http://demo.wsabi.org
Download :http://sourceforge.net/projects/wsabi4axis
---
NOTE: This is Release Candidate release. This build passes most of our 
test suite and fixes a lot of reported bugs found in the previous 
versions. However, please be aware that this is not a production WSABI 
release. There are still some open issues and critical bugs that affect 
 this release as well.

We are actively working to fix these issues and will make a new release 
where these are fixed as soon as possible. This snapshot gives you an 
opportunity for testing and evaluating the upcoming WSABI for Axis 
version 1.0.