that's it ... thanks a lot!
(should be more careful when modifying templates)


Campana Jr., Salvatore J wrote:

>Your binding does not point to the defined portType in the WSDL....If
>you fix that it will work..
>
>I'll try to add some logic to check for this and add some debug to avoid
>this confusion...
>
>-Sal 
>
>-----Original Message-----
>From: Wolfgang Schreiner [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, September 15, 2005 11:52 AM
>To: wsrf-user@ws.apache.org
>Subject: Re: wsdl2java NullPointerException
>
>here it is ... I just changed definition, service and portType name to
>see if a get it running with its basics regards, wol.
>
>
>
>Campana Jr., Salvatore J wrote:
>
>  
>
>>Can you send Converter.wsdl...It has something to do with that (not to 
>>say its not a bug)...So with it I can see whats happening...
>>
>>Thx!!
>>
>>-Sal
>>
>>-----Original Message-----
>>From: Wolfgang Schreiner [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 15, 2005 10:14 AM
>>To: wsrf-user@ws.apache.org
>>Subject: Re: wsdl2java NullPointerException
>>
>>i'm sending you the debug ouput as attachment and here's the stack 
>>trace
>>
>>
>>BUILD FAILED
>>H:\CURRENT\desktop\apache\wsrf-1.0\template\build.xml:54:
>>java.lang.NullPointerE
>>xception
>>       at
>>org.apache.ws.resource.tool.Wsdl2JavaTask.execute(Wsdl2JavaTask.java:
>>232)
>>       at
>>org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>>       at org.apache.tools.ant.Task.perform(Task.java:364)
>>       at org.apache.tools.ant.Target.execute(Target.java:341)
>>       at org.apache.tools.ant.Target.performTasks(Target.java:369)
>>       at
>>org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>>       at
>>    
>>
>org.apache.tools.ant.Project.executeTarget(Project.java:1185)
>  
>
>>       at
>>org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
>>cutor.java:40)
>>       at
>>org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>>       at org.apache.tools.ant.Main.runBuild(Main.java:668)
>>       at org.apache.tools.ant.Main.startAnt(Main.java:187)
>>       at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
>>       at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
>>Caused by: java.lang.NullPointerException
>>       at org.apache.ws.util.WsdlUtils.equals(WsdlUtils.java:156)
>>       at org.apache.ws.util.WsdlUtils.equals(WsdlUtils.java:121)
>>       at org.apache.ws.util.WsdlUtils.equals(WsdlUtils.java:105)
>>       at
>>org.apache.ws.util.WsrfWsdlUtils.implementsPortType(WsrfWsdlUtils.jav
>>a:273)
>>       at
>>org.apache.ws.resource.impl.ResourceCapabilityImpl.initImplementedPor
>>tTypes(ResourceCapabilityImpl.java:549)
>>       at
>>org.apache.ws.resource.impl.ResourceCapabilityImpl.<init>(ResourceCap
>>abilityImpl.java:73)
>>       at
>>org.apache.ws.resource.impl.ResourceDefinitionImpl.<init>(ResourceDef
>>initionImpl.java:56)
>>       at
>>org.apache.ws.resource.tool.Wsdl2Java.processWsdlFile(Wsdl2Java.java:
>>904)
>>       at
>>org.apache.ws.resource.tool.Wsdl2Java.generate(Wsdl2Java.java:179)
>>       at
>>org.apache.ws.resource.tool.Wsdl2JavaTask.execute(Wsdl2JavaTask.java:
>>228)
>>       ... 12 more
>>--- Nested Exception ---
>>java.lang.NullPointerException
>>       at org.apache.ws.util.WsdlUtils.equals(WsdlUtils.java:156)
>>       at org.apache.ws.util.WsdlUtils.equals(WsdlUtils.java:121)
>>       at org.apache.ws.util.WsdlUtils.equals(WsdlUtils.java:105)
>>       at
>>org.apache.ws.util.WsrfWsdlUtils.implementsPortType(WsrfWsdlUtils.jav
>>a:273)
>>       at
>>org.apache.ws.resource.impl.ResourceCapabilityImpl.initImplementedPor
>>tTypes(ResourceCapabilityImpl.java:549)
>>       at
>>org.apache.ws.resource.impl.ResourceCapabilityImpl.<init>(ResourceCap
>>abilityImpl.java:73)
>>       at
>>org.apache.ws.resource.impl.ResourceDefinitionImpl.<init>(ResourceDef
>>initionImpl.java:56)
>>       at
>>org.apache.ws.resource.tool.Wsdl2Java.processWsdlFile(Wsdl2Java.java:
>>904)
>>       at
>>org.apache.ws.resource.tool.Wsdl2Java.generate(Wsdl2Java.java:179)
>>       at
>>org.apache.ws.resource.tool.Wsdl2JavaTask.execute(Wsdl2JavaTask.java:
>>228)
>>       at
>>org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>>       at org.apache.tools.ant.Task.perform(Task.java:364)
>>       at org.apache.tools.ant.Target.execute(Target.java:341)
>>       at org.apache.tools.ant.Target.performTasks(Target.java:369)
>>       at
>>org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>>       at
>>    
>>
>org.apache.tools.ant.Project.executeTarget(Project.java:1185)
>  
>
>>       at
>>org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
>>cutor.java:40)
>>       at
>>org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>>       at org.apache.tools.ant.Main.runBuild(Main.java:668)
>>       at org.apache.tools.ant.Main.startAnt(Main.java:187)
>>       at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
>>       at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
>>
>>Total time: 5 seconds
>>
>>
>>
>>
>>Sal Campana wrote:
>>
>> 
>>
>>    
>>
>>>Wolfgang Schreiner wrote:
>>>
>>>   
>>>
>>>      
>>>
>>>>hi *,
>>>>
>>>>I was going through the WSRF tutorial and trying to deploy the Web 
>>>>service as described, but encountered a NullPointerException thrown 
>>>>by the "ant generate" task.
>>>>Here is the complete build output:
>>>>
>>>>Buildfile: build.xml
>>>>
>>>>init:
>>>>   [echo] Using webapp dir: c:\programme\apache software 
>>>>foundation\tomcat 5.0 /webapps/wsrf
>>>>
>>>>generate:
>>>>   [copy] Copying 1 file to C:\programme\apache software 
>>>>foundation\tomcat 5.0 \webapps\wsrf\_tmp_ [wsdl2Java] Processing WSDL
>>>>     
>>>>
>>>>        
>>>>
>> 
>>
>>    
>>
>>>>file "C:\programme\apache software foundation\tomcat 
>>>>5.0\webapps\wsrf\_tmp_\Converter.wsdl"...
>>>>[wsdl2Java] Retrieving document at 'C:\programme\apache software 
>>>>foundation\tomc at 5.0\webapps\wsrf\_tmp_\Converter.wsdl'.
>>>>[wsdl2Java] Retrieving document at
>>>>'../spec/wsrf/WS-ResourceProperties-1_2-Draft
>>>>_01.wsdl', relative to 'file:/C:/programme/apache software 
>>>>foundation/tomcat 5.0 /webapps/wsrf/_tmp_/Converter.wsdl'.
>>>>[wsdl2Java] Retrieving document at
>>>>'../spec/wsrf/WS-ResourceLifetime-1_2-Draft_0
>>>>1.wsdl', relative to 'file:/C:/programme/apache software 
>>>>foundation/tomcat 5.0/w ebapps/wsrf/_tmp_/Converter.wsdl'.
>>>>[wsdl2Java] Retrieving document at
>>>>'../spec/wsx/WS-MetadataExchange-2004_09.wsdl
>>>>', relative to 'file:/C:/programme/apache software foundation/tomcat 
>>>>5.0/webapps /wsrf/_tmp_/Converter.wsdl'.
>>>>[wsdl2Java] Generating XMLBeans for WSDL file "C:\programme\apache 
>>>>software foun dation\tomcat 5.0\webapps\wsrf\_tmp_\Converter.wsdl"...
>>>>[wsdl2Java] Found existing generated xmlbean jar in the classpath at
>>>>location: H
>>>>:\CURRENT\desktop\apache\wsrf-1.0\template\generated\.xmlbeans\lib\Co
>>>>nverter-xbe
>>>>
>>>>ans.jar ...This will be removed from the classpath sent to Scomp in 
>>>>order to reg enerate all imports.
>>>>[wsdl2Java] Loading wsdl file C:\programme\apache software 
>>>>foundation\tomcat 5.0 \webapps\wsrf\_tmp_\Converter.wsdl
>>>>[wsdl2Java] Processing 1 schema(s) in C:\programme\apache software 
>>>>foundation\to mcat 5.0\webapps\wsrf\_tmp_\Converter.wsdl
>>>>
>>>>BUILD FAILED
>>>>H:\CURRENT\desktop\apache\wsrf-1.0\template\build.xml:54:
>>>>java.lang.NullPointerE
>>>>xception
>>>>
>>>>Total time: 5 seconds
>>>>
>>>>What is missing here?
>>>>
>>>>regards,
>>>>Wolfgang
>>>>
>>>>
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>>
>>>>
>>>>     
>>>>
>>>>        
>>>>
>>>Try running with -debug when calling ant...This will provide more 
>>>information and hopefully lead us to what went wrong...
>>>
>>>-S
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>   
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>> 
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to