Hello!

We have a web service ejb2.1 with ejb endpoint running on JBoss5.0.0.GA with 
JBossWS 3.0.5.GA and JDK 1.6. On JBoss 4.x works fine.
The web service artifacts generated with jwsdp-1.6. 

The following error occurs:

16:48:10,706 WARN  [JBossEntityResolver] Trying to resolve systemId as a 
non-file URL: vfszip:/D:/jboss5/server/default/deploy/270
  | Med.jar/META-INF/wsdl/medws.xsd
  | 16:48:10,753 WARN  [JBossEntityResolver] Trying to resolve systemId as a 
non-file URL: vfszip:/D:/jboss5/server/default/deploy/270
  | Med.jar/META-INF/wsdl/ws.xsd
  | 16:48:10,862 WARN  [JBossEntityResolver] Trying to resolve systemId as a 
non-file URL: vfszip:/D:/jboss5/server/default/deploy/270
  | Med.jar/META-INF/wsdl/medws.xsd
  | 16:48:10,925 WARN  [JBossEntityResolver] Trying to resolve systemId as a 
non-file URL: vfszip:/D:/jboss5/server/default/deploy/270
  | Med.jar/META-INF/wsdl/ws.xsd
  | 16:48:11,112 ERROR [AbstractKernelController] Error installing to Real: 
name=vfszip:/D:/jboss5/server/default/deploy/270Med.jar st
  | ate=PreReal mode=Manual requiredState=Real
  | org.jboss.deployers.spi.DeploymentException: Error during deploy: 
vfszip:/D:/jboss5/server/default/deploy/270Med.jar
  |         at 
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
  |         at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:177)
  |         at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
  |         at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
  |         at 
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
  |         at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
  |         at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
  |         at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
  |         at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
  |         at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
  |         at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
  |         at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
  |         at 
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
  |         at 
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
  |         at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
  |         at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
  |         at 
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
  |         at org.jboss.Main.boot(Main.java:209)
  |         at org.jboss.Main$1.run(Main.java:547)
  |         at java.lang.Thread.run(Thread.java:619)
  | Caused by: java.lang.IllegalArgumentException: Could not determine variable 
name for element: result
  |         at 
org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.processOutputDocElement(JAXRPCMetaDataBuilder.java:801)
  |         at 
org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.buildParameterMetaDataDoc(JAXRPCMetaDataBuilder.java:898)
  |         at 
org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.setupOperationsFromWSDL(JAXRPCMetaDataBuilder.java:212)
  |         at 
org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder.buildMetaData(JAXRPCServerMetaDataBuilder.java:218)
  |         at 
org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.start(UnifiedMetaDataDeploymentAspect.java:59)
  |         at 
org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:129)
  |         at 
org.jboss.wsf.container.jboss50.deployer.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:75)
  |         at 
org.jboss.wsf.container.jboss50.deployer.AbstractWebServiceDeployer.internalDeploy(AbstractWebServiceDeployer.java:60)
  |         at 
org.jboss.wsf.container.jboss50.deployer.WebServiceDeployerEJB.internalDeploy(WebServiceDeployerEJB.java:112)
  |         at 
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
  |         at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
  |         ... 18 more

The webservice.xml:

<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <webservices
  |     xmlns="http://java.sun.com/xml/ns/j2ee";
  |     xmlns:impl="http://www.gsd.de/amasys/server/modules/med";
  |     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |     xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
  |     http://java.sun.com/xml/ns/j2ee/j2ee_web_services_1_1.xsd";
  |     version="1.1">
  | 
  |   <webservice-description>
  |     <webservice-description-name>MEDWSService</webservice-description-name>
  |     <wsdl-file>META-INF/wsdl/medws.wsdl</wsdl-file>
  |     <jaxrpc-mapping-file>META-INF/server-mapping.xml</jaxrpc-mapping-file>
  |     <port-component>
  |       <port-component-name>MEDWSServicePort</port-component-name>
  |       <wsdl-port>impl:MEDWSServicePort</wsdl-port>
  |       
<service-endpoint-interface>de.gsd.amasys.server.modules.med.ws.MEDWSService</service-endpoint-interface>
        
  |       <service-impl-bean>
  |         <ejb-link>MEDWS</ejb-link>
  |       </service-impl-bean>     
  |     </port-component>
  |   </webservice-description> 
  | 
  | </webservices>

The ejb-jar.xml:

<?xml version = '1.0' encoding = 'windows-1252'?>
  | <ejb-jar  xmlns="http://java.sun.com/xml/ns/j2ee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"; version="2.1">
  |     <enterprise-beans>
  | 
  |       <session>
  |          <description>MEDWS</description>
  |          <ejb-name>MEDWS</ejb-name>
  |              
<home>de.gsd.amasys.server.modules.med.sessions.MEDWSHome</home>
  |          
<remote>de.gsd.amasys.server.modules.med.sessions.MEDWSRemote</remote>
  |          
<service-endpoint>de.gsd.amasys.server.modules.med.ws.MEDWSService</service-endpoint>
  |          
<ejb-class>de.gsd.amasys.server.modules.med.sessions.MEDWSBean</ejb-class>
  |          <session-type>Stateless</session-type>
  |          <transaction-type>Container</transaction-type>
  |          <resource-ref>
  |               <description>SAP DB Datenbank</description>
  |               <res-ref-name>jdbc/SAPDBDS</res-ref-name>
  |               <res-type>javax.sql.DataSource</res-type> 
  |               <res-auth>Container</res-auth>
  |          </resource-ref>
  |       </session>
  | 
  |     </enterprise-beans>
  | </ejb-jar>
  | 

The jboss.xml:

<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <jboss>
  |  
  |     <enterprise-beans>
  | 
  |       <session>
  |             <ejb-name>MEDWS</ejb-name>
  |         <jndi-name>Med/MEDWS</jndi-name>
  |         <local-jndi-name>Med/MEDWSLocal</local-jndi-name>
  |                             <port-component>
  |                                     
<port-component-name>MEDWSServicePort</port-component-name>
  |                                     
<port-component-uri>/wsmed/MEDWSServicePort</port-component-uri>
  |                             </port-component>
  |               <resource-ref>
  |           <res-ref-name>jdbc/SAPDBDS</res-ref-name>
  |           <jndi-name>java:/SAPDBDS</jndi-name>
  |               </resource-ref>       
  |       </session>
  | 
  |     </enterprise-beans>
  | </jboss>
  | 

The META-INF contains:

META-INF/wsdl/medws.wsdl
  | META-INF/wsdl/medws.xsd
  | META-INF/wsdl/ws.xsd
  | META-INF/ejb-jar.xml
  | META-INF/jboss.xml
  | META-INF/server-mapping.xml <- generated JAXB file
  | META-INF/webservice.xml
  | 

Any help would be appreciated.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210597
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to