Stop! it's my mistake... originally it is a rpc/enc service! I have attached
wrong wsdl-file. but result is the same.... maybe I have some error in
wsdl-file, original wsdl file you can find here ->
http://ccs.fax.de/xmlws.exe/wsdl/IXMLWS
this wsdl-file axis can't parse. i'm trying to write equivalent wsdl-file
for axis. client for this service i have already done with axis 1.2.1, only
one function was not realized - function send(...) it use base64Binary, and
i can't find solution for this.... i gated error from server, that MIME-part
cannot be read......
king regards,
filipp
==========================wsdl file with rpc/enc===========================
<?xml version="1.0" encoding="utf-8"?>
<definitions name="IXMLWSservice"
targetNamespace="http://tempuri.org/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soaapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://tempuri.org/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsd1="http://axis2.soap.fax.de/xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/">
<types>
<schema targetNamespace="http://axis2.soap.fax.de/xsd"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
elementFormDefault="qualified">
<complexType name="KundennameRQ">
<all>
<element name="Account" type="xsd:string"/>
<element name="Password" type="xsd:string"/>
<element name="KdName" type="xsd:string"/>
</all>
</complexType>
<complexType name="KundennameResponse">
<all>
<element name="return" type="xsd:int"/>
<element name="KdName" type="xsd:string"/>
</all>
</complexType>
<element name="Kundenname" type="xsd1:KundennameRQ"/>
<element name="KundennameRS"
type="xsd1:KundennameResponse"/>
</schema>
</types>
<message name="Kundenname3Request">
<part element="xsd1:Kundenname" name="Kundenname"/>
</message>
<message name="Kundenname3Response">
<part element="xsd1:KundennameRS" name="KundennameResponse"/>
</message>
<portType name="IXMLWS">
<operation name="Kundenname">
<input message="tns:Kundenname3Request" name="Kundenname3Request"/>
<output message="tns:Kundenname3Response" name="Kundenname3Response"/>
</operation>
</portType>
<binding name="IXMLWSbinding" type="tns:IXMLWS">
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="Kundenname">
<soap:operation soapAction="urn:XMLWSIntf-IXMLWS#Kundenname"
style="rpc"/>
<input name="Kundenname3Request">
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:XMLWSIntf-IXMLWS"/>
</input>
<output name="Kundenname3Response">
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:XMLWSIntf-IXMLWS"/>
</output>
</operation>
</binding>
<service name="IXMLWSservice">
<port name="IXMLWSPort" binding="tns:IXMLWSbinding">
<soap:address location="http://ccs.fax.de/xmlws3.exe/soap/IXMLWS"/>
</port>
</service>
</definitions>
===========================================================================
> Hi Filip,
> Uh Oh.. this is an rpc/literal service :(. We don't generate correct code
> for the rpc/lit case (yet). Only doc/lt
>
>
>
> On 9/19/05, Filipp Akinfiev <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > Hi All,
> >
> > i have make a stub for WS from simple wsdl file with WSDL2Java - no
> errors, no warnings.
> >
> > communication is ok too, see below.
> >
> > but after response i get error: Data binding error.
> >
> > any ideas ?
> >
> > thanks in advance!
> >
> > king regards,
> >
> > filipp