Problem invoking web service method

 

This looks like an issue with workshop. Please
consider posting this in the workshop newsgroup:
weblogic.developer.interest.workshop
regards,
-manoj
"Davin Czukoski" <[email protected]> wrote in message
news:[email protected]...
>
I have a web service that compiles and I get to the debug page, but when
invoking a method I get the following:
WebService ERROR
Error:
EJB Exception: ; nested exception is:
weblogic.jws.control.SchedulerException: Unable to schedule Clientcallback
port: http://TESTUI Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ] Start server side stack trace:
java.rmi.RemoteException: EJB Exception: ; nested exception is:
weblogic.jws.control.SchedulerException: Unable to schedule Clientcallback
port: http://TESTUI Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ] weblogic.jws.control.SchedulerException: Unable to
schedule Client callback port: http://TESTUI Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ] at
weblogic.knex.bean.InvokeScheduler.scheduleRequest(InvokeScheduler.java:176)
at
weblogic.knex.bean.RemoteDispatcherBean.invoke(RemoteDispatcherBean.java:100
) at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl.invoke(RemoteDispatche
rBean_1wntgk_EOImpl.java:100) at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl_WLSkel.invoke(Unknown
Source) at
weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:159)at
>>
>
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:262) at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:229) at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl_WLStub.invoke(Unknown
Source) at
weblogic.knex.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:120)at
weblogic.knex.dispatcher.Dispatcher.dispatch(Dispatcher.java:66) at
weblogic.knex.dispatcher.HttpServer.exploreExec(HttpServer.java:457) at
weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:363) 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(Servle
tStubImpl.java:1058) at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:401) at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:306) at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5412) at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:744) at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3086) at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2544) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134) End serverside
stack trace ; nested exception is:weblogic.jws.control.SchedulerException:
Unable to schedule Client callback port: http://TESTUI Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ] Start server side stack trace:
weblogic.jws.control.SchedulerException: Unable to schedule Clientcallback
port: http://TESTUI Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ] at
weblogic.knex.bean.InvokeScheduler.scheduleRequest(InvokeScheduler.java:176)
at
weblogic.knex.bean.RemoteDispatcherBean.invoke(RemoteDispatcherBean.java:100
) at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl.invoke(RemoteDispatche
rBean_1wntgk_EOImpl.java:100) at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl_WLSkel.invoke(Unknown
Source) at
weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:159)at
>>
>
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:262) at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:229) at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl_WLStub.invoke(Unknown
Source) at
weblogic.knex.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:120)at
weblogic.knex.dispatcher.Dispatcher.dispatch(Dispatcher.java:66) at
weblogic.knex.dispatcher.HttpServer.exploreExec(HttpServer.java:457) at
weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:363) 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(Servle
tStubImpl.java:1058) at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:401) at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:306) at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5412) at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:744) at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3086) at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2544) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134) End serverside
stack trace
Stack Trace:
java.rmi.RemoteException: EJB Exception: ; nested exception is:
weblogic.jws.control.SchedulerException: Unable to schedule
Client callback port: http://TESTUI
Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ]
Start server side stack trace:
java.rmi.RemoteException: EJB Exception: ; nested exception is:
weblogic.jws.control.SchedulerException: Unable to schedule
Client callback port: http://TESTUI
Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ]
weblogic.jws.control.SchedulerException: Unable to schedule
Client callback port: http://TESTUI
Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ]
at
weblogic.knex.bean.InvokeScheduler.scheduleRequest(InvokeScheduler.java:176)
at
weblogic.knex.bean.RemoteDispatcherBean.invoke(RemoteDispatcherBean.java:100
at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl.invoke(RemoteDispatche
rBean_1wntgk_EOImpl.java:100)
at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl_WLSkel.invoke(Unknown
Source)
atweblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:159)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:262)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:229)
at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl_WLStub.invoke(Unknown
Source)
atweblogic.knex.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:120)
at weblogic.knex.dispatcher.Dispatcher.dispatch(Dispatcher.java:66)
at weblogic.knex.dispatcher.HttpServer.exploreExec(HttpServer.java:457)
at weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:363)
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(Servle
tStubImpl.java:1058)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:401)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:306)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5412)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:744)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3086)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2544)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
End server side stack trace
; nested exception is:
weblogic.jws.control.SchedulerException: Unable to schedule
Client callback port: http://TESTUI
Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ]
Start server side stack trace:
weblogic.jws.control.SchedulerException: Unable to schedule
Client callback port: http://TESTUI
Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ]
at
weblogic.knex.bean.InvokeScheduler.scheduleRequest(InvokeScheduler.java:176)
at
weblogic.knex.bean.RemoteDispatcherBean.invoke(RemoteDispatcherBean.java:100
at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl.invoke(RemoteDispatche
rBean_1wntgk_EOImpl.java:100)
at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl_WLSkel.invoke(Unknown
Source)
atweblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:159)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:262)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:229)
at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl_WLStub.invoke(Unknown
Source)
atweblogic.knex.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:120)
at weblogic.knex.dispatcher.Dispatcher.dispatch(Dispatcher.java:66)
at weblogic.knex.dispatcher.HttpServer.exploreExec(HttpServer.java:457)
at weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:363)
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(Servle
tStubImpl.java:1058)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:401)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:306)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5412)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:744)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3086)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2544)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
End server side stack trace
weblogic.jws.control.SchedulerException: Unable to schedule
Client callback port: http://TESTUI
Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ]
Start server side stack trace:
weblogic.jws.control.SchedulerException: Unable to schedule
Client callback port: http://TESTUI
Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unab
le
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ]
at
weblogic.knex.bean.InvokeScheduler.scheduleRequest(InvokeScheduler.java:176)
at
weblogic.knex.bean.RemoteDispatcherBean.invoke(RemoteDispatcherBean.java:100
at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl.invoke(RemoteDispatche
rBean_1wntgk_EOImpl.java:100)
at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl_WLSkel.invoke(Unknown
Source)
atweblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:159)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:262)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:229)
at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl_WLStub.invoke(Unknown
Source)
atweblogic.knex.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:120)
at weblogic.knex.dispatcher.Dispatcher.dispatch(Dispatcher.java:66)
at weblogic.knex.dispatcher.HttpServer.exploreExec(HttpServer.java:457)
at weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:363)
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(Servle
tStubImpl.java:1058)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:401)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:306)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5412)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:744)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3086)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2544)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
End server side stack trace
<>

Similar Messages

  • Strange about invoking web service method declared “string  method(void)”;

    Dear forum readers
    I’m experimenting with OpenESB and web services. I’ve create a simple web service using NetBeans 6.1. The method consists of a single method, getTime, that is declared:
    String getTime()
    My current experiment is to invoke this method from a BPEL-process using the “Invoke” process object. The strange thing is that it seems like I have to provide a “dummy” inbound variable from the BPEL-designer even though the method doesn’t take any parameters. I include a snippet from the BPEL process below which includes the section where I set the dummy GetTimeIn-variable and then invokes the WS method getTime().
    <assign name="Assign2">
    <copy>
    <from>'DummyValue'</from>
    <to variable="GetTimeIn" part="parameters"/>
    </copy>
    </assign>
    <invoke name="Invoke1" partnerLink="PartnerLink1" operation="getTime" xmlns:tns="http://ws/" portType="tns:MyWebService" outputVariable="GetTimeOut" inputVariable="GetTimeIn"/>
    If I don’t initiate the dummy variable or remove it altogether, I can’t successfully call the method. If I include the dummy in-parameter the call works just fine and I get back the current time as a string.
    I must admit that I’m still a rookie to web services, especially when calling them from a BPEL-process, so it may be a very trivial reason for this behaviour. Anyway, any help on this matter would be greatly appreciated.
    Regards, Ola

    Thank you both for the response. Regarding Rennay’s posting I have an additional question. When I create a new web service I don't have the "Document Literal" option nor a "Concrete Configuration" tab. I've created the web service using the "Web Application" project type and then adding a web service using the "Web Service..." wizard. This wizard doesn't have the configuration properties you mention, but if I add a WSDL-file to a BPEL-project the wizard has the properties you mention.
    Is it possible to create a web service, programmed as an ordinary Java-class, from an existing WSDL-file? In that case it may solve the problem with the “Document Literal” property. Currently I don’t know any other way to create such a web-service other than the through the web service wizard in a web application project. Of course, it’s possible to craft it from scratch but that’s to much work to be practical.
    Regards, Ola

  • Problem invoking web service

    We have a web service that is working some times and not
    others. It is local so it's not a problem with the internet being
    busy or anything like that. We do
    service.addEventListener(InvokeEvent.INVOKE, debugInvoke);
    service.send();
    and the times when it fails, debugInvoke (a local function)
    never gets called. We also have event handlers for RESULT and FAULT
    and those two don't get called either.
    The doc says
    "The invoke event is dispatched when a service Operation is
    invoked so long as an Error is not thrown before the Channel
    attempts to send the message" but I don't really know what that
    means. Can anybody shed some light on this? Thanks.

    I don't know if you're having the same problem, but when I
    was having timing issues, it was related to my calling of the web
    service before the WSDL was fully loaded.
    In my case, the service was being called when my app
    initialized. My solution was to add a load handler to my service
    like so:
    service.addEventListener(LoadEvent.LOAD, loadWsdlHandler);
    service.loadWSDL();
    My loadWsdlHandler method then made the actual service call,
    secure in the knowledge that the WSDL was fully loaded.
    The WSDL only needs to be loaded once before the first
    service call. If your service is first called by user interaction,
    then you could add the component in a disabled state, load the WSDL
    when the app initializes, and your load handler can enable the
    relevant control.
    Steve

  • Java.lang.NoSuchMethodError while invoking web service method

    Hi, I have a web service which has two methods exposed as
    A and B.
    I deployed it on weblogic server (7.0 SP4) and fired teh request when I got this error:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <env:Header/>
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring/>
    <detail>
    <bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">java.lang.NoSuchMethodError
    I tried deploying the web service on another instance and there the method A was invoked but I got the same error when I tried invoking B.
    I tried it on third instance and there both the methods were successfully invoked.
    The methods A and B name start with capital letter (someone told me that method name should not start with capital letter but that does not hold good here)
    Any idea why this starnge behavior of web service?

    Hi Guys,
    I have solved the above issue by applying the PATCH 1 & PATCH 2 of the
    BPEL 10.1.2 version .
    Thanks
    Kalyan

  • Extrange problem invoking web services

    Hi everybody.
    I'm writting a HTML client which calls a Web service. I use BEA 8.1 as web serser.
    The name of the html file is : Dos.html
    <HTML>
    <SCRIPT language="JavaScript">
    function List(){
    ServicioWeb.useService("http://localhost:7001/APPTienda/Tienda?WSDL","Tienda");
    CallID=ServicioWeb.Tienda.callService("Autorizado",123,"pepe");
    function Resultado(){
    if (event.result.error) alert("ERROR: "+event.result.errorDetail.string);
    else{
    document.writeln(event.result.value);
    document.writeln("<a href='Dos.html'> IR</a>")
    </SCRIPT>
    <BODY onLoad="List()">
    <DIV ID="ServicioWeb" STYLE="behavior:url(webservice.htc)" onresult="Resultado()"></DIV>
    </BODY>
    </HTML>
    As you can see this example only shows the result of the service 'Autorizado'
    and a link to reload the same web page.
    Everythig runs ok. The problem arises when the page is reloaded 12 times. The
    last time nothing is written, and the web page is blank.
    Does anybody know the reason? How do I solve it?
    Regards
    Jose Luis

    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.webservices&item=4635
    Jose Luis wrote:
    >
    Hi everybody.
    I'm writting a HTML client which calls a Web service. I use BEA 8.1 as web serser.
    The name of the html file is : Dos.html
    <HTML>
    <SCRIPT language="JavaScript">
    function List(){
    ServicioWeb.useService("http://localhost:7001/APPTienda/Tienda?WSDL","Tienda");
    CallID=ServicioWeb.Tienda.callService("Autorizado",123,"pepe");
    function Resultado(){
    if (event.result.error) alert("ERROR: "+event.result.errorDetail.string);
    else{
    document.writeln(event.result.value);
    document.writeln("<a href='Dos.html'> IR</a>")
    </SCRIPT>
    <BODY onLoad="List()">
    <DIV ID="ServicioWeb" STYLE="behavior:url(webservice.htc)" onresult="Resultado()"></DIV>
    </BODY>
    </HTML>
    As you can see this example only shows the result of the service 'Autorizado'
    and a link to reload the same web page.
    Everythig runs ok. The problem arises when the page is reloaded 12 times. The
    last time nothing is written, and the web page is blank.
    Does anybody know the reason? How do I solve it?
    Regards
    Jose Luis

  • How to access/invoke Web Service from BPM Process

    The following steps required to attach and invoke web service method from process:
    1) Add a module in the catalog for ex WebServiceMO
    2) Add WebService Catalog component demoWebService in WebServiceMO
    3) Put ur WSDL address in WSDL address field like "http://localhost:8080/test/test?wsdl"
    4) Click next to introspect the web service it will import required files and setting from the url to your project
    5) Now for invoking webservice just call the method for ex.
    @return as String[]
    getTestStringList(TestInterfaceService, out @return : @return)
    logMessage "web service calll result >>"+length(@return)+">>>"+@return[0]
    Here @ return is the return from webservice call.
    this way u can access web service from BPM process.
    Edited by: Anurag Yadav on Jul 17, 2009 2:19 PM

    I have a web service which does not return any value but when I introspect the web service, I have an out parameter to it.. Not sure why?
    For e.g.
    TestServiceListener.addTestNotes(TestNotes : testNotes, out TestNoteResponse : testNoteResponse);
    So here I see an out parameter, but my web-service has no out parameter...
    Any idea why is this happening?

  • How can I invoke web service in BPM Object's method?

    In ALBPM 5.7,AJaX can code by Call BPM Object's method.So I want to invoke web service via AJaX by BPM method.
    My sample code is:
    1: HelloWorldWebService ws = HelloWorldWebService();
    2: String param = "John";
    3: String retresult = "";
    4: ws.sayHello(name : parame; out result : retresult);
    and,I have import HelloWorldWebService by wsdl into catalog.
    In fact,at line 1 there is a error(fuego.connector.ConnectorRuntimeException: session is not started). Web service's instance is not created.
    Anybody can help me? thanks.

    Hi,
    I tried calling a simple webservice deployed in weblogic 8.1(see code) and it was working fine for me.
    Code for WS
    package service;
    import com.bea.control.JwsContext;
    import com.bea.jws.Protocol;
    import org.xmlsoap.schemas.soap.envelope.HeaderDocument;
    import com.bea.xml.XmlException;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    public class CheckCredit implements com.bea.jws.WebService
    * @common:context
    JwsContext context;
    static final long serialVersionUID = 1L;
    * @common:operation
    * @jws:protocol form-get="false" form-post="false"
    public boolean getCreditRating(String cardNumber)
    System.out.println("Card number is: " + cardNumber );
    boolean result = ((int)(Math.random() *100)) % 2 == 0?true:false;
    return result;
    Code from ALBPM Object method
    creditRatingResult as Bool
    getCreditRating CheckCreditService
    using cardNumber = "1234-5567-4667-4566"
    returning creditRatingResult = creditRatingResult
    logMessage "Result is: " + creditRatingResult
    What I suggest for you problem is:
    1. Check the server on which you have deployed the WS. Does it require any sort of authentication prior to connecting to the WS
    2. It seems you are using Java style in ALBPM. Try switching to PBL. I don't know how it makes a difference, but sometimes it helps
    Thanks and Regards
    Vivek Nandey
    BEA Certified Developer for Integration Solutions
    [email protected]

  • Help:Invoke web service after receiving a user task response

    Hi, All:
    We encountered a problem while developing user task. The detail is as follows:
    We need to invoke a web service after a user task's response, that is to say, the web service needs some data from the response of the user task.
    Take the loan flow tuturial as a example, what we need to do is to invoke a web service after the BPEL process get the start loan APR. the web service needs the APR for its input message. how can I handle this situation?
    Thank you very much for your help!

    Thanks for your immediate response Jan Vervecken.
    I have created the Data Control from web Service proxy and I am able to recieve the output from the web Service.
    But, Currently I am invoking the webservice process method by a command button which populates my SelectOneChoice.
    My requirement is to invoke the web service 'process' method by value change event in the SelectOnechoice control.
    So, Can you pls. let me know how do I bind the web Service method 'process' to value change event of SelectOnechoice control?
    Thanks and Regards,
    Sandeep T

  • Web Service - Invoke Web Service not trapping errors

    Greetings All:
    I am having an issue trying to trap errors coming out of the Invoke Web Service service.
    I have a Fault Route set up for SYSTEM EXCEPTION, and direct it to an ExecuteScript service.
    If the process I am developing fails, it appears to leave the web service "open". The next time the process is invoked, it will fail on the Web Service call.
    When my process fails, this failure route is never taken.
    I do not know why the initial failure does not "clean-up" after itself.
    I also do not know why the Web Service call does not follow the failure route.
    This is a turnkey 8.2 install on Windows Server 2003 running JBoss.
    Any assistance on how to overcome these problems would be greatly appreciated.
    Thank You
    Mark
    My process dies with the following ending up in the system log:
    2009-03-12 16:53:18,144 ERROR [com.eviware.soapui.impl.wsdl.WsdlSubmit] Exception in request: java.net.SocketException: Connection reset
    2009-03-12 16:53:18,144 ERROR [com.eviware.soapui.SoapUI] An error occured [Connection reset], see error log for details
    2009-03-12 16:53:18,144 ERROR [soapui.errorlog] java.net.SocketException: Connection reset
    java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:168)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
    at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
    at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
    at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
    at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.re adLine(MultiThreadedHttpConnectionManager.java:1382)
    at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
    at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
    at com.eviware.soapui.impl.wsdl.submit.transports.http.TimeablePostMethod.readResponse(Timea blePostMethod.java:56)
    at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java :397)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:17 0)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
    at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendReques t(HttpClientRequestTransport.java:142)
    at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:112)
    at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:72)
    at com.eviware.soapui.impl.wsdl.WsdlRequest.submit(WsdlRequest.java:370)
    at com.adobe.idp.dsc.webservice.WebServiceSoapUIInvoker.invoke(WebServiceSoapUIInvoker.java: 126)
    at com.adobe.idp.dsc.webservice.WebServiceImpl.invoke(WebServiceImpl.java:93)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:342)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:212)
    at sun.reflect.Ge

    Hi Mark,
    Did you find out the origin of this problem? I've got a similar issue (without the stacktrace) and any help would be great!
    Thanks,
    Romain.

  • Adobe Flex invoking web services

    Hi,
    I tried to install the AS Proxy generator plugin as described in following tutorial:
    Link: [How to Develop Flex Applications that Invoke Web Services|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20536f87-b5a1-2a10-06ad-c15369468e0e?overridelayout=true]
    Unfortunately I got an error when executing step 2 "Add runtime project to your workspace". When doing this I get an warning message from adobe flex:
    A problem occured when opening projekt "runtime". Try quitting and restarting the application. If the problem persists, you might be using an unsupported project version, or your project files might be corrupted.
    I imported the runtime project in the flex builder in the following way:
    File->Other->Existing Projects into Workspace, selected the archive file runtime.zip, Finish
    When restarting AdobeFlex I get the same message again.
    I tried this in the follwing system environment:
    Adobe FlexBuilder 3.0
    Windows Vista
    The tutorial remarks that it apllies to SAP NetWeaver CE, FlexBuilder 2.0, Windows XP; may work with other platforms.
    I am not sure if this is the reason why it doesn't work.
    Has anyone experience with my used system environment? Any help is highly appreciated....
    Best Regards, Eddy

    Hi Edgar,
    i think your method of importing the runtime library is not the correct.
    - Unzip the runtime.zip file in your disk
    - On Flex Builder, right-click on your flex proyect root, and select "properties"
    - Select "Flex Build Path"
    - In "Source Path" tab, click on "Add folder"
    - Select your runtime folder
    - Click OK
    I expect this help you
    Regards
    Fran

  • Error Invoking Web Service Action: null

    I am using the WEBSERVICE action in the BLS to access a third party system.  I am getting an error during execution: [ERROR]: Error Invoking Web Service Action: null.  I cannot find any messages in any of the logs.  Even though the action fails, the remote WebService processes properly.  My basis guy seems to think that it is related to SOAP incompatibilities/versions.  Any other ideas floating around out there?  Any other methods to troubleshoot?  The external application uses Document-Literal Style web services and conforms to WS-I Basic Profile.

    All -
    Here is a trace.  My remote web service returns an empty SOAP body upon success (SOAP envelope only).  Is this causing the Null Pointer Exception??
    PS - I am also getting a lot of "WARNING: received an illegal cookie" messages.  Is this a problem.
    [Wed Mar 19 16:38:08 EDT 2008] <?xml version="1.0" encoding="UTF-8"?>
    <soap:Envelope ...xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body> ...blah, blah...</soap:Body>
    </soap:Envelope>
    [Wed Mar 19 16:39:09 EDT 2008] java.lang.NullPointerException
    [Wed Mar 19 16:39:09 EDT 2008]      at org.apache.commons.httpclient.HttpMethodBase.getStatusCode(HttpMethodBase.java:590)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.webservice.SoapClient.invoke(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.actions.webservice.WebServiceAction.RawInvoke(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.actions.webservice.WebServiceAction.Invoke(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.core.Action.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.core.ActionSequence.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.core.ActionSequence.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.core.ActionSequence.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Execute(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.services.Runner.doGet(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    [Wed Mar 19 16:39:09 EDT 2008]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SERequestDispatcher.forwardServlet(SERequestDispatcher.java:638)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.java:236)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SERequestDispatcher.internalForward(SERequestDispatcher.java:283)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:96)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.cms.system.CMSFilter.doFilter(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:60)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ApplicationInfo.filterApplRequest(ApplicationInfo.java:2159)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ApplicationInfo.processApplRequest(ApplicationInfo.java:1823)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServerHostInfo.processApplRequest(ServerHostInfo.java:937)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1091)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:973)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServletExecService.processServletRequest(ServletExecService.java:167)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServletExecService.Run(ServletExecService.java:204)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.HttpServerRequest.run(HttpServerRequest.java:487)
    [Wed Mar 19 16:39:10 EDT 2008] WARNING: received an illegal cookie name: $Version
    [Wed Mar 19 16:39:10 EDT 2008] Cookie: $Version=0; JSESSIONID=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/Lighthammer, $Version=0; JSESSIONPROXY=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/
    [Wed Mar 19 16:39:10 EDT 2008] User-Agent: Jakarta Commons-HttpClient/2.0.2
    [Wed Mar 19 16:39:10 EDT 2008] WARNING: received an illegal cookie name: $Path
    [Wed Mar 19 16:39:10 EDT 2008] Cookie: $Version=0; JSESSIONID=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/Lighthammer, $Version=0; JSESSIONPROXY=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/
    [Wed Mar 19 16:39:10 EDT 2008] User-Agent: Jakarta Commons-HttpClient/2.0.2
    [Wed Mar 19 16:39:10 EDT 2008] WARNING: received an illegal cookie name: $Path
    [Wed Mar 19 16:39:10 EDT 2008] Cookie: $Version=0; JSESSIONID=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/Lighthammer, $Version=0; JSESSIONPROXY=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/
    [Wed Mar 19 16:39:10 EDT 2008] User-Agent: Jakarta Commons-HttpClient/2.0.2

  • Invoking Business Service method which takes Hierarchy / Integration Object

    Hi,
    I want to invoke Business Service methods using JDB API invokeMethod(). There are some methods which take Hierachy/Integration object as argument. The question here is how do I creat and pass these arguments?
    Following two are the methods which take these arguments.
    1)[Hierarchy]
    Business Service:
    SHM Calculate Tax
    Method:
    SumCalculateTax
    Args:
    CalculateTax - Hierarchy - Input
    ForWhich - String- Input
    GetSubTaxCodes - Number- Output
    GetTaxCodes - Number- Output
    2)[Integration Object]
    Business Service:
    External Contact
    Method : Update
    Args :
    SiebelMessage - Integration Object - Input / Output
    Can you direct me to some sample code please?
    Thanks,
    ram

    Thank you both for the response. Regarding Rennay’s posting I have an additional question. When I create a new web service I don't have the "Document Literal" option nor a "Concrete Configuration" tab. I've created the web service using the "Web Application" project type and then adding a web service using the "Web Service..." wizard. This wizard doesn't have the configuration properties you mention, but if I add a WSDL-file to a BPEL-project the wizard has the properties you mention.
    Is it possible to create a web service, programmed as an ordinary Java-class, from an existing WSDL-file? In that case it may solve the problem with the “Document Literal” property. Currently I don’t know any other way to create such a web-service other than the through the web service wizard in a web application project. Of course, it’s possible to craft it from scratch but that’s to much work to be practical.
    Regards, Ola

  • Invoking web service from OBIEE11g failed socket timeout

    Hi,
    I encountered an error when I invoke web service from OBIEE 11g. The web serivce resides on Websphere running on other machine.
    An error says that "Invoking web service failed due to socket timeout." and it seems that it stopped in just 40 secs.
    Is there any settings of WebLogic server to avoid this? This web service normally runs for more than 60 sec.
    I have checked several parameters in WebLogic admin console and changed those values, but I still receive the same error.
    Invoking the same web service from SOAPUI sustains for more than 60 secs.
    Regards,
    Fujio Sonehara

    Don't be too surprised. Sun figured this bug out in short order. I got the same error message when trying to do the same thing, just for the heck of it. Reference this article for details.
    http://java.sun.com/webservices/docs/ea2/jaxrpc/ReleaseNotes.html
    It contains information about bugs fixed in the WSDP EA2. So in answer to your question, download the newer pack from
    http://java.sun.com/webservices/downloads/webservicespack.html
    and your bug will go away. Happy Coding.
    Legal Problems?
    Legal Solutions, for a lot less than you might think.
    [email protected]
    http://www.prepaidlegal.com/go/pritchard45

  • Problem while testing a BAPI Web Servicei face this problem in web service

    i face this problem in web service bapi when i am carrying out the submit test... so can anyone help me???
    HTTP/1.1 500 Internal Server Error
    Set-Cookie: <value is hidden>
    content-type: text/xml; charset=utf-8
    content-length: 803
    sap-srt_id: 20080610/144609/v1.00_final_6.40/DD36B8E7DE44B5F19BA900145E6770F3
    server: SAP Web Application Server (1.0;700)
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><soap-env:Fault><faultcode>soap-env:Client</faultcode><faultstring xml:lang="en">Deserialisation failed</faultstring><detail><n0:SimpleTransformationFault xmlns:n0="http://www.sap.com/transformation-templates"><MainName>/1BCDWB/WSS0080610064309718000</MainName><ProgName>/1BCDWB/WSS0080610064309718000</ProgName><Line>128 </Line><Valid>X</Valid><ReferenceFault><DescriptionText>Error accessing the ref. node 'EMPLOYEENUMBER'</DescriptionText><RefName>EMPLOYEENUMBER</RefName></ReferenceFault><Caller><Class>CL_SRG_RFC_PROXY_CONTEXT</Class><Method>IF_SXML_PART~DECODE</Method><Positions>1 </Positions></Caller></n0:SimpleTransformationFault></detail></soap-env:Fault></soap-env:Body></soap-env:Envelope>

    Hi,
    since I did not find that BAPI in my system: what is the exact name?
    Did you test the BAPI directly in ABAP, i.e. function builder SE37, successfully?
    Currently it looks to me as if you did not provide sufficient business data.
    Did you specify the employee number before executing the call?

  • Invoke web service with DTO

    Hey guys,
    I am quite new in using BPEL. My first test worked fine, but know I have an issue, which I can not solve. Invoking web services with a basic return value is no problem. I could also you a dto object including some basic variables in order to invoke the web service without having problems.
    But when I have a dto object as return value, I get the following exception.
    Could someone give me a hint to fix my problem...that would be great!
    Thanks alot!
    Sven
    <messages>
    - <input>
    - <carReserveRequest>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="in0">
    - <in0 xmlns="" xmlns:def="urn:TravelBooking" xsi:type="def:CarReservationDTO" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <carType>
    Mini
    </carType>
    <customerName>
    9
    </customerName>
    <customerPhone>
    9
    </customerPhone>
    <reservationEnd>
    2030-12-12T00:00:00.000+01:00
    </reservationEnd>
    <reservationStart>
    2029-12-12T00:00:00.000+01:00
    </reservationStart>
    </in0>
    </part>
    </carReserveRequest>
    </input>
    - <fault>
    - <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="summary">
    <summary>
    exception on JaxRpc invoke: trailing block elements must have an id attribute
    </summary>
    </part>
    </remoteFault>
    </fault>
    </messages
    Message was edited by:
    user606281

    Here is more information. Below are the relevant sections of the web service's WSDL which I am trying to call from BPEL:
    - <wsdl:message name="getNextIDResponse">
    <wsdl:part name="part1" element="ns0:getNextIDResponse" />
    </wsdl:message>
    - <wsdl:message name="getNextIDFault">
    <wsdl:part name="part1" element="ns0:SOAPExceptionFault" />
    </wsdl:message>
    <wsdl:message name="getNextIDMessage" />
    - <wsdl:portType name="GetUniqueIDPortType">
    - <wsdl:operation name="getNextID">
    <wsdl:input message="axis2:getNextIDMessage" wsaw:Action="urn:getNextID" />
    <wsdl:output message="axis2:getNextIDResponse" />
    <wsdl:fault name="getNextIDFault" message="axis2:getNextIDFault" />
    </wsdl:operation>
    </wsdl:portType>

Maybe you are looking for

  • Vendor evaluation - Confirmation Date

    Dear all, am trying to run vendor evaluation for - confirmation date.. i have create a new confirmation  spro - MM -purchasing - confirmations - define external conf , setup conf  control i have included this confirmation in the PO ..delivery date in

  • Standrad Report For PP

    Plz tell me stnadrad report for work center wise total machine and labour hours and production.

  • Geofence doesn't store correct address

    Some messages posted here have indicated that you can't enter an address for a geofence in the Reminders app. This is not true. Perhaps it was different at one time, but you can enter a location by simply entering the address. HOWEVER, and yes this i

  • Problem saving revised photos without saving original

    I have just begun using elements 11. I have started editing photos using the Photo Fix Options in Instant Fix. I have then switched to Photo Editor to fine tune my edited picture. When I use save or save as, to save the edited picture both the edited

  • No email addresses with web site hosting?

    From what information I've seen, email addresses are not included in the web hosting part of creative cloud? Why? I think many of assume that's included in most ISP hosting plans, whether or not it's charged for separately. If true, I hope Adobe will