On 1/22/07, CharlesP <[EMAIL PROTECTED]> wrote:
bsnyder wrote: > > >>> Ok, I have done that. Do I need to start servicemix and then deploy the >>> project to the JBI container to make my service available to http >>> requests? >>> I'm not sure how to do this, if that is right. > >> First you need to package the SUs into a SA. Then the SA can be >> dropped into the ServiceMix deploy directory to be deployed. > > Ok, I was able to deploy the component. Now, I am wondering how I might test it by sending an http request? I try to browse to http://localhost:8192/example/ because that is what is listed as the location URL, but it gives a connection refused error.
You will need to submit a XML request via HTTP. There is a HTML test page that is part of the ServiceMix wsdl-first example here that can be used: http://fisheye3.cenqua.com/browse/servicemix/trunk/samples/wsdl-first/client.html?r=trunk This is just some HTML and Javascript that uses Ajax to create a XMLHttpRequest Javascript object to submit some XML to a URL. You can reuse this to test your deployed service. Just change up anything that is needed, e.g., you may not need the SOAP envelope on the XML depending on what you're testing. Just open the client.html file in a browser to use it. Bruce -- perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" );' Apache Geronimo - http://geronimo.apache.org/ Apache ActiveMQ - http://activemq.org/ Apache ServiceMix - http://servicemix.org/ Castor - http://castor.org/
