This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes Exception on while deploying Ear using Glassfish+Apache CXF 2.3.1+Eclipse Helios Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Exception on while deploying Ear using Glassfish+Apache CXF 2.3.1+Eclipse Helios" Watch "Exception on while deploying Ear using Glassfish+Apache CXF 2.3.1+Eclipse Helios" New topic
Author

Exception on while deploying Ear using Glassfish+Apache CXF 2.3.1+Eclipse Helios

dvb sagar
Greenhorn

Joined: Apr 20, 2009
Posts: 2
Hi,

I have created a sample hello program by annotating with @Webservice element and generated the WSDL(bottom up approach) and the client stubs.I m getting this error while deploying the client ear.I have put the Hello.java class in a ServiceEar and the rest of all the classes except Hello.java in ClientEar and tried to deploy both which generated the above error.

Would appreciate if any one can help me out with this issue


SEVERE: Exception while invoking class org.glassfish.webservices.WebServicesDeployer prepare method
java.lang.RuntimeException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect -- The filename, directory name, or volume label syntax is incorrect
at org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:187)
at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:644)
at org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:269)
at org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:79)
at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:131)
at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:129)
at org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles(EarDeployer.java:197)
at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:206)
at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:235)
at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:129)
at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:644)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:296)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.glassfish.deployment.common.DeploymentException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect -- The filename, directory name, or volume label syntax is incorrect
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:883)
at org.glassfish.webservices.WebServicesDeployer.downloadFile(WebServicesDeployer.java:402)
at org.glassfish.webservices.WebServicesDeployer.downloadWsdlsAndSchemas(WebServicesDeployer.java:303)
at org.glassfish.webservices.WebServicesDeployer.setupJaxWSServiceForDeployment(WebServicesDeployer.java:247)
at org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:171)
... 38 more

SEVERE: Exception while invoking class org.glassfish.javaee.full.deployment.EarDeployer prepare method
org.glassfish.deployment.common.DeploymentException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect -- The filename, directory name, or volume label syntax is incorrect
at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:148)
at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:644)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:296)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.RuntimeException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect -- The filename, directory name, or volume label syntax is incorrect
at org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:187)
at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:644)
at org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:269)
at org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:79)
at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:131)
at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:129)
at org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles(EarDeployer.java:197)
at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:206)
at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:235)
at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:129)
... 29 more
Caused by: org.glassfish.deployment.common.DeploymentException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect -- The filename, directory name, or volume label syntax is incorrect
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:883)
at org.glassfish.webservices.WebServicesDeployer.downloadFile(WebServicesDeployer.java:402)
at org.glassfish.webservices.WebServicesDeployer.downloadWsdlsAndSchemas(WebServicesDeployer.java:303)
at org.glassfish.webservices.WebServicesDeployer.setupJaxWSServiceForDeployment(WebServicesDeployer.java:247)
at org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:171)
... 38 more

SEVERE: Exception while preparing the app
org.glassfish.deployment.common.DeploymentException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect -- The filename, directory name, or volume label syntax is incorrect
at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:148)
at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:644)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:296)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.RuntimeException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect -- The filename, directory name, or volume label syntax is incorrect
at org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:187)
at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:644)
at org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:269)
at org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:79)
at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:131)
at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:129)
at org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles(EarDeployer.java:197)
at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:206)
at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:235)
at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:129)
... 29 more
Caused by: org.glassfish.deployment.common.DeploymentException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect -- The filename, directory name, or volume label syntax is incorrect
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:883)
at org.glassfish.webservices.WebServicesDeployer.downloadFile(WebServicesDeployer.java:402)
at org.glassfish.webservices.WebServicesDeployer.downloadWsdlsAndSchemas(WebServicesDeployer.java:303)
at org.glassfish.webservices.WebServicesDeployer.setupJaxWSServiceForDeployment(WebServicesDeployer.java:247)
at org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:171)
... 38 more





Hello.java (service class)

package com.endpoint;

import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;


@WebService
public class Hello {
@RequestWrapper(className = "com.endpoint.jaxws.SayHello", localName = "sayHello", targetNamespace = "http://endpoint.com/")
@ResponseWrapper(className = "com.endpoint.jaxws.SayHelloResponse", localName = "sayHelloResponse", targetNamespace = "http://endpoint.com/")
@WebMethod
public String sayHello()
{
return "hello";
}

}

The following classes got generated on the client side when tried to generate the stubs

sayHello.java



package com.endpoint;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;


/**
* <p>Java class for sayHello complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="sayHello">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "sayHello")
public class SayHello {


}


sayHelloResponse.java



package com.endpoint;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
* <p>Java class for sayHelloResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="sayHelloResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="return" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "sayHelloResponse", propOrder = {
"_return"
})
public class SayHelloResponse {

@XmlElement(name = "return")
protected String _return;

/**
* Gets the value of the return property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReturn() {
return _return;
}

/**
* Sets the value of the return property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReturn(String value) {
this._return = value;
}

}


ObjectFactory.java



package com.endpoint;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;


/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the com.endpoint package.
* <p>An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {

private final static QName _SayHello_QNAME = new QName("http://endpoint.com/", "sayHello");
private final static QName _SayHelloResponse_QNAME = new QName("http://endpoint.com/", "sayHelloResponse");

/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.endpoint
*
*/
public ObjectFactory() {
}

/**
* Create an instance of {@link SayHelloResponse }
*
*/
public SayHelloResponse createSayHelloResponse() {
return new SayHelloResponse();
}

/**
* Create an instance of {@link SayHello }
*
*/
public SayHello createSayHello() {
return new SayHello();
}

/**
* Create an instance of {@link JAXBElement }{@code <}{@link SayHello }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://endpoint.com/", name = "sayHello")
public JAXBElement<SayHello> createSayHello(SayHello value) {
return new JAXBElement<SayHello>(_SayHello_QNAME, SayHello.class, null, value);
}

/**
* Create an instance of {@link JAXBElement }{@code <}{@link SayHelloResponse }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://endpoint.com/", name = "sayHelloResponse")
public JAXBElement<SayHelloResponse> createSayHelloResponse(SayHelloResponse value) {
return new JAXBElement<SayHelloResponse>(_SayHelloResponse_QNAME, SayHelloResponse.class, null, value);
}

}

HelloService.java



/*
*
*/

package com.endpoint;

import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service;

/**
* This class was generated by Apache CXF 2.3.1
* Mon Jan 17 22:54:26 IST 2011
* Generated source version: 2.3.1
*
*/


@WebServiceClient(name = "HelloService",
wsdlLocation = "http://localhost:8080/Service/services/HelloPort?wsdl",
targetNamespace = "http://endpoint.com/")
public class HelloService extends Service {

public final static URL WSDL_LOCATION;
public final static QName SERVICE = new QName("http://endpoint.com/", "HelloService");
public final static QName HelloPort = new QName("http://endpoint.com/", "HelloPort");
static {
URL url = null;
try {
url = new URL("http://localhost:8080/Service/services/HelloPort?wsdl");
} catch (MalformedURLException e) {
System.err.println("Can not initialize the default wsdl from http://localhost:8080/Service/services/HelloPort?wsdl");
// e.printStackTrace();
}
WSDL_LOCATION = url;
}

public HelloService(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}

public HelloService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}

public HelloService() {
super(WSDL_LOCATION, SERVICE);
}


/**
*
* @return
* returns Hello
*/
@WebEndpoint(name = "HelloPort")
public Hello getHelloPort() {
return super.getPort(HelloPort, Hello.class);
}

/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
* @return
* returns Hello
*/
@WebEndpoint(name = "HelloPort")
public Hello getHelloPort(WebServiceFeature... features) {
return super.getPort(HelloPort, Hello.class, features);
}

}

HelloImpl.java



/**
* Please modify this class to meet your needs
* This class is not complete
*/

package com.endpoint;

import java.util.logging.Logger;


/**
* This class was generated by Apache CXF 2.3.1
* Mon Jan 17 22:54:26 IST 2011
* Generated source version: 2.3.1
*
*/

@javax.jws.WebService(
serviceName = "HelloService",
portName = "HelloPort",
targetNamespace = "http://endpoint.com/",
wsdlLocation = "http://localhost:8080/Service/services/HelloPort?wsdl",
endpointInterface = "com.endpoint.Hello")

public class HelloImpl implements Hello {

private static final Logger LOG = Logger.getLogger(HelloImpl.class.getName());

/* (non-Javadoc)
* @see com.endpoint.Hello#sayHello(*
*/
public java.lang.String sayHello() {
LOG.info("Executing operation sayHello");
try {
java.lang.String _return = "_return1652563732";
return _return;
} catch (Exception ex) {
ex.printStackTrace();
throw new RuntimeException(ex);
}
}

}

Hello.java


package com.endpoint;

import javax.jws.WebMethod;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
* This class was generated by Apache CXF 2.3.1
* Mon Jan 17 22:54:26 IST 2011
* Generated source version: 2.3.1
*
*/

@WebService(targetNamespace = "http://endpoint.com/", name = "Hello")
@XmlSeeAlso({ObjectFactory.class})
public interface Hello {

@WebResult(name = "return", targetNamespace = "")
@RequestWrapper(localName = "sayHello", targetNamespace = "http://endpoint.com/", className = "com.endpoint.SayHello")
@WebMethod
@ResponseWrapper(localName = "sayHelloResponse", targetNamespace = "http://endpoint.com/", className = "com.endpoint.SayHelloResponse")
public java.lang.String sayHello();
}


Regards
Sagar


sagar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception on while deploying Ear using Glassfish+Apache CXF 2.3.1+Eclipse Helios
 
Similar Threads
Hibernate, EJB 3 And GlassFish 3.0.1 integration error
SEVERE: Exception while preparing the app : Exception [EclipseLink-28018]
Problem loading EJB MEssage Driven Beans [u]MDB00017[/u] and GlassFish server console problem
Netbeans 6.8M1 and JAX-RS using Jersey problems
How To USe JPA with Entity Bean in Ejb3.0