ok, the validation error is a bum steer - they all do that, even the ones
that work.
My problem seems to be:
icemix.common.DefaultComponent 87 | No description found for
{http://uhi.ac.uk}SonOfPliersService:getAccountStatus
my xbean.xml are:
su:
<beans xmlns:hwse="http://uk.ac.uhi.provisioning.sonofpliers.se/1.0"
xmlns:uhi="http://uhi.ac.uk">
<hwse:endpoint service="uhi:SonOfPliersService"
endpoint="getAccountStatus"/>
</beans>
http-su:
<beans xmlns:http="http://servicemix.apache.org/http/1.0"
xmlns:hwse="http://uk.ac.uhi.provisioning.sonofpliers.se/1.0"
xmlns:uhi="http://uhi.ac.uk">
<http:endpoint service="uhi:SonOfPliersService"
endpoint="getAccountStatus"
role="consumer"
locationURI="http://localhost:8192/SonOfPliersService"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out" />
</beans>
can anyone please point me in the right direction?
thanks,
Alistair
--
mov eax,1
mov ebx,0
int 80h
> I turned on all logging and got this error which I have no idea how
> to fix as I didn't create the file!
>
> Validation error on file:/Users/alistair/apps/apache-servicemix-3.1.1-
> incubating/data/smx/service-assemblies/uhi-sonofpliers-sa/version_1/
> sus/servicemix-http/uhi-sonofpliers-http-su/META-INF/jbi.xml:
> org.xml.sax.SAXParseException: cvc-complex-type.4: Attribute
> 'interface-name' must appear on element 'consumes'
>
> <?xml version="1.0" encoding="UTF-8"?>
> <jbi xmlns="http://java.sun.com/xml/ns/jbi" version="1.0">
> <services binding-component="false" xmlns:uhi="http://uhi.ac.uk">
> <consumes service-name="uhi:SonOfPliersService" endpoint-
> name="getAccountStatus"/>
> </services>
> </jbi>
>
> how can I get the hello world se to work?
>
> thanks,
>
> Alistair
>
>
> --------------
> mov eax,1
> mov ebx,0
> int 80h
>
>
>
>
> On 23 Aug 2007, at 11:25, Alistair Young wrote:
>
>> Hi there,
>>
>> I'm new to Servicemix and was following the HelloWorld SE tutorial at:
>>
>> http://incubator.apache.org/servicemix/hello-world-se.html
>>
>> but it doesn't say how to test the HTTP endpoint, e.g. I have this
>> installed/deployed:
>>
>> http://localhost:8192/Service/SonOfPliersService/
>>
>> no WSDL is available (Error 404)
>>
>> and I've no idea how to actually use the service via simple HTTP
>> GET. The end to end testing in the tutorial is empty.
>>
>> The JBI component is:
>>
>> <hwse:endpoint service="uhi:SonOfPliersService"
>> endpoint="getAccountStatus"/>
>>
>> does anyone know how I can actually get output from the endpoint
>> that the servicemix-http is proxying without using SOAP? i.e. I
>> just want to send it a GET request and get the plain text back.
>>
>> http-su xbean.xml:
>> <beans xmlns:http="http://servicemix.apache.org/http/1.0"
>> xmlns:uhi="http://uhi.ac.uk">
>> <http:endpoint service="uhi:SonOfPliersService"
>> endpoint="getAccountStatus"
>> role="consumer"
>> locationURI="http://sgarbh.smo.uhi.ac.uk:8192/
>> Service/SonOfPliersService"
>> defaultMep="http://www.w3.org/2004/08/wsdl/in-
>> out" />
>> </beans>
>>
>> su xbean.xml:
>> <beans xmlns:hwse="http://uk.ac.uhi.provisioning.sonofpliers.se/1.0"
>> xmlns:uhi="http://uhi.ac.uk">
>> <hwse:endpoint service="uhi:SonOfPliersService"
>> endpoint="getAccountStatus"/>
>> </beans>
>>
>> thanks,
>>
>> Alistair
>>
>>
>> --------------
>> mov eax,1
>> mov ebx,0
>> int 80h
>>
>>
>>
>>
>
>