You don't have a message part called "Body", so this reference doesn't make sense:

<mime:mimeXml part="Body"/>

Anne

On 5/30/06, Jose Manuel Cercós Moreno <[EMAIL PROTECTED]> wrote:
I'm trying to create a stub from .wsdl that i had created where the
binding is POST and when i executed the wsdl2java command i get an
void interface. Why? I had been to search in google and i haven't
anything.
Thanks in advance.

WSDL

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/ "
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema "
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://sencillo"
xmlns:tm=" http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="http://sencillo">
        <wsdl:message name="mensajesencillo">
                <wsdl:part name="Email" type="s:string"/>
                <wsdl:part name="ServiceName" type="s:string"/>
                <wsdl:part name="OperationName" type="s:string"/>
        </wsdl:message>
        <wsdl:portType name="SencilloHttp_Post">
                <wsdl:operation name="operacionsencilla">
                        <wsdl:input message="tns:mensajesencillo"/>
                </wsdl:operation>
        </wsdl:portType>
        <wsdl:binding name="SencilloHttp_Post" type="tns:SencilloHttp_Post">
                <http:binding verb="POST"/>
                <wsdl:operation name="operacionsencilla">
                        <http:operation location="operacionsencilla"/>
                        <wsdl:input>
                                <mime:mimeXml part="Body"/>
                        </wsdl:input>
                </wsdl:operation>
        </wsdl:binding>
        <wsdl:service name="WSDLTester">
                <wsdl:port name="SencilloHttp_Post" binding="tns:SencilloHttp_Post">
                        <http:address
location="http://192.168.153.100:8080/appProxyAmadeus/servlet/svlProxyAmadeus"/>
                </wsdl:port>
        </wsdl:service>
</wsdl:definitions>

INTERFACE

package sencillo;

public interface WSDLTester extends javax.xml.rpc.Service {
}

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to