• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

WS-I monitor?

 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am rather new to web services and want to know how to run the WSI Monitor. I have Eclipse and Axis. If you know of any good resources, please let me know. I can't seem to find a step-by-step tutorial on this.
 
Rancher
Posts: 43028
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure what you mean by "WS-I monitor".

If you want to monitor SOAP messages flowing back and forth, then Axis has two for you: TCPMon is a standalone application, and SOAPMonitor is a JAX-RPC handler for the server. Both are mentioned (and described, to a degree) in the Axis user guide. The Web Services FAQ, which is linked in my signature, has a link to a HOW-TO article on SOAPMonitor.
[ November 25, 2005: Message edited by: Ulf Dittmer ]
 
Matt Hoffman
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well the WS-I seems to be solid standards for WSDL and Web Services implementation. Here is a link to their website.
http://www.ws-i.org/deliverables/workinggroup.aspx?wg=testingtools

I am just checking to see if anyone has used the tools with their web services.

Thanks
 
Ulf Dittmer
Rancher
Posts: 43028
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Interesting, I didn't know about this effort. But I didn't see anything suggesting that you actually download those tools; maybe that's for members only?
 
Matt Hoffman
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
These can be downloaded. I have them on my machine. I just can't figure out how to run monitoring tools on my web service.
 
Matt Hoffman
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here is the messge I sent to WS-I...

I am pretty new to web services and Java. I have a web service build through axis and want to monitor it through WS-I. My web service is at http://localhost:8080/axis/services/OrderLookupService on my machine. Do I just use the monitorConfig.xml in the sample folder? Do I need to move it out of the folder? In the monitorConfig.xml file it has
<wsi-monConfig:redirect>
<wsi-monConfig:comment>This is a redirect example for local Retailer Sample App on port 8080.</wsi-monConfig:comment>
<wsi-monConfig:listenPort>80</wsi-monConfig:listenPort>
<wsi-monConfig:schemeAndHostPort>http://localhost:8080</wsi-monConfig:schemeAndHostPort>;
<wsi-monConfig:maxConnections>1000</wsi-monConfig:maxConnections>
<wsi-monConfig:readTimeoutSeconds>15</wsi-monConfig:readTimeoutSeconds>
</wsi-monConfig:redirect>

This seems to be ok, but do I need to change this for my webservice? I am running a client and getting the following SOAP, so I know it is working.

SOAP REQUEST:
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><getInvoiceNumber soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><arg0 xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">2</arg0></getInvoiceNumber></soapenv:Body></soapenv:Envelope>

SOAP RESPONSE:
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><getInvoiceNumberResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><getInvoiceNumberReturn xsi:type="xsd:int">13</getInvoiceNumberReturn></getInvoiceNumberResponse></soapenv:Body></soapenv:Envelope>
13


Thanks for any help on this.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm unable to configure the monitor: when I'm invoking it by soap ui I'm getting:


this is the config.xml of the monitor:


And I'm invoking the monitor from soapui with this URL=http://localhost:3001

I'm using WEBLOGIC server and I see that should be a forwarding error because I see that the full path of the service (in weblogic deploy section) is:
http://localhost:7001/SP1QuerySedeByRegione-SP1QuerySedeByRegione-context-root/SIAP_QuerySedeByRegioneSOAP

The WSDL is configured as follow:


Where am I failing?

Thanks for your time
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic