geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cute Tarun <love.ta...@yahoo.co.in>
Subject error while compiling wsdl for notification message
Date Thu, 26 Oct 2006 11:40:08 GMT
Hi,



while compiling the below attached wsdl i get this error.. if i remove
notification message and from binding also then it works perfectly..
please help me out.. why it is not generating stubs..

Is there anything which i am missing out.. 



Tarun



====================================================================

log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectResourceBundle).


log4j:WARN Please initialize the log4j system properly.


java.lang.NullPointerException


        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.addRPCStyleInputMessageToMethodInfo(WSDL2Ws.java:430)


        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.setMethodInfo(WSDL2Ws.java:236)


        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceInfo(WSDL2Ws.java:213)


        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(WSDL2Ws.java:650)


        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(WSDL2Ws.java:1139)





Code generation failed. Please see errors above.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

<?xml version="1.0" encoding="UTF-8"?>

<definitions

  name="WeatherSummary"

  targetNamespace=

    "http://www.roguewave.com/soapworx/examples/WeatherSummary.wsdl"

  xmlns="http://schemas.xmlsoap.org/wsdl/"

  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"

  xmlns:tns=

    "http://www.roguewave.com/soapworx/examples/WeatherSummary.wsdl"

  xmlns:xsd="http://www.w3.org/2001/XMLSchema"

  xmlns:wsx=

   "http://www.roguewave.com/soapworx/examples/WeatherSummary.xsd">



  <message name="getSummary">

    <part name="zipcode" type="xsd:string"/>

  </message>



  <message name="getSummaryResponse">

    <part name="weatherData" type="xsd:string"/>

  </message>



  <portType name="WeatherSummary">

    <!-- request-responserequest-response -->

    <operation name="getSummary">

      <input message="tns:getSummary"/>

      <output message="tns:getSummaryResponse"/>

    </operation>



    <!-- Notification -->

    <operation name="weatherNotification">

      <output message="tns:getSummaryResponse"/>

    </operation>

  </portType>



  <binding name="WeatherSummary" type="tns:WeatherSummary">

    <soap:binding style="rpc"

      transport="http://schemas.xmlsoap.org/soap/http"/>

    <operation name="getSummary">

      <soap:operation soapAction="getSummary"/>

      <input>

        <soap:body use="encoded" 

           encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 

           namespace="http://www.roguewave.com/soapworx/examples"/>

        <soap:header message="tns:getSummary" part="header" use="literal"/>

      </input>

      <output>

        <soap:body use="encoded" 

          encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 

          namespace="http://www.roguewave.com/soapworx/examples"/>

      </output>

</operation>

    <operation name="weatherNotification">

      <soap:operation soapAction="weatherNotification"/>

      <output>

        <soap:body use="encoded" 

          encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 

          namespace="http://www.roguewave.com/soapworx/examples"/>

      </output>

    </operation>

  </binding>

 

  <service name="WeatherSummary">

    <documentation>WeatherSummary</documentation>

    <port name="WeatherSummary" binding="tns:WeatherSummary">

      <soap:address 

        location="http://localhost/weather/WeatherSummary"/>

    </port>

  </service>

</definitions>



__________________________________________________________________________

_____________________________________________________________________________















		
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
Mime
View raw message