What is the wsdl2java command look like exactley? I can't believe
google didn't "know" the answer ;-(
I would expect the wsdl to look like..
<wsdl:input name="mensajesencillo>
<wsdlsoap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:http://sencillo"/>
</wsdl:input>
why does it not?
And it's not a "void" interface it's just "empty" or "with no members"
� 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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]