[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.stp.sca-tools] Re: help:cant get gallileo eclipse STP tuscany v1 or v2 m3 working
|
one more question on same area.
tried to now expose the service as a web service - i followed the example in the tuscany basic user guide - however the expected response doesnt come back
modified the scdl spec as follows
<?xml version="1.0" encoding="UTF-8"?>
<sca:composite xmlns:sawsdl="http://www.w3.org/ns/sawsdl"
xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
name="demoSCA"
targetNamespace="http://will.org/demoSCA">
<sca:component name="HelloWorldComponent">
<sca:implementation.java class="HelloWorldImpl"/>
<sca:service name="HelloWorld"/>
</sca:component>
<sca:service name="HelloWorld" promote="HelloWorldComponent/HelloWorld">
<sca:binding.ws uri="http://localhost:8080/HelloWorld"/>
<sca:binding.sca/>
</sca:service>
</sca:composite>
this starts up okay - but when i point the browser a the URI
http://localhost:8080/HelloWorld?/wsdl
i get the following where the targetNamespace is "", and i get an error i cant see off to the right
//browser response cut and paste
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
------------------------------------------------------------ --------------------
The operation completed successfully. Error processing resource 'http://localhost:8080/HelloWorld?wsdl'. Line 2, Position ...
<wsdl:definitions name="HelloWorldService" targetNamespace="" xmlns:tns="" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" ...