Hi..

i am SM-M3+ode bpel PingPong Example testing.

i am ode Engine install Success and PingPong SA deploy Success..

but i don't konw How di i ServiceMix.xml configuration.

i don't understand
http://servicemix.goopen.org/site/servicemix-http.html#servicemix-http-WSDLDeployment
explain

What is Consumer endpoint and Provider endpoint mean??

Where is establish a standard ?? (NMR??)

above site url examples
<http:endpoint service="test:MyConsumerService"
               endpoint="myConsumer"
               role="consumer" 
               locationURI="http://localhost:8192/Service/";
               defaultMep="http://www.w3.org/2004/08/wsdl/in-out"; />

i don't know service , endpoint, role , locationURI mean



follow test file ..

i send testSoapMessage.

====== testSoapMessage ==================
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
  <SOAP-ENV:Body>
        <PingRequest xmlns="urn:/Ping.wsdl">
        <text>hello</text>
    </PingRequest>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
===================================================

==== Ping.wsdl ===================
<?xml version="1.0"?>
<definitions name="Ping"
        targetNamespace="urn:/Ping.wsdl"
        xmlns:tns="urn:/Ping.wsdl"
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
        xmlns:smix="http://servicemix.org/wsdl/jbi/";
        xmlns="http://schemas.xmlsoap.org/wsdl/";>

    <types>
        <schema targetNamespace="urn:/Ping.wsdl"
                xmlns="http://www.w3.org/2000/10/XMLSchema";>
            <element name="PingRequest">
                <complexType>
                    <all>
                        <element name="text" type="string"/>
                    </all>
                </complexType>
            </element>
            <element name="PingResponse">
                <complexType>
                    <all>
                        <element name="text" type="string"/>
                    </all>
                </complexType>
            </element>
        </schema>
    </types>

    <message name="PingRequest">
        <part name="body" element="tns:PingRequest"/>
    </message>

    <message name="PingResponse">
        <part name="body" element="tns:PingResponse"/>
    </message>

    <portType name="PingPortType">
        <operation name="Ping">
            <input message="tns:PingRequest"/>
            <output message="tns:PingResponse"/>
        </operation>
    </portType>

    <binding name="PingSoapBinding" type="tns:PingPortType">
        <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="Ping">
            <soap:operation soapAction=""/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
        </operation>
    </binding>

    <service name="PingService">
        <port name="PingPort" binding="tns:PingSoapBinding">
            <soap:address location="http://localhost:8080/ping"/>

            <!-- Connect this external HTTP endpoint to the process internal 
                 JBI endpoint defined in ping/Ping.dd -->
            <smix:endpoint role="consumer" defaultMep="in-out"/>

        </port>
    </service>

</definitions>
================================================

===  Default Sevcemix.xml (SM_HOME/conf/)============
<?xml version="1.0" encoding="UTF-8"?>
<!--

    Licensed to the Apache Software Foundation (ASF) under one or more
    contributor license agreements.  See the NOTICE file distributed with
    this work for additional information regarding copyright ownership.
    The ASF licenses this file to You under the Apache License, Version 2.0
    (the "License"); you may not use this file except in compliance with
    the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

-->
<beans xmlns:sm="http://servicemix.apache.org/config/1.0";
                xmlns:my="http://servicemix.apache.org/demo/"; >

  <!-- System properties -->
  <sm:systemProperties>
    <property name="properties">
      <map>
        <entry key="java.security.auth.login.config">
          <bean class="org.springframework.util.ResourceUtils"
factory-method="getFile">
            <constructor-arg value="classpath:login.properties"/>
          </bean>
        </entry>
      </map>
    </property>
  </sm:systemProperties>

  <import resource="classpath:security.xml" />
  <import resource="classpath:jmx.xml" />
  <import resource="classpath:activemq.xml" />
  <import resource="classpath:jndi.xml" />

  <!-- the JBI container -->
  <sm:container id="jbi" 
                rootDir="./data/smx" 
                MBeanServer="#jmxServer"
                installationDirPath="./install"
                deploymentDirPath="./deploy"
                monitorInterval="1"
                dumpStats="true"
                statsInterval="10" 
                transactionManager="#transactionManager"
                workManager="#workManager"
                createJmxConnector="false"
                depends-on="jndi">
                
    <sm:broker>
      <sm:securedBroker authorizationMap="#authorizationMap">
        <sm:flows>
          <sm:sedaFlow />
          <sm:jcaFlow bootstrapContext="#bootstrapContext"
                      connectionManager="#connectionManager"
                      jmsURL="vm://ServiceMix" />
        </sm:flows>
      </sm:securedBroker>
    </sm:broker>

    <sm:activationSpecs>
        </sm:activationSpecs>
  </sm:container>
</beans>





-- 
View this message in context: 
http://www.nabble.com/Http%2Bode-bpel-config-tf2232709.html#a6188881
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to