Hi!

I try to use CFX in first time.
Before I develop web services using other framworks and tools.

I make a simple project like "Writing a service with Spring" (Server and
client sides). These are no any problems.

But when I try to use my service by other clients it does not work
correctly.
Clients can connect to the service, they can make service method, but
method* don't get passed parameters*. 

Does it mean that CFX can work only with clients developed by CFX?
Why does it occure with other clients?


*Additional information.*

Our clients are developed by using different environments:
1. Java using Apache-Axis.
2. Delphi using their native components.

Using tools:
1. IDE- Eclipse Indigo
2. Java - JDK 1.6.0_16
3. Axis 1.4.
4. CFX 2.4.2.
 
Here is wsdl:
<?xml version='1.0' encoding='UTF-8'?><wsdl:definitions
name="HelloWorldImplService" targetNamespace="http://cfxhello.na.com/";
xmlns:ns1="http://schemas.xmlsoap.org/soap/http";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:tns="http://cfxhello.na.com/";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
  <wsdl:types>
<xsd:schema attributeFormDefault="unqualified"
elementFormDefault="unqualified" targetNamespace="http://cfxhello.na.com/";
xmlns:tns="http://cfxhello.na.com/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
  <xsd:element name="sayHi" type="tns:sayHi"/>
  <xsd:complexType name="sayHi">
    <xsd:sequence>
      <xsd:element minOccurs="0" name="text" type="xsd:string"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="sayHiResponse" type="tns:sayHiResponse"/>
  <xsd:complexType name="sayHiResponse">
    <xsd:sequence>
      <xsd:element minOccurs="0" name="return" type="xsd:string"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:schema>
  </wsdl:types>
  <wsdl:message name="sayHiResponse">
    <wsdl:part element="tns:sayHiResponse" name="parameters">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="sayHi">
    <wsdl:part element="tns:sayHi" name="parameters">
    </wsdl:part>
  </wsdl:message>
  <wsdl:portType name="HelloWorld">
    <wsdl:operation name="sayHi">
      <wsdl:input message="tns:sayHi" name="sayHi">
    </wsdl:input>
      <wsdl:output message="tns:sayHiResponse" name="sayHiResponse">
    </wsdl:output>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="HelloWorldImplServiceSoapBinding"
type="tns:HelloWorld">
    <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="sayHi">
      <soap:operation soapAction="" style="document"/>
      <wsdl:input name="sayHi">
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="sayHiResponse">
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="HelloWorldImplService">
    <wsdl:port binding="tns:HelloWorldImplServiceSoapBinding"
name="HelloWorldImplPort">
      <soap:address location="http://localhost:8080/trainCFX/HelloWorld"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

If you would like any other information I can give it.


--
View this message in context: 
http://cxf.547215.n5.nabble.com/Non-CFX-clients-for-CFX-web-services-tp4851892p4851892.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to