thank you for your reply!

I have done what you said !

when i bulid a http web service using soap over http using servicemix ,I
have created http consumer su.http provider su. sa. Also a http
client(exactly it is a client.html),a web service.

I sent a soap message in the http client.the http consumer accept is and
sent it to NMR.
in the http provider(exactly in the xbean.xml) i can set the attribute
locationURI to the web service binding address which is defined in the wsdl
file!

for example:

<beans xmlns:http="http://servicemix.apache.org/http/1.0";
       xmlns:foo="http://servicemix.apache.org/http2http";>

  <http:endpoint service="foo:httpProvider"
                 endpoint="httpProvider"
                 role="provider" 
                 locationURI="http://localhost:8000/axis2/services/SayHello"; 
                 defaultMep="http://www.w3.org/2004/08/wsdl/in-out";             
        
                  />             

</beans>
this can be successful!

but when i build a JMS Web service using SOAP over JMS,I creat a jms
client.it sent jms message to a topic or a queue. the jms consumer can get
it by set a attribute (suce as jmsProviderDestinationName="queue/A"
)
but how can the web service get the jms message if there is no locationURI
attribute as the http provider ! 
the wsdl file look as(not the total file,just a part ):
35   <service name="StockQuoteService">
36       <documentation>My first service</documentation>
37       <port name="StockQuotePort" binding="tns:StockQuoteSoapBinding">
38           <wsdl11soap11:address
location="http://example.com/stockquote"/>
39       </port>
40       <port name="StockQuotePort_jms"
binding="tns:StockQuoteSoapJMSBinding">
41           <wsdl11soap11:address
location="jms:myQueue?targetService=stockquote"/>
42       </port>
43   </service>

thanks !









-- 
View this message in context: 
http://www.nabble.com/I-find-a-mistake.Am-I-right--tf4382260s12049.html#a12497761
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to