Hello all,

I have almost solved all problems to communicate from Java-client to
IIS-Listener.
I can get a String result back from IIS. :) It works fine. 
Thanks to Samuel, Russel and Michael.


But I can't get back an Array as a result.

I was looking in the archive and found out, that there were before
problems with arrays.
But at that time, the users had Axis Beta1 and MS SoapToolKit 2.0.

By now I use Axis Beta2 and MS SoapToolKit 3 Beta1.  I hoped this
problem has been solved.

This is the Error message, and below I've pasted the WSDL code:

- Exception:
org.xml.sax.SAXException: !! No Deserializer for
http://schemas.microsoft.com/soap-toolkit/data-types:empty
        at
org.apache.axis.encoding.DeserializerImpl.onStartElement(DeserializerImp
l.java:447)
        at
org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.
java:394)
        at
org.apache.axis.encoding.DeserializationContextImpl.startElement(Deseria
lizationContextImpl.java:844)
        at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:
199)
        at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.j
ava:589)
        at
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:224)
        at
org.apache.axis.message.RPCElement.getParams(RPCElement.java:248)
        at org.apache.axis.client.Call.invoke(Call.java:1701)
        at org.apache.axis.client.Call.invoke(Call.java:1608)
        at org.apache.axis.client.Call.invoke(Call.java:1169)
        at
org.tempuri.CreateCOMSoapBindingStub.makeConnection(CreateCOMSoapBinding
Stub.java:103)
        at org.tempuri.start.main(start.java:21)



WSDL:

<?xml version='1.0' encoding='UTF-8' ?>
<!-- Generated 05/17/02 by Microsoft SOAP Toolkit WSDL File Generator,
Version 3.00.1124.0 --> 
<definitions
        name='CreateCOM'
        targetNamespace='http://tempuri.org/CreateCOM/wsdl/'
        xmlns:wsdlns='http://tempuri.org/CreateCOM/wsdl/'
        xmlns:typens='http://tempuri.org/CreateCOM/type/'
        xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
        xmlns:xsd='http://www.w3.org/2001/XMLSchema'
        
xmlns:stk='http://schemas.microsoft.com/soap-toolkit/wsdl-extension'
        xmlns:dime='http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/'
        xmlns:ref='http://schemas.xmlsoap.org/ws/2002/04/reference/'
        
xmlns:content='http://schemas.xmlsoap.org/ws/2002/04/content-type/'
        xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
        xmlns='http://schemas.xmlsoap.org/wsdl/'>

        <types>
                <schema
        
targetNamespace='http://tempuri.org/CreateCOM/type/'
                        xmlns='http://www.w3.org/2001/XMLSchema'
        
xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
                        xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
                        elementFormDefault='qualified'>

                        <import
namespace='http://schemas.xmlsoap.org/soap/encoding/'/>
                        <import
namespace='http://schemas.xmlsoap.org/wsdl/'/>
                        <import
namespace='http://schemas.xmlsoap.org/ws/2002/04/reference/'/>
                        <import
namespace='http://schemas.xmlsoap.org/ws/2002/04/content-type/'/>

                </schema>
        </types>

        <message name='CreateCOM.makeConnection'>
                <part name='uid' type='xsd:string'/>
                <part name='password' type='xsd:string'/>
        </message>

        <message name='CreateCOM.makeConnectionResponse'>
                <part name='Result' type='xsd:anyType'/>
        </message>

        <portType name='CreateCOMSoapPort'>

                <operation name='makeConnection' parameterOrder='uid
password'>
                        <input
message='wsdlns:CreateCOM.makeConnection'/>
                        <output
message='wsdlns:CreateCOM.makeConnectionResponse'/>
                </operation>

        </portType>

        <binding name='CreateCOMSoapBinding'
type='wsdlns:CreateCOMSoapPort' >

                <stk:binding preferredEncoding='UTF-8'/>
                <soap:binding style='rpc'
transport='http://schemas.xmlsoap.org/soap/http'/>

                <operation name='makeConnection'>
                        <soap:operation
soapAction='http://tempuri.org/CreateCOM/action/CreateCOM.makeConnection
'/>
                        <input>
                                <soap:body
                                        use='encoded'
        
namespace='http://tempuri.org/CreateCOM/message/'
        
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
                                        parts='uid password'/>
                        </input>
                        <output>
                                <soap:body
                                        use='encoded'
        
namespace='http://tempuri.org/CreateCOM/message/'
        
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
                                        parts='Result'/>
                        </output>
                </operation>

        </binding>

        <service name='CreateCOM' >
                <port name='CreateCOMSoapPort'
binding='wsdlns:CreateCOMSoapBinding' >
                        <soap:address
location='http://localhost:80/server/CreateCOM.ASP'/>
                </port>
        </service>

</definitions>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to