Hi folks,
I have a POJO that I deployed as a service and now I can access the WSDL
file as
http://central.acme.com:8081/axis2/services/SMProxy?wsdl
or as
https://central.acme.com:8443/axis2/services/SMProxy?wsdl
 
Now when I run WSDL2Java to create the client it works for the http URL
but fails for the https URL
It gives a generic error
org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing
WSDL
 
I have added the security certificate required to the cacerts file 
 
Any pointers are appreciated. (AXIS 2.0 ver 1.3 , ant 1.7 , java.version
= 1.5.0.07
 
Attached is the WSDL file 

regards 

-machoq
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:axis2="http://www.acme.com/"; xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; xmlns:ns0="http://www.acme.com/xsd"; xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; xmlns:ns1="http://org.apache.axis2/xsd"; xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; targetNamespace="http://www.acme.com/";>
    <wsdl:documentation>SMProxy</wsdl:documentation>
    <wsdl:types>
        <xs:schema xmlns:ns="http://www.acme.com/xsd"; attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://www.acme.com/xsd";>
            <xs:element name="ackMessage">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="mgmtServer" nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0" name="msgId" nillable="true" type="xs:string"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="ackMessageResponse">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="annotateMessage">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="mgmtServer" nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0" name="msgId" nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0" name="annoText" nillable="true" type="xs:string"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="annotateMessageResponse">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="createIR">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="mgmtServer" nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0" name="msgId" nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0" name="desc" nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0" name="sev" nillable="true" type="xs:string"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="createIRResponse">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:schema>
    </wsdl:types>
    <wsdl:message name="ackMessageRequest">
        <wsdl:part name="parameters" element="ns0:ackMessage"/>
    </wsdl:message>
    <wsdl:message name="ackMessageResponse">
        <wsdl:part name="parameters" element="ns0:ackMessageResponse"/>
    </wsdl:message>
    <wsdl:message name="createIRRequest">
        <wsdl:part name="parameters" element="ns0:createIR"/>
    </wsdl:message>
    <wsdl:message name="createIRResponse">
        <wsdl:part name="parameters" element="ns0:createIRResponse"/>
    </wsdl:message>
    <wsdl:message name="annotateMessageRequest">
        <wsdl:part name="parameters" element="ns0:annotateMessage"/>
    </wsdl:message>
    <wsdl:message name="annotateMessageResponse">
        <wsdl:part name="parameters" element="ns0:annotateMessageResponse"/>
    </wsdl:message>
    <wsdl:portType name="SMProxyPortType">
        <wsdl:operation name="ackMessage">
            <wsdl:input message="axis2:ackMessageRequest" wsaw:Action="urn:ackMessage"/>
            <wsdl:output message="axis2:ackMessageResponse" wsaw:Action="urn:ackMessageResponse"/>
        </wsdl:operation>
        <wsdl:operation name="createIR">
            <wsdl:input message="axis2:createIRRequest" wsaw:Action="urn:createIR"/>
            <wsdl:output message="axis2:createIRResponse" wsaw:Action="urn:createIRResponse"/>
        </wsdl:operation>
        <wsdl:operation name="annotateMessage">
            <wsdl:input message="axis2:annotateMessageRequest" wsaw:Action="urn:annotateMessage"/>
            <wsdl:output message="axis2:annotateMessageResponse" wsaw:Action="urn:annotateMessageResponse"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="SMProxySOAP11Binding" type="axis2:SMProxyPortType">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; style="document"/>
        <wsdl:operation name="ackMessage">
            <soap:operation soapAction="urn:ackMessage" style="document"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="createIR">
            <soap:operation soapAction="urn:createIR" style="document"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="annotateMessage">
            <soap:operation soapAction="urn:annotateMessage" style="document"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="SMProxySOAP12Binding" type="axis2:SMProxyPortType">
        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"; style="document"/>
        <wsdl:operation name="ackMessage">
            <soap12:operation soapAction="urn:ackMessage" style="document"/>
            <wsdl:input>
                <soap12:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap12:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="createIR">
            <soap12:operation soapAction="urn:createIR" style="document"/>
            <wsdl:input>
                <soap12:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap12:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="annotateMessage">
            <soap12:operation soapAction="urn:annotateMessage" style="document"/>
            <wsdl:input>
                <soap12:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap12:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="SMProxyHttpBinding" type="axis2:SMProxyPortType">
        <http:binding verb="POST"/>
        <wsdl:operation name="ackMessage">
            <http:operation location="SMProxy/ackMessage"/>
            <wsdl:input>
                <mime:content type="text/xml" part="ackMessage"/>
            </wsdl:input>
            <wsdl:output>
                <mime:content type="text/xml" part="ackMessage"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="createIR">
            <http:operation location="SMProxy/createIR"/>
            <wsdl:input>
                <mime:content type="text/xml" part="createIR"/>
            </wsdl:input>
            <wsdl:output>
                <mime:content type="text/xml" part="createIR"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="annotateMessage">
            <http:operation location="SMProxy/annotateMessage"/>
            <wsdl:input>
                <mime:content type="text/xml" part="annotateMessage"/>
            </wsdl:input>
            <wsdl:output>
                <mime:content type="text/xml" part="annotateMessage"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="SMProxy">
        <wsdl:port name="SMProxySOAP11port_https" binding="axis2:SMProxySOAP11Binding">
            <soap:address location="https://central.acme.org:8443/axis2/services/SMProxy"/>
        </wsdl:port>
        <wsdl:port name="SMProxySOAP11port_http1" binding="axis2:SMProxySOAP11Binding">
            <soap:address location="http://central.acme.org:8081/axis2/services/SMProxy"/>
        </wsdl:port>
        <wsdl:port name="SMProxySOAP12port_https" binding="axis2:SMProxySOAP12Binding">
            <soap12:address location="https://central.acme.org:8443/axis2/services/SMProxy"/>
        </wsdl:port>
        <wsdl:port name="SMProxySOAP12port_http1" binding="axis2:SMProxySOAP12Binding">
            <soap12:address location="http://central.acme.org:8081/axis2/services/SMProxy"/>
        </wsdl:port>
        <wsdl:port name="SMProxyHttpport" binding="axis2:SMProxyHttpBinding">
            <http:address location="https://central.acme.org:8443/axis2/services/SMProxy"/>
        </wsdl:port>
        <wsdl:port name="SMProxyHttpport1" binding="axis2:SMProxyHttpBinding">
            <http:address location="http://central.acme.org:8081/axis2/services/SMProxy"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to