Thanks Bruce,
  I tried endpoint="Soap" in the Http SU - still, no luck. I get the same
error. Here's a print out of servicemix.log:

Starting service unit: cdwAPIjsr181SU
Starting service unit
Component: servicemix-jsr181 activated endpoint:
{http://servicemix.cdw.com/api/main}AvailMember : Soap
Querying service description for
ServiceEndpoint[service={http://servicemix.cdw.com/api/main}AvailMember,endpoint=Soap]
Endpoint
ServiceEndpoint[service={http://servicemix.cdw.com/api/main}AvailMember,endpoint=Soap]
implements interface {http://servicemix.cdw.com/api/main}AvailMemberPortType
Querying service description for
ServiceEndpoint[service={http://servicemix.cdw.com/api/main}AvailMember,endpoint=Soap]
Endpoint
ServiceEndpoint[service={http://servicemix.cdw.com/api/main}AvailMember,endpoint=Soap]
has a non WSDL2 service description
ServiceMix: broadcasting info for
org.apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={http://servicemix.cdw.com/api/main}AvailMember,endpoint=Soap]]
ServiceMix: broadcasting info for
org.apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={http://servicemix.cdw.com/api/main}AvailMember,endpoint=Soap]]
Service unit started

Starting service unit: cdwAPIHttpSU
Starting service unit
Retrieving proxied endpoint definition
Could not retrieve endpoint for service/endpoint
jetty-6.0.1
Dispatching job: [EMAIL PROTECTED]
Started SelectChannelConnector @ 0.0.0.0:8192
Service unit started


Does this make any sense?

Thanks again.





bsnyder wrote:
> 
> On Sun, Mar 23, 2008 at 8:00 PM, Mdu <[EMAIL PROTECTED]> wrote:
> ...
>>         <wsdl:service name="AvailMember">
>>                 <wsdl:port name="Soap"
>> binding="tns:AvailMemberSoapBinding">
>>                         <soap:address location="http://www.cdw.com/"; />
>>                 </wsdl:port>
>>         </wsdl:service>
>>  </wsdl:definitions>
>>
>>  =======  Http SU ==========
>>  <beans xmlns:http="http://servicemix.apache.org/http/1.0";
>>            xmlns:cdwapi="http://servicemix.cdw.com/api/main/1.0";>
>>         <classpath>
>>           <location>.</location>
>>         </classpath>
>>
>>         <!--  CDW API beans -->
>>         <http:endpoint service="cdwapi:AvailMember"
>>                       endpoint="AvailMember"
>>                       role="consumer"
>>                       locationURI="http://0.0.0.0:8192/AvailMember/";
>>                       soap="true" />
>>  </beans>
> ...
>>  An SA which contains both SU's deploys successfully. But locating the
>>  service via http://localhost:8192/AvailMember results in a 404 error.
>> Can
>>  somebody help with the proper attributes to use to connect http and
>> jsr181
>>  together. I'm confused by terms like 'service', e.g. is this SOAP
>> service or
>>  JBI service?
> 
> This is due to the fact that the HTTP endpoint name in the xbean.xml
> above does not match the service/[EMAIL PROTECTED] in the WSDL above. Instead
> of using endpoint="AvailMember" use endpoint="Soap" and the WSDL
> should resolve properly when you visit the following URL:
> 
> http://localhost:8192/AvailMember/?wsdl
> 
> Bruce
> -- 
> perl -e 'print
> unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
> 
> Apache ActiveMQ - http://activemq.org/
> Apache Camel - http://activemq.org/camel/
> Apache ServiceMix - http://servicemix.org/
> Apache Geronimo - http://geronimo.apache.org/
> 
> Blog: http://bruceblog.org/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/connecting-http-su-to-jsr181-su-tp16244291s12049p16321417.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to