Implementing Web Services in Lodestar

Dear all,
I'm trying to implement Web services using the Lodestar suite.
In particular, what I am trying to do is to implement a Web service that executes a Rate Schedule procedure.
The idea is to receive an XML message in input, perform some logic within the Rate Schedule, and then produce an XML in output.
Currently, I am able to register the Web service into the Lodestar environment and let clients to invoke it.
Upon the receive of a message, the proper Rate Schedule is executed and an output XML message is produced.
Unfortunately, what I am not able to do is to pass the content of the input message of the Web service to the Rate Schedule.
Do you know how to solve this issue?
Thanks in advance
Enrico

Sorry for such a late reply. There were few architectural changes coz of which web service implementation was taken outside OAE app. So, I was unable to get the debug output.
Still, I would be interested in knowing the possible root cause of the issue and a possible solution.
Thanks
Shruti

Similar Messages

  • Implementing Web Services as Transport Protocol in B2B and Healthcare

    Hi B2B Gurus,
    I am unable to implement web service transport in B2B and Healthcare, I am getting few issues.
    I fallowed below link.
    http://docs.oracle.com/cd/E28280_01/user.1111/e10229/bb_partner_webservice.htm#BABIIEJJ
    Can any one explain how exactly web service transport works in B2B?
    please provide me any samples or document on implementing web service transport in B2B and Healthcare.
    Thanks in advance.
    Satheesh

    I think the B2B forum will be the best place to ask those questions - Integration - B2B
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error implementing Web Service of PI7.0

    Hi all:
    We released a Web Service in PI. But when we implement it from Web Dynpro, it throws the "SOAPFaultException" exception.Detail message is:
    <detail xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> 
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">    <SAP:Category>XIProtocol</SAP:Category>   
    <SAP:Code area="PARSER">UNEXPECTED_VALUE</SAP:Code>  
    <SAP:P1>Main/@versionMajor</SAP:P1>   
    <SAP:P2>000</SAP:P2>   
    <SAP:P3>003</SAP:P3>   
    <SAP:P4/>   
    <SAP:AdditionalText/>   
    <SAP:ApplicationFaultMessage namespace=""/>   
    <SAP:Stack>XML tag Main/@versionMajor has incorrect value 000; expected value is 003&#xd;</SAP:Stack>  </SAP:Error>
    </detail>
    Has anybody met this problem before?

    Hi Lou
    This will help u..
    http://help.sap.com/saphelp_nw70/helpdata/en/be/1f9a3dcbcfac53e10000000a114084/frameset.htm
    regards,
    vasanth

  • How to implement web service client timeout

    I'm trying to implement a web service client using JAX-RPC specification and the client is generated by clientgen utility. We are using weblogic8.1(sp5).
    How do I control the connection timeout and data transmission timeout? I have tried:
    BindingInfo.setTimeout() method and stub._setProperty("weblogic.webservice.rpc.timeoutsecs", "1" /* secs */);
    and they don't seem to be working...
    I have searched the web service documentation and didn't found any mentioning on this. Can someone shred some light on this?
    Thanks.
    Ren
    null

    Hi,
    I had a problem too for setting the timeout of a webservice client. but i didn't find any thing on this.
    But there is a work around for this see if it suits you but for this you have to use Apache AXIS webservice api to generate the client in that Api you have the Stub.timeOut() function to over come this problem
    Cheers !!
    Vivek:-)

  • Implementing Web Service in Web DynPro

    Hi Experts,
    I am trying to implement a web service say 'Currency Exchange Rate' found in the following link,
    http://www.flash-db.com/services/?ID=3&sType=Financial
    WSDL URL provided there is http://www.xmethods.net/sd/2001/CurrencyExchangeService.wsdl (available web service)
    I create the <b>Adaptive Web Services Model -> UDDI or URL -> No Logical Destinations - use WSDL URL metadata retrieval and web service execution -></b> when I give the WSDL URL <b>http://www.xmethods.net/sd/2001/CurrencyExchangeService.wsdl</b> I get an error saying Error in loading the WSDL file.
    Do I need to add any Plugins. If yes please do give the links to obtain the PlugIn.
    Regards,
    Boopathi M

    hi boopati,
    I tried thi wsdl using normal webservice model its working fine,
    try with normal webdervice model rather than adaptive webservice model
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7
    Regards,
    Naga

  • Implementing Web Service with Stateless Session Bean

    I have a web service that I've built using the WorkSpace Studio tools (create a WSDL, generate the Java code from the WSDL, fill in the skeleton methods in the service implementation class). This service is deployed as a web module within an EAR to WebLogic Server 10.0 and is working great as a web service.
    I'd like to be able to also call the operations on this service via an EJB interface (from a different application on the same server). I followed the guidelines for adding EJB annotations to the web service implementation class (from [http://edocs.bea.com/wls/docs100/webserv/jws.html#wp215790]). I added the @Session annotation to the class, implemented javax.ejb.SessionBean, and added the ejbXXX() methods. This all makes perfect sense, and looked like it was going to work. However, WorkSpace Studio now gives me a compile error on the class that says "EJB backed WebServices are not supported."
    A few internet searches for that error didn't return anything relevant.
    It seems like I followed the instructions correctly. Is there a better way to build a service like this that is both a web service endpoint and a stateless session bean?
    Thanks!
    -Eric

    Having separate EJB and web modules certainly makes things easier, but I have non-trivial (i.e. not feasible to copy) application logic that I'd like to expose with both a bean interface (for intra-application usage) and a web service interface (for public consumption).
    I've tried starting with a "web application" WorkSpace Studio project and adding bean annotations. This produces the error I originally described. I also tried starting with an "EJB" WorkSpace Studio project and adding web service annotations. This fails at deployment time with errors about missing web service descriptors (the error is correct - the web-service-related descriptor elements are missing from the deployment descriptors).
    The documentation explicitly presents this as an option (annotating a class with both web service and session bean annotations), but how does one actually make this work?

  • Using Eclipse 3.1 SDK to implement Web Services

    Hi
    I am using Eclipse3.1 as the SDK for developing Web Services from Java Classes, and I have created two Web Services: X and Y. I need to make X a client to Y; therefore, I have been searching the Internet on how I can implement this. I got many references; some of them uses JAX and others use "com.ibm.cowbell" and "com.ibm.ws packages", but so far I cannot make it. When I try to import "com.ibm.ws", I got an error that the name of the package cannot be resolved. If any one has a suggestion of best practice in this or telling me why I cannot import "com.ibm.cowbell", I will be really appreciating as this is very impotant for my MSc. Thesis.
    Best regards for all
    Sherif

    Kurt:
    It does look like a bug. I can offer the following workaround.
    Create a Manual Web reference as described here:
    http://download-west.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32471/advnc.htm#BABCBBHJ
    section "Creating a Web Service Manually"
    based on the WSDL below, you would enter the following for URL and Action:
    URL: http://xpvm.us.oracle.com:8888/orabpel/default/ItemGet/1.0
    Action: process
    Also, enter a name for an APEX collection to store the response, such as GET_ITEM_RESPONSE.
    For the SOAP Envelope, paste in the one that works from SOAPUI or use BPEL Control to get the envelope. Instead of static values for the parameters you use #ITEM_NAME# substitutions. So if the page generated by the wizard was on page 1, it would look something like:
    <inputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><get:Item xmlns:get="http://TargetNamespace.com/GetItemRequest">
    <get:SETID>#P1_SETID#</get:SETID>
    <get:ITEM_ID>#P1_ITEM_ID#</get:ITEM_ID>
    </get:Item>
    </part></inputVariable>
    (with the proper SOAP Envelope wrapper around it)
    Now go to page 1 (assuming that was the page created by the wizard) and remove the current process of type Web service on that page. Add a new process of type Web service, choose Manual, and choose the manual one you created above.
    Follow the instructions in the section titled "Displaying Web Service Results in a Report" at the link above to create a report on the result.
    There is also an advanced tutorial using Manual Web references you may wish to review:
    http://download-west.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32469/web_serv.htm#CHDEFEGH
    Hope that helps,
    Jason

  • Problem implementing web services with types generated by jdeveloper 10.1.3

    Hello,
    I have generated a web service using JDeveloper 10.1.3.3. from a WSDL. This WSDL includes a schema with some types defined. There is a element with the following definition:
    <xs:element name="OptionalInputs" type="AnyType"/>
    where:
    <xs:complexType name="AnyType">
    <xs:sequence>
    <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    The meaning of the element OptionalInputs is that it can include other elements, of any type, definied within the same schema.
    After generating the web service from the WSDL, I get the following:
    - A Class named 'AnyType' that consists of one element of type
    protected javax.xml.soap.SOAPElement[] _any;
    - Some classes which must be included in an object of type 'AnyType', and that implements java.io.Serializable.
    However, I do not know how to include successfully one of this (serializable) classes into an object of type 'AnyType' (SOAPElement[]).
    Could you be so kind as to help me, please?
    Thank you very much in advance.

    Hi there,
    10.1.3 is not production ready yet, and you will find this warning on the oracle page http://www.oracle.com/technology/tech/java/oc4j/1013/index.html
    "Under no circumstances should it be used in production environments."
    Does this mean that it's not possible to deploy a Doc/Lit webservice to production using JDeveloper? Is there any other way of getting it to work with 10.1.2?
    Thanks,
    Vid.

  • Implementing web service Client? need help

    hi,
    i need to develop a funciton in java that takes WSDL address as a input. and using the web service address, start the web service programmatically from that function. the web service could be any.
    i need help and suggestion what to do in the area, how can i start this, as i am a new bie.
    thanks
    Farurkh

    I got the following error.
    But If I call it from a jsp page or a servlet. Nothing happend, Transaction is successful.
    java.lang.NullPointerException
         at org.apache.commons.discovery.resource.ClassLoaders.getAppLoaders(ClassLoaders.java:206)
         at org.apache.axis.AxisProperties.getClassLoaders(AxisProperties.java:118)
         at org.apache.axis.AxisProperties.getNameDiscoverer(AxisProperties.java:105)
         at org.apache.axis.AxisProperties.getResourceClassIterator(AxisProperties.java:112)
         at org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run(EngineConfigurationFactoryFinder.java:116)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:113)
         at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:160)
         at org.apache.axis.client.Service.getEngineConfiguration(Service.java:813)
         at org.apache.axis.client.Service.getAxisClient(Service.java:104)
         at org.apache.axis.client.Service.<init>(Service.java:113)
         at org.tempuri.wsdl.EFSnet2Locator.<init>(EFSnet2Locator.java:10)
         at com.ipharmacy.payment.Payment.main(Payment.java:12)

  • ClassCastException when calling a JMS implemented web service

    Hi,
    I published a Message Driven Bean EJB to WebService using WebLogic 8.1 and servicegen.
    When I try to call it using the automatic generated Web interface, I receive the
    following ClassCastException.
    Do you see what is going wrong?
    Is it a bug?
    Thanks for your help
    Charles
    ClassCastException :
    javax.xml.rpc.soap.SOAPFaultException: Exception during processing: java.lang.ClassCastException
    (see Fault Detail for stacktrace) at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:270)
    at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:131)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:439)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:405)
    at weblogic.webservice.server.servlet.ServletBase.invokeMultiOutput(ServletBase.java:322)
    at weblogic.webservice.server.servlet.ServletBase.invokeOperation(ServletBase.java:296)
    at weblogic.webservice.server.servlet.WebServiceServlet.invokeOperation(WebServiceServlet.java:312)
    at weblogic.webservice.server.servlet.ServletBase.handleGet(ServletBase.java:253)
    at weblogic.webservice.server.servlet.ServletBase.doGet(ServletBase.java:138)
    at weblogic.webservice.server.servlet.WebServiceServlet.doGet(WebServiceServlet.java:232)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6291)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97) at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3575)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
    I use this and command :
    <servicegen
    destEar="${WAS_APPLICATIONS}/${version}${ear_ws_file}"
    contextURI="${version}WebServices" >
    <service
    JMSDestination="mq_receive"
    JMSAction="send"
    JMSDestinationType="queue"
    JMSConnectionFactory="mq_QCF"
    JMSOperationName="${JMSOperationName}"
    JMSMessageType="${JMSMessageType}"
    generateTypes="True"
    targetNamespace="http://www.francetelecom.com/cristal/${version}Webservices"
    serviceName="${version}"
    serviceURI="/${version}"
    expandMethods="True">
    </service>
    <classpath>
    <pathelement location="${build}" />
    </classpath>
    <classpath refid="classpath" />
    </servicegen>
    My MDB is
    public void ejbCreate () throws CreateException {
         LoggerConfigurator.configure();
    log.debug("called");
    public void onMessage(Message msg)
    log.debug("called");
              try
                   ObjectMessage objMessage = (ObjectMessage)msg;
                   String text = (String)objMessage.getObject();
                   home = lookupHome();
                   Toupper client = (Toupper)
                        PortableRemoteObject.narrow(home.create(), Toupper.class);
                   text=client.toupper(text);               
                   log.error("Toupper="+text);
                   startJMS();
                   sendJMS(text);
                   client.remove();
              } catch (Exception e)
                   e.printStackTrace();

    "mq_receive" is define as a Local JNDI Name of a Foreign JMSDestination.
    And it works when I use it with only the MDB (without WebService)
    Good try,
    Thanks
    Charles
    "Neal Yin" <[email protected]> wrote:
    My best guess is that JNDI name "mq_receive" is not bound as JMS queue.
    Thanks
    -Neal
    "Charles Desmoulins" <[email protected]> wrote in
    message
    news:[email protected]...
    Ok Neal,
    This is the result :
    <!-------------------- REQUEST ---------------->
    URL :
    http://localhost:7001/messageToupperWebServices/messageToupper
    Headers :
    SOAPAction: [""]
    Content-Type: [text/xml]
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soapenc="http://schemas.xmlsoaporg/soap/encoding/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"><env:Header/><env:Body
    env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><m:toupper
    xmlns:m="http://www.francetelecom.com/cristal/messageToupperWebservices"><pa
    ram
    xsi:type="xsd:string">sAmple string totransform</param></m:toupper></env:Body></env:Envelope>
    <!-------------------- END REQUEST ------------>
    <!-------------------- RESPONSE --------------->
    URL :
    http://localhost:7001/messageToupperWebServices/messageToupper
    Headers :
    Date=Fri, 11 Jul 2003 14:29:33 GMT
    Server=WebLogic WebLogic Server 8.1 Thu Mar 20 23:06:05 PST 2003246620
    Content-Length=2522
    Content-Type=text/xml
    Envelope :
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"><env:Header/><env:Body><env:Fau
    lt><faultcode>env:Server</faultcode><faultstring>Exception
    during processing: java.lang.ClassCastException (see Fault Detail forstacktrace)</faultstring><detail><bea_fault:stacktrace
    >
    xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0"/>j
    ava.lang.ClassCastException
    atweblogic.webservice.component.jms.JMSSendInvocationHandler.invoke(JMSSendInv
    ocationHandler.java:131)
    atweblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.j
    ava:81)
    atweblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.jav
    a:125)
    atweblogic.webservice.core.DefaultOperation.process(DefaultOperation.java:513)
    atweblogic.webservice.server.Dispatcher.process(Dispatcher.java:150)
    atweblogic.webservice.server.Dispatcher.doDispatch(Dispatcher.java:125)
    atweblogic.webservice.server.Dispatcher.dispatch(Dispatcher.java:74)
    atweblogic.webservice.server.WebServiceManager.dispatch(WebServiceManager.java
    :98)
    atweblogic.webservice.server.servlet.WebServiceServlet.serverSideInvoke(WebSer
    viceServlet.java:274)
    atweblogic.webservice.server.servlet.ServletBase.doPost(ServletBase.java:393)
    atweblogic.webservice.server.servlet.WebServiceServlet.doPost(WebServiceServle
    t.java:244)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1053)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :387)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :305)
    atweblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:6291)
    atweblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
    t.java:317)
    atweblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3575)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2573)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
    </detail></env:Fault></env:Body></env:Envelope>
    <!-------------------- END RESPONSE ----------->
    An exception Exception during processing: java.lang.ClassCastException(see Fault
    Detail for stacktrace)
    javax.xml.rpc.soap.SOAPFaultException: Exception during processing:java.lang.ClassCastException
    (see Fault Detail for stacktrace)
    atweblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:270)
    atweblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:131
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:439)
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:425)
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:536)
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:389)
    at ft.services.messageToupper.WSClient.main(WSClient.java:60)

  • Need Web Service implementation tutorial on SOA11g with weblogic 11g AppSer

    Hi Experts,
    I am new to webservice topic. I don't know ABCD of web service, but i got a task to implement webservice and need prepare xsd file to move 3 fields information from source system to target machine.
    Note: Target system have webservice to capture 3 fields information but I need to prepare a web service to capture 3 fields information from log file (normal text file) through web service (from source system and later link same to target web service).
    My task is to implement web service at source system to fetch 3 fileds data from log file and link to target machine web service.
    Can any one help me out any basic information on it and apreciate if any one provide practical tutorial on web service creation using SAO 11g and weblogic 11g application server.
    Thanks,
    Phani

    thanks you for your response and tutorial.
    I need some more help, can you please help me out how to read data from log file to webservice
    Note: Log file have a xml content but it is saved as .log file thru an third party application. Third party application does not have capability to store log file as xml but it istoring has .log file (normal text file) with XML content.
    If you have any sample code, please provide the same
    Thanks,
    Phani

  • Java implementation of web service concept

    I am so confused. What exactly is the Java implementation of web service concept? SOAP, J2EE, JSP+Servlets+beans or what?

    For an excellent description of webservices in Java read the following article
    http://www.theserverside.com/resources/article.jsp?l=WebServices-Dev-Guide
    It should clear most of your doubts.
    Web services means a client server program which exhanges data in XML over HTTP.
    Soap is one way of implementing web services. A java soap implementation is freely available at
    http://xml.apache.org/soap/index.html
    Also, you can read about ebXML (which is another model for making web services).
    http://www.xml.org/feature_articles/2000_1107_miller.shtml
    http://java.sun.com/features/2001/09/ebxmlrev.html
    hope this helps.
    regards,
    Abhishek.

  • Error when generating a Web Service from WSDL (Weblogic Workshop)

    Hi,
    I am using weblogic workshop 10 for implementing web services and its was working fine. But now when I try to generate a web service from WSDL its crashing with the following error;
    Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
    org.eclipse.core.runtime.CoreException: Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
         at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws(JwsFromWsdlBuilder.java:107)
         at com.bea.workshop.webservices.ui.wizards.jwsfromwsdl.GenerateJwsFromWsdlWizard$1.execute(GenerateJwsFromWsdlWizard.java:133)
         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    org.eclipse.core.runtime.CoreException[4]: com.bea.workshop.webservices.core.gen.WebServicesException:
         at com.bea.workshop.webservices.core.gen.GenerationScript.runAnt(GenerationScript.java:154)
         at com.bea.workshop.webservices.core.gen.GenerationScript.createJWS(GenerationScript.java:98)
         at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws0(JwsFromWsdlBuilder.java:135)
         at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws(JwsFromWsdlBuilder.java:98)
         at com.bea.workshop.webservices.ui.wizards.jwsfromwsdl.GenerateJwsFromWsdlWizard$1.execute(GenerateJwsFromWsdlWizard.java:133)
         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: org.eclipse.core.runtime.CoreException: Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
         at org.eclipse.ant.core.AntRunner.problemLoadingClass(AntRunner.java:445)
         at org.eclipse.ant.core.AntRunner.handleInvocationTargetException(AntRunner.java:417)
         at org.eclipse.ant.core.AntRunner.run(AntRunner.java:362)
         at com.bea.workshop.webservices.core.gen.GenerationScript.runAnt(GenerationScript.java:152)
         ... 8 more
    I have checked my ANT_HOME and its pointing to the correct location bea\tools\eclipse32\eclipse\plugins\org.apache.ant_1.6.5 and the AntMain classs is present in this path: org.apache.tools.ant.launch.AntMain
    If anyone has any idea on this please suggest a solution.
    Thanks in advance
    -AKJ

    Yes, I assume you are talking about ANT_HOME:
    see this Screenshot which shows my current settings
    [http://i43.tinypic.com/nbrec6.jpg|http://i43.tinypic.com/nbrec6.jpg]
    Regards
    -AKJ

  • Please help...I can't solve this web services error (ConfigException)

    Hi
    I've got the following error when I try to build document-oriented web services
    [clientgen] Generating client jar for WLWSSEApp.ear(SimpleService) ...
    [clientgen] weblogic.webservice.server.ConfigException: Could not add parameter
    to operation. You must specify either its Java or XML type.
    [clientgen] at weblogic.webservice.server.WebServiceFactory.addPart(WebServi
    ceFactory.java:1258)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.addParamsToMetho
    d(WebServiceFactory.java:1211)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.registerOperatio
    n(WebServiceFactory.java:798)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.initOperations(W
    ebServiceFactory.java:633)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.createFromMBean(
    WebServiceFactory.java:220)
    [clientgen] at weblogic.webservice.tools.build.internal.WSDLGenImpl.getWebSe
    rviceRuntime(WSDLGenImpl.java:240)
    [clientgen] at weblogic.webservice.tools.build.internal.WSDLGenImpl.run(WSDL
    GenImpl.java:135)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClie
    ntGenFromEAR(ClientGenImpl.java:438)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(Cl
    ientGenImpl.java:345)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doC
    lientGen(ClientGenTask.java:351)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.exe
    cute(ClientGenTask.java:208)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:341)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:309)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255
    [clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [clientgen] at org.apache.tools.ant.Main.start(Main.java:196)
    [clientgen] at org.apache.tools.ant.Main.main(Main.java:235)
    BUILD FAILED
    file:C:/bea/user_projects/domains/examples/build_ws/build.xml:54: weblogic.webservice.tools.build.WSBuildException: Could not add parameter to operation. You mu
    st specify either its Java or XML type. - with nested exception:
    [weblogic.webservice.server.ConfigException: Could not add parameter to operatio
    n. You must specify either its Java or XML type.]
    My environment:
    - JBuilder X
    - Weblogic Platform 8.1
    - Windows XP SP2
    Here are my steps of implementing web services:
    1. Write the Java code for the back-end components that make up the Web Service. Here's the method that handle the operation
    public String testName(InputParam test) {
    String inputName = test.getName();
    System.out.println("Input name:"+inputName);
    return "Hello "+inputName;
    Here's InputParam:
    public class InputParam {
    private String name;
    public InputParam() {
    public String getName() {
    return name;
    public void setName(String name) {
    this.name = name;
    2. Since I use JBuilder X I configure everything including handlers chain through web services designers
    3. Build project
    If nothing goes wrong, I will get generated client jars and a war file with web-services.xml inside.
    I have no problem when I implement RPC-style web services.
    I got the above error when I implement Document-oriented web services, but
    I have no problem when I use String as a parameter instead of InputParam class.
    I tried to change some attributes that might be relevant but got no luck.
    I've tried using clientgen command line as well but the result was the same.
    Below are the guidelines for creating document-oriented web services from the BEA's document that I think I already followed
    - The methods that implement each operation of the Web Service can have only one parameter. This single parameter can be of any supported data type. (The Weblogic web services toolkit support simple JavaBean, doesn't it?)
    - The methods that implement each operation cannot use out and in-out parameters. (I'm not sure about this one since I got Holder classes after using clientgen. However, there's no <param> tag in web-services.xml.)
    I found the old solution from support.bea.com (ID = S-25689), but I don't think my situation is the same. I got the error while building web services...not deploying a web service.
    Any answers to this question will be very much appreciated.
    George

    Quote from: danknuggets11 on 22-December-06, 11:23:06
    Reply, Should have mentioned this before, I can't even turn agp on.  I go into SMARTGART it shows AGP off, Fastwrites off.  If I move the AGP settings to 4x, 8x, it says I need to restart to apply. After the restart it just resets it back to off.
    get Driver Cleaner and remove curently ATI Drivers.
    reboot,
    get and install chipset Drivers: http://download.msi.com.tw/support/dvr_exe/mbd_dvr/VIA4in1_MB.zip
    reboot,
    then get and install ATI Drivers: https://forum-en.msi.com/index.php?topic=102839.msg761297#msg761297

  • Call Web Service and display return values in table

    Hi all,
    I am calling a self-implemented web service with visual composer. The webservice returns the following data shown below.
    Each item like carID, carBrand etc. should be displayed in an output table.
    The problem is, that he doesn't display any data at all. Is there a problem with the webservice data which is returned or do I have to do some further settings in visual composer?
    Thank you for your help! Kind regards, Patrick.
      <?xml version="1.0" encoding="utf-8" ?>
    - <ArrayOfCar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://IBM-W2003-EAI/GetCarList">
    - <Car>
      <CarID>A-471</CarID>
      <CarBrand>Alfa</CarBrand>
      <CarModel>156</CarModel>
      <Kw>100</Kw>
      <Ps>136</Ps>
      <Km>79000</Km>
      <Year>1998</Year>
      <Price>7500,0000</Price>
      <Url />
      <Status>Available</Status>
      </Car>
    - <Car>
      <CarID>A-736</CarID>
      <CarBrand>Audi</CarBrand>
      <CarModel>A4</CarModel>
      <Kw>110</Kw>
      <Ps>150</Ps>
      <Km>87000</Km>
      <Year>2000</Year>
      <Price>15780,0000</Price>
      <Url />
      <Status>Reserved</Status>
      </Car>
    </ArrayOfCar>

    Hi Shai,
    the webservice is working well, trying to test it with webservice navigator.
    He also returns the correct number of rows (because there appears slider beneath the table output and I also counted the rows), but there is no data displayed in visual composer.
    I have got no further ideas, what the problem is...
    THank you for your support.
    Kind regards, PAtrick.

Maybe you are looking for