Hi Iam new to Service mix, I created the HelloWorld ServiceEngine and Http binding component and bind it to the Service Engine. how can i send the soap request to that http binding component can i use the http client given in the wsdl-first example.
This is the xml i used <?xml version="1.0" encoding="UTF-8"?> <hello xmlns:tns="http://servicemix.apache.org/samples/helloworld/se">Ski Colorado!</hello> This is the output i got STATUS: 404 <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <title>Error 404 NOT_FOUND</title> </head> <body> <h2>HTTP ERROR: 404</h2><pre>NOT_FOUND</pre> <p>RequestURI=/</p> <p><small> http://jetty.mortbay.org Powered by jetty:// </small></p> please help me to proceed further. Thanks Hema CharlesP wrote: > > > gnodet wrote: >> >>> Well, you need to send a SOAP request. >>> I would advice to download SoapUI, load your wsdl in it >>> and take a look at the generated request. >>> (www.soapui.org) >> >>> On 1/25/07, CharlesP <[EMAIL PROTECTED]> wrote: >>>> >>>> gnodet wrote: >>>> > >>>> > < This xml is not well formed. >>>> > < Try >>>> > >>>> > < <?xml version="1.0" encoding="UTF-8"?> >>>> > < <hello >>>> > xmlns:tns="http://servicemix.apache.org/samples/helloworld/se">Ski >>>> > < Colorado!</hello> >>>> > >>>> >>>> I try that xml and get the following error: >>>> >>>> STATUS: 400 >>>> <?xml version='1.0' encoding='UTF-8'?><env:Envelope >>>> > >>>> >xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Body><env:Fault><env:Code><env:Value>env:Sender</env:Value><env:Subcode><env:Value>env:Sender</env:Value></env:Subcode></env:Code><env:Reason><env:Text >>>> xml:lang="en">Unrecognized element: hello at [2,1]. Expecting >>>> 'Envelope'.</env:Text></env:Reason></env:Fault></env:Body></env:Envelope> >>>> >>>> Any advice? >>>> >> > > So does this mean I need to do something like what is in the wsdl-first > example? I would create a jsr181 su and a wsdl file with it? > > -- View this message in context: http://www.nabble.com/Questions-about-Hello-World-Example-tf3036579s12049.html#a9248585 Sent from the ServiceMix - User mailing list archive at Nabble.com.
