Axis Web Services with Orabpel and jBoss

I have installed orabpel_2.0.11_JBOSS_win32.exe and am just trying to integrate some Axis1.1-Web-Services into the processes.
So I installed the axis web application within the server under .../deploy/webapps/axis.war and it is deployed automatically as expected.
The axis happiness-page looks very promissing, but when I try to request the wsdl for e.g. the Version-Service I get the following exception:
java.lang.NullPointerException
at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeDefinition(WSDLWriterImpl
.java:97)
at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:
86)
at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.getDocument(WSDLWriterImpl.jav
a:40)
at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:267)
at org.apache.axis.providers.java.JavaProvider.generateWSDL(JavaProvider
.java:494)
at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java
:72)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:137)
at org.apache.axis.handlers.soap.SOAPService.generateWSDL(SOAPService.ja
va:375)
at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:499)
at org.apache.axis.transport.http.AxisServlet.processWsdlRequest(AxisSer
vlet.java:484)
at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:285
...... etc.
I found a similar question in the web services forum but no solution to the problem. Is it possibly a library problem? Or a factory problem, because I saw something like
set OB_JAVA_PROPERTIES="-Djavax.wsdl.factory.WSDLFactory=oracle.j2ee.ws.wsdl.factory.WSDLFactoryImpl"
in the obsetenv.bat file.
Any help? Because I don't want to write every wsdl by hand.
Best regards, Norbert

Hi Guys,
I tried the same thing, but I am getting a different error.
I appreciate any help in this regard, in advance.
~Soumen.
On the browser:
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - ; nested exception is:
     WSDLException: faultCode=OTHER_ERROR: Unable to serialize extension {http://schemas.xmlsoap.org/wsdl/soap/}binding, no serializer registered.:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: WSDLException: faultCode=OTHER_ERROR: Unable to serialize extension {http://schemas.xmlsoap.org/wsdl/soap/}binding, no serializer registered.:
faultActor:
faultNode:
faultDetail:
     {http://xml.apache.org/axis/}hostname:rockfella
In the console:
10:41:21,203 INFO [enterprise] Mapping Exception to AxisFault
WSDLException: faultCode=OTHER_ERROR: Unable to serialize extension {http://schemas.xmlsoap.org/wsdl/soap/}binding, no s
erializer registered.:
at oracle.j2ee.ws.wsdl.extensions.ParseUtils.writeExtensibilityElements(ParseUtils.java:130)
at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeBinding(WSDLWriterImpl.java:248)
at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeDefinition(WSDLWriterImpl.java:178)
at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:88)
at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.getDocument(WSDLWriterImpl.java:40)
at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:340)
at org.apache.axis.providers.BasicProvider.generateWSDL(BasicProvider.java:242)
at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:33)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:104)

Similar Messages

  • Invoking a AXIS Web Service with a Java object as input argument

    Hi
    I've been trying to execute a bpel process that invokes a web service deployed through axis.
    This web service takes a java object as input argument as opposed to data types that are directly mapped to java types through the SOAP engine.
    I deployed and tested the service outside of BPEL using a test client class. Everything works well.
    When I try to configure the "Assign" and "Invoke" activities so that service can be invoked, I cannot see the data structure through the variable picker and I see the following message:
    "The element {urn:ComplexTypeWebService}TimeSheetBean is not know to the schema container. Perhaps a schema file that uses it needs to include or import its definition.There mat also be an XML schema issue (non resolvable schema) which prevents {urn:ComplexTypeWebService}TimeSheetBean from being seen by the schema processor."
    Is there any example that demonstrates how to invoke an axis web service in such scenario? What am I doing wrong?
    Please, let me know.

    The passing of Java objects in and out of a web service is NOT supported. variables must be xml documents defined by a XML schema. In my opinion, missing Java object and WSDL is not a good idea. -Edwin

  • Can't use an Axis web service with WLS 8.1 SP4

    Greetings,
    In order to simlify the problem, I have this very simple web service:
    public class SimpleWS
    public String toUpper (String s)
    System.out.println ("We are in toUpper " + s);
    return s.toUpperCase();
    It works properly with Tomcat 5 but deployed in WebLogic Server 8.1 SP4 is giving NullPointerException. The client is the one generated by the wsdl2java task.
    The exception is raised after having performed the System.out.println; on return.
    I also noticed that it works if the input parameter is an empty string but it fails otherwise.
    I modified the startup script in order to add Axis' saaj.jar in the begining of the CLASSPATH, but it doesn't seem to help.
    Many thanks in advance for any help.
    Nick

    Hi,
    Welcome to HP support forums. Unfortunately no support for the whole series as shown:
       http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&​lc=en&docname=c03168175#N19646
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Calling web service with utl_dbws and parsing the xml result with Xpath

    I'm invoking a web service from the database(10.2.0.2.0) using sys.utl_dbws and all is working well. After executing response := sys.utl_dbws.invoke(call_, request); I execute dbms_output.put_line(substr(response.getstringval(),1,1500)); which results with:
    <refCursor10gProcessResponse xmlns="http://xmlns.oracle.com/refCursor10g">
    <result xmlns="http://xmlns.oracle.com/refCursor10g">
    <Row xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/ADM/SERVICES/GETST/">
    <Column name="C_ID" sqltype="VARCHAR2">20292</Column>
    <Column name="AYR" sqltype="VARCHAR2">2002</Column>
    <Column name="EDT" sqltype="VARCHAR2">2002-06-13</Column>
    <Column name="ETUS" sqltype="VARCHAR2">O</Column>
    <Column name="PC" sqltype="NUMBER">537</Column>
    <Column name="SG" sqltype="VARCHAR2"/>
    <Column name="VD" sqltype="VARCHAR2">Y</Column>
    <Column name="VR" sqltype="VARCHAR2">R</Column>
    <Column name="TS" sqltype="VARCHAR2">31</Column>
    <Column name="D" sqltype="VARCHAR2">I</Column>
    <Column name="T" sqltype="VARCHAR2">1</Column>
    <Column name="P" sqltype="VARCHAR2"/>
    <Column name="MT" sqltype="VARCHAR2">2</Column>
    <Column name="PTAT" sqltype="VARCHAR2"/>
    </Row>
    </result>
    </refCursor10gProcessResponse>
    How do I parse out just the value 20292 of Column name="C_ID" using xpath? I've tired but I don't think i have the xpath set up correctly:
    dbms_output.put_line(response.extract('//result/Row/Column/child::text)','xmlns="http://xmlns.oracle.com/refCursor10g"').getstringval());
    Error messgae is:
    ORA-30625: method dispatch on NULL SELF argument is disallowed
    ORA-06512: at "ADM.CONSUME_WEB_SERVICES", line 439
    ORA-06512: at 3
    Thanks

    Tried getting by the attribute but I don't think I have the format correct:
    dbms_output.put_line(response.extract('//result/Row/Column@C_ID/child::text()','xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/ADM/SERVICES/GETST"').getstringval());
    Here's the full soap response envelope:
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <refCursor10gProcessResponse xmlns="http://xmlns.oracle.com/refCursor10g">
    <result xmlns="http://xmlns.oracle.com/refCursor10g">
    <Row xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/ADM/SERVICES/GETST/">
    <Column name="C_ID" sqltype="VARCHAR2">20292</Column>
    <Column name="AYR" sqltype="VARCHAR2">2002</Column>
    <Column name="EDT" sqltype="VARCHAR2">2002-06-13</Column>
    <Column name="ETUS" sqltype="VARCHAR2">O</Column>
    <Column name="PC" sqltype="NUMBER">537</Column>
    <Column name="SG" sqltype="VARCHAR2"/>
    <Column name="VD" sqltype="VARCHAR2">Y</Column>
    <Column name="VR" sqltype="VARCHAR2">R</Column>
    <Column name="TS" sqltype="VARCHAR2">31</Column>
    <Column name="D" sqltype="VARCHAR2">I</Column>
    <Column name="T" sqltype="VARCHAR2">1</Column>
    <Column name="P" sqltype="VARCHAR2"/>
    <Column name="MT" sqltype="VARCHAR2">2</Column>
    <Column name="PTAT" sqltype="VARCHAR2"/>
    </Row>
    </result>
    </refCursor10gProcessResponse>
    </env:Body>
    </env:Envelope>
    Any thoughts?

  • ABAP Web Service with XI and SOAP

    Hi everybody!
    What we are trying to implement is the following szenario:
    SAP ERP HCM
    SAP XI (Netweaver 2004s)
    Our customers shall call a Web Service on the HCM system over the XI system transmitting 2 parameters (IDs) and get back a xml document with a list of hr related information.
    This is how we started (or want to go on) with the outside-in method:
    1. set up data types and message interface in XI integration repository
    2. generate a proxy in HCM with the transaction SPROXY and implement the service
    3. set up a communication scenario in XI integration directory using the SOAP adapter
    But there are some questions left:
    - how many message interfaces must be set up for the described scenario?
    - is the SOAP-adapter the correct adapter for that scenario?
    - how do we send back the xml information list?
    - is synchronous communication correct?
    - how can we test that scenario?
    We are new to XI and SOA so we'd appreciate any help. thanks in advance!

    how many message interfaces must be set up for the described scenario?
    You would need two message interfaces. One for the outbound for the sender and one for the inbound for the receiver. There should be request and response message types for each message interface since this is a synchronous scenario.
    is the SOAP-adapter the correct adapter for that scenario?
    SOAP adapter is correct for the web service scenario
    how do we send back the xml information list?
    You will need to design the XML information list in the Integration Repository on the message interface.
    how can we test that scenario?
    You can use third party Soap UI Client such as SOAP UI Client or XML Spy to try calling the webservice.

  • Web Services with ColdFusion and PHP mixed

    Hi,
    We need to used web services provided by remote server. The
    problem is the
    remote server is on PHP and our server is on ColdFusion. Is
    there a way to
    use the web services on PHP server with our ColdFusion
    server?
    I understand ColdFusion automatically generate the WSDL by
    adding ?wsdl
    after the CFC, but I can't do the same thing because the
    remote server is
    not on ColdFusion. They have given us the wsdl web address,
    but it seems
    using the wsdl address directly without CFC is not working.
    Is that right?
    Please let me know.
    YC

    From the coldfusion side of things, it all seems okay what
    you are doing. It
    is an issue with the php/wsdl side of things. I can access
    the wsdl ok, but
    got the same error as PaulH just then when I tried to use web
    service in
    cf..
    "YC" <[email protected]> wrote in message
    news:[email protected]...
    > OK, I learned a good thing. I tired the Dreamweaver +
    icon with a
    > ColdFusion CFC file and it works fine. Now I learned I
    don't have to code
    > the <cfinvoke> tag, but just drag and drop. But
    when I tried the WSDL
    file:
    >
    http://cyfernet.ces.ncsu.edu/ws/resources.wsdl,
    and "ColdFusion MX" as the
    > proxy generator, I had an error. Do I need any other
    option to choose
    from?
    > It seems "Edit Proxy Generator list" doesn't provide a
    sufficient answer.
    >
    > I know the URL of the WSDL file is correct because I
    used it to create a
    web
    > service in PHP locally on my laptop, and it works. From
    the previous
    > answers of you and PaulH, it seems if the WSDL works
    with PHP, it should
    > also work with any other language, right?
    >
    > Have you tried yourself? Did it work?
    >
    > YC
    >
    > "Eric" <[email protected]> wrote in message
    > news:[email protected]...
    > >
    > >
    > > An easy way to do this is to use the dreaweaver
    'components' palette.
    > > Select
    > > 'web services' from the drop down list and then
    click the '+' icon to
    > > create
    > > the call to the web service. (this uses the
    cfinvoke tag)
    > >
    > >
    > > "YC" <[email protected]> wrote in message
    > > news:[email protected]...
    > >> I feel very sorry to keep asking this
    apparently very basic question,
    but
    > >> please be patient with me.
    > >>
    > >> Yes, it is right that I just need to consume
    the pre-existing web
    > >> service.
    > >> This is the WSDL page:
    http://cyfernet.ces.ncsu.edu/ws/resources.wsdl
    and
    > >> this is the web service page on the server
    using it:
    > >>
    http://cyfernet.ces.ncsu.edu/ws/getresources-client.php,
    provided as an
    > >> example.
    > >>
    > >> So in order to have the page run in ColdFusion,
    at least the following
    > >> tag
    > >> below should come up without an error?
    > >> <cfset
    > >>
    > >
    ws=createObject("webservice","
    http://cyfernet.ces.ncsu.edu/ws/getresources-c
    > > lient.php")>
    > >>
    > >> Sorry, but I still get an error message.
    > >> I need to provide "getResourcesByCatid" as the
    method and "catid" as
    the
    > >> parameter, but it should work only if the
    previous tag works without an
    > >> error, right?
    > >>
    > >> YC
    > >>
    > >>
    > >> "Eric" <[email protected]> wrote in
    message
    > >> news:[email protected]...
    > >> >>>We need to used web services
    provided by remote server.
    > >> >
    > >> > Right, so the web service already exists -
    you just want to consume
    it?
    > >> >
    > >> >>Is there a
    > >> >> >> way to use the web services
    on PHP server with our ColdFusion
    > > server?
    > >> >
    > >> > Yes - thats the whole point of web
    services, you can create them in
    one
    > >> > language/platform and consume them in
    another.
    > >> >
    > >> >> Whey you say "create a web service,"
    do you mean I need to create a
    > >> >> <cfcomponent> tag in CFC format?
    Creating a CFC is not a problem,
    but
    > >> >> how
    > >> >> can I place it on the remote server
    because it is running with PHP,
    > >> >> not
    > >> > with
    > >> >> ColdFusion?
    > >> >
    > >> > Sorry if I am not understanding the
    question clearly, but it seems to
    > >> > me
    > >> > that you want to make use of an existing
    php based web service. Why
    do
    > > you
    > >> > you need to place a CFC on the php server?
    You just need to execute
    the
    > >> > web
    > >> > service from the coldfusion server using
    cfml. As Paulh says:
    > >> >
    > >> > <cfset
    ws=createObject("webservice","url to the php based web service
    > >> > here")>
    > >> >
    > >> > The variable 'ws' being your hook into the
    php web service from
    within
    > >> > your
    > >> > cfml code.
    > >> >
    > >> >
    > >> >
    > >> >
    > >> >
    > >> >
    > >> > "YC" <[email protected]> wrote in
    message
    > >> > news:[email protected]...
    > >> >> Eric,
    > >> >> Whey you say "create a web service,"
    do you mean I need to create a
    > >> >> <cfcomponent> tag in CFC format?
    Creating a CFC is not a problem,
    but
    > >> >> how
    > >> >> can I place it on the remote server
    because it is running with PHP,
    > >> >> not
    > >> > with
    > >> >> ColdFusion?
    > >> >>
    > >> >> YC
    > >> >>
    > >> >> "Eric" <[email protected]>
    wrote in message
    > >> >>
    news:[email protected]...
    > >> >> > >We need to used web services
    provided by remote server. The
    > >> >> > >problem
    > >> >> > >is
    > >> >> > >the
    > >> >> > remote server is on PHP and our
    server is on ColdFusion.
    > >> >> >
    > >> >> > Thats one of the main nenefits of
    web services - this does not
    > > matter.
    > >> >> >
    > >> >> >>> I understand ColdFusion
    automatically generate the WSDL by
    adding
    > >> > ?wsdl
    > >> >> >> after the CFC, but I can't do
    the same thing because the remote
    > > server
    > >> > is
    > >> >> >> not on ColdFusion.
    > >> >> >
    > >> >> > Sounds like you want to consume a
    web service, not create one. You
    > > can
    > >> >> > create the call in Dreamweaver,
    just look up help on calling a web
    > >> >> > service. Also see Adobe site
    using search for 'using web services
    in
    > >> >> > coldfusion'
    > >> >> >
    > >> >> >
    > >> >> >
    > >> >> >
    > >> >> > "YC" <[email protected]>
    wrote in message
    > >> >> >
    news:[email protected]...
    > >> >> >> Hi,
    > >> >> >> We need to used web services
    provided by remote server. The
    > >> >> >> problem
    > >> >> >> is
    > >> >> >> the remote server is on PHP
    and our server is on ColdFusion. Is
    > > there
    > >> > a
    > >> >> >> way to use the web services
    on PHP server with our ColdFusion
    > > server?
    > >> >> >>
    > >> >> >> I understand ColdFusion
    automatically generate the WSDL by adding
    > >> >> >> ?wsdl
    > >> >> >> after the CFC, but I can't do
    the same thing because the remote
    > > server
    > >> > is
    > >> >> >> not on ColdFusion. They have
    given us the wsdl web address, but
    it
    > >> > seems
    > >> >> >> using the wsdl address
    directly without CFC is not working. Is
    > >> >> >> that
    > >> >> >> right?
    > >> >> >>
    > >> >> >> Please let me know.
    > >> >> >>
    > >> >> >> YC
    > >> >> >>
    > >> >> >
    > >> >> >
    > >> >>
    > >> >>
    > >> >
    > >> >
    > >>
    > >>
    > >
    > >
    >
    >

  • Error starting web service with netbeans and tomcat

    Hi i'm trying to test a web service connection with mysql i follow all the steps showed here:
    http://jaxenter.com/from-database-to-restful-web-service-to-html5-in-five-minutes-48908.html
    the log :
    Using CATALINA_BASE:   "D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base"
    Using CATALINA_HOME:   "C:\Program Files\Apache Software Foundation\Apache Tomcat 8.0.3"
    Using CATALINA_TMPDIR: "D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\temp"
    Using JRE_HOME:        "C:\Program Files\Java\jdk1.8.0_11"
    Using CLASSPATH:       "C:\Program Files\Apache Software Foundation\Apache Tomcat 8.0.3\bin\bootstrap.jar;C:\Program Files\Apache Software Foundation\Apache Tomcat 8.0.3\bin\tomcat-juli.jar"
    17-Sep-2014 10:48:22.880 INFO [main] org.apache.catalina.core.AprLifecycleListener.init La biblioteca nativa de Apache Tomcat basada en ARP que permite un rendimiento óptimo en entornos de desarrollo no ha sido hallada en java.library.path: C:\Program Files\Java\jdk1.8.0_11\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\Users\investigacion01\Desktop\adt-bundle-windows-x86_64-20140702\sdk\tools;D:\Users\investigacion01\Desktop\adt-bundle-windows-x86_64-20140702\sdk\platform-tools;C:\Windows\System32;C:\Program Files (x86)\nodejs;C:\Program Files (x86)\Git\bin;D:\Users\investigacion01\AppData\Roaming\npm;D:\Kony\ImageMagick;D:\Kony\Ant\bin;C:\Program Files\apache-ant-1.9.4\bin;C:\Program Files\Java\jdk1.8.0_11\bin;D:\Users\investigacion01\Desktop\adt-bundle-windows-x86_64-20140702\sdk\platform-tools;D:\Users\investigacion01\Desktop\adt-bundle-windows-x86_64-20140702\sdk\tools;.
    17-Sep-2014 10:48:23.062 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8084"]
    17-Sep-2014 10:48:23.086 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
    17-Sep-2014 10:48:23.088 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
    17-Sep-2014 10:48:23.090 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
    17-Sep-2014 10:48:23.090 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 523 ms
    17-Sep-2014 10:48:23.113 INFO [main] org.apache.catalina.core.StandardService.startInternal Arrancando servicio Catalina
    17-Sep-2014 10:48:23.113 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.3
    17-Sep-2014 10:48:23.120 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\HelloWorldWebService.xml
    17-Sep-2014 10:48:23.153 WARNING [localhost-startStop-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property 'antiJARLocking' to 'true' did not find a matching property.
    17-Sep-2014 10:48:23.180 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/HelloWorldWebService]]
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697)
      at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:579)
      at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1744)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@2b6fe9b5]
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
      at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4841)
      at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4966)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      ... 10 more
    Caused by: java.lang.IllegalArgumentException: The main resource set specified [D:\Users\investigacion01\Documents\HelloWorldWebService\build\web] is not valid
      at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:627)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      ... 13 more
    17-Sep-2014 10:48:23.181 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Error durante el despliegue del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\HelloWorldWebService.xml
    java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/HelloWorldWebService]]
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:729)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697)
      at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:579)
      at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1744)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
    17-Sep-2014 10:48:23.182 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\manager.xml
    17-Sep-2014 10:48:23.462 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars Al menos un JAR, que se ha explorado buscando TLDs, aún no contenía TLDs. Activar historial de depuración para este historiador para una completa lista de los JARs que fueron explorados y de los que nos se halló TLDs. Saltarse JARs no necesarios durante la exploración puede dar lugar a una mejora de tiempo significativa en el arranque y compilación de JSP .
    17-Sep-2014 10:48:23.871 INFO [localhost-startStop-1] org.apache.catalina.util.SessionIdGenerator.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [347] milliseconds.
    17-Sep-2014 10:48:23.899 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\prueba.xml
    17-Sep-2014 10:48:23.902 WARNING [localhost-startStop-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property 'antiJARLocking' to 'true' did not find a matching property.
    17-Sep-2014 10:48:25.055 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars Al menos un JAR, que se ha explorado buscando TLDs, aún no contenía TLDs. Activar historial de depuración para este historiador para una completa lista de los JARs que fueron explorados y de los que nos se halló TLDs. Saltarse JARs no necesarios durante la exploración puede dar lugar a una mejora de tiempo significativa en el arranque y compilación de JSP .
    17-Sep-2014 10:48:25.061 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\ROOT.xml
    17-Sep-2014 10:48:25.158 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars Al menos un JAR, que se ha explorado buscando TLDs, aún no contenía TLDs. Activar historial de depuración para este historiador para una completa lista de los JARs que fueron explorados y de los que nos se halló TLDs. Saltarse JARs no necesarios durante la exploración puede dar lugar a una mejora de tiempo significativa en el arranque y compilación de JSP .
    17-Sep-2014 10:48:25.166 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8084"]
    17-Sep-2014 10:48:25.185 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
    17-Sep-2014 10:48:25.186 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 2096 ms
    17-Sep-2014 10:48:27.370 INFO [http-nio-8084-exec-3] org.apache.catalina.startup.HostConfig.undeploy Repliegue (undeploy) de la aplicación web que tiene como trayectoria de contexto /prueba
    17-Sep-2014 10:48:27.411 INFO [http-nio-8084-exec-1] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\prueba.xml
    17-Sep-2014 10:48:27.414 WARNING [http-nio-8084-exec-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property 'antiJARLocking' to 'true' did not find a matching property.
    17-Sep-2014 10:48:28.345 INFO [http-nio-8084-exec-1] org.apache.jasper.servlet.TldScanner.scanJars Al menos un JAR, que se ha explorado buscando TLDs, aún no contenía TLDs. Activar historial de depuración para este historiador para una completa lista de los JARs que fueron explorados y de los que nos se halló TLDs. Saltarse JARs no necesarios durante la exploración puede dar lugar a una mejora de tiempo significativa en el arranque y compilación de JSP .
    17-Sep-2014 10:48:28.374 INFO [http-nio-8084-exec-1] org.apache.catalina.util.LifecycleBase.start The start() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/prueba]] after start() had already been called. The second call will be ignored.

    This message comes up for me when i run a project that is different than what's indicated in the error message. In fact, the project has been deleted, yet, it still is referenced during the "run" step.

  • Web Service with Eclipse

    Has anyone tried accessing a web service with eclipse? We'd like to start using them with our forms for database lookups and the web services are already written. We just haven't had much success calling them with our servlets.
    Thanks,
    Chad

    We also wrote web services with eclipse and deployed them in our jboss app.serv. We can call them in our pdf forms as data connection, or inside some events with java script code.
    What is your problem about ? Did you manage to deploy the web services ? Can you create data connections inside forms ?
    We have faced some difficulties to success writing and caling web services. I may help if you have similar problems.

  • Changing structure of Axis web service response?

    I am developing an Axis web service with one request called 'createCaseWithRef'. The client that consumes the web serivce has already been configured to send a request in a certain structure and recieve a response in a certain structure.
    I have the request working fine, but the response being sent back from the web service is wrong. The structure of the response should be:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:ns0="http://com.lagan/types/WebService"
    env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <env:Body>
              <ans1:createCaseWithRefResponse xmlns:ans1="http://com.lagan/wsdl/WebService">
                   <result href="#ID1"/>
              </ans1:createCaseWithRefResponse>
              <ns0:ArrayOfstring id="ID1" xsi:type="enc:Array" enc:arrayType="xsd:string[2]">
                   <item xsi:type="xsd:string">1000251282</item>
                   <item xsi:type="xsd:string">12345-FLC-155524</item>
              </ns0:ArrayOfstring>
         </env:Body>
    </env:Envelope>Whereas the response message being sent back is:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <soapenv:Body>
              <ns1:createCaseWithRefResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://com.lagan/types/WebService">
                   <createCaseWithRefReturn soapenc:arrayType="xsd:string[2]" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
                        <createCaseWithRefReturn xsi:type="xsd:string">1000251282</createCaseWithRefReturn>
                        <createCaseWithRefReturn xsi:type="xsd:string">12345-FLC-155524</createCaseWithRefReturn>
                   </createCaseWithRefReturn>
              </ns1:createCaseWithRefResponse>
         </soapenv:Body>
    </soapenv:Envelope>How can I change the structure of the response message to conform with the expected message? Is this done is the WSDD file of the service?
    Any help would be greatly appreciated.

    Anyone know how to do this? Please help if you do, this would be very much appreciated.

  • Consuming Domino web service with JAXB encounters Method Response element

    I am able to consume a Domino R7 (Axis) web service with JAX-WS using Dispatch<SOAPMessage>. When I try using Dispatch<Object> however, JAXB throws an exception because it encounters an unexpected tag.
    The XML from the web service looks like this:
    <Envelope>
        <Body>
            <WebServiceMethodResponse>
                <WebServiceMethodReturn>
                    The meaning of life
                </WebServiceMethodReturn>
            </WebServiceMethodResponse>
        </Body>
    </Envelope>With Dispatch<SOAPMessage>, I can get to the meaning of life quickly using SOAPBody.getElementsByTagName( "WebServiceMethodReturn" ) but with Dispatch<Object>, it appears I must also create a class for the WebServiceMethodResponse element to make JAXB happy. I don't see this happening in other people's examples. Has the Return-element-within-Response-element design been eliminated in pure JAX-WS web services, or is this something that only IBM does?

    In case anyone's search leads them here, I've posted the solution at:
    *[http://www.pby.com/general.nsf/webarticles/dominowebservice01]*
    It is an exhaustive article (not "Hello World"!) that goes through several versions of the web service and client - hopefully explaining all+ pieces of the puzzle:
    ~ web service code,
    ~ WSDLs
    ~ schema
    ~ thoroughly-documented clients that do and do not use JAXB
    ~ ... that use generated artifacts
    ~ ... that customize existing POJOs
    ~ the SOAP messages generated in each direction
    ~ the necessary JAXB annotations
    ~ explanations of how the code works
    ~ explanations of how namespaces affect the code
    ~ on and on and on...
    My constant goal was to write an uncomplicated solution that uses as few artifacts (two) and annotations as possible. The end result is a small, fast JAX-WS 2.0 client that uses JAXB to invoke and consume a secured Domino 7 (1.4.2 JVM + AXIS) web service, using RPC/literal SOAP messages.

  • How to access HttpRequest Object from Axis web service?

    Hi all,
    I have Axis web service named shoppingcartService,
    and i have ShoppingCartImpl as implemention class which
    implements passfamily() method
    When client access my web service, ShoppingCartImpl's passFamily method is executed.
    I have one more servlet under my axis web application which implements business logic.
    problem is that i want to call/invoke this servlet from passfamily method of ShopingCartImpl class.
    So how can i call/invoke servlet from passFamily method of ShoppingCartImpl class ?
    (All stuff is under Axis web application under Tomcat).

    hi
    the following link may helpful to you
    http://e-docs.bea.com/wls/docs81/webserv/anttasks.html#1111537
    Regards
    Prasanna Yalam

  • Using web service with our WP 8.1 app

    please i need help , for our graduation project we are making an app for tourism but in order to bring data we started to use web service with php and our professor told us to connect our app with something called json web service but I dunno how to do
    this i need any help any tutorial to do it a book or something please 

    I'd start with the documentation:
    How to connect to an HTTP server using Windows.Web.Http .

  • Web Services with REST, SOAP and  JAX-RPC

    Hi,
    Can somebody who has developed web services extensively comment/suggest a java development environment that works best for developing web services mainly with REST. I've found that Eclipse with Axis2 and Tomcat works well. But I would like to get your opinion on it and some other alternatives.

    Hi,
    Please help me its urgent.
    can u give me a detail example how to do Web services
    with REST.
    Here is my id [email protected]
    Thanks in advance.You can do this in many ways. It depends on how heavy your service is. You can write a simple servlet that will take a REST (I'm assuming you know what REST is) request and parses it out, calls a server-side method and generates a REST response.
    Another way is to use a web-service container such as AXIS. You can read some examples and documentation on their website. AXIS2 has REST support as well.

  • Consuming and Providing Web Service with JD Edwards ERP system

    Hi,
    I would like to create web services with c++ or java OR any other easier way .
    I need to use that web services to use in Share point to interact with JD Edwards ERP system .
    Pls Note : Since not having license for JD Edwards, I need to create and call from Sharepoint Web service to JD edwards.
                       and not from JD edwards web service.
    Could anybody guide me in this.
    Thanks in advance.

    I had this error again so I thought I would post my solution:
    The issue is SAP needs to know the certificates being used by the web site being called.  These certificates are automatically installed in your browser but need to be manually installed in SAP.  This is what I did:
    How to find/install new certificates
    Make sure you run Internet Explorer as an Administrator so you can export the certificates
    Go to the web site that SAP is trying to call in Internet Explorer
    Double click on the lock in the address bar
    View certificates
    Find the certificates that are being used
    Tools --> Internet Options --> Content --> Certificates
    Click on the “Trusted Root Certification Authorities” tab
    Find the certificate identified in step iii
    Export as a CER certificate
    Click on the “Intermediate Certification Authorities” tab
    Find the certificate identified in step iii
    Export as a CER certificate
    Go to STRUST in SAP
    Import the Certificates in the “Anonymous” or “Standard” SSL client
    Save
    RESTART the ICM via t-code SMICM  <-- Critical!!!
    Test

  • Using web services with flash cs3 and actionscript 3.0

    Hi,
    I want to use web services under flash cs 3 and by using as
    3.0.
    It was possible with as 2.0 to do it easily thanks to the
    webservice Connector.
    But I can't find how to use web services under flash and as
    3.0.
    I thought web services took part of the many improvements
    flash cs 3.0 contain, but obviously it does not:(
    Can anybody help me to use webservices with flash cs 3 and as
    3.0?
    Thanks in advance,
    Pascal

    Dark Armor, You mentioned the book Adobe Flash CS4 Professional Classroom in a Book, which I have.  I could not find anything in there.  Did you mean to say Actionscript 3.0 for Adobe Flash CS4 Professional?  I do have that book and it looks like there is information there.  Just wanting to make sure that you meant what you said.  Thanks!

Maybe you are looking for

  • Stock value at a particular date

    Hi, are there any reports for stock value (price S, V) in a particular date ? Regards

  • List of Grievences

    I really hate Illustrator CS6 which I'm trying to use in Windows 7 64-bit Here is the list of things that annoy me and I strongly believe that a paid program should offer. - I would like to be able to add a "Favorite" location is Save As window. Some

  • HT1430 My inbox is update is taking too much time?

    My inbox is not getting updated?  I see the sign "checking e-mail" displayed for more than an hour and still the inbox does not get updated.  Also when I send a message, I do not see it in the Sent box.

  • On Lexical variables: Are they always treated as user parameters???

    Hi Report Developer 10g, Winodws XP platform, local client I have a dynamic where clause in my report query with a lexical variable &p_where which holds the where clause. This where clause is determined at runtime, depending on the user parameter val

  • Age in years

    Hi there, I want to select person DOB from a table with the difference between todays date. or in otherwords, I need to know about person birthdates before one years of their date of birth. Like if someone born in ((1943 - sysdate)-1) = 59 years I am