Hi I 'm trying to generate client stub using Axis java 1.1 wsdl2java tool.And it gives me following stacktrace --------------------------------Stacktrace-------------------------------- java.lang.NullPointerException at org.apache.crimson.tree.ElementNode2.getAttributeNodeNS(Unknown Sourc e) at com.ibm.wsdl.util.xml.DOMUtils.getAttributeNS(Unknown Source) at com.ibm.wsdl.util.xml.DOMUtils.getNamespaceURIFromPrefix(Unknown Sour ce) at com.ibm.wsdl.util.xml.DOMUtils.getQName(Unknown Source) at com.ibm.wsdl.util.xml.DOMUtils.getQualifiedAttributeValue(Unknown Sou rce) at com.ibm.wsdl.xml.WSDLReaderImpl.parsePart(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.parseMessage(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav a:406) at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav a:393) at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245) at java.lang.Thread.run(Unknown Source)
-------------------------------------end of stacktrace--------------------- ============START==========CourATLService.wsdl============================== <?xml version="1.0" encoding="utf-8"?> <wsdl:definitions name="CourATLService" targetNamespace="www.yahoo.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns="www.yahoo.com" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:type="www.courion.com/webservices/type"> <wsdl:types> <xsd:schema xmlns="www.courion.com/webservices" targetNamespace="www.yahoo.com/webservices/type" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <xsd:complexType name="DoAuthenticationRequest"> <xsd:sequence> <xsd:element name="AuthenticationId" type="xsd:string"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="DoAuthenticationResponse"> <xsd:sequence> <xsd:element name="AuthenticationReturn" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:schema> </wsdl:types> <wsdl:message name="DoAuthenticationSoapOut"> <wsdl:part name="DoAuthenticationOut" type="type:DoAuthenticationRequest"/> </wsdl:message> <wsdl:message name="DoAuthenticationSoapIn"> <wsdl:part name="DoAuthenticationIn" type="xsd:string"/> </wsdl:message> <wsdl:portType name="CourATLService"> <wsdl:operation name="DoAuthentication"> <wsdl:input message="DoAuthenticationSoapIn" name="DoAuthenticationInput"/> <wsdl:output message="DoAuthenticationSoapOut" name="DoAuthenticationOutput"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="CourATLServiceBinding" type="CourATLService"> <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="DoAuthentication"> <soap:operation soapAction="CourATLService#DoAuthentication" style="rpc"/> <wsdl:input name="DoAuthenticationInput"> <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="www.courion.com/webservices" use="encoded"/> </wsdl:input> <wsdl:output name="DoAuthenticationOutput"> <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="www.courion.com/webservices" use="encoded"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="CourATLService"> <wsdl:port binding="CourATLServiceBinding" name="CourATLServiceBindingPort"> <soap:address location="http://10.2.17.40/gsoap/mod_gsoap.dll?CourATLService"/> </wsdl:port> </wsdl:service> </wsdl:definitions> ============END=========================================================== But this CourATLService.wsdl is well Formed and Valid.(Using soapcpp2 Tool I generated the stubs for the same wsdl.)I have given the wsdl for your consideration.Can any body helpme on this? Thanks Kanchana