WebService on Tomcat

Hi everyone!
I've written a small sample WebService corresponding to the Hello World example from the JWSDP tutorial. Everything works fine until I try to access the WebService by my browser. In Tomcat's jwsdp_log file, I found this error:
2002-04-03 09:58:25 ContextConfig[kredit] Parse error in application web.xml
java.lang.Exception: Can't open config file: java.io.ByteArrayInputStream@2ae94f due to: java.io.UTFDataFormatException: invalid byte 1 of 1-byte UTF-8 sequence (0xfc)
     at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:282)
     at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:256)
     at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:824)
     at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:224)
     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:3345)
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
     at org.apache.catalina.core.StandardHost.install(StandardHost.java:714)
     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:324)
     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
     at org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
     at org.apache.catalina.core.StandardService.start(StandardService.java:388)
     at org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
     at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
     at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
     at java.lang.reflect.Method.invoke(Native Method)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
2002-04-03 09:58:25 ContextConfig[kredit]: Marking this application unavailable due to previous error(s)
2002-04-03 09:58:25 StandardContext[kredit]: Error initializing naming context for context /kredit
2002-04-03 09:58:25 StandardContext[kredit]: Context startup failed due to previous errors
2002-04-03 09:58:25 StandardContext[kredit]: Error initializing naming context for context /kredit
What does this mean? Did anybody have this problem before?
Thx a lot in advance!!

Thank you so much, Kullervo.
Sometimes the most obvious things are the hardest to see.
The point was that my web.xml referenced the wrong dtd. The doctype tag must be changed to "http://java.sun.com/dtd/web-app_2_3.dtd". I copied the wrong url from the example file and so it didn't work.
Thank you again!

Similar Messages

  • How to create a webservice in Tomcat with the use of Axis

    I am very new to webservices. I am suppose to create a webservice in Tomcat with the use of Axis. I have downloaded all the required jars.
    Please help me how to start.
    Thanx in advance.
    [email protected]

    Check out the Axis user's guide at: http://ws.apache.org/axis/java/user-guide.html

  • Deploying WebService to Tomcat

    Hello,
    I make a simple "HelloWorld" webservice by making a java class with a "hello" method and using the "Create J2EE WebService". Upon deplying to Tomcat, I the application won't start in Tomcat and the logs show the following error which I don't understand:
    SEVERE: Parse error in application web.xml file at jndi:/localhost/WebServices/WEB-INF/web.xml
    java.lang.IllegalArgumentException: Invalid <url-pattern> MyWebService_HelloWorldSoapHttpPort in servlet mapping
    I have followed the instructions at the below webpage, and have simple webapps work, but it's webservices that is giving me trouble.
    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3?topic=j2ee_ptomcatdeploy_html

    Just to clarify - the problem here is not JDeveloper - the problem here is the lack of web services support in tomcat.
    How about using OC4J as your web and J2EE server? it is a lite server.
    You are actually using it right now when you click run in JDeveloper - this is the embedded J2EE container in JDeveloper.
    download at http://otn.oracle.com/products/oc4j

  • Restful WebService + Jercy + Tomcat

    All,
      I am doing Hello World example for restfull webservice. I have fallowed the http://www.vogella.com/articles/REST/article.html. It is not showing any error or exception in any logs.
    But I could not get the expected the result.
    Please help me in this regard
    Regards
    vijay

    Hi Vijay,
    I'm in the impression, that you are started learning Restful Webservices.
    If yes here is the best solution, hope this helps you.
    I too tried that link given by you, but I didn't find jar for "com.sun.jersey.api.client" package, any how here you can find very clear and simple example.
    Jersey hello world example

  • Develope complex WebService with JDeveloper and deploy to tomcat

    Hello,
    I am thinking of developing a complex WebService with JDeveloper and deploy it to tomcat.
    The WebService should retrieve a few "normal" datatypes and a pdf and a few images. I try to store the pdf and the image in an Oracle DB as BLOB.
    My idea ist to create a Package which selects the values, pdf and the image and retrieve them as the output paramter.
    Then I want to create a WebService with the JDeveloper which calls this Package. This WebService should be published on a Tomcat.
    My first question is if that is possible?
    I think there are few problems.
    I searched the forum about deploying a JDeveloper WebService to Tomcat, but I can not find a whole solution which is going to work. I read something about JAX-RPC, but I am new to this topic. So it would be very nice, if anyone could tell me where I can find the solution or post a quick guide to solve that.
    Another question is how I have to decode the images and the pdf to provide those files in a WebService?
    I would be very glad if anyone can help me or tell me where I can find information about that, becaus I am new to this topic!
    Thank you,
    Tim

    Hi,
    does anybody have an idea about that?
    Thanks,
    Tim

  • JDK 6 WebServices: publishing with tomcat

    Hi people:
    JDK 6 WebServices seem to be pretty cool.
    According to the JDK 6 Web Services tutorials, it is possible to publish web services in a "built-in lightweight container" that is a standard in JDK 6. However, I could not find the way to publish my JDK 6 WebService in tomcat. Is there any way to do it?

    To use servlet-based webservice you will need:
    1) Generate wsdl, I use this in my ant script:
    <!-- generate portable artifacts Java-to-WSDL (wsgen) -->
    <target name="run.wsgen" depends="init, init.wsgen, compile.server">
    <echo message="Invoking WsGen task (Java-to-WSDL mapping)" />
    <exec executable="wsgen">
    <arg value="-verbose"/>
    <arg value="-classpath"/>
    <arg
    value="${build.classes.dir}"/>
    <arg value="-d"/>
    <arg
    value="${build.generated.dir}/wsgen"/>
    <arg value="-wsdl" />
    <arg value="-keep" />
    <arg
    value="${impl.class}"/>
    </exec>
    <copy todir="${build.classes.dir}">
    <fileset dir="${build.generated.dir}/wsgen" includes="**/*.xml, **/*.class"/>
    </copy>
    </target>
    ${impl.class} -- is your java implementation
    2) In web.xml:
    <listener>
    <listener-class>com.sun.xml.ws.transport.http.servlet.WSServletContextListener</listener-class>
    </listener>
    <servlet>
    <servlet-name>your-mapped-servlert-name-here</servlet-name>
    <servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>your-mapped-servlert-name-here</servlet-name>
    <url-pattern>/your-url-pattern</url-pattern>
    </servlet-mapping>
    3) Include sun-jaxws.xml in your WEB-INF:
    <?xml version="1.0" encoding="UTF-8"?>
    <endpoints version="2.0" xmlns="http://java.sun.com/xml/ns/jax-ws/ri/runtime">
    <endpoint implementation="package.class" name="your-mapped-servlert-name-here" url-pattern=/your-url-pattern"/>
    </endpoints>
    4) you will need the following jars: jaxws-rt, jaxb-impl, jaxb-xjc, stax-ex and streambuffer
    5) Build a war file, which includes wsgen-generated classes from step 1.
    6) You will need to setup soapUI to test it on Tomcat
    Bon chance!

  • Problem with axis2 and Tomcat

    Hello,
    I am having a strange problem with Tomcat and axis. I have a webservice that uses axis2 for wsdl2java class generation. When I compile my project in maven a Test is performed. During the test a glassfish server is established and the project is deployed -everything work great with the expected results. However when I try to deploy the webservice on tomcat it has some problems.
    At first I tried to call axis code in a POST method that takes a MultiPart message. The code is as below:
    *@Path("identifyWavestream")*
    *@POST*
    *@Consumes(MediaType.MULTIPART_FORM_DATA)*
    *@Produces(MediaType.APPLICATION_XML)*
    *public String multipartTest(com.sun.jersey.multipart.MultiPart multiPart) throws Exception {* 
    *// get first body part (index 0)*
    *//tomcat shows that the first error is here (line 122 is the nest one with bodypart)*
    BodyPart bp = multiPart.getBodyParts().get(0);
    BodyPartEntity bodyPartEntity = (BodyPartEntity) bp.getEntity();
    InputStream stream = bodyPartEntity.getInputStream();
    *//the rest of the code either saves the incoming file or implements the wsdl2java axis interface - neither works.*
    And the tomcat error is:
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    java.util.ArrayList.RangeCheck(Unknown Source)
    java.util.ArrayList.get(Unknown Source)
    com.webserv.rest.resources.SearchResource.test.multipartTest(SearchResource.java:122)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    java.lang.reflect.Method.invoke(Unknown Source)
    com.sun.jersey.server.impl.model.method.dispatch.EntityParamDispatchProvider$TypeOutInvoker._dispatch(EntityParamDispatchProvider.java:138)
    com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67)
    com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:124)
    com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111)
    com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71)
    com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111)
    com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:63)
    com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:555)
    com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:514)
    com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:505)
    com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:359)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    It was strange to me since this simple approach of handling a Multipart method worked for me earlier. Then I decided skip the handling of multipart method and just call the axis code. But the results also caused an error. I then tried to call the axis code in a simple @GET method (to cross out any issues regarding the multipart) and the result where the same. Again everything works on the maven- glassfish test. In this case the tomcat error is the following:
    javax.servlet.ServletException: java.lang.NoSuchMethodError: org.apache.commons.httpclient.HttpConnectionManager.getParams()Lorg/apache/commons/httpclient/params/HttpConnectionManagerParams;
    com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:361)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    root cause
    com.sun.jersey.api.container.MappableContainerException: java.lang.NoSuchMethodError: org.apache.commons.httpclient.HttpConnectionManager.getParams()Lorg/apache/commons/httpclient/params/HttpConnectionManagerParams;
    com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:74)
    com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:124)
    com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111)
    com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71)
    com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111)
    com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:63)
    com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:555)
    com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:514)
    com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:505)
    com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:359)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    root cause
    java.lang.NoSuchMethodError: org.apache.commons.httpclient.HttpConnectionManager.getParams()Lorg/apache/commons/httpclient/params/HttpConnectionManagerParams;
    org.apache.axis2.transport.http.AbstractHTTPSender.initializeTimeouts(AbstractHTTPSender.java:454)
    org.apache.axis2.transport.http.AbstractHTTPSender.getHttpClient(AbstractHTTPSender.java:514)
    org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:156)
    org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
    org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:371)
    org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:209)
    org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)
    org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)
    org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
    org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
    com.webserv.rest.webapp.IntSoapServiceStub.getServerData(IntSoapServiceStub.java:2447)
    com.webserv..rest.resources.AIntSoapImpl.getServerData(AIntSoapImpl.java:112)
    com.webserv..rest.resources.SearchResource.test.pingTest(SearchResource.java:167)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    java.lang.reflect.Method.invoke(Unknown Source)
    com.sun.jersey.server.impl.model.method.dispatch.EntityParamDispatchProvider$TypeOutInvoker._dispatch(EntityParamDispatchProvider.java:138)
    com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67)
    com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:124)
    com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111)
    com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71)
    com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111)
    com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:63)
    com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:555)
    com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:514)
    com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:505)
    com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:359)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    I think it is also a good ide to post the pom.xml file :
    Edited by: 803864 on 2010-10-21 00:30

    I think it is also a good ide to post the pom.xml file:
    +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"+
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    +<modelVersion>4.0.0</modelVersion>+
    +<groupId>com.myProjects</groupId>+
    +<artifactId>audioid-rest-interface</artifactId>+
    +<packaging>war</packaging>+
    +<name>AudioID Rest Interface</name>+
    +<version>0.1</version>+
    +<dependencies>+
    +<!--+
    +<dependency>+
    +<groupId>com.sun.tools.xjc.maven2</groupId>+
    +<artifactId>maven-jaxb-plugin</artifactId>+
    +<version>1.1</version>+
    +<scope>test</scope>+
    +</dependency>+
    +<dependency>+
    +<groupId>com.sun.jersey</groupId>+
    +<artifactId>jersey-client</artifactId>+
    +<version>1.0.1</version>+
    +</dependency>+
    +<dependency>+
    +<groupId>com.sun.jersey.contribs</groupId>+
    +<artifactId>jersey-multipart</artifactId>+
    +<version>1.0.1</version>+
    +</dependency>+
    +<dependency>+
    +<groupId>com.sun.grizzly</groupId>+
    +<artifactId>grizzly-servlet-webserver</artifactId>+
    +<version>1.9.0</version>+
    +<scope>test</scope>+
    +</dependency>-->+
    +<dependency>+
    +<groupId>com.sun.jersey.contribs</groupId>+
    +<artifactId>jersey-multipart</artifactId>+
    +<version>1.0.1</version>+
    +</dependency>+
    +<dependency>+
    +<groupId>com.sun.jersey</groupId>+
    +<artifactId>jersey-client</artifactId>+
    +<version>1.0.1</version>+
    +</dependency>+
    +<dependency>+
    +<groupId>com.sun.jersey</groupId>+
    +<artifactId>jersey-bundle</artifactId>+
    +<version>1.0.1</version>+
    +</dependency>+
    +<dependency>+
    +<groupId>commons-logging</groupId>+
    +<artifactId>commons-logging</artifactId>+
    +<version>1.0.4</version>+
    +</dependency>+
    +<dependency>+
    +<groupId>commons-collections</groupId>+
    +<artifactId>commons-collections</artifactId>+
    +<version>3.1</version>+
    +</dependency>+
    +<dependency>+
    +<groupId>org.slf4j</groupId>+
    +<artifactId>slf4j-log4j12</artifactId>+
    +<version>1.5.6</version>+
    +</dependency>+
    +<dependency>+
    +<groupId>junit</groupId>+
    +<artifactId>junit</artifactId>+
    +<version>3.8.2</version>+
    +<scope>test</scope>+
    +</dependency>+
    +<dependency>+
    +<groupId>org.glassfish.distributions</groupId>+
    +<artifactId>web-all</artifactId>+
    +<version>10.0-build-20080430</version>+
    +<scope>test</scope>+
    +</dependency>+
    +<dependency>+
    +<groupId>org.glassfish.embedded</groupId>+
    +<artifactId>gf-embedded-api</artifactId>+
    +<version>1.0-alpha-4</version>+
    +<scope>test</scope>+
    +</dependency>+
    +<dependency>+
    +<groupId>com.sun.jersey</groupId>+
    +<artifactId>jersey-server</artifactId>+
    +<version>1.0.3.1</version>+
    +<scope>test</scope>+
    +</dependency>+
    +<dependency>+
    +<groupId>com.sun.jersey.contribs</groupId>+
    +<artifactId>maven-wadl-plugin</artifactId>+
    +<version>1.0.3.1</version>+
    +</dependency>+
    +<dependency>+
    +<groupId>org.hibernate</groupId>+
    +<artifactId>hibernate</artifactId>+
    +<version>3.2.5.ga</version>+
    +<exclusions>+
    +<exclusion>+
    +<groupId>javax.transaction</groupId>+
    +<artifactId>jta</artifactId>+
    +</exclusion>+
    +<exclusion>+
    +<groupId>cglib</groupId>+
    +<artifactId>cglib</artifactId>+
    +</exclusion>+
    +</exclusions>+
    +</dependency>+
    +<dependency>+
    +<groupId>org.apache.axis2</groupId>+
    +<artifactId>axis2</artifactId>+
    +<version>1.4.1</version>+
    +</dependency>+
    +<!-- <dependency> -->+
    +<dependency>+
    +<groupId>org.apache.axis2</groupId>+
    +<artifactId>axis2-aar-maven-plugin</artifactId>+
    +<version>1.4.1</version>+
    +<scope>test</scope>+
    +</dependency>+
    +<dependency>+
    +<groupId>org.apache.axis2</groupId>+
    +<artifactId>axis2-java2wsdl</artifactId>+
    +<version>1.4.1</version>+
    +<scope>test</scope>+
    +</dependency>+
    +<dependency>+
    +<groupId>org.apache.axis2</groupId>+
    +<artifactId>axis2-xmlbeans</artifactId>+
    +<version>1.4.1</version>+
    +</dependency>+
    +<!-- <dependency> -->+
    +<dependency>+
    +<groupId>com.sun.xml.bind</groupId>+
    +<artifactId>jaxb-impl</artifactId>+
    +<version>2.1.12</version>+
    +</dependency>+
    +<dependency>+
    +<groupId>cglib</groupId>+
    +<artifactId>cglib-nodep</artifactId>+
    +<version>2.1_3</version>+
    +</dependency>+
    +</dependencies>+
    +<build>+
    +<finalName>audioid-rest-interface</finalName>+
    +<plugins>+
    +<plugin>+
    +<!-- This class is just generated for wadl support!!! -->+
    +<!-- Take care that folder ../music-dna-core is existing -->+
    +<groupId>com.sun.tools.xjc.maven2</groupId>+
    +<artifactId>maven-jaxb-plugin</artifactId>+
    +<version>1.1</version>+
    +<executions>+
    +<execution>+
    +<phase>generate-sources</phase>+
    +<goals>+
    +<goal>generate</goal>+
    +</goals>+
    +</execution>+
    +</executions>+
    +<configuration>+
    +<generatePackage> com.webserv.wsparameters</generatePackage>+
    +<schemaDirectory>../audioid-rest-interface/src/main/resources+
    +</schemaDirectory>+
    +<includeSchemas>+
    +<includeSchema>**/*.xsd</includeSchema>+
    +</includeSchemas>+
    +<extension>true</extension>+
    +<strict>false</strict>+
    +<verbose>false</verbose>+
    +</configuration>+
    +</plugin>+
    +<plugin>+
    +<groupId>org.apache.maven.plugins</groupId>+
    +<artifactId>maven-javadoc-plugin</artifactId>+
    +<!-- <version>2.6</version> -->+
    +<executions>+
    +<execution>+
    +<goals>+
    +<goal>javadoc</goal>+
    +</goals>+
    +<phase>compile</phase>+
    +</execution>+
    +</executions>+
    +<configuration>+
    +<encoding>UTF-8</encoding>+
    +<verbose>false</verbose>+
    +<show>public</show>+
    +<subpackages> com.webserv.rest.rest.resources: com.webserv.rest.rest.commons: com.webserv.wsparameters+
    +</subpackages>+
    +<doclet>com.sun.jersey.wadl.resourcedoc.ResourceDoclet</doclet>+
    +<docletPath>${path.separator}${project.build.outputDirectory}+
    +</docletPath>+
    +<docletArtifacts>+
    +<docletArtifact>+
    +<groupId>com.sun.jersey.contribs</groupId>+
    +<artifactId>wadl-resourcedoc-doclet</artifactId>+
    +<version>1.0.3.1</version>+
    +</docletArtifact>+
    +<docletArtifact>+
    +<groupId>com.sun.jersey</groupId>+
    +<artifactId>jersey-server</artifactId>+
    +<version>1.0.3.1</version>+
    +</docletArtifact>+
    +<docletArtifact>+
    +<groupId>xerces</groupId>+
    +<artifactId>xercesImpl</artifactId>+
    +<version>2.6.1</version>+
    +</docletArtifact>+
    +</docletArtifacts>+
    +<additionalparam>-output+
    +${project.build.outputDirectory}/resourcedoc.xml</additionalparam>+
    +<useStandardDocletOptions>false</useStandardDocletOptions>+
    +</configuration>+
    +</plugin>+
    +<plugin>+
    +<groupId>com.sun.jersey.contribs</groupId>+
    +<artifactId>maven-wadl-plugin</artifactId>+
    +<version>1.0.3.1</version>+
    +<executions>+
    +<execution>+
    +<id>generate</id>+
    +<goals>+
    +<goal>generate</goal>+
    +</goals>+
    +<phase>compile</phase>+
    +</execution>+
    +</executions>+
    +<configuration>+
    +<wadlFile>${project.build.outputDirectory}/application.wadl+
    +</wadlFile>+
    +<formatWadlFile>true</formatWadlFile>+
    +<baseUri>http://192.168.2.149:8080/${project.build.finalName}+
    +</baseUri>+
    +<packagesResourceConfig>+
    +<param> com.webserv.rest.resources</param>+
    +</packagesResourceConfig>+
    +<wadlGenerators>+
    +<wadlGeneratorDescription>+
    +<className>com.sun.jersey.server.wadl.generators.WadlGeneratorApplicationDoc+
    +</className>+
    +<properties>+
    +<property>+
    +<name>applicationDocsFile</name>+
    +<value>${basedir}/src/main/doc/application-doc.xml</value>+
    +</property>+
    +</properties>+
    +</wadlGeneratorDescription>+
    +<wadlGeneratorDescription>+
    +<className>com.sun.jersey.server.wadl.generators.WadlGeneratorGrammarsSupport+
    +</className>+
    +<properties>+
    +<property>+
    +<name>grammarsFile</name>+
    +<value>${basedir}/src/main/doc/application-grammars.xml</value>+
    +</property>+
    +</properties>+
    +</wadlGeneratorDescription>+
    +<wadlGeneratorDescription>+
    +<className>com.sun.jersey.server.wadl.generators.resourcedoc.WadlGeneratorResourceDocSupport+
    +</className>+
    +<properties>+
    +<property>+
    +<name>resourceDocFile</name>+
    +<value>${project.build.outputDirectory}/resourcedoc.xml</value>+
    +</property>+
    +</properties>+
    +</wadlGeneratorDescription>+
    +</wadlGenerators>+
    +</configuration>+
    +</plugin>+
    +<plugin>+
    +<groupId>org.codehaus.mojo</groupId>+
    +<artifactId>exec-maven-plugin</artifactId>+
    +<version>1.1</version>+
    +<executions>+
    +<execution>+
    +<goals>+
    +<goal>java</goal>+
    +</goals>+
    +</execution>+
    +</executions>+
    +<configuration>+
    +<mainClass>com.sun.jersey.samples.generatewadl.Main</mainClass>+
    +</configuration>+
    +</plugin>+
    +<plugin>+
    +<groupId>org.apache.maven.plugins</groupId>+
    +<artifactId>maven-compiler-plugin</artifactId>+
    +<inherited>true</inherited>+
    +<configuration>+
    +<source>1.5</source>+
    +<target>1.5</target>+
    +<!--+
    exclude temporary types that are only needed for wadl and doc
    generation
    -->
    +<!--+
    +<excludes> <exclude>com/webserv/types/temporary/**</exclude>+
    +<exclude>com/webserv/rest/commons/Examples.java</exclude>+
    +</excludes>+
    -->
    +</configuration>+
    +</plugin>+
    +<plugin>+
    +<groupId>org.jvnet.jaxb2.maven2</groupId>+
    +<artifactId>maven-jaxb2-plugin</artifactId>+
    +<executions>+
    +<execution>+
    +<goals>+
    +<goal>generate</goal>+
    +</goals>+
    +</execution>+
    +</executions>+
    +</plugin>+
    +<plugin>+
    +<groupId>org.apache.axis2</groupId>+
    +<artifactId>axis2-wsdl2code-maven-plugin</artifactId>+
    +<version>1.4.1</version>+
    +<executions>+
    +<execution>+
    +<id>generate reco core</id>+
    +<goals>+
    +<goal>wsdl2code</goal>+
    +</goals>+
    +<configuration>+
    +<packageName>com.webserv.rest.webapp</packageName>+
    +<wsdlFile>src/main/java/com/webserv/wsdl/web.wsdl</wsdlFile>+
    +<databindingName>adb</databindingName>+
    +</configuration>+
    +</execution>+
    +</executions>+
    +</plugin>+
    +<plugin>+
    +<groupId>com.sun.tools.xjc.maven2</groupId>+
    +<artifactId>maven-jaxb-plugin</artifactId>+
    +<version>1.1</version>+
    +<executions>+
    +<execution>+
    +<goals>+
    +<goal>generate</goal>+
    +</goals>+
    +</execution>+
    +</executions>+
    +<configuration>+
    +<generatePackage>com.webserv.wsparameters</generatePackage>+
    +<schemaDirectory>src/main/xsd</schemaDirectory> <includeSchemas>+
    +<includeSchema>**/*.xsd</includeSchema> </includeSchemas>+
    +<extension>true</extension>+
    +<strict>false</strict>+
    +<verbose>true</verbose>+
    +</configuration>+
    +</plugin>+
    +</plugins>+
    +</build>+
    +<profiles>+
    +<profile>+
    +<id>jdk-1.5</id>+
    +<activation>+
    +<jdk>1.5</jdk>+
    +</activation>+
    +<dependencies>+
    +<dependency>+
    +<groupId>com.sun.xml.bind</groupId>+
    +<artifactId>jaxb-impl</artifactId>+
    +<version>2.1.10</version>+
    +</dependency>+
    +</dependencies>+
    +<build>+
    +<plugins>+
    +<plugin>+
    +<groupId>org.apache.maven.plugins</groupId>+
    +<artifactId>maven-javadoc-plugin</artifactId>+
    +<configuration>+
    +<docletArtifacts>+
    +<docletArtifact>+
    +<groupId>com.sun.jersey.contribs</groupId>+
    +<artifactId>maven-wadl-plugin</artifactId>+
    +<version>1.0.3.1</version>+
    +</docletArtifact>+
    +<docletArtifact>+
    +<groupId>com.sun.jersey.contribs</groupId>+
    +<artifactId>wadl-resourcedoc-doclet</artifactId>+
    +<version>1.0.3.1</version>+
    +</docletArtifact>+
    +<docletArtifact>+
    +<groupId>com.sun.jersey</groupId>+
    +<artifactId>jersey-server</artifactId>+
    +<version>1.0.3.1</version>+
    +</docletArtifact>+
    +<docletArtifact>+
    +<groupId>xerces</groupId>+
    +<artifactId>xercesImpl</artifactId>+
    +<version>2.6.1</version>+
    +</docletArtifact>+
    +<docletArtifact>+
    +<groupId>javax.xml.bind</groupId>+
    +<artifactId>jaxb-api</artifactId>+
    +<version>2.1</version>+
    +</docletArtifact>+
    +<docletArtifact>+
    +<groupId>javax.xml</groupId>+
    +<artifactId>jaxb-impl</artifactId>+
    +<version>2.1</version>+
    +</docletArtifact>+
    +<docletArtifact>+
    +<groupId>javax.activation</groupId>+
    +<artifactId>activation</artifactId>+
    +<version>1.1</version>+
    +</docletArtifact>+
    +<docletArtifact>+
    +<groupId>javax.xml.stream</groupId>+
    +<artifactId>stax-api</artifactId>+
    +<version>1.0</version>+
    +</docletArtifact>+
    +</docletArtifacts>+
    +</configuration>+
    +</plugin>+
    +</plugins>+
    +</build>+
    +</profile>+
    +<profile>+
    +<id>xsltproc</id>+
    +<activation>+
    +<file>+
    +<exists>../xsltproc_win32/xsltproc.exe</exists>+
    +</file>+
    +</activation>+
    +<build>+
    +<plugins>+
    +<!-- Create/generate the application.html using xsltproc -->+
    +<!-- Create/generate the application.html using xsltproc -->+
    +<plugin>+
    +<groupId>org.codehaus.mojo</groupId>+
    +<artifactId>exec-maven-plugin</artifactId>+
    +<version>1.1</version>+
    +<executions>+
    +<execution>+
    +<id>copy-docs-to-builddir</id>+
    +<goals>+
    +<goal>exec</goal>+
    +</goals>+
    +<phase>compile</phase>+
    +<configuration>+
    +<executable>copy</executable>+
    +<commandlineArgs>src\\main\\doc\\*.* target\\classes+
    +</commandlineArgs>+
    +</configuration>+
    +</execution>+
    +<execution>+
    +<id>prepare-xsltproc</id>+
    +<goals>+
    +<goal>exec</goal>+
    +</goals>+
    +<phase>package</phase>+
    +<configuration>+
    +<executable>copy</executable>+
    +<commandlineArgs>..\\audioid-rest-interface\\src\\main\\resources\\*.xsd+
    target\\classes</commandlineArgs>
    +</configuration>+
    +</execution>+
    +<execution>+
    +<id>exec-xsltproc: target/application.html</id>+
    +<goals>+
    +<goal>exec</goal>+
    +</goals>+
    +<phase>package</phase>+
    +<configuration>+
    +<!--<executable>xsltproc</executable>-->+
    +<executable>../xsltproc_win32/xsltproc.exe</executable>+
    +<commandlineArgs>-o target/application.html+
    src/main/doc/wadl_documentation.xsl
    target/classes/application.wadl</commandlineArgs>
    +</configuration>+
    +</execution>+
    +</executions>+
    +</plugin>+
    +</plugins>+
    +</build>+
    +</profile>+
    +</profiles>+
    +<pluginRepositories>+
    +<pluginRepository>+
    +<id>maven2-repository.dev.java.net</id>+
    +<name>Java.net Repository for Maven</name>+
    +<url>http://download.java.net/maven/2/</url>+
    +<layout>default</layout>+
    +</pluginRepository>+
    +<pluginRepository>+
    +<id>maven-repository.dev.java.net</id>+
    +<name>Java.net Maven 1 Repository (legacy)</name>+
    +<url>http://download.java.net/maven/1</url>+
    +<layout>legacy</layout>+
    +</pluginRepository>+
    +</pluginRepositories>+
    +<repositories>+
    +<repository>+
    +<id>maven2-repository.dev.java.net</id>+
    +<name>Java.net Repository for Maven</name>+
    +<url>http://download.java.net/maven/2/</url>+
    +<layout>default</layout>+
    +</repository>+
    +<repository>+
    +<id>maven-repository.dev.java.net</id>+
    +<name>Java.net Maven 1 Repository (legacy)</name>+
    +<url>http://download.java.net/maven/1</url>+
    +<layout>legacy</layout>+
    +</repository>+
    +<repository>+
    +<id>glassfish-repository</id>+
    +<name>Java.net Repository for Glassfish</name>+
    +<url>http://download.java.net/maven/glassfish</url>+
    +</repository>+
    +</repositories>+
    +</project>+
    Can anyonr contribute?

  • How to Embbed Tomcat in Java Application

    Hi
    At the moment i have the basic setup of applicatoin like this
    first i run the file "Tomcat.bat" that start the tomcat server, in a specific directory and also the webservice is enabled.
    Secondly then i run the Program.java that uses the web service started in the first step.
    However, now i want to start the webservice (Apache Tomcat) from with in the Java Application. So that whenever, i need to i can start it. I also need the control over ports, so as to which port should the tomcat run on...
    So at the end of the my simple question is how to run tomcat from with in a java application. At the moment i can not use the Runtime.exec() since this is a real time application and using Runtime.exec() causes some problems over the locking of threads...
    Any Help would be greatly appreciated.
    Thanks for looking.

    i looked at the my catalina.sh script file and see that java runs "org.apache.catalina.startup.Bootstrap" class first so that i think by instaitating that class and preparing the parameters that needed will start the tomcats "org.apache.catalina.startup.Bootstrap" class and that class will load all the needed parts and start serving request.
    and how to change starting port ? i thought that you can generate the server.xml on fly and after creating that file you can start tomcat.
    these are my opinion but i think these are true,i have no time to try this if i can i will write here.or if somebody can try write here.

  • Target 'install' does not exist in this project (TOmcat)

    i get this error when i try to install a webservice on tomcat, and when i type
    ant install it gives me this error:
    " Target 'install' does not exist in this project "
    i have a file in the same directory with the build.xml named install.xml
    and when i type ant build there is no error but by tiping ant install the error above occurs!
    Message was edited by:
    TheBeginner_77

    ant install will execute the target install. As you did not define the build file, the standard one is taken: build.xml.
    These options could be of interest for you:
      -buildfile <file>      use given buildfile
        -file    <file>              ''
        -f       <file>              ''

  • Java webservice production deployment

    I have installed JWSDP1.0.01 and created a webservice 'VisitantWS' using the same. I can deploy, access and consume web service alright in the JWSDP deployment environment.
    Next, I am trying to create a production level environment for which, I have installed IIS and Tomcat4.0 on seperate machine with IIS redirector in place.
    For deployment of my webservice in the Tomcat, I am placing the .war file(from \dist directory of JWSDP) in to the \webApps and restart IIS, Tomcat. It extracts the .war file and creates folder hirerchy in \work directory automatically. Now, when I try to check my deployment using
    http://localhost:8080/VisitantWS-jaxrpc/VisitantWS
    it says 'the requested resource (/VisitantWS-jaxrpc/VisitantWS) not found.
    I have changed my server.xml and added the context for VisitantWS to it.
    when I check the status of the service using
    http:/localhost:8080/manager/list
    it says
    '/VisitantWS-jaxrpc:stopped:0
    /running:0'
    trying to reload the service gives me
    'FAIL - Encountered exception java.lang.IllegalStateException: Container StandardContext[VisitantWS-jaxrpc] has not been started'
    How can I deploy the webservice created using JWSDP for the production use where I dont have to use Ant (which is the part of JWSDP) for the deployment or ship JWSDP alongwith my product. Am I missing something for the deployment of the webservice on Tomcat?
    Hemal

    It was almost a year back and I have been distracted to other stuff but as I think of it now, having tomcat and IIS on different machines must be the problem as the webserver need the webcontainer to be on the same machine to redirect the requests. not sure but I plan to get back to it soon.

  • Deploying a webservice on Jigsaw on Unix

    Hi All.
    We were able to successfully build and deploy a webservice on tomcat running on Windows. What we want to do is run it on a remote UNIX server running Jigsaw. What we're not able to do is find out where to actually put the war files and deploy the webservice and configure the Jigsaw server to deploy the web service for us to actually use it. I hope you can help us. Thanks
    Edited by: user13846058 on Jan 23, 2011 7:56 PM

    the problem is with the xmlns:wsdl="http://www.organisator.dk" line in your webservices.xml. It does not match the namespace of the corresponding PortType in your wsdl: targetNamespace="http://organisator.dk/winnie/wsdl"

  • Getting WebService return object in BPEL

    I have a simple WebService that returns a DTO object:
    public MyDTO testDTO(String s1, String s2){
    MyDTO myDTO = new MyDTO();
    myDTO.setInput1(s1);
    myDTO.setInput2(s2);
    return myDTO;
    public class MyDTO implements Serializable{
    public MyDTO() {
    private String input1;
    private String input2;
    //getters n setters are here
    I deployed this as AXIS WebService in TomCat successfully.
    <service name="elogService" provider="java:RPC" style="wrapped" use="literal">
    <operation name="testDTO" qname="ns11:testDTO" returnQName="ns11:MyDTOReturn" returnType="ns51:com.MyDTO" soapAction="" xmlns:ns11="http://services.xyz.com" xmlns:ns51="http://dto.abc.com">
    <parameter qname="ns11:s1" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
    <parameter qname="ns11:s2" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
    </operation>
    <parameter name="allowedMethods" value="testDTO"/>
    <parameter name="typeMappingVersion" value="1.2"/>
    <parameter name="className" value="com.TestDTOWS"/>
    <parameter name="wsdlServicePort" value="VisilogAddServicePort"/>
    <parameter name="schemaQualified" value="http://services.xyz.com,http://dto.abc.com"/>
    <parameter name="wsdlTargetNamespace" value="http://services.xyz.com"/>
    <parameter name="wsdlServiceElement" value="elogService"/>
    <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="" qname="ns31:MyDTO" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" type="java:com.MyDTO" xmlns:ns31="http://dto.abc.com"/>
    </service>
    In BPEL. I created a partnerLink and invoked it. In the BPEL Console, on giving inputs "a" and "b", i see the following message on invoke node:
    Invoked 2-way operation "testDTO" on partner "DTOWS_PartnerLink".
    - <messages>
    - <Invoke_1_testDTO_InputVariable>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters">
    - <testDTO xmlns="http://services.xyz.com">
    <s1>a</s1>
    <s2>b</s2>
    </testDTO>
    </part>
    </Invoke_1_testDTO_InputVariable>
    - <Invoke_1_testDTO_OutputVariable>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters">
    - <testDTOResponse xmlns="http://services.xyz.com">
    - <MyDTOReturn xsi:type="ns1:MyDTO" xmlns:ns1="http://dto.abc.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <input1>a</input1>
    <input2>b</input2>
    </MyDTOReturn>
    </testDTOResponse>
    </part>
    </Invoke_1_testDTO_OutputVariable>
    </messages
    I assigned one of the WebService output variable to the result. At Assign node, i get the following message:
    Error in evaluate <from> expression at line "98". The result is empty for the XPath expression : "/ns1:testDTOResponse/ns1:MyDTOReturn/ns2:input1".
    oracle.xml.parser.v2.XMLElement@199822c
    "{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown.
    - <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    - <part name="summary">
    <summary>
    empty variable/expression result.
    xpath variable/expression expression "/ns1:testDTOResponse/ns1:MyDTOReturn/ns2:input1" is empty at line 98, when attempting reading/copying it.
    Please make sure the variable/expression result "/ns1:testDTOResponse/ns1:MyDTOReturn/ns2:input1" is not empty.
    </summary>
    </part>
    </selectionFailure>
    My input1 is not empty. I can see the result at the invoke node. It has "a" content in input1. What am i missing here. What are the places i need to check for.
    Thanks....

    I modified the WebService. Now WSDL file looks as follows:
    <wsdl:types>
    <schema elementFormDefault="qualified" targetNamespace="http://dto.com">
    <element name="s1" type="xsd:string"/>
    <element name="s2" type="xsd:string"/>
    <complexType name="com.MyDTO">
    <sequence>
    <element name="input1" nillable="true" type="xsd:string"/>
    <element name="input2" nillable="true" type="xsd:string"/>
    </sequence>
    </complexType>
    <element name="testDTOReturn" type="impl:com.MyDTO"/>
    </schema>
    </wsdl:types>
    However My error still persists:
    Error in evaluate <from> expression at line "98". The result is empty for the XPath expression : "/ns3:testDTOReturn/ns3:input1".
    <summary>
    empty variable/expression result.
    xpath variable/expression expression "/ns3:testDTOReturn/ns3:input1" is empty at line 98, when attempting reading/copying it.
    Please make sure the variable/expression result "/ns3:testDTOReturn/ns3:input1" is not empty.
    </summary>
    At invoke node this is the message:
    <Invoke_1_testDTO_OutputVariable>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="testDTOReturn">
    - <s1Return xsi:type="ns1:com.MyDTO" xmlns="http://dto.com" xmlns:ns1="http://dto.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ns1:input1>1111</ns1:input1>

  • Local URL in WebService address and WSDL file

    Hi everyone,
    I developed, built and deployed my webservice on a machine. To reach the webservice from the web it has a specific IP (binded to point to a local IP) , but when i access to it the URL inside the webservice address, the reference to the wsdl file and the SOAP:ADDRESS property inside WSDL refer to my local network IP instead of "external" url ..... how is it possible? how can i change things to make Web Service always refere to the external url from which has been invoked?
    Thanks in advance for help ... it's quite urgent ... thank you

    just a little precisation : i deployed the webservice on tomcat, simply putting dist war file ... not using the ant deploy task.

  • Unabel to call soap webservice (axis)

    Hi
    I have develop a webservice using axis. I am using tomcat 6 and jdk6 version. I have successfully deploy webservice in tomcat, but when I am trying to call that service (client side) it blow me this exception.
    Exception-----------------
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.reflect.InvocationTargetException
    faultActor:
    faultNode:
    faultDetail:
            {http://xml.apache.org/axis/}stackTrace:java.lang.reflect.InvocationTargetException
            at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
            at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
            at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
            at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
            at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Sourc
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
            at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
            at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
            at javax.xml.parsers.SAXParser.parse(Unknown Source)
            at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
            at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
            at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
            at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
            at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
            at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
            at org.apache.axis.client.Call.invoke(Call.java:2767)
            at org.apache.axis.client.Call.invoke(Call.java:2443)
            at org.apache.axis.client.Call.invoke(Call.java:2366)
            at org.apache.axis.client.Call.invoke(Call.java:1812)
            at ws.fms.fedex.com.FmsSoapSoapBindingStub.getSensorPositionData(FmsSoapSoapBindingStub.java:209)
            at ws.fms.fedex.com.FmsShipmentServerServiceLocator.main(FmsShipmentServerServiceLocator.java:163)
            {http://xml.apache.org/axis/}hostname:EMRG-409964-L19
    java.lang.reflect.InvocationTargetException
            at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
            at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
            at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
            at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
            at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Sourc
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
            at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
            at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
            at javax.xml.parsers.SAXParser.parse(Unknown Source)
            at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
            at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
            at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
            at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
            at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
            at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
            at org.apache.axis.client.Call.invoke(Call.java:2767)
            at org.apache.axis.client.Call.invoke(Call.java:2443)
            at org.apache.axis.client.Call.invoke(Call.java:2366)
            at org.apache.axis.client.Call.invoke(Call.java:1812)
            at ws.fms.fedex.com.FmsSoapSoapBindingStub.getSensorPositionData(FmsSoapSoapBindingStub.java:209)
            at ws.fms.fedex.com.FmsShipmentServerServiceLocator.main(FmsShipmentServerServiceLocator.java:163)I am sure, many friends had face this issue. Please reply me, if you have face this type of issue.
    Is there any server side configureation required????
    Thanks
    UmaShankar Adha

    Is that all what you got? There must be a root cause / caused by part which explains the InvocationTargetException. Lookup the complete trace in the logs or just debug your app.

  • What are steps in beaWeblogic to deploy mt webservices?

    Can any body help me to deploy my webservice in Tomcat or weblogic plz. I am new to java.

    I am kind of new too. But this site helped me to understand and deploy the example in weblogic.
    Hope it helps you.
    http://e-docs.bea.com/wls/docs81/webserv/example.html#1052582

Maybe you are looking for

  • Report to check Po o/p processing status & details

    Dear experts , Is there a standard SAP report that give me the details of a PO o/p type processing status with details ? Regards Anis

  • Need to Archive the Database. . .

    Hi There, I need to follow the following steps - 1> I need to create a Replica of my Database (Say for ex, if i have 5 Tables in my Original database, then i need to copy all of these 5 Tables along with the data and all the Constraints to a newer da

  • TS1363 How do you find ipod service to reinstall in windows 7

    I have an ipod nano 2nd generation and have trouble everytime I try and sync. Itunes tells me it's synced by it hasn't and the device disapears. I've tried help but it only give me Vista instructions I have Windows 7. I've done the re-set numerous ti

  • Asset Accounting in Upgrade from 4.5B to ECC 6.0 system.

    Hello We have recently upgraded from 4.5B system to ECC 6.0 system.This is a Technical Upgrade. We are getting errors when we post through transaction ASKB-Periodic Asset Posting. The errors are that Documents cannot be posted as the GL Account for t

  • Set Credit control status in user Exit LVKMPFZ1

    Dear all we like to set the credit control status in the above mentioned user exit. Is there a better way than *VBUK-CMGST = 'B'. MODIFY *VBUK. Is there a FM, Bapi or something that can be used? Thank you Herbert