Hi there.

I have the same problem as Andrea explained (using: document/literal/wrapped).  
Is there any solution available yet? Or did you found a workaround or anything 
else? (Not changing the wsdl manually)

And when I change the ParameterStyle to bare I'm getting a nullpointer 
exception. I read already something about it and found out that this appears by 
forgetting the @Oneway annotation for void methods. The problem is that i am 
not using void methods yet.


 
  | @Stateless
  | @WebService( name="EndpointInterface", 
targetNamespace="http://localhost:8080";, serviceName="MaseSystemService")
  | @PortComponent(contextRoot="/MaseSystemService", urlPattern="/webservice")
  | @SOAPBinding(style=SOAPBinding.Style.DOCUMENT, use=SOAPBinding.Use.LITERAL, 
parameterStyle=SOAPBinding.ParameterStyle.BARE)
  | 
  | public class MaseSystemServiceImpl implements MaseSystemService, 
Serializable {
  |                     [...]
  | 
  | 
  |     @WebMethod
  |     public WsProject[] getAllProjects() throws RemoteException {
  |                 [...]
  |     }
  | 
  |     @WebMethod
  |     public WsIteration[] getAllIterationsByProject(long id, boolean 
includingCompleted) throws RemoteException {
  |                 [...]
  |         }
  | }
  | 

This Exception appears:



  | 14:25:21,889 ERROR [MainDeployer] Could not create deployment: 
file:/C:/JavaDev/jboss-4.0.4CR2/server/default/tmp/deploy/tmp10407ebe.ear-contents/ebe.jar
  | java.lang.NullPointerException
  |     at 
org.jboss.ws.metadata.wsdl.xmlschema.WSSchemaUtils.write(WSSchemaUtils.java:429)
  |     at 
org.jboss.ws.metadata.wsdl.xmlschema.JBossXSNamespaceItem.toString(JBossXSNamespaceItem.java:377)
  |     at 
org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel.serializeNamespaceItems(JBossXSModel.java:535)
  | [...]
  | 


Thx and greets Andreas


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

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


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to