I have the following:
======= WSDL (main.wsdl) ==========
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="AvailMember"
targetNamespace="http://servicemix.cdw.com/api/main"
xmlns:tns="http://servicemix.cdw.com/api/main">
<wsdl:types>
<xsd:schema
targetNamespace="http://servicemix.cdw.com/api/main"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://servicemix.cdw.com/api/main">
<xsd:element name="AvailMemberDataRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="memberId"
type="xsd:string"></xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="AvailMemberDataResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="status"
type="xsd:string"></xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="AvailMemberDataRequest">
<wsdl:part name="AvailMemberDataRequest"
element="tns:AvailMemberDataRequest">
</wsdl:part>
</wsdl:message>
<wsdl:message name="AvailMemberDataResponse">
<wsdl:part name="AvailMemberDataResponse"
element="tns:AvailMemberDataResponse">
</wsdl:part>
</wsdl:message>
<wsdl:portType name="AvailMemberPortType">
<wsdl:operation name="AvailMember">
<wsdl:input
message="tns:AvailMemberDataRequest"></wsdl:input>
<wsdl:output
message="tns:AvailMemberDataResponse"></wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="AvailMemberSoapBinding"
type="tns:AvailMemberPortType">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="AvailMember">
<soap:operation
soapAction="http://servicemix.cdw.com/api/main/AvailMember" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<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>
====== jsr181 SU ============
<beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0">
<classpath>
<location>.</location>
</classpath>
<!-- CDW API beans -->
<jsr181:endpoint pojo="#cdw_api_availmember"
wsdlResource="classpath:main.wsdl"
typeMapping="jaxb2"
annotations="jsr181"
style="document" />
<bean id="cdw_api_availmember"
class="com.cdw.servicemix.api.main.AvailMemberImpl">
<property name="context" ref="context" />
</bean>
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?
Thnx.
--
View this message in context:
http://www.nabble.com/connecting-http-su-to-jsr181-su-tp16244291s12049p16244291.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.