Zdenek,
Thanks for responding. I actually had applied that patch to the code. But it
made no difference. The code fails at the following line(#96):

if (p.getBinding().getPortType().getQName().
                        equals(serviceInfo.getPortType()))

because the portType is null. I'm pretty sure the wsdl is correct. So I don't
see why portType should be null. Either way, I'm attaching the WSDL here.

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="saml"
        targetNamespace="http://localhost/saml.wsdl";
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
        xmlns:tns="http://localhost/saml.xsd";
        xmlns:xsd="http://www.w3.org/2001/XMLSchema";
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";>
        <wsdl:types>
                <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
                        targetNamespace="http://localhost/saml.xsd";>
                        <xsd:element name="samlReqXml">
                                <xsd:complexType>
                                        <xsd:sequence>
                                        <xsd:element name="in" 
type="xsd:string"></xsd:element>
                                        </xsd:sequence>
                                </xsd:complexType>
                        </xsd:element>
                        <xsd:element name="samlRespXml">
                                <xsd:complexType>
                                        <xsd:sequence>
                                        <xsd:element name="out" 
type="xsd:string"></xsd:element>
                                        </xsd:sequence>
                                </xsd:complexType>
                        </xsd:element>
                </xsd:schema>
        </wsdl:types>
        <wsdl:message name="invokeRequest">
                <wsdl:part name="body" element="tns:samlReqXml"></wsdl:part>
        </wsdl:message>
        <wsdl:message name="invokeResponse">
                <wsdl:part name="body" element="tns:samlRespXml"></wsdl:part>
        </wsdl:message>
        <wsdl:portType name="SSOServicePortType">
                <wsdl:operation name="invoke">
                        <wsdl:input message="tns:invokeRequest"></wsdl:input>
                        <wsdl:output message="tns:invokeResponse"></wsdl:output>
                </wsdl:operation>
        </wsdl:portType>
        <wsdl:binding name="SSOServiceSoapBinding"
                type="SSOServicePortType">
                <soap:binding style="document"
                        transport="http://schemas.xmlsoap.org/soap/http"; />
                <wsdl:operation name="invoke">
                        <soap:operation
soapAction="http://localhost:7001/SamlIdp-web/services/SSOService/invoke"/>
                        <wsdl:input>
                                <soap:body use="literal" />
                        </wsdl:input>
                        <wsdl:output>
                                <soap:body use="literal" />
                        </wsdl:output>
                </wsdl:operation>
        </wsdl:binding>
        <wsdl:service name="SSOService">
                <wsdl:port name="SSOServicePort"
                        binding="SSOServiceSoapBinding">
                        <soap:address
                
location="http://localhost:7001/SamlIdp-web/services/SSOService";>
                        </soap:address>
                </wsdl:port>
        </wsdl:service>
</wsdl:definitions>

Thanks
Amit


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to