Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 46797 invoked from network); 17 May 2004 09:37:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 May 2004 09:37:32 -0000 Received: (qmail 52184 invoked by uid 500); 17 May 2004 09:37:24 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 52141 invoked by uid 500); 17 May 2004 09:37:23 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 52130 invoked by uid 98); 17 May 2004 09:37:23 -0000 Received: from dhanush@mahindrabt.com by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(210.18.48.2):. Processed in 1.59972 secs); 17 May 2004 09:37:23 -0000 X-Qmail-Scanner-Mail-From: dhanush@mahindrabt.com via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(210.18.48.2):. Processed in 1.59972 secs) Received: from unknown (HELO shardagate.mahindrabt.com) (210.18.48.2) by hermes.apache.org with SMTP; 17 May 2004 09:37:21 -0000 Received: from Interscan_sh ([10.5.2.145]) by shardagate.mahindrabt.com (8.12.11/8.12.10) with ESMTP id i4H9ZW5w002165 for ; Mon, 17 May 2004 15:05:32 +0530 Received: from intranet.sharda.mahindrabt.com ([10.5.0.15]) by 10.5.2.145 wi th trend_isnt_name_B; Mon, 17 May 2004 15:11:11 +0530 Received: from MBT ([172.24.86.114])by intranet.sharda.mahindrabt.com (8.12. 10/8.12.10) with SMTP id i4H9msP0027329for ; Mon, 17 May 2004 15:18:55 +0530 Message-ID: <005601c43bf2$01c79d00$725618ac@MAHINDRABT> From: "Dhanush Gopinath" To: Subject: Null Pointer Exception while creating Java Skeletons and Stubs usin g WSDL2Java Tool Date: Mon, 17 May 2004 15:03:25 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0053_01C43C20.1ABE0FA0" X-Priority: 1 X-MSMail-Priority: High X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-imss-version: 2.0 X-imss-result: Passed X-imss-scores: Clean:12.3637 C:20 M:1 S:5 R:5 X-imss-settings: Baseline:1 C:1 M:1 S:1 R:1 (0.0000 0.0000) X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0053_01C43C20.1ABE0FA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi,=0D I am getting the following exception while running the WSDL2Java tool. I= have modified my WSDL file to MIME encode the attachment. java.lang.NullPointerException at= org.apache.axis.wsdl.symbolTable.SymbolTable.addMIMETypes(SymbolTable.java= :2084) at= org.apache.axis.wsdl.symbolTable.SymbolTable.fillInBindingInfo(SymbolTable= .java:1860) at= org.apache.axis.wsdl.symbolTable.SymbolTable.populateBindings(SymbolTable.= java:1785) at= org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:577= ) at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:421) at= org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:408= ) at= org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:393= ) at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245) at java.lang.Thread.run(Thread.java:536) My WSDL file is given below Can any one help me in this. Thanks in Advance =0D Thanks & Regards=0D Dhanush ********************************************************* Disclaimer: =0D This message (including any attachments) contains=0D confidential information intended for a specific=0D individual and purpose, and is protected by law.=0D If you are not the intended recipient, you should=0D delete this message and are hereby notified that=0D any disclosure, copying, or distribution of this message, or the taking of any action based on it,=0D is strictly prohibited. ********************************************************* Visit us at http://www.mahindrabt.com ------=_NextPart_000_0053_01C43C20.1ABE0FA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I am getting the following exception while= running the=0D WSDL2Java tool. I have modified my WSDL file to MIME encode the=0D attachment.
 
java.lang.NullPointerException
 at=0D org.apache.axis.wsdl.symbolTable.SymbolTable.addMIMETypes(SymbolTable.java:= 2084)
 at=0D org.apache.axis.wsdl.symbolTable.SymbolTable.fillInBindingInfo(SymbolTable.= java:1860)
 at=0D org.apache.axis.wsdl.symbolTable.SymbolTable.populateBindings(SymbolTable.j= ava:1785)
 at=0D org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:577)=
 at=0D org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:421)
&= nbsp;at=0D org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:408)=
 at=0D org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:393)=
 at=0D org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245)
 = at=0D java.lang.Thread.run(Thread.java:536)
 
 
My WSDL file is given below
 
<?xml version=3D"1.0" encoding= =3D"UTF-8"?>
<wsdl:definitions=0D targetNamespace=3D"urn:webservices.oexgateway.bt.com"=0D xmlns:impl=3D"urn:webservices.oexgateway.bt.com"=0D xmlns:intf=3D"urn:webservices.oexgateway.bt.com" xmlns:apachesoap=3D"http://xml.apache.org/xml-soap" xmlns:wsdlsoap= =3D"http://schemas.xmlsoap.org/wsdl/soap/"=0D xmlns:soapenc=3D"http://schemas.xmlsoap.org/soap/encoding/"=0D xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" xmlns:tns2= =3D"http://exception.oexgateway.bt.com" xmlns:wsdl= =3D"http://schemas.xmlsoap.org/wsdl/" xmlns:mime= =3D"http://schemas.xmlsoap.org/wsdl/mime/" xmlns= =3D"http://schemas.xmlsoap.org/wsdl/">
 <ws= dl:types>
 =0D <schema xmlns=3D"http://www.w3.org/2001/XMLSchema"=0D targetNamespace=3D"urn:webservices.oexgateway.bt.com">
  =0D <import namespace=3D"http://schemas.xmlsoap.org/soap/encoding/"/>
&n= bsp; =0D <complexType name=3D"OAGDocType">
   =0D <sequence>
     <element name= =3D"txnSubType"=0D nillable=3D"true" type=3D"xsd:string"/>
    = <element=0D name=3D"txnType" nillable=3D"true"=0D type=3D"xsd:string"/>
     <element=0D name=3D"txnTypeString" nillable=3D"true"=0D type=3D"xsd:string"/>
   = </sequence>
  =0D </complexType>
   <complexType=0D name=3D"OAGMessage">
   =0D <sequence>
     <element name= =3D"aqMessageID"=0D nillable=3D"true" type=3D"xsd:string"/>
    = <element=0D name=3D"docRefNum" nillable=3D"true"=0D type=3D"xsd:string"/>
     <element name= =3D"documentID"=0D nillable=3D"true" type=3D"xsd:string"/>
    = <element=0D name=3D"messagePayload" nillable=3D"true"=0D type=3D"xsd:string"/>
     <element=0D name=3D"messageStatus" type=3D"xsd:int"/>
    = <element=0D name=3D"oagDocType" nillable=3D"true"=0D type=3D"impl:OAGDocType"/>
     <element=0D name=3D"partySiteID" nillable=3D"true"=0D type=3D"xsd:string"/>
     <element=0D name=3D"recipientID" nillable=3D"true"=0D type=3D"xsd:string"/>
     <element name= =3D"senderID"=0D nillable=3D"true" type=3D"xsd:string"/>
   =0D </sequence>
   </complexType>
 =0D </schema>
  <schema xmlns=3D"http://www.w3.org/2001/XMLSchema"= targetNamespace=3D"http://exception.oexgateway.bt.com">
 &nbs= p;=0D <import namespace=3D"http://schemas.xmlsoap.org/soap/encoding/"/>
&n= bsp; =0D <complexType name=3D"AppRecovException">
   =0D <sequence>
     <element name=3D"errorCode"= =0D nillable=3D"true" type=3D"xsd:string"/>
    = <element=0D name=3D"errorMessage" nillable=3D"true" type= =3D"xsd:string"/>
   =0D </sequence>
   </complexType>
  =0D <complexType name=3D"AppNonRecovException">
   =0D <sequence>
     <element name=3D"errorCode"= =0D nillable=3D"true" type=3D"xsd:string"/>
    = <element=0D name=3D"errorMessage" nillable=3D"true" type= =3D"xsd:string"/>
   =0D </sequence>
   </complexType>
  =0D <complexType name= =3D"AppNonRecovMessageException">
   =0D <complexContent>
     <extension=0D base=3D"tns2:AppNonRecovException">
     =0D <sequence/>
    =0D </extension>
   = </complexContent>
  =0D </complexType>
   <complexType=0D name=3D"AppNonRecovProfileException">
   =0D <complexContent>
     <extension=0D base=3D"tns2:AppNonRecovException">
     =0D <sequence/>
    =0D </extension>
   = </complexContent>
  =0D </complexType>
 =0D </schema>
 </wsdl:types>
   <wsdl:message name=3D"AppRecovException">
      <wsdl:part name=3D"fault"=0D type=3D"tns2:AppRecovException"/>
   </wsdl:message>
   <wsdl:message name= =3D"AppNonRecovMessageException">
      <wsdl:part name=3D"fault"=0D type=3D"tns2:AppNonRecovMessageException"/>
   </wsdl:message>
   <wsdl:message name= =3D"AppNonRecovProfileException">
      <wsdl:part name=3D"fault"=0D type=3D"tns2:AppNonRecovProfileException"/>
   </wsdl:message>
   <wsdl:message name=3D"putMessageRequest">
      <wsdl:part name=3D"in0"=0D type=3D"impl:OAGMessage"/>
      <wsdl:part name=3D"in1"=0D type=3D"apachesoap:DataHandler"/>
   </wsdl:message>
   <wsdl:message name=3D"putMessageResponse">
      <wsdl:part name=3D"putMessageReturn"= =0D type=3D"xsd:string"/>
   </wsdl:message>
   <wsdl:portType name=3D"TestOAGXMLServiceIF">
      <wsdl:operation name=3D"putMessage"= =0D parameterOrder=3D"in0 in1">
         <wsdl:input=0D name=3D"putMessageRequest" message=3D"impl:putMessageRequest"/>
         <wsdl:output=0D name=3D"putMessageResponse" message=3D"impl:putMessageResponse"/>
         <wsdl:fault=0D name=3D"AppNonRecovMessageException"=0D message=3D"impl:AppNonRecovMessageException"/>
         <wsdl:fault=0D name=3D"AppRecovException" message=3D"impl:AppRecovException"/>
         <wsdl:fault=0D name=3D"AppNonRecovProfileException"=0D message=3D"impl:AppNonRecovProfileException"/>
      </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name=3D"TestOAGXMLServiceSoapBinding"=0D type=3D"impl:TestOAGXMLServiceIF">
      <wsdlsoap:binding style=3D"rpc"=0D transport=3D"http://schemas.xmlsoap.org/soap/http"/>
      <wsdl:operation=0D name=3D"putMessage">
        = <wsdlsoap:operation=0D soapAction=3D"urn:TestOAGXMLService/putMessage" style=3D"rpc"/>
         <wsdl:input=0D name= =3D"putMessageRequest">
  <mime:multipartRelated>
=             &nb= sp;      =0D <mime:part=0D name= =3D"in0">
          = ;            &n= bsp;=0D <wsdlsoap:body=0D
            = ;            &n= bsp;  =0D encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/"=0D
            = ;            &n= bsp;  =0D namespace=3D"urn:webservices.oexgateway.bt.com"=0D use= =3D"encoded"/>
         =           =0D </mime:part>
         = ;          =0D <mime:part=0D name= =3D"in1">
          = ;            &n= bsp;=0D <mime:content part=3D"input"=0D type= =3D"text/plain"/>
        &nb= sp;          =0D </mime:part>
         = ;      =0D </mime:multipartRelated>
        = </wsdl:input>
         <wsdl:output=0D name=3D"putMessageResponse">
           =0D <wsdlsoap:body use=3D"encoded" encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/"=0D namespace=3D"urn:webservices.oexgateway.bt.com"/>
        = </wsdl:output>
         <wsdl:fault=0D name=3D"AppNonRecovMessageException">
           =0D <wsdlsoap:fault use=3D"encoded" encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/"=0D namespace=3D"urn:webservices.oexgateway.bt.com"/>
        = </wsdl:fault>
         <wsdl:fault=0D name=3D"AppRecovException">
           =0D <wsdlsoap:fault use=3D"encoded" encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/"=0D amespace=3D"urn:webservices.oexgateway.bt.com"/>
        = </wsdl:fault>
         <wsdl:fault=0D name=3D"AppNonRecovProfileException">
           =0D <wsdlsoap:fault use=3D"encoded" encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/"=0D namespace=3D"urn:webservices.oexgateway.bt.com"/>
        = </wsdl:fault>
      </wsdl:operation>
   </wsdl:binding>
   <wsdl:service name= =3D"TestOAGXMLServiceIFService">
      <wsdl:port name= =3D"TestOAGXMLService"=0D binding=3D"impl:TestOAGXMLServiceSoapBinding">
         <wsdlsoap:address= =0D location=3D"http://172.24.86.114:8080/axis/services/TestOAGXMLService"/>
      </wsdl:port>
   </wsdl:service>
</wsdl:definitions>
 
Can any one help me in this. Thanks in= Advance=0D  
 
Thanks & Regards
Dhanush
*********************************************************
Disclaimer:         =0D

This message (including any attachments) contains=0D
confidential information intended for a specific=0D
individual and purpose, and is protected by law.=0D
If you are not the intended recipient, you should=0D
delete this message and are hereby notified that=0D
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,=0D
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com

------=_NextPart_000_0053_01C43C20.1ABE0FA0--