Invoking Web Services

Hi,
I'm trying to invoke a WS.
I've deployed Axis 1.2 on Odi 10.1.3.5 using OC4J.
copied the odhdbc14 driver for oracle,
on administration i've added the connection pool and the data source "ciccio" at jndi "jdbc/Oracle/Win"
in the following way i've modified web.xml and context.xml
context.xml
<Context>
<Resource name="jdbc/Oracle/Win" type="javax.sql.DataSource"
driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@localhost:1521:orcl"
username="test" password="test" maxIdle="2" maxWait="-1" maxActive="4"/>
<Resource name="jdbc/Oracle/ODIM" type="javax.sql.DataSource"
driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@localhost:1521:orcl"
username="ODIM" password="ODIM" maxIdle="2" maxWait="-1" maxActive="4"/>
<Resource name="jdbc/Oracle/ODIW" type="javax.sql.DataSource"
driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@localhost:1521:orcl"
username="ODIW_DEV" password="ODIW_DEV" maxIdle="2" maxWait="-1" maxActive="4"/>
</Context>
web.xml
<web-app>
<display-name>Apache-Axis2</display-name>
<resource-ref>
<description>Data Integrator Data Services on GWDW</description>
<res-ref-name>jdbc/Oracle/Win</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
at topology i've mapped the axis server, and selected "Upload by Axis2"
http://oracledb10g:9704/axis2/axis2-admin/
user and pass default
the context are set
in designer i've selected SKM Oracle Simple in the model
namespace: http://www.mycompany.com/ws/dboraclelocale/
package : com.mycompany.ws.dboraclelocale
data source: java:/comp/env/jdbc/Oracle/Win
and deployed the data store "Dipendenti" as WSDipendenti1
when i rightclick on the datastore and select Test Web Services i see on the left all the api, but when i invoke one i obtain
com.sunopsis.wsinvocation.SnpsWSInvocationException: Error While Creating JDBC Connection From Data Source
     at com.sunopsis.wsinvocation.client.a.a.d.requestReply(d.java)
     at com.sunopsis.graphical.wsclient.f.b(f.java)
     at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
     at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
     at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
     at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
     at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
     at java.lang.Thread.run(Thread.java:595)
Caused by: Error While Creating JDBC Connection From Data Source
     at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
     at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
     at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
     at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
     at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)
     at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1149)
     at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
     at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
     at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
     at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
     at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
     at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
     at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
     at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
     at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
     at org.apache.axis.client.Call.invoke(Call.java:2767)
     at org.apache.axis.client.Call.invoke(Call.java:1792)
     at com.sunopsis.wsinvocation.client.a.a.d.a(d.java)
     ... 8 more
Caused by:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: Error While Creating JDBC Connection From Data Source
faultActor:
faultNode:
faultDetail:
     {}stackTrace:oracle.odi.dataservices.fwk.DataServiceException: Error While Creating JDBC Connection From Data Source
     at oracle.odi.dataservices.fwk.Utils.getConnectionFromDataSource(Utils.java)
     at com.mycompany.ws.dboraclelocale.WSDipendenti1.getConnection(Unknown Source)
     at com.mycompany.ws.dboraclelocale.WSDipendenti1.addDipendenti(Unknown Source)
     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:597)
     at oracle.odi.dataservices.fwk.axis2.DataServicesMessageReceiver.invokeBusinessLogic(DataServicesMessageReceiver.java)
     at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
     at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:144)
     at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:279)
     at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:116)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
     at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:619)
Caused by: javax.naming.NameNotFoundException: java:/comp/env/jdbc/Oracle/Win not found
     at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
     at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:255)
     at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:195)
     at javax.naming.InitialContext.lookup(InitialContext.java:392)
     ... 27 more
Caused by:
javax.naming.NameNotFoundException: java:/comp/env/jdbc/Oracle/Win not found
     at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
     at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:255)
     at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:195)
     at javax.naming.InitialContext.lookup(InitialContext.java:392)
     at oracle.odi.dataservices.fwk.Utils.getConnectionFromDataSource(Utils.java)
     at com.mycompany.ws.dboraclelocale.WSDipendenti1.getConnection(Unknown Source)
     at com.mycompany.ws.dboraclelocale.WSDipendenti1.addDipendenti(Unknown Source)
     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:597)
     at oracle.odi.dataservices.fwk.axis2.DataServicesMessageReceiver.invokeBusinessLogic(DataServicesMessageReceiver.java)
     at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
     at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:144)
     at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:279)
     at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:116)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
     at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:619)
Error While Creating JDBC Connection From Data Source
     at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
     at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
     at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
     at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
     at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)
     at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1149)
     at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
     at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
     at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
     at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
     at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
     at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
     at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
     at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
     at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
     at org.apache.axis.client.Call.invoke(Call.java:2767)
     at org.apache.axis.client.Call.invoke(Call.java:1792)
     at com.sunopsis.wsinvocation.client.a.a.d.a(d.java)
     at com.sunopsis.wsinvocation.client.a.a.d.requestReply(d.java)
     at com.sunopsis.graphical.wsclient.f.b(f.java)
     at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
     at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
     at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
     at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
     at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
     at java.lang.Thread.run(Thread.java:595)
on axis page i see that the WS are active and correctly updated. Anyone may help me? Thanks

You need to get some better log output (from the web service being hosted on axis2) to see what the problem is.
Check out the reply that I wrote on this thread:
Re: com.sunopsis.wsinvocation.SnpsWSInvocationException: Error While Creating J
It shows how to get the generated java web service to log the error to a file.
The error that you've pasted is a standard stack trace from the ODI WebService Invocation tool. It swallows the real problem ... which is a nuisance.
Matt.

Similar Messages

  • 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?

  • Invoking Web Service From PL SQL package

    Below is the sample code to invoke web service from pl/sql package using UTL_HTTP:
    Declare
    http_req UTL_HTTP.req;
    http_resp UTL_HTTP.resp;
    Begin
    http_req :=
    UTL_HTTP.begin_request
    'http://'
    || lv_hosturl
    -- || '.net/soa-infra/services/finance_rt/Payments/paymentsprocess_client_ep',
    --new url
    || '.net/soa-infra/services/finance_rt/PaymentsReq/paymentsprocess_client_ep?WSDL',
    'POST',
    'HTTP/1.1'
    UTL_HTTP.set_header (http_req, 'Content-Type', 'text/xml');
    -- since we are dealing with plain text in XML documents
    UTL_HTTP.set_header (http_req,
    'Content-Length',
    LENGTH (lv_soap_request)
    UTL_HTTP.set_header (http_req, 'SOAPAction', '');
    -- required to specify this is a SOAP communication
    UTL_HTTP.write_text (http_req, lv_soap_request);
    http_resp := UTL_HTTP.get_response (http_req);
    UTL_HTTP.read_text (http_resp, lv_soap_respond);
    UTL_HTTP.end_response (http_resp);
    resp := XMLTYPE.createxml (lv_soap_respond);
    End;

    Hi,
    there are a lot of option to make plsql web services .
    First you can stay with jdev 10.1.3
    Use the xmldb servlets
    use jdev 11g tp4 to create plsql ws and upgrade to jdev 11g production
    And I think in the next release of jdev it will be back , there are more options which disappeared like the adf bc sdo ws or jmx datacontrol etc.
    thanks Edwin

  • 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

  • "Error while parsing SOAP XML payload: no element found" received when invoking Web Service

    Running PB 12.1 Build 7000.  Using Easysoap.  Error ""Error while parsing SOAP XML payload: no element found" received when invoking Web Service".  This error does not appear to be coming from the application code.  Noticed that there were some erroneous characters showing up within the header portion of the XML ("&Quot;").  Not sure where these are coming from.  When I do a find within the PB code for ""&quot;" it gets located within two objects, whereas they both reference a "temp_xml_letter".  Not sure where or what temp_xml_letter resides???   The developer of this is no longer with us and my exposure to WSDL and Web Services is rather limited.  Need to get this resolved...please.
    This is the result of the search.  Notice the extraneous characters ("&quot;"):
    dar1main.pbl(d_as400_mq_xml)
    darlettr.pbl(d_email_xml)
    ---------- Search: Searching Target darwin for 'temp_xml'    (9:52:41 AM)
    ---------- 2 Matches Found On "temp_xml":
    dar1main.pbl(d_as400_mq_xml).d_as400_mq_xml:  export.xml(usetemplate="temp_xml_letter" headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0  template=(comment="" encoding="UTF-8" name="temp_xml_letter" xml="<?xml version=~"1.0~" encoding=~"UTF-16LE~" standalone=~"yes~"?><EmailServiceTransaction xmlns=~"http://xml.xxnamespace.com/Utility/Email/EmailService" ~" xmlns:imc=~"http://xml.xxnamespace.com/IMC~" xmlns:xsi=~"http://www.w3.org/2001/XMLSchema-instance~" xmlns:root=~"http://xml.xxnamespace.com/RootTypes~" xmlns:email=~"http://xml.xxnamespace.com/Utility/Email~" xsi:schemaLocation=~"http://xml.xxnamespace.com/Utility/Email/EmailService http://dev.xxnamespace.com/Utility/Email/EmailService/V10-TRX-EmailService.xsd~"><EmailServiceInformation><EmailServiceDetail __pbband=~"detail~"><ApplicationIdentifier> applicationidentifier </ApplicationIdentifier><AddresseeInformation><AddresseeDetail><Number> number </Number></AddresseeDetail></AddresseeInformation><EmailMessageInformation><Ema
    darlettr.pbl(d_email_xml).d_email_xml:  export.xml(usetemplate="temp_xml_letter" headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0  template=(comment="" encoding="UTF-8" name="temp_xml_letter" xml="<?xml version=~"1.0~" encoding=~"UTF-16LE~" standalone=~"yes~"?><EmailServiceTransaction xmlns=~"http://xml.xxnamespace.com/Utility/Email/EmailService" ~" xmlns:imc=~"http://xml.xxnamespace.com/IMC~" xmlns:xsi=~"http://www.w3.org/2001/XMLSchema-instance~" xmlns:root=~"http://xml.xxnamespace.com/RootTypes~" xmlns:email=~"http://xml.xxnamespace.com/Utility/Email~" xsi:schemaLocation=~"http://xml.xxnamespace.com/Utility/Email/EmailService http://dev.xxnamespace.com/Utility/Email/EmailService/V10-TRX-EmailService.xsd~"><EmailServiceInformation><EmailServiceDetail __pbband=~"detail~"><ApplicationIdentifier> applicationidentifier </ApplicationIdentifier><AddresseeInformation><AddresseeDetail><Number> imcnumber </Number></AddresseeDetail></AddresseeInformation><EmailMessageInformation><Ema
    ---------- Done 2 Matches Found On "temp_xml":
    ---------- Finished Searching Target darwin for 'temp_xml'    (9:52:41 AM)

    Maybe "extraneous" is an incorrect term.  Apparantly, based upon the writeup within Wiki, the parser I am using does not interpret the "&quot;"?  How do I find which parser is being utilized and how to control it?
    <<<
    If the document is read by an XML parser that does not or cannot read external entities, then only the five built-in XML character entities (see above) can safely be used, although other entities may be used if they are declared in the internal DTD subset.
    If the document is read by an XML parser that does read external entities, then the five built-in XML character entities can safely be used. The other 248 HTML character entities can be used as long as the XHTML DTD is accessible to the parser at the time the document is read. Other entities may also be used if they are declared in the internal DTD subset.
    >>>

  • Invoking web service with customized SOAP Header

    Hi,
    how can I invoke web services from my BPEL process with additional elements in the SOAP Header?
    Regards,
    Piotr

    I don't know if I completely understand your question, but here is an attempt at and answer.
    It place variables in the SOAP Header open the invoke popup, click on the Adapters tab and select the variable that you would like to add into the SOAP header.
    I really hope that helps.
    Chris

  • Invoking web service using Weblogic Workshop (JCX)

    Invoking web service using Weblogic Workshop
    Posted: 5 Jan 2005 23:31 PM Reply
    Hi,
    I have WSDL from which I have generated a web service control (.jcx) using Weblogic Workshop.
    I need to write a client which will invoke the web service using the control.
    Can someone help me on how to go about this ?
    BTW .. I also tried the clientgen route and tried to generated the proxy jar from the WSDL but wasn't successful because of a existing clientgen bug.
    Refer bug

    Hi,
    if the consumer of the webservice is a control-aware consumer ( pageflow, control, process ) simply drag the control to this consumer and the control variable is ready for use.
    if the consumer is not control-aware, try to generate a proxy using eg. the axis tool, or handcode your proxy class.
    links :
    how to use webservice control
    http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/controls/conGettingStartedWithJavaControls.html
    axis
    http://ws.apache.org/axis/
    - Anders M.
    - Anders M.

  • Error Invoking Web Service Action: Status (500): null

    Hi forum
    I am getting an "Invoking Web Service Action: Status (500): null" error  when invoking a web service action block .  The BLS transaction used as a web service outputs a text string which I tested using an xacute query . while executing the transaction as a web service the tracer tells me that there is no output .
    Best regards,
    Antonio
    I am using an xMII 11.5 installation  .
    [INFO ]: Execution Started At: 04:17:46
    [DEBUG]: 00000.01600 Begin Transaction 'TMP45B360D9-0E02-2CF7-C4B4-F3C0B41C29E0'
    [DEBUG]: 00000.01600 Begin Sequence Sequence : ()
    [DEBUG]: 00000.01600 Begin Action WebService_0 : ()
    [ERROR]: Error Invoking Web Service Action: Status (500): null
    [ERROR]: ACTION FAILED: End Action WebService_0 : ()
    [DEBUG]: 00000.11000 Begin Sequence Sequence_0 : ()
    [DEBUG]: 00000.11000 Begin Action Tracer_0 : ()
    [INFO ]:
    [DEBUG]: 00000.11000 End Action Tracer_0 : ()
    [DEBUG]: 00000.11000 End Sequence Sequence_0 : ()
    [DEBUG]: 00000.11000 End Sequence Sequence : ()
    [DEBUG]: 00000.11000 End Transaction 'TMP45B360D9-0E02-2CF7-C4B4-F3C0B41C29E0'
    [INFO ]: Execution Completed At: 04:17:46 Elapsed Time was 94 mS

    Jamie,
    Yes Indeed, I was calling inside a web service action another BLS transaction .  Now ,  I am using a call to the transaction using the runner . It worked fine .
    Thanks,

  • 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>

  • Invoking web service with HTTP authentication using OdiInvokeWebService

    I did all configurations in OdiInvokeWebService Advanced Editor. When I press "Invoke web service" there are no errors. But when I try to execute this step there is an error:
    java.lang.IllegalArgumentException: Bad password format. Make sure that it's an encrypted password.
    Text of the command:
    OdiInvokeWebService "-URL=http://sapk02:8080/sap/bc/srt/rfc/sap/ZODI_FILE_SER?sap-client=800&wsdl=1.1" "-PORT_TYPE=ZODI_FILE_SER" "-OPERATION=ZODI_FILE" "-HTTP_USER=user" "-HTTP_PASS=_321321_"
    *<?xml version = '1.0' encoding = 'UTF8'?>*
    *<ZODI_FILERequest>*
    *<ZODI_FILE>*
    *<FILE>/tmp/temp1.txt</FILE>*
    *</ZODI_FILE>*
    *</ZODI_FILERequest>*
    When I fill HTTP password edit manually and try to execute there is another error:
    *com.sunopsis.wsinvocation.SnpsWSInvocationException: AxisFault*
    *faultCode: {http://xml.apache.org/axis/}HTTP*
    *faultSubcode:*
    *faultString: (401)Unauthorized*
    Text of the command:
    *OdiInvokeWebService "-URL=http://sapk02:8080/sap/bc/srt/rfc/sap/ZODI_FILE_SER?sap-client=800&wsdl=1.1" "-PORT_TYPE=ZODI_FILE_SER" "-OPERATION=ZODI_FILE" "-HTTP_USER=user" "-HTTP_PASS=*aIyHMmFSmTzVm1V08nTf"
    *<?xml version = '1.0' encoding = 'UTF8'?>*
    *<ZODI_FILERequest>*
    *<ZODI_FILE>*
    *<FILE>/tmp/temp1.txt</FILE>*
    *</ZODI_FILE>*
    *</ZODI_FILERequest>*
    ODI Version 11.1.1.3.0

    I've gotten past the original error by importing the security certificate of the Web service into my keystore/truststore. I'm also running the process on SOA 10.1.3.1.0. Now when I invoke the Web service from the BPEL process I get this error:
    exception on JaxRpc invoke: HTTP transport error:
    javax.xml.soap.SOAPException: java.security.PrivilegedActionException:
    javax.xml.soap.SOAPException: Bad response: 403 Forbidden
    I've tried passing the credentials every way I can -- partner link properties, Oracle Web Services Manager, whatever -- and still get the same error. I would expect to see a 401 error for problems with credentials, not a 403.
    Any suggestions?
    Thanks for your time.
    Paul Camann

  • Invoke Web Service - An unknown error occurred

    We recently moved our Runbooks to Windows Server 2012 R2. The Invoke Web Services activity has not been executed previously on this installation and thus no cache files.
    Entering any SOAP WSDL into the WSDL Properties fields then clicking Method throws an error An Unknown Error Occurred.
    Do not see any additional information in Logs or Event Viewer.
    All WSDLs are known to be good and are consumed by other applications, including PowerShell.
    Thoughts?
    Edit: Tested on another installation and it works. I do not have the option to reinstall the server that is facing this issue.
    Moved On

    Resolved the issue. Team forgot to install R2. The working environment has R2, after upgrading the issue is resolved.
    It would appear that Invoke Web Services in Orchestrator 2012 is useless.
    Moved On

  • How to invoke web service in web Dynpro for java in CE environment.

    Hi all,
    Currently, I would like to invoke web service to retrieve data and display to the web dynpro. Do you have any sample code which I can reference?
    I am currently using CE7.1 SP3.
    Thank you.

    Hi,
    You need to use Adaptive Web Service Model for that.
    Check the tuorial in the link for accessing web services.
    https://www.sdn.sap.com/irj/sdn/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#16
    Regards
    Pankaj

  • 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.

  • How to invoke web services in sequence in ESB?

    Is there any way to invoke multiple services (web, adapter) in a sequence using only the ESB? (I don't want to bring in BEPL).
    Something like this:
    Read File using File Adapter into schema
    |
    v
    Invoke database adapter to retrieve data and use it to enrich schema
    |
    v
    Invoke web service to retrieve more data and use it to enrich schema
    |
    v
    Send enriched schema to a final web service to perform some operation.
    Thanks in advance.

    From a technical standpoint, all I want to do is move data from point a to endpoints b, c, and d, and then move the reply or the fault from one of endpoints b, c, or d (whichever one the request went to) back to a.
    The "business logic" along the way is at 3 places:
    (1). To enrich the data that's being moved. The enriching data is in a database someplace. The logic that determines what that data is in the database is in the original data (message).
    Something like this:
    //Based on values in the original message, get some row
    If OriginalData.Body.field1 = X and OriginalData.SOAPHeader.field2 = y then retrieve Database.Row Z from the database
    then
    //Enrich the original message with the data from the retrieved row
    OriginalData.Body.field3 = Database.Row Z.field9
    (2). To decide where to move the data, i.e. b, c, or d. The decision to route the data dynamically retrieved from a web service.
    Something like this:
    Rule 1: If OriginalData.Body.field3 = A and OriginalData.SOAPHeader.field1= B then move data to endpoint b.
    Rule 2: Or If OriginalData.Body.field2 = C and OriginalData.SOAPHeader.field4= C then move data to endpoint c.
    Rule 3: Or If OriginalData.Body.field5 = C and OriginalData.SOAPHeader.field6= C then move data to endpoint d.
    ... and more combinations.
    So, send web service the enriched data and it applies rules Rule 1, and it sends back "b". Send web service the enriched data and it applies rules Rule 2, and it sends back "c". Send web service the enriched data and it applies rules Rule 3, and it sends back "d". In this way, adding new rules to the web service lets the customer dynamically "grow" new endpoints.
    (3). To transform the data from the format of point a to one of the formats of endpoints b, c, or d. The decision to transform the schema of the data is taken based on the outcome of the business logic applied in (2) above.
    This is a sample use case that my customer is using to compare Oracle's ESB capabilities with other vendors', and I have to work within specific boundaries.
    So, as I stated in my first post, I cannot use BPEL. All I have to establish is whether Oracle can do this using ESB.

  • ANN: Tutorial - Dynamically Invoking Web Services

    This tutorial describes how build an application that invokes Web Services dynamically at runtime. You will also learn how to publish and find Web Services registered in Oracle UDDI registry. The sample application implements a bportal where the user can compare insurance prices.
    http://otn.oracle.com/sample_code/tutorials/wsdyn/toc.htm
    Available 1/7/03.

    When you test the connection (steps are below, and in the Setup section, http://otn.oracle.com/sample_code/tutorials/wsdyn/setup.htm#editthe)
    do you get a Status Success message?
    Edit the connection
    1. Click on the Connections node to expand it.
    2. Double click on Application server.
    3. In the connection wizard step 1 type Connection name as "WebServiceDII".
    4. Select connection type as Oracle9iApplication server.
    5. Click next to go to Step 2
    6. Enter Username and Password valid for this server.
    7. Click Next to go to Step 3.
    8. Click Next to go to Step 4.
    9. Test the connection you should get status "Success".
    10. For all future deployment purposes use this ("WebServiceDII") connection.
    11. Click "Finish" button to dismiss the dialog box.

  • Getting a error invoking web service action  block

    HI
    I am first time using web service action block in xmii. I am using it for executing my transaction . But it is giving error stating that
    Error invoking web service action block. I dont know please help me out?

    Hi Mike,
    I am using xMII - 11.5 version and with java 1.6.0_07. In My system i have installed service pack 3. When ever i use webservice action block and execute it, It gives error stating .
    [INFO ]: Execution Started At: 11:07:16
    [DEBUG]: 00000.01600 Begin Transaction 'TMP83E3D064-F6E8-4E3D-647F-6CE6B41C9E83'
    [DEBUG]: 00000.01600 Begin Sequence Sequence : ()
    [DEBUG]: 00000.01600 Begin Action WebService_0 : ()
    [ERROR]: Error Invoking Web Service Action: null
    [ERROR]: ACTION FAILED: End Action WebService_0 : ()
    [DEBUG]: 00001.42200 Begin Sequence Sequence_0 : ()
    [DEBUG]: 00001.42200 Begin Action Tracer_0 : ()
    [INFO ]: <?xml version="1.0" encoding="UTF-8"?><XacuteResponse xmlns="http://www.lighthammer.com/Xacute"><Rowsets DateCreated="2000-01-01T00:00:00" EndDate="2000-01-01T00:00:00" StartDate="2000-01-01T00:00:00" Version=""><FatalError/><Messages><Message/></Messages><Rowset><Columns><Column Description="" MaxRange="0.00" MinRange="0.00" Name="" SQLDataType="0" SourceColumn=""/></Columns><Row><Output/></Row></Rowset></Rowsets></XacuteResponse>
    [DEBUG]: 00001.43700 End Action Tracer_0 : ()
    [DEBUG]: 00001.43700 End Sequence Sequence_0 : ()
    [DEBUG]: 00001.43700 End Sequence Sequence : ()
    [DEBUG]: 00001.43700 End Transaction 'TMP83E3D064-F6E8-4E3D-647F-6CE6B41C9E83'
    [INFO ]: Execution Completed At: 11:07:17 Elapsed Time was 1421 mS
    please help me out .

Maybe you are looking for

  • I have an iPod Touch 5th generation and all of a sudden it started freezing on the lock screen.

    I have an iPod Touch 5th generation that I've had since Christmas 2012 and suddenly today (June 27) when I tried opening one of my apps it froze and then shut the app down. At first I thought it was the app, but then it started happening to Safari an

  • OIM11gR2 - How can I list users with an SAP User Application Instance?

    Hello, This is a feature I was used to in OIM9. Except that in OIM9 the model was a bit different, we had no application instance. We referred to it as a Resource. Anyway, as an Identity Manager administrator, I wanted to quickly find a user with an

  • Dynamic RMI generation

    Suppose I were to write an IDE. If a user selected a class I might want to allow them to invoke the rmic command on that type. I know how to invoke it from the command line, the question is - how do I invoke it from within a Java VM itself? I underst

  • My ipod touch safari bar is black and not grey

    Hi, is it normaly that when i go to safari that my bar on the top and the bar where you can tap on some options is black? (Sorry for my bad english) Please reponse...

  • Appearance of the elements

    I need to give format to the elements of a navigation region (for example font, size) In addition I need to add a line that divides two regions. How I can do it? Thanks for the help!