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.
>
>
Ok, I just now noticed I am actually getting an exception when servicemix
starts up:
java.lang.RuntimeException: org.xml.sax.SAXParseException: The value of the
attribute "prefix="xmlns",localpart="ns1",rawname="xmlns:ns1"" is invalid.
Prefixed namespace bindings may not be empty.
Any ideas if this is causing problems and what this means?
--
View this message in context:
http://www.nabble.com/Questions-about-Hello-World-Example-tf3036579s12049.html#a8523299
Sent from the ServiceMix - User mailing list archive at Nabble.com.