Running jboss AS 4.04 CR2 with JBoss WS GA jars/sar installed.

I get the following error:

  [wstools] java.lang.NullPointerException
  [wstools]     at java.lang.System.arraycopy(Native Method)
  [wstools]     at org.apache.xerces.impl.xs.XSModelImpl.getAnnotations(Unknown 
Source)
  [wstools]     at 
org.jboss.ws.metadata.wsdl.xmlschema.WSSchemaUtils.copyXSModel(WSSchemaUtils.java
:737)
  [wstools]     at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:201)
  [wstools]     at 
org.jboss.ws.metadata.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:227)
  [wstools]     at 
org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:118)
  [wstools]     at 
org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.ja
va:145)
  [wstools]     at 
org.jboss.ws.tools.WSDLToJava.convertWSDL2Java(WSDLToJava.java:110)
  [wstools]     at 
org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.jav
a:322)
  [wstools]     at org.jboss.ws.tools.WSTools.process(WSTools.java:132)
  [wstools]     at org.jboss.ws.tools.WSTools.generate(WSTools.java:119)
  [wstools]     at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103)
  [wstools]     at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
  [wstools]     at org.apache.tools.ant.Task.perform(Task.java:364)
  [wstools]     at org.apache.tools.ant.Target.execute(Target.java:341)
  [wstools]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
  [wstools]     at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
  [wstools]     at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
  [wstools]     at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:4
0)
  [wstools]     at 
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
  [wstools]     at org.apache.tools.ant.Main.runBuild(Main.java:668)
  [wstools]     at org.apache.tools.ant.Main.startAnt(Main.java:187)
  [wstools]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
  [wstools]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

When I try to use the following WSDL that is generated by the server:

<definitions name='KeyManagementEndpointService' 
targetNamespace='http://keymanagement.jbossnetwork.jboss.com/jaws' 
xmlns='http://schemas.xmlsoap.org/wsdl/' 
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' 
xmlns:tns='http://keymanagement.jbossnetwork.jboss.com/jaws' 
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
 
  <schema elementFormDefault='qualified' 
targetNamespace='http://keymanagement.jbossnetwork.jboss.com/jaws' 
xmlns='http://www.w3.org/2001/XMLSchema' 
xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' 
xmlns:tns='http://keymanagement.jbossnetwork.jboss.com/jaws' 
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
   
    
     
    
   
  
 
 
  
 
 
  
 
 
  
 
 
  
 
 
  
   
   
  
  
   
   
  
 
 
  <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
  
   <soap:operation soapAction=''/>
   
    <soap:body namespace='http://keymanagement.jbossnetwork.jboss.com/jaws' 
use='literal'/>
   
   
    <soap:body namespace='http://keymanagement.jbossnetwork.jboss.com/jaws' 
use='literal'/>
   
  
  
   <soap:operation soapAction=''/>
   
    <soap:body namespace='http://keymanagement.jbossnetwork.jboss.com/jaws' 
use='literal'/>
   
   
    <soap:body namespace='http://keymanagement.jbossnetwork.jboss.com/jaws' 
use='literal'/>
   
  
 
 
  
   <soap:address 
location='http://gamemaster:8080/keymanagement/KeyManagementBean'/>
  
 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943382#3943382

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943382


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to