On 4/11/07, Benamin <[EMAIL PROTECTED]> wrote:
Can you show me what this xbean.xml file for the SU that wraps my SE should look like?
It's completely dependent upon the implementation of your SE. At a minimum you'll need to define a namespace, provide a service name and an endpoint name. Beyond that it's dependent upon the parameters that are exposed by your SE that will need to be configured.
My new configuration for the http su looks like this: <beans xmlns:http="http://servicemix.apache.org/http/1.0" xmlns:test="http://servicemix.apache.org/samples/MyTest"> <!-- add this to config: targetService="Endpoint_Of_SU_That_Wraps_SE" --> <http:endpoint service="test:http" endpoint="endpoint" role="consumer" locationURI="http://0.0.0.0:8192/MyTest/" defaultMep="http://www.w3.org/2004/08/wsdl/in-only" /> </beans> I attempt to deploy this using an SA, and ServiceMix provides a message saying the SA was deployed, but if I browse to localhost:8192, I do not see my service available. Any thing I can look for to see why it might not be available?
What are you expecting to see when you visit http://localhost:8192? There won't be a web page available on that URL, the HTTP SU will be waiting for messages to be sent to it via that URL. One typical manner of testing a component is to use SoapUI to send SOAP messages. But this will only work if your component can handle SOAP messages or you have components wired into the flow that can handle SOAP messages and transform them into something that your component can handle. 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/
