Unable to invoke Webmethods webservice

Hi ,
I have received a wsdl file from Webmethods tem which i need to use.
Since i dont have a url i used the wsdl locally and got the model created and executing the webservice.
Problem :
Since i am using the wsdl locally the server is unable to find it at runtime and saying file not found exception for the wsdl file.
Can we register the wsdl file as such in service registry of CE7.1 or do we need to have the url for the wsdl as mandatory.
IS there any other solution???
Regards,
Aditya

Hi Aditya,
Follow the steps of this blog:
XI : How To publish WSDL generated from XI to UDDI
From step 5 you have a WSDL URL to use into your application.
Best Regards,
Pedro Nunes

Similar Messages

  • Unable to invoke ReadProject WebService on a HTTPS environment

    Hi,
    I have customized Ms Project Server 2010 to invoke PSI WebService in the checkin event handler.
    The code works very well in a HTTP environment. However, it doesn't work in HTTPS environment. The following message is displayed on accessing the service in HTTPS environment
    The server was unable
    to process the request due to an internal error.  For more information
    about the error, either turn on IncludeExceptionDetailInFaults (either from
    ServiceBehaviorAttribute or from the <serviceDebug> configuration
    behavior) on the server in order to send the exception information back to the
    client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK
    documentation and inspect the server trace logs
    I am unable to trace logs to find out the root cause of this issue. Any help in this regard will be appreciated.

    HTTP 401 means the server running on specified URL may have HTTP Basic Authentication enabled. Please cross-check whether this is the case and if yes then configure the same in composite. BTW, "01hw331924" seems to be a familiar host name. ;)
    Regards,
    Anuj

  • Unable to invoke a webservice from OdiInvokeWebService

    Hi,
    I have created a sample web service and deployed it on the axis2/tomcat server. I am able to invoke the webservice by the OdiInvokeWebService tool by its wsdl.
    But my intention is to deploy the webservice on Weblogic Server and accomplish the same. On trying it i got the following error:
    com.sunopsis.wsinvocation.SnpsWSInvocationException: AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (415)Unsupported Media Type
    faultActor:
    faultNode:
    faultDetail:
         {}:return code: 415
         {http://xml.apache.org/axis/}HttpErrorCode:415
         at com.sunopsis.wsinvocation.client.impl.axis.AxisClientImpl.requestReply(AxisClientImpl.java:265)
         at com.sunopsis.graphical.wsclient.RequestWsPane$11$1.doInBackground(RequestWsPane.java:1174)
         at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$1.call(SwingWorker.java:240)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.run(SwingWorker.java:278)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:619)
    How do i deploy a webservice on Weblogic Server and call it from the OdiInvokeWebService ??

    Did you solve this problem?

  • Unable to invoke .asmx webservice

    Hi I am trying to Invoke an .asmx wsdl.
    When I have pasted the below url in my partner link I have got the exception as :
    "FAULT_CODE: OTHER_ERROR : Failed to read WSDL from http://01hw331924/MyService/GISIntgrtionService.asmx?wsdl"
    But it has given the below error while testing: HTTP Connection Error Code is 401.
    When I have opened through browser the WSDL has opened properly.
    So I have copied the WSDL in my local directory and developed a BPEL service.
    But when I try to test the below error has occurred.
    Non Recoverable System Fault :
    <bpelFault><faultType> <message>0</message></faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): http://01hw331924/MyService/GISIntgrtionService.asmx</summary></part><part name="detail"><detail>Unable to access the following endpoint(s): http://01hw331924/MyService/GISIntgrtionService.asmx</detail></part><part name="code"><code>401</code></part></remoteFault></bpelFault>
    I have unchecked the proxy settings in Jdeveloper too. But still I am facing the issue.
    Please help
    Thanks,
    dbp

    HTTP 401 means the server running on specified URL may have HTTP Basic Authentication enabled. Please cross-check whether this is the case and if yes then configure the same in composite. BTW, "01hw331924" seems to be a familiar host name. ;)
    Regards,
    Anuj

  • Unable to invoke webservice from plsql.

    Hi i am unable to invoke the web service i am getting the following error when i run the following coe can any one help out its great help thanks you
    error->
    Invoke_Ws : When Others -- ORA-29532: Java call terminated by uncaught Java exception: javax.xml.rpc.soap.SOAPFaultException:
    Caught exception while handling request: trailing block elements must have an id attribute
    set serveroutput on
    declare
    service_ sys.utl_dbws.SERVICE;
    call_ sys.utl_dbws.CALL;
    service_qname sys.utl_dbws.QNAME;
    port_qname sys.utl_dbws.QNAME;
    operation_qname sys.utl_dbws.QNAME;
    string_type_qname sys.utl_dbws.QNAME;
    retx ANYDATA;
    retx_string VARCHAR2(100);
    retx_len number;
    params sys.utl_dbws.ANYDATA_LIST;
    v_Group_Id VARCHAR2(4);
    v_Fund_Id VARCHAR2(6);
    v_Query_Date DATE;
    v_Query_Object VARCHAR2(2);
    v_Error_Code VARCHAR2(30);
    v_Error_Message VARCHAR2(2000);
    begin
    service_qname := sys.utl_dbws.to_qname(null, 'RealTime_Valu_WS');
    service_ := sys.utl_dbws.create_service(service_qname);
    port_qname := sys.utl_dbws.to_qname(null, 'RealTime_Valu_WSSoapHttpPort');
    operation_qname := sys.utl_dbws.to_qname('http://RealTime_Valu_WS_Java/RealTime_Valu_WS.wsdl/types/', 'realtimeValWsElement');
    call_ := sys.utl_dbws.create_call(service_, port_qname, operation_qname);
    sys.utl_dbws.set_target_endpoint_address(call_, 'http://in-blr-tbpel1.igefi.tld/pa360/RealTime_Valu_WS_360/RealTime_Valu_WSSoapHttpPort');
    string_type_qname := sys.utl_dbws.to_qname('http://www.w3.org/2001/XMLSchema', 'string');
    sys.utl_dbws.add_parameter(call_, 'groupId', string_type_qname, 'ParameterMode.IN');
    sys.utl_dbws.add_parameter(call_, 'flglnclsoft', string_type_qname, 'ParameterMode.IN');
    sys.utl_dbws.add_parameter(call_, 'queryDate', string_type_qname, 'ParameterMode.IN');
    sys.utl_dbws.add_parameter(call_, 'queryObject', string_type_qname, 'ParameterMode.IN');
    sys.utl_dbws.add_parameter(call_, 'execTimestamp', string_type_qname, 'ParameterMode.IN');
    sys.utl_dbws.add_parameter(call_, 'fundId', string_type_qname, 'ParameterMode.IN');
    Sys.Utl_dbws.add_parameter(Call_,'Fund_Id' ,String_type_qname,'parameterMode.OUT');
    Sys.Utl_dbws.add_parameter(Call_,'Query_Date' ,String_type_qname,'parameterMode.OUT');
    Sys.Utl_dbws.add_parameter(Call_,'Query_Object' ,String_type_qname,'parameterMode.OUT');
    Sys.Utl_dbws.add_parameter(Call_,'Error_Code' ,String_type_qname,'parameterMode.OUT');
    Sys.Utl_dbws.add_parameter(Call_,'Error_Message',String_type_qname,'parameterMode.OUT');
    sys.utl_dbws.set_return_type(call_, string_type_qname);
    params(1) := ANYDATA.convertvarchar('MP1');
    params(2) := ANYDATA.convertvarchar('Y');
    params(3) := ANYDATA.convertvarchar('2009-01-30');
    params(4) := ANYDATA.convertvarchar('C');
    params(5) := ANYDATA.convertvarchar('00:00');
    params(6) := ANYDATA.convertvarchar('MPNWS');
    dbms_output.put_line('BEFORE INVOKING');
    retx := sys.utl_dbws.invoke(call_, params); dbms_output.put_line('BEFORE PL/SQL DII client return ' || retx_string);
    retx_string := retx.accessvarchar2;
    dbms_output.put_line('AFTER PL/SQL DII client return ' || retx_string);
    v_Group_Id := PARAMS(7).ACCESSVARCHAR2;
    dbms_output.put_line('PL/SQL DII client return v_Group_Id ' || v_Group_Id);
    v_Fund_Id := PARAMS(8).ACCESSVARCHAR2;
    dbms_output.put_line('PL/SQL DII client return v_Group_Id ' || v_Group_Id);
    v_Query_Date := PARAMS(9).ACCESSVARCHAR2;
    dbms_output.put_line('PL/SQL DII client return v_Group_Id ' || v_Group_Id);
    v_Query_Object := PARAMS(10).ACCESSVARCHAR2;
    dbms_output.put_line('PL/SQL DII client return v_Group_Id ' || v_Group_Id);
    v_Error_Code := PARAMS(11).ACCESSVARCHAR2;
    dbms_output.put_line('PL/SQL DII client return v_Group_Id ' || v_Group_Id);
    v_Error_Message := PARAMS(12).ACCESSVARCHAR2;
    dbms_output.put_line('PL/SQL DII client return ' || retx_string);
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line('Invoke_Ws : When Others -- '||SQLERRM(SQLCODE));
    end;
    my code is working only before the line of invoke statement..when invoke line is executed i am getting the error above mentioned
    so any help!
    thanks
    Vijay

    Jinkala wrote:
    any helpDon't use Java when PL/SQL is perfectly capable of doing the task at hand?
    I have an inherent dislike of systems and application that have too many moving parts. Keep the moving parts to a minimum.. and the code is faster, more robust, and a lot easier to read, understand and maintain.
    So in that regard, I do not understand what the deal is with utl_dbws and why it could not just use plain vanilla PL/SQL..? But then there are likely Java faithful that proclaims The Religion too when designing PL/SQL interface packages in Oracle... :-(
    I've posted an example of how to call a web service using PL/SQL code only, no Java, in {message:id=4205205}.

  • Issue in invoking the webservice on EBS 12.1.3

    Hi,
    We are using R12.1.3 version of EBS. We have developed the custome PL SQL logic and deployed it on the Integration repository. Generated the WSDL and Deploy process were successful on IR. Authentication type used was "Username Token". Created the necessary user grants.
    When we try to invoke the webservice from SOAP UI, we are getting below error:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: System Errornull</faultstring>
    <faultactor/>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    Also, we checked in the log files and found below entries.
    <MSG_TEXT>An error occurred for port: SOAProvider: oracle.webservices.provider.ProviderException: oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: System Errornull.</MSG_TEXT>
    <MSG_TEXT>Unable to determine operation id from SOAP Message.</MSG_TEXT>
    Can someone help me in this issue? We are successfully able to invoke the same webservices on R12.1 version but getting an error in 12.1.3 version!!!
    Thanks in advance.
    Regards,
    Vasanth

    Hi,
    Try seeing the log messages after doing the following setup in the instance :-
    1. Telnet to environment
    1. In $INST_TOP/ora/10.1.3/j2ee/oafm/config/oc4j.properties
    1. Add following property at the end of the file : SOA_ENABLE_STANDALONE_LOGGING=TRUE
    2. Bounce oafm container using script $ADMIN_SCRIPTS_HOME/adoafmctl.sh
    3. Perform any SOA specific action like generate.
    SOA specific log would be created at : $INST_TOP/soa/SOALog.log
    This file should show you the exact error happening.
    Thanks,
    Sai.M

  • Unable to invoke endpoint uri : 415 unsupported media type

    Hi all,
    I'm trying to invoke a HTTP Binding with POST where the endpoint is a RESTFUL webservice that takes in an XML message and sends an email.
    I'm using JDeveloper 11g to create the composite where it'll have an exposed HTTP Binding POST and an external reference which is also a HTTP Binding POST that calls a RESTFUL Webservice endpoint . In the BPEL process, i'm just doing a simple receive from the exposed HTTP Binding and then using the input to invoke the External References HTTP Binding.  However, I'm always getting an error at the invoke phase :
    <part  name="summary">
    <summary>oracle.fabric.common.FabricInvocationException: Unable to invoke endpoint URI "http://xxxxxxxxx/xxxx/xxxx/sendEmail" successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 415 Unsupported Media Type from url http://xxxxxxxxx/xxxx/xxxx/sendEmail</summary> 
    </part>
    <part  name="detail">
    <detail>Unable to invoke endpoint URI "http://xxxxxxxxx/xxxx/xxxx/sendEmail" successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 415 Unsupported Media Type from url http://xxxxxxxxx/xxxx/xxxx/sendEmail</detail> 
    </part>
    <part  name="code">
    <code>415</code> 
    </part>
    I'm guessing that it's because my payload is lacking the HTTP header content-type : application/xml. The webservice endpoint itself is working fine as I'm able to test it through other means such as POSTMan and soapUI.
    Is there a way to set the HTTP header content-type of the payload? Is there anyway to check or verify? Any help would be greatly appreciated.
    Regards,
    Mark

    Hi all,
    I'm trying to invoke a HTTP Binding with POST where the endpoint is a RESTFUL webservice that takes in an XML message and sends an email.
    I'm using JDeveloper 11g to create the composite where it'll have an exposed HTTP Binding POST and an external reference which is also a HTTP Binding POST that calls a RESTFUL Webservice endpoint . In the BPEL process, i'm just doing a simple receive from the exposed HTTP Binding and then using the input to invoke the External References HTTP Binding.  However, I'm always getting an error at the invoke phase :
    <part  name="summary">
    <summary>oracle.fabric.common.FabricInvocationException: Unable to invoke endpoint URI "http://xxxxxxxxx/xxxx/xxxx/sendEmail" successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 415 Unsupported Media Type from url http://xxxxxxxxx/xxxx/xxxx/sendEmail</summary> 
    </part>
    <part  name="detail">
    <detail>Unable to invoke endpoint URI "http://xxxxxxxxx/xxxx/xxxx/sendEmail" successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 415 Unsupported Media Type from url http://xxxxxxxxx/xxxx/xxxx/sendEmail</detail> 
    </part>
    <part  name="code">
    <code>415</code> 
    </part>
    I'm guessing that it's because my payload is lacking the HTTP header content-type : application/xml. The webservice endpoint itself is working fine as I'm able to test it through other means such as POSTMan and soapUI.
    Is there a way to set the HTTP header content-type of the payload? Is there anyway to check or verify? Any help would be greatly appreciated.
    Regards,
    Mark

  • Problems Invoking Ebiz Webservice from 11g FMW Serve

    Hi All,
    We need to invoke a Webservice deployed on Ebiz host from 11g FMW Server in our PIP.
    I created a simple BPEL process to invoke Ebiz Webservice and deployed the bpel process on 11g Server.
    While executing the bpel process Iam getting Null Pointer Exception from Ebiz Webservice.
    After checking the logs of Ebiz it was understood that SOA Provider is unable to recognize wsa header tags in the soap message used to invoke Ebiz Webservice.
    Error message from logs is "An error occurred for port: AppsWSProvider: oracle.webservices.provider.ProviderException: java.lang.NullPointerException."
    Unexpected header encountered: NameImpl: [localName: To, prefix:wsa, uri:http://www.w3.org/2005/08/addressing]
    oracle.apps.fnd.wf.ws.common.WSException: InvalidHeader: Unexpected header encountered.
    at oracle.apps.fnd.wf.ws.common.SOAPUtils.extractHeaders(SOAPUtils.java:92)
    at oracle.apps.fnd.wf.ws.server.AppsWSProvider.processMessage(AppsWSProvider.java:470)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:958)
    at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:396)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:385)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:481)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
    at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
    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:734)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    11g FMW Server is automatically adding these WSA Header tags in the soap message to invoke Webservice deployed on Ebiz host.
    Have anyone encountered similar kind of issue?
    Regards,
    Sunitha.M

    Hi
    Hope below URL will resolve your issue
    URL: https://cn.forums.oracle.com/forums/thread.jspa?threadID=1099613
    Regards,
    Phanikanth

  • Re: Problems Invoking Ebiz Webservice from 11g FMW Server

    Hi All,
    We need to invoke a Webservice deployed on Ebiz host from 11g FMW Server in our PIP.
    I created a simple BPEL process to invoke Ebiz Webservice and deployed the bpel process on 11g Server.
    While executing the bpel process Iam getting Null Pointer Exception from Ebiz Webservice.
    After checking the logs of Ebiz it was understood that SOA Provider is unable to recognize wsa header tags in the soap message used to invoke Ebiz Webservice.
    Error message from logs is "An error occurred for port: AppsWSProvider: oracle.webservices.provider.ProviderException: java.lang.NullPointerException."
    Unexpected header encountered: NameImpl: [localName: To, prefix:wsa, uri:http://www.w3.org/2005/08/addressing]
    oracle.apps.fnd.wf.ws.common.WSException: InvalidHeader: Unexpected header encountered.
    at oracle.apps.fnd.wf.ws.common.SOAPUtils.extractHeaders(SOAPUtils.java:92)
    at oracle.apps.fnd.wf.ws.server.AppsWSProvider.processMessage(AppsWSProvider.java:470)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:958)
    at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:396)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:385)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:481)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
    at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
    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:734)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    11g FMW Server is automatically adding these WSA Header tags in the soap message to invoke Webservice deployed on Ebiz host.
    Have anyone encountered similar kind of issue?
    Regards,
    Sunitha.M

    I'm using Weblogic 7.0.
    You must use two jars:
    - webserviceclient+ssl.jar, which you can find somewhere in the
    weblogic distribution, and
    - the jar containing the proxy classes, which is created by the
    tool jwsCompile when you compile the webservice (edited with Workshop). For this
    latter you may follow the instructions in
    http://e-docs.bea.com/workshop/docs70/help/index.html#guide/
    tutorial/tutFirstWebServiceIntro.html at step 8
    Still, if you happen to understand what my problem is, hints for
    me are really welcome.

  • Unable to invoke a EJB from a BPEL process

    I am unable to invoke a EJB from a BPEL process. Whenever I try to test it from the oracle EM, I get the below exception. I am using WebLogic 10.3.3, SOA suite 11.1.1.3 and JDev 11.1.1.3 .
    This is what I see from the EM....
    Non Recoverable System Fault :
    javaInterface attribute for the binding is missing or the inteface class is not available.
    Below is a part of the stack trace from the soa server log…
    Caused By: oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: com.abc.GreetingEJBBean
    Dependent class: oracle.integration.platform.blocks.ejb.SDOEjbReferenceD
    elegateImpl
    Loader: sun.misc.Launcher$AppClassLoader@20929799
    Code-Source: /C:/Oracle_latest/Middleware/home_11gR1/Oracle_SOA1/soa
    /modules/oracle.soa.fabric_11.1.1/fabric-runtime.jar
    Configuration: /C:/Oracle_latest/Middleware/home_11gR1/Oracle_SOA1/soa
    /modules/oracle.soa.fabric_11.1.1/fabric-runtime.jar
    Piece of xml from the composite.xml
    <reference name="GreetingService"
    ui:wsdlLocation="http://123.45.218.140:7001/GreetingEJBBean/GreetingEJBBeanService?wsdl">
    <interface.wsdl interface="http://abc.com/#wsdl.interface(GreetingEJBBean)" />
    <binding.ejb uri="GreetingEJB-GreetingEJB-GreetingEJB"
    javaInterface="com.abc.GreetingEJB"/>
    </reference>
    Looks like its not able to find the javaInterface mentioned above.
    I have a simple EJB with one business method and a very simple BPEL process.
    @Stateless(name = "GreetingEJB", mappedName = "GreetingEJB-GreetingEJB-GreetingEJB")
    @WebService
    public class GreetingEJBBean implements GreetingEJB {
    public GreetingEJBBean() {
    public String greetUser(String name){
    return ("Hello " + name);
    Any help would be greatly appreciated.

    I haven't tried from a BPEL process, but I have had success (as in Lucas's blogs) of using services and references as EJB Java Interface. This is with EJB java interfaces solely of base types (i.e. String foo(String s)).
    At high level here's what I have noted so far:
    1. Per Lucas's blog, @javaInterface is not being added to the ejb.binding automatically but it's not clear to me when this is and is not required given that interface.java is specified for the reference or service. Would interface.java and @javaInterface ever be different? I've been adding @javaInterface manually anyways since Lucas is a smart guy and I'd rather avoid errors. :-)
    2. Dropping an EJB interface jar in SCA-INF/lib works, but I've had the problem that the JDeveloper SOA Plugin doesn't see those classes until I stop and restart JDeveloper. Until then, I'm confronted with the java->wsdl mapping error. I was sort of primed to figure this one out since I ran into similar issues with SOA SpringBean components.
    3. Dropping EJB interface source in SCA-INF/src is more reliable, because then I can build the project (i.e. create SCA-INF/classes) and the JDeveloper SOA Plugin seems to resolve these brand new classes immediately.
    4. I've tried to invoke an EJB java-interface reference with a slightly complicated java interface (a class parameter with some fields, one of which is an array of another class). The auto-generated WSDL doesn't look exactly right to me (but I'm new to JAXB). Mediator maps to it just fine and the project compiles and deploys normally but fails at runtime. I have not researched in depth. It's not clear to me from the documentation and release notes whether I should expect for it to work, or whether I should expect to have to create my own JAXB mapping. If the latter, I really need a good example!

  • Soap layer error when trying to invoke a webservice.

    Hi,
    I am new to Weblogic.
    I have an issue while invoking the webservice of a webmethods application.
    I am invoking that webservice using rpc call (call.invoke() method of javax.xml.rpc api).
    Please find error description occured in the Server logs of weblogic server.
    Exception while invoking the service call Message is :failed to invoke operation '__incidentReqInput' due to an error in the soap layer(SAAJ);
    nested exception is: Message[Found SOAPElement
    [<m:payload  xmlns:m="http://www.abc.com/gs/solutions/message"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:nil="true">
    </m:payload>]. But was not able to find a Part that is registered with this Message which corresponds to this SOAPElement. Th
    e name of the element should be one of these[__bea_noname_result]]StackTrace[
    javax.xml.soap.SOAPException: Found SOAPElement [<m:payload xmlns:m="http://www.abc.com/gs/solutions/message"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:nil="true">
    </m:payload>]. But was not able to find a Part that is registered with this Message which corresponds to this SOAPElement. Th
    e name of the element should be one of these[__bea_noname_result]
    at weblogic.webservice.core.DefaultMessage.toJava(DefaultMessage.java:478)
    at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:325)
    at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:566)
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:419)
    at com.gs.customerbonding.hub.httpHandler.WSResponseSenderImpl.sendResponse(WSResponseSenderImpl.jcs:370)
    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:324)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:371)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:423)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:396)
    at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:381)
    at $Proxy106.sendResponse(Unknown Source)
    Any help is highly appreciated.
    Regards
    Nag

    I am not using any wsdl file. I'm trying to invoke a webservice that is at client's end (using RPC call). Mine is a generic server program. When i'm calling other clients using the same method, im not facing any issues. Only for 1 particular end-point i'm getting the above exception. Any suggestions?

  • WLS9.2 to WL10.3.2 service fails: Unable to invoke Annotation processoror

    Hello,
    We have a spring based webservice which is currently deployed on an OSB 2.6.1 cluster and is working there without problems.
    Since we are upgrading to OSB 10.3.1 and we want to divide OSB functionality from supporting webservices, we are trying to move the webservice to a WLS 10.3.2 cluster.
    We removed the WLHttpTransport annotation and rebuild the complete webservice (using existing ant scripts) against the new WLS.
    When we try to deploy the application we get the error at the end of this message. I've searched the internet, but have not yet been able to find a cause. We have already deployed other webservices without problems. These webservices do not use spring, so I assume springs annotations are related to the problem. My main problem is that I do not have much spring knowledge :(. (The code has been build by a contractor which is no longer available).
    I have however been able to deploy another spring application (after adding jstl.jar) in WLS 10.3.2 without problems.
    Does anybody have a clue why this is failing ?
    Caused by: weblogic.utils.compiler.ToolFailureException: Unable to invoke Annotation processoror
    at weblogic.application.compiler.FlowDriver.handleStateChangeException(FlowDriver.java:53)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)
    at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
    at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:157)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.application.compiler.AppMerge.merge(AppMerge.java:169)
    ... 95 more
    Caused by: java.lang.AssertionError: Unable to invoke Annotation processoror
    at weblogic.application.compiler.WSEEModuleHelper.processAnnotations(WSEEModuleHelper.java:228)
    at weblogic.application.compiler.WSEEModuleHelper.processAnnotationsWithServiceLinks(WSEEModuleHelper.java:172)
    at weblogic.application.compiler.WSEEModuleHelper.processAnnotations(WSEEModuleHelper.java:146)
    at weblogic.application.compiler.WARModule.processAnnotations(WARModule.java:461)
    at weblogic.application.compiler.EARModule.processAnnotations(EARModule.java:227)
    at weblogic.application.compiler.WARModule.merge(WARModule.java:492)
    at weblogic.application.compiler.flow.MergeModuleFlow.compile(MergeModuleFlow.java:23)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
    at weblogic.application.compiler.ReadOnlyEarMerger.merge(ReadOnlyEarMerger.java:49)
    at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:88)
    at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:41)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    ... 100 more
    >

    We had the original external developer help us solve the problem. If I remember correctly the cause lay in autogenerating the database schedule for some Spring related stuff (I do not have real spring knowledge). Once generation for this was disabled, so it assumed the DB to be correct, it worked.
    Regards,
    Wim Veldhuis
    PharmaPartners BV

  • Invoking a webservice from a servlet

    Hi,
    I am able to invoke a webservice using a Standalone java program. I am using the below command to invoke the web service.
    java com.javasrc.webservices.age.AgeServiceClient -lhttp://localhost:8080/axis/services/AgeService "Siva" 33
    Now if I write the whole code in a method I am not able to retreive the values into the servlet. Can any please suggest me how to invoke a web service from a servlet/JSP. Please tell if there any sites for this.
    Here is my Client code:
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import org.apache.axis.encoding.XMLType;
    import org.apache.axis.utils.Options;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.ParameterMode;
    public class AgeServiceClient
    public static void main(String [] args)
    try
         Options options = new Options(args);
         String endpointURL = options.getURL();
         String name;
         Integer age;
         args = options.getRemainingArgs();
         if ((args == null) || (args.length < 2))
              name = "NoName";
              age = new Integer( 0 );
         else
              name = args[ 0 ];
              age = new Integer( args[ 1 ] );
              Service service = new Service();
              Call call = (Call) service.createCall();
              call.setTargetEndpointAddress( new java.net.URL(endpointURL) );
              call.setOperationName( new QName("http://age.webservices.javasrc.com", "age") );
              call.addParameter( "arg1", XMLType.XSD_STRING,ParameterMode.IN);
              call.addParameter( "arg2", XMLType.XSD_INT, ParameterMode.IN);
              call.setReturnType( org.apache.axis.encoding.XMLType.XSD_STRING);
              String ret = (String) call.invoke( new Object[]{name,age});
              System.out.println("Age result : " + ret);
         catch (Exception e)
              System.err.println(e.toString());
    Thanks in advance
    Prashanth

    This is very simple maybe you don't have servlet experience.
    Simply you create a servlet and put your client main method in another one (not static method) + importing jar of your client and other associated jar files in WEB_INF\lib folder of servlet.
    check for helloworld servlet then you can implement servlet for your client.

  • Getting issue while invoking a webservice.

    Hi All
    when i invoke a webservice which is located remotley using httpclient post method. I am getting the following error
    <faultcode>soapenv:Server.userException</faultcode>
    <faultstring>org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.</faultstring>
    Can anyone please help me out how to get out this exception. tried googling on this exception, but there is no luck.
    import java.io.File;
    import java.io.FileInputStream;
    import org.apache.commons.httpclient.HttpClient;
    import org.apache.commons.httpclient.methods.InputStreamRequestEntity;
    import org.apache.commons.httpclient.methods.PostMethod;
    public class PostXML {
    public static void main(String[] args) throws Exception {
    // Get target URL
    String strURL = "http://localhost/services/CmdLineInterface?wsdl";
    // Get file to be posted
    String strXMLFilename = "C:\\post.xml";
    File input = new File(strXMLFilename);
    // Prepare HTTP post
    PostMethod post = new PostMethod(strURL);
    // Request content will be retrieved directly
    // from the input stream
    // Per default, the request content needs to be buffered
    // in order to determine its length.
    // Request body buffering can be avoided when
    // content length is explicitly specified
    post.setRequestEntity(new InputStreamRequestEntity(
    new FileInputStream(input), input.length()));
    // Specify content type and encoding
    // If content encoding is not explicitly specified
    // ISO-8859-1 is assumed
    post.setRequestHeader(
    "Content-type", "text/xml; charset=ISO-8859-1");
    // post.set
    post.setRequestHeader("SOAPAction", "");
    // Get HTTP client
    HttpClient httpclient = new HttpClient();
    // Execute request
    try {
    int result = httpclient.executeMethod(post);
    // Display status code
    System.out.println("Response status code: " + result);
    // Display response
    System.out.println("Response body: ");
    System.out.println(post.getResponseBodyAsString());
    }catch(Exception e)
         e.printStackTrace();
    }finally {
    // Release current connection to the connection pool
    // once you are done
    post.releaseConnection();
    the above is the code i am using for calling the webservice.
    Anyone can you please help me on this.
    Regards
    Rakesh

    Hi
    Thank you very much for replying back..
    Here is my WSDL file i am using
    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <wsdl:definitions xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:test" xmlns:intf="urn:test" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:test">
    <!--
    WSDL created by Apache Axis version: 1.4 Built on Apr 22, 2006 (06:55:48 PDT)
    -->
    <wsdl:types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="urn:test">
    <element name="in0" type="xsd:string"/>
    <element name="processCmdLineRequestReturn" type="xsd:string"/>
    </schema>
    </wsdl:types>
    <wsdl:message name="processCmdLineRequestResponse">
    <wsdl:part element="intf:processCmdLineRequestReturn" name="processCmdLineRequestReturn"/>
    </wsdl:message>
    <wsdl:message name="processCmdLineRequestRequest">
    <wsdl:part element="intf:in0" name="in0"/>
    </wsdl:message>
    <wsdl:portType name="CmdLineInterface">
    <wsdl:operation name="processCmdLineRequest" parameterOrder="in0">
    <wsdl:input message="intf:processCmdLineRequestRequest" name="processCmdLineRequestRequest"/>
    <wsdl:output message="intf:processCmdLineRequestResponse" name="processCmdLineRequestResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="CmdLineInterfaceSoapBinding" type="intf:CmdLineInterface">
    <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="processCmdLineRequest">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="processCmdLineRequestRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="processCmdLineRequestResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="CmdLineInterfaceService">
    <wsdl:port binding="intf:CmdLineInterfaceSoapBinding" name="CmdLineInterface">
    <wsdlsoap:address location="http://localhost:8080/test/services/CmdLineInterface"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Regards
    Rakesh

  • Invoking a webservice using WSIF Binding

    Hi All,
    I have few queries regarding usage of WSIF Binding in BPEL
    My understanding was it is useful for calling Java Classes from BPEL Process.
    Can I use WSIF Binding for invoking the webservice ?
    Or the use of WSIF Binding is limited to invoking Java classes.
    If we can invoke web service , Can you please let me know how to do it?
    you can mail your replies to [email protected]
    Any help will be immensely appreciated..
    Regards,
    Bhanu

    First of all thanks to Jens and clemens.
    From both of your replies, i learnt that we can call webservice from BPEL process using WSIF binding .
    Can you provide me a bpel sample where we're using wsif binding for invoking web service?
    I have one more doubt:
    "WSIF java binding means, which was used to call java classes. WSIF soap binding used to call web services"
    Is my understanding correct?
    Can you explain a bit on WSIF Java binding?
    Regards,
    Bhanu

Maybe you are looking for

  • Mapping files for pre-defined Encodings?

    Hi there, Does anybody know if and where it is possible to download the PDF pre-defined encodings (StandardEncoding, MacRomanEncoding, WinAnsiEncoding, PdfDocEncoding and MacExpertEncoding) as any processable file? I found this: http://www.unicode.or

  • Opening MPEG 4s in FCP

    I want to bring a movie I downloaded from the iTunes store in FCP. I opened it in Quicktime, but it won't let me export it into a different file type, and FCP won't let me import the file. Is there any way to somehow get it into FCP?

  • Dial-up modem and power cord wont coexist

    I cant use my internal dial-up modem, and stay connected, when I have my power cord connected. Is there anything I can do, or is it simply bad design??

  • I can not open the account settings, I can not open the account settings

    ارجوا من احد الأخوة مساعدتي اواجة مشكلة في حسب الخاص بي لا أستطيع فتحة كيف العمل وايش الحل

  • Oracle EAM Work Request Sequential Approval process

    Can anyone confirm Oracle has standard functionality of sequentinal apprvoal process for eAM Work request. Our current Oracle eAM project has requirement of multiple approver for Work request. Multiple approver means sequential approval process. Afte