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/
