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.