I'm working on some interop tests and I'm having trouble getting Sandesha1
to work with an Axis  1.2 service that uses WSDL2Java to generate skeletons.
I've attached the WSDL file and the modified web service deployment
desciptor for the services.

The behavior I'm seeing is that the RM infrastructure is working properly
(Sequence is created, message is sent using Sequence, Acks are returned for
sent message) but the request never makes it to the appropriate
implementation class (for either the Ping service or the Echo service).

Does anyone know what I am doing wrong?

Gilbert Pilz
Sr. Principal Technologist
Office of the CTO
BEA Systems, Inc.

  
<?xml version="1.0" encoding="UTF-8"?>

<!-- Services for testing WS-RM in one-way and request-response exchanges. If
     you have any problems or questions about these tests contact Gil Pilz
     [mailto:[EMAIL PROTECTED]  -->

<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:tns="http://example.org/exchange"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; targetNamespace="http://example.org/exchange"; name="ExchangeServices">

  <types>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://example.org/exchange";>
      <xs:element name="echoRequestElement" type="xs:string"/>
      <xs:element name="echoResponseElement" type="xs:string"/>
      <xs:element name="pingRequestElement" type="xs:string"/>
    </xs:schema>
  </types>

  <message name="echoRequest">
    <part name="parameter" element="tns:echoRequestElement"/>
  </message>
  <message name="echoResponse">
    <part name="parmeter" element="tns:echoResponseElement"/>
  </message>
  <message name="pingRequest">
    <part name="parameter" element="tns:pingRequestElement"/>
  </message>

  <!-- 'Echo' is our request-response interface -->
  <portType name="EchoPortType">
    <operation name="echo">
      <input message="tns:echoRequest"/>
      <output message="tns:echoResponse"/>
    </operation>
  </portType>

  <!-- 'Ping' is our one-way interface -->
  <portType name="PingPortType">
    <operation name="ping">
      <input message="tns:pingRequest"/>
    </operation>
  </portType>

  <!-- Define a SOAP binding for our Echo interface. -->
  <binding name="EchoSoapBinding" type="tns:EchoPortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="echo">
      <soap:operation soapAction="urn:#echo"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
  </binding>

  <!-- Define a SOAP binding for our Ping interface -->
  <binding name="PingSoapBinding" type="tns:PingPortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="ping">
      <soap:operation soapAction="urn:#ping"/>
      <input>
        <soap:body use="literal"/>
      </input>
    </operation>
  </binding>

  <service name="EchoService">
    <port name="EchoSoapPort" binding="tns:EchoSoapBinding">
      <soap:address location="http://apollo:8001/wsdl_echo_test/Echo"/>
    </port>
  </service>

  <service name="PingService">
    <port name="PingSoapPort" binding="tns:PingSoapBinding">
      <soap:address location="http://apollo:8001/wsdl_ping_test/Ping"/>
    </port>
  </service>
</definitions>

Attachment: DeploySandeshaServices.wsdd
Description: Binary data

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to