This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Web Services and the fly likes WS-I monitor? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WS-I monitor?" Watch "WS-I monitor?" New topic
Author

WS-I monitor?

Matt Hoffman
Ranch Hand

Joined: Jun 03, 2004
Posts: 83
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.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42374
    
  64
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 ]

Ping & DNS - my free Android networking tools app
Matt Hoffman
Ranch Hand

Joined: Jun 03, 2004
Posts: 83
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
Marshal

Joined: Mar 22, 2005
Posts: 42374
    
  64
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

Joined: Jun 03, 2004
Posts: 83
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

Joined: Jun 03, 2004
Posts: 83
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.
Nicola Dorazio
Greenhorn

Joined: Sep 16, 2013
Posts: 1
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WS-I monitor?