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

Similar Messages

  • Exception occured while invoking the webservice operation

    I have deployed a Webservice that consist of a DB Adapter that fetches data from Master and detail Tabels from DB. Now i insert this data to some other data base having same types of table there. The below problem is only come when i try to insert data from one DB to other but when i only show output of my webservice it works fine and shows the master and details data. Mater table have approx 38 rows while detail have approx 500 rows. Kindly help me to resolve this issue..
    The selected operation process could not be invoked.
    An exception occured while invoking the webservice operation. Please see logs for more details.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
    BEA1-12097AA8772D3C8BB607
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    ; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
    BEA1-12097AA8772D3C8BB607
    Thanks
    Nasir

    I have deployed a Webservice that consist of a DB Adapter that fetches data from Master and detail Tabels from DB. Now i insert this data to some other data base having same types of table there. The below problem is only come when i try to insert data from one DB to other but when i only show output of my webservice it works fine and shows the master and details data. Mater table have approx 38 rows while detail have approx 500 rows. Kindly help me to resolve this issue..
    The selected operation process could not be invoked.
    An exception occured while invoking the webservice operation. Please see logs for more details.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
    BEA1-12097AA8772D3C8BB607
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    ; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
    BEA1-12097AA8772D3C8BB607
    Thanks
    Nasir

  • Regarding errors in client Application to invoke the webservices

    hi,
    i am using weblogic workshop to develop webservices on weblogic server8.1
    i develop webservice and wsdl file also
    but when i am writing dynamic client application to invoke the webservice( particular method)
    then it gives error like this
    javax.xml.rpc.JAXRPCException: failed to invoke operation 'requestContactList' due to an error in the soap layer (SAAJ); nested exception is: Message[ failed to serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://www.openuri.org/']:requestContactList}]StackTrace[
    javax.xml.soap.SOAPException: failed to serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://www.openuri.org/']:requestContactList}
         at weblogic.webservice.core.DefaultPart.invokeSerializer(DefaultPart.java:332)
         at weblogic.webservice.core.DefaultPart.toXML(DefaultPart.java:297)
         at weblogic.webservice.core.DefaultMessage.toXML(DefaultMessage.java:645)
         at weblogic.webservice.core.ClientDispatcher.send(ClientDispatcher.java:206)
         at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:143)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:471)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
         at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:566)
         at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:419)
         at test.Client.main(Client.java:57)
    Caused by: weblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://www.openuri.org/']:requestContactList}
         at weblogic.xml.schema.binding.RuntimeUtils.lookup_serializer(RuntimeUtils.java:151)
         at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(RuntimeUtils.java:187)
         at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(RuntimeUtils.java:174)
         at weblogic.webservice.core.DefaultPart.invokeSerializer(DefaultPart.java:328)
         ... 9 more
         at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:586)
         at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:419)
         at test.Client.main(Client.java:57)
    Debugging Finished
    Exception in thread "main"
    my client program is
    import java.net.URL;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.Call;
    import javax.xml.rpc.ParameterMode;
    import javax.xml.namespace.QName;
    * This class demonstrates a java client invoking a WebService.
    * @author Copyright (c) 2005 by BEA Systems, Inc. All Rights Reserved.
    public class Client {
    public static void main(String[] args) throws Exception {
    // Setup the global JAXM message factory
    System.setProperty("javax.xml.soap.MessageFactory",
    "weblogic.webservice.core.soap.MessageFactoryImpl");
    // Setup the global JAX-RPC service factory
    System.setProperty( "javax.xml.rpc.ServiceFactory",
    "weblogic.webservice.core.rpc.ServiceFactoryImpl");
    // create service factory
    ServiceFactory factory = ServiceFactory.newInstance();
    // define qnames
    String targetNamespace =
    "http://www.openuri.org/"
    + "wsdl/http://192.168.2.98:7001/ContactListWeb/ContactListJWS/ContactTest.jws";
    QName serviceName =
    new QName(targetNamespace,
    "ContactTest");
    QName portName =
    new QName(targetNamespace,
    "ContactTestSoap");
    QName operationName = new QName("targetNamespace",
    "requestContactList");
    URL wsdlLocation =
    new URL("http://192.168.2.98:7001/ContactListWeb/ContactListJWS/ContactTest.jws?WSDL");
    // create service
    Service service = factory.createService(wsdlLocation, serviceName);
    // create call
    Call call = service.createCall(portName, operationName);
    // invoke the remote web service
    String result =(String)call.invoke(new Object[] {
    "BEAS"
    System.out.println("\n");
    System.out.println("This example shows how to create a dynamic client application that invokes a non-WebLogic Web service.");
    System.out.println("The webservice used was: http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl");
    System.out.println("The quote for BEAS is: ");
    System.out.println(result);
    }

    Hi I am also facing the issue. If any one got the solutoin for this please post it
    Thanks
    Kaal

  • Calling Web Service From Oracle PL/SQL do not invoke the webservice in SOA Server

    Hi ,
    Trying to call the webservice from oralce pl/sql Function
    created a Function
    Not able to invoke the web service of SOA Server .
    CREATE OR REPLACE FUNCTION HelloWorld_WebServices(S_STRING Varchar2) RETURN VARCHAR2 AS 
        service_ sys.utl_dbws.SERVICE; 
        call_ sys.utl_dbws.CALL; 
        service_qname sys.utl_dbws.QNAME; 
        port_qname sys.utl_dbws.QNAME; 
        response sys.XMLTYPE; 
        request sys.XMLTYPE; 
        BEGIN 
         sys.utl_dbws.set_http_proxy('Host name : Port'); 
          service_qname := sys.utl_dbws.to_qname('ns1', 'process'); 
           service_      := sys.utl_dbws.create_service(service_qname); 
           call_         := sys.utl_dbws.create_call(service_); 
            sys.utl_dbws.set_target_endpoint_address(call_, 'http:/host name : port/soa-infra/services/OFS/HelloWorld/helloworld_client_ep'); 
            sys.utl_dbws.set_property( call_, 'OPERATION_STYLE', 'process'); 
            request       := sys.XMLTYPE('<ns1:process xmlns:ns1="http://xmlns.oracle.com/OFSOrderServices/HelloWorld/HelloWorld"><ns1:input></ns1:input></ns1:process>'); 
         response      := sys.utl_dbws.invoke(call_, request); 
         return response.extract('//HelloWorld/child::text()', 'http://xmlns.oracle.com/OFSOrderServices/HelloWorld/HelloWorld').getstringval(); 
         DBMS_OUTPUT.PUT_LINE ('Values of OutputsVariables8');
    --  Return 'S';
       END;
    Execute----the below code:
      Select HelloWorld_WebServices('Hi') from dual;
    Error:
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.NoClassDefFoundError
    ORA-06512: at "SYS.UTL_DBWS", line 403
    ORA-06512: at "SYS.UTL_DBWS", line 400
    ORA-06512: at "APPS.HELLOWORLD_WEBSERVICES", line 74
    29532. 00000 -  "Java call terminated by uncaught Java exception: %s"
    *Cause:    A Java exception or error was signaled and could not be
               resolved by the Java code.
    *Action:   Modify Java code, if this behavior is not intended.

    Well, you should first test if your webservice is reachable with a simple WS - Client or a Browser - Plugin, then verify the respones of the web service and after that you can take further investigations on your problem domain. The error - message refers to a line in your function, obviously, but I can't see which line and because there is more than one call to sys.utl_dbws I don't see at what point the script fails. NULL - Pointer - Execptions usually indicate that a method was invoked on a variable which should contain an object reference but is NULL.

  • 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

  • Issue in invoking the BPEL process from Oracle using a SOAP Request

    Hi,
    We are facing an issue while invoking a deployed Bpel Process from Oracle Applications 11.5.10..
    Using a concurrent program( Unix / Host program ) we are passing the input variables required for the Bpel process in the ProcessRequest tags and forming this as a SOAP message payload.
    Then trying to invoke the deployed bpel process using the end point location using HTTP POST..but nothing is happening..
    The bpel process is not getting invoked when i look at the Console and also checked for the Manual Recovery queue..it's not stuck there as well..
    Have set the Transfer Time Out to 25 minutes using UTL_HTTP.SET_TRANSFER_TIMEOUT(1500);
    Could someone please help us as soon as possible with this ..as this is critical and we are stuck at the moment.
    The logic is mentioned below :
    UTL_HTTP.SET_TRANSFER_TIMEOUT(1500);
    UTL_HTTP.SET_DETAILED_EXCP_SUPPORT(ENABLE=>TRUE);     
    soap_request:='<?xml version="1.0" encoding="UTF-8"?>'||
    '<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">'||
    '<soap:Header/>'||
    '<soap:Body xmlns:ns1="http://xmlns.oracle.com/bpelprocessname">'||
    '<ns1:bpelprocessnameProcessRequest>'||
    '<ns1:CSONum>'||order_number||'</ns1:CSONum>'||
    '<ns1:CreationDate>'||c_chr_cso_last_run_dte||'</ns1:CreationDate>'||
    '</ns1:bpelprocessnameProcessRequest>'||
    '</soap:Body>'||
    '</soap:Envelope>';          
    http_req:= utl_http.begin_request
    ('http://bpel_server ip:port/orabpel/domain_name/bpelprocessname/1.0' , 'POST', 'HTTP/1.1'
    utl_http.set_header(http_req, 'Content-Type', 'text/xml') ;
    utl_http.set_header(http_req, 'Content-Length', length(soap_request)) ;
    utl_http.set_header(http_req, 'SOAPAction', 'process');
    utl_http.write_text(http_req, soap_request) ;
    http_resp:= utl_http.get_response(http_req) ;
    utl_http.read_text(http_resp, soap_respond) ;
    utl_http.end_response(http_resp) ;
    dbms_output.put_line(soap_respond);
    Thanks

    check if your soap envelope is correct,check my below procedure which is working fine for me
    procedure xxxxx_BPEL_SCHEDULER
    IS
    soap_request varchar2(30000);
    soap_respond varchar2(30000);
    http_req utl_http.req;
    http_resp utl_http.resp;
    launch_url varchar2(240) ;
    begin
    soap_request:='<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:add="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:star="http://xmlns.oracle.com/xxxxx_BPEL_SCHEDULER">
    <soapenv:Header>
    <add:MessageID>?</add:MessageID>
    <add:ReplyTo>
    <add:Address>?</add:Address>
    <!--Optional:-->
    <add:ReferenceProperties>
    <!--You may enter ANY elements at this point-->
    </add:ReferenceProperties>
    <!--Optional:-->
    <add:PortType>?</add:PortType>
    <!--Optional:-->
    <add:ServiceName PortName="?">?</add:ServiceName>
    <!--You may enter ANY elements at this point-->
    </add:ReplyTo>
    </soapenv:Header>
    <soapenv:Body>
    <star:STARS_BPEL_SCHEDULERProcessRequest>
    <star:SCHEDULER_PARAM1>?</star:SCHEDULER_PARAM1>
    <star:SCHEDULER_PARAM2>?</star:SCHEDULER_PARAM2>
    <star:SCHEDULER_PARAM3>?</star:SCHEDULER_PARAM3>
    <star:SCHEDULER_PARAM4>?</star:SCHEDULER_PARAM4>
    <star:SCHEDULER_PARAM5>?</star:SCHEDULER_PARAM5>
    </star:STARS_BPEL_SCHEDULERProcessRequest>
    </soapenv:Body>
    </soapenv:Envelope>';
    http_req:= utl_http.begin_request('http://xxxxxx.com:16000/orabpel/default/xxxx_BPEL_SCHEDULER/1.0 '
    ,'POST',
    'HTTP/1.1'
    utl_http.set_header(http_req, 'Content-Type', 'text/xml') ;
    utl_http.set_header(http_req, 'Content-Length', length(soap_request)) ;
    utl_http.set_header(http_req, 'SOAPAction', 'initiate');
    utl_http.write_text(http_req, soap_request) ;
    http_resp:= utl_http.get_response(http_req) ;
    utl_http.read_text(http_resp, soap_respond) ;
    utl_http.end_response(http_resp) ;
    dbms_output.put_line(soap_respond);
    END;

  • Registry issue when invoking the save_business operation

    When, I invoke the save_business operation on the UDDI_Publication_PortType I get the stack trace below. This really puzzles me because I've sent in a few different messages that validate against the uddi_v3.xsd.
    Anybody know how to determine which element or attribute it's choking on?
    org.idoox.xmlrpc.MessageProcessingException: org.systinet.uddi.InvalidParameterException: Length is too small. The minimal allowed length is 1.
    at org.systinet.uddi.client.v3.serialization.Save_businessDeserializer.deserialize (Save_businessDeserializer.java:77)
    at org.systinet.uddi.client.v3.serialization.Save_businessDeserializer.deserialize(Save_businessDeserializer.java:187)
    at com.idoox.wasp.serialization.xml.XMLBasicConstructDeserializer.deserialize (XMLBasicConstructDeserializer.java:168)
    at com.idoox.wasp.serialization.xml.XMLSimpleDeserializer.deserialize(XMLSimpleDeserializer.java :80)
    at com.idoox.wasp.serialization.SerializationHelper.deserializeElement( SerializationHelper.java:437)
    at com.idoox.wasp.serialization.WaspSerializationHelper.deserialize(WaspSerializationHelper.java:220)
    at com.systinet.wasp.server.adaptor.JavaInvoker.fillCallParamsXml(JavaInvoker.java :1223)
    at com.systinet.wasp.server.adaptor.JavaInvoker.beginInvoke(JavaInvoker.java:492)
    at com.idoox.wasp.server.adaptor.JavaAdaptorImpl.beginInvoke (JavaAdaptorImpl.java:63)
    at com.idoox.wasp.server.AdaptorTemplate.javaInvocation (AdaptorTemplate.java:514)
    at com.idoox.wasp.server.AdaptorTemplate.doDispatch(AdaptorTemplate.java:395)
    at com.idoox.wasp.server.AdaptorTemplate.dispatch (AdaptorTemplate.java:328)
    at com.idoox.wasp.server.ServiceConnector.dispatch (ServiceConnector.java:393)
    at com.systinet.wasp.ServiceManagerImpl.dispatchRequest(ServiceManagerImpl.java:638)
    at com.systinet.wasp.ServiceManagerImpl.dispatch (ServiceManagerImpl.java:473)
    at com.systinet.wasp.ServiceManagerImpl$DispatcherConnHandler.handlePost (ServiceManagerImpl.java:2594)
    at com.systinet.transport.servlet.server.Servlet.doPost(Unknown Source)
    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:595)
    Caused by: org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException : org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException : org.idoox.xmlrpc.MessageProcessingException: org.systinet.uddi.InvalidParameterException: Length is too small. The minimal allowed length is 1.
    at org.systinet.uddi.client.v3.serialization.Save_businessDeserializer.deserialize (Save_businessDeserializer.java:156)
    at org.systinet.uddi.client.v3.serialization.Save_businessDeserializer.deserialize(Save_businessDeserializer.java:67)
    ... 31 more
    Caused by: org.idoox.xmlrpc.MessageProcessingException : org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException: org.systinet.uddi.InvalidParameterException : Length is too small. The minimal allowed length is 1.
    at org.systinet.uddi.client.v3.serialization.BusinessEntityDeserializer.deserialize(BusinessEntityDeserializer.java:77)
    at org.systinet.uddi.client.v3.serialization.Save_businessDeserializer.deserialize (Save_businessDeserializer.java:131)
    ... 32 more
    Caused by: org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException: org.systinet.uddi.InvalidParameterException : Length is too small. The minimal allowed length is 1.
    at org.systinet.uddi.client.v3.serialization.BusinessEntityDeserializer.deserialize(BusinessEntityDeserializer.java:319)
    at org.systinet.uddi.client.v3.serialization.BusinessEntityDeserializer.deserialize (BusinessEntityDeserializer.java :67)
    ... 33 more
    Caused by: org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException: org.systinet.uddi.InvalidParameterException: Length is too small. The minimal allowed length is 1.
    at org.systinet.uddi.client.v3.serialization.DescriptionDeserializer.deserialize(DescriptionDeserializer.java:77)
    at org.systinet.uddi.client.v3.serialization.BusinessEntityDeserializer.deserialize(BusinessEntityDeserializer.java :183)
    ... 34 more
    Caused by: org.idoox.xmlrpc.MessageProcessingException: org.systinet.uddi.InvalidParameterException: Length is too small. The minimal allowed length is 1.
    at org.systinet.uddi.client.v3.serialization.DescriptionDeserializer.deserialize (DescriptionDeserializer.java:141)
    at org.systinet.uddi.client.v3.serialization.DescriptionDeserializer.deserialize(DescriptionDeserializer.java:67)
    ... 35 more
    Caused by: org.systinet.uddi.InvalidParameterException : Length is too small. The minimal allowed length is 1.
    at org.systinet.uddi.client.v3.struct.Description.setValue(Description.java:84)
    at org.systinet.uddi.client.v3.serialization.DescriptionDeserializer.deserialize (DescriptionDeserializer.java:127)
    ... 36 more

    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

  • Problem when invoke the  Webservice WSDL

    Hi ,
    Use case :
    I have two applications (Webservices) A and B.They have their own WSDL urls.
    From A ---> request format at A ---->Transform that into B request format----->forward that(request) to B request --- > get B response -----> tranfrom that into A response format ----> A response
    First part of usecase:
    I need to send the request from A to B.But both A and B has different request and response schemas(they will have similar kind of fileds but their naming convention will be different.That is why transformation is required in jdeveloper)
    I have developed a composite which has one BPEL process as component.
    I am placing the A webservice as "exposed Service" swimlane and B webservice in 'external reference'.BPEL process is in component swimlane.
    I deployed that Composite which has above BPEL Process(Takes input from one wsdl url and transforms that request format to (another) webservice request format as explained above) which tries to invoke(send request to) the another webservice Wsdl.
    When I test that composite (That WSDL url),I am getting service invokation exception.
    Please see the below exception:
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) 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 com.sun.el.parser.AstValue.invoke(Unknown Source) at com.sun.el.MethodExpressionImpl.invoke(Unknown Source) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:765) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:305) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:176) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:260) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:992) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:729) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:569) ... 79 more Caused by: javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:837) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:256) ... 82 more Caused by: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:231) at oracle.j2ee.ws.common.transport.HttpTransport.transmit(HttpTransport.java:75) at oracle.j2ee.ws.common.async.MessageSender.call(MessageSender.java:64) at oracle.j2ee.ws.common.async.Transmitter.transmitSync(Transmitter.java:134) at oracle.j2ee.ws.common.async.Transmitter.transmit(Transmitter.java:90) at oracle.j2ee.ws.common.async.RequestorImpl.transmit(RequestorImpl.java:273) at oracle.j2ee.ws.common.async.RequestorImpl.invoke(RequestorImpl.java:94) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:794) ... 85 more Caused by: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.processHttpResponseCode(HttpSOAPConnection.java:633) at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post2(HttpSOAPConnection.java:501) at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection$PrivilegedPost.run(HttpSOAPConnection.java:1261) at java.security.AccessController.doPrivileged(Native Method) at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:229) ... 92 more
    I am getting "Webservice invokation failed" message and above exception.
    I am using some proxy server to access internet in my company. It is telling(If u see above exception u will be able to see) the below info in some part of exception.
    javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at
    Is there any problem with authentication to that wsdl url?
    I think u can understand my problem by looking at above clearly explained content.
    Hope u guys will help me out in this issue?
    Thanks in advance.
    Hope I will receive response as soon as possible as it is very critical at this point.
    Thanks

    Hi,
    Some part is requiring authentication, either the proxy or the web service provider. First thing is to determine which of them.
    Are you able to call B via SOAP-UI? Are you passing authentication in SOAP-UI? If not the problem is in you proxy server.
    Check 401 error here:
    http://www.checkupdown.com/status/E401.html
    Cheers,
    Vlad
    Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question. If you think this answer is helpful, please consider giving points.

  • Issue in invoking the siebel service

    Hi,
        Here i am poll the data from DB adapter as Requabcs  and sent to Siebel services through ProvABCS and i am using after read option is "Delete the Row(s)that were Read" in DB Adapter.When i put the data in DB the DB Adapter polling is working but in ProvABCS it 's always it gives "invokepanding...... ".and it does't give any error .and data also not deleted in DB in EM Instance State shows "completed " .and siebel end services are up.
    when come to SOA server i seen this error please any body help on this.
    [soa_server1] [ERROR] [] [oracle.soa.bpel.system] [tid: Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\n] [userId: <anonymous>] [ecid: 6a64a370db9cb4a0:2c2ed1ee:14108249193:-8000-00000000000039b0,0] [APP: soa-infra] [composite_name: EcoAddresDBAdapter] [component_name: EcoAddresBDAdapter] [component_instance_id: 9A3AB3901A2411E3BFC00FAC4AF8BE7D] [composite_instance_id: 130085] Error while invoking bean "cube delivery": Cannot access instance.[[
    The action "update action" cannot be performed on the instance "130043" because of its current state ("unknown").
    The current instance state did not allow the requested action to be performed.
    Consult the product documentation for a list of all the permissible actions that can be performed on an instance when it is in the "unknown" state.
    ORABPEL-02041
    Cannot access instance.
    The action "update action" cannot be performed on the instance "130043" because of its current state ("unknown").
    The current instance state did not allow the requested action to be performed.
    Consult the product documentation for a list of all the permissible actions that can be performed on an instance when it is in the "unknown" state.
        at com.collaxa.cube.engine.CubeEngine.checkIfCanAccess(CubeEngine.java:4373)
        at com.collaxa.cube.engine.CubeEngine.checkIfCanAccess(CubeEngine.java:4415)
        at com.collaxa.cube.engine.CubeEngine.finalizeActivity(CubeEngine.java:2923)
        at com.collaxa.cube.engine.CubeEngine.checkBlockConditions(CubeEngine.java:3811)
        at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2712)
        at com.collaxa.cube.engine.CubeEngine._handleWorkItem(CubeEngine.java:1190)
        at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1093)
        at com.collaxa.cube.engine.dispatch.message.instance.PerformMessage
    Thank you,
    Ram

    To call restful service from rest client try the below.
    Its working for me..
    http://www.soapui.org/REST-Testing/getting-started.html
    Let us know if you have any issue with the above.
    Thanks,
    Vijay

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

  • Facing issue in invoking an external webservice from 11G Bpel

    Hi,
    I am facing an issue in Invoking PIM webservice from 11G soa.. getting the following error in the invoke activity(Invoke calls PIM webservice).. the same thing used to work in 10.1.3.4 where i set username/pwd in the bpel.xml for that partnerlink. here in 11G i did it through "Configure WS policy"     and setting oracle/wss_username_token_client_policy to true..
    the error message is
    <messages>
    <input>
    <PublicationService_GetBatchSystems_InputVariable>
    <part name="body">
    <PublicationService_GetBatchSystems>
    <batchAndLang>
    <BatchId>1543</BatchId>
    </batchAndLang>
    </PublicationService_GetBatchSystems>
    </part>
    <part name="header">
    <ServiceBean_Header/>
    </part>
    </PublicationService_GetBatchSystems_InputVariable>
    </input>
    <fault>
    <bpelFault>
    <faultType>
    <message>0</message>
    </faultType>
    <remoteFault>
    <part name="summary">
    <summary>InvalidHeader: Invalid or missing header in request.</summary>
    </part>
    <part name="detail">
    <detail>javax.xml.ws.soap.SOAPFaultException: InvalidHeader: Invalid or missing header in request.</detail>
    </part>
    <part name="code">
    <code>null</code>
    </part>
    </remoteFault>
    </bpelFault>
    </fault>
    <faultType>
    <message>0</message>
    </faultType>
    </messages>
    i compared the payload from 10G and 11G the only difference i could find is the order of soap body and header is different.. is it because of this??
    i checked in wsdlt the order is correctly declared (first header then body).. but whenever i am creating a variable on this Msg type.. and expanding the variable in jdev the order is getting reveresed.. not sure why?? there is no change in the flow from 10G to 11G.. apart from the migration.

    Thanks.. This works..
    But it gets lost whenever we redeploy that process..
    And of course even though I am seeing http user & http password can be configured in composite.xml.. It is not taking effect..
    After redeploy, still the HTTP UserName & Password is blank.
    <reference name="ABC"
    ui:wsdlLocation="ABC.wsdl">
    <interface.wsdl interface="http://oracle.abc/#wsdl.interface(WSDL_INTERFACE)"/>
    <binding.ws port="http://oracle.abc/#wsdl.endpoint(ABC/ABCHttpPort)"
    location="ABC.wsdl">
    <wsp:PolicyReference URI="oracle/wss_username_token_client_policy"
    orawsp:category="security" orawsp:status="enabled"/>
    <wsp:PolicyReference URI="oracle/log_policy" orawsp:category="management"
    orawsp:status="enabled"/>
    </binding.ws>
    <property name="oracle.webservices.auth.username" type="xs:string"
    many="false" override="may">username</property>
    <property name="oracle.webservices.auth.password" type="xs:string"
    many="false" override="may">password.xxxxx</property>
    </reference>
    Client is interested in solving only through code not through UI..
    Any thoughts..
    Edited by: Raj.Sunnyvale on Mar 24, 2010 11:26 AM

  • Issue with getting the WebServiceContext from webservice in weblogic10gR3

    I am trying to get the run time context information using the WebServiceContext in the web service class. I have done all the necessary changes as required. However the WebServiceContext is failing to get injected. The code is throwing NullPointer Exception on trying to getMessageContext. Is there anything else needs to be done to get the WebServiceContext?
    I am using bottom up approach from java file, getting WSDL auto generated and using the same to invoke the webservice and having this issue
    Any help on this would be greatly appreciated
    Cheers,
    Hari
    Below is the code
    Interface
    package product.bam.webservices;
    import product.bam.xml.sendbenefitalert.SendBenefitAlertRequestDocument;
    import product.bam.xml.sendbenefitalert.SendBenefitAlertResponseDocument;
    public interface BAMServices {
         public SendBenefitAlertResponseDocument sendBenefitAlert(SendBenefitAlertRequestDocument reqDoc);
    Impl class
    package product.bam.webservices;
    import java.util.Iterator;
    import java.util.Map;
    import javax.annotation.Resource;
    import javax.jws.HandlerChain;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    import javax.xml.ws.WebServiceContext;
    import javax.xml.ws.handler.MessageContext;
    import library.logging.Logger;
    import product.bam.xml.sendbenefitalert.SendBenefitAlertRequestDocument;
    import product.bam.xml.sendbenefitalert.SendBenefitAlertResponseDocument;
    import weblogic.jws.WLHttpTransport;
    import weblogic.jws.soap.SOAPBinding;
    @HandlerChain(file="BAMJWSChain.xml", name="BAMWSHanlderChain")
    @WLHttpTransport(serviceUri = "product/bam/webservices/BAMAttachmentServices.java")
    @WebService (serviceName = "BAMAttachmentServices",
         targetNamespace = "http://www.openuri.org/")
    public class BAMAttachmentServices implements BAMServices {
         public BAMAttachmentServices() {
              System.out.println("\n\n\t BAMAttachmentServices Service Instentiated...");
         private Logger logger = new Logger(BAMAttachmentServices.class,"BenefitAlertManagement");
         @Resource WebServiceContext wsContext;
    @SOAPBinding(style = javax.jws.soap.SOAPBinding.Style.DOCUMENT,
    use = javax.jws.soap.SOAPBinding.Use.LITERAL,
    parameterStyle = javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED)
         @WebMethod
    public SendBenefitAlertResponseDocument sendBenefitAlert(SendBenefitAlertRequestDocument reqDoc) {
         logger.debug(reqDoc.xmlText(),null);
         MessageContext context=wsContext.getMessageContext();
         Map requestHeaders = (Map)context.get(MessageContext.HTTP_REQUEST_HEADERS);
         Iterator it = requestHeaders.entrySet().iterator();
         while (it.hasNext()) {
         Map.Entry pairs = (Map.Entry)it.next();
         System.out.println(pairs.getKey() + " = " + pairs.getValue());
         return SendBenefitAlertResponseDocument.Factory.newInstance();
    Edited by: user12537291 on Jan 30, 2010 5:38 PM

    Also make sure that your sequence has NOCYCLE option.
    some thing like this:
    CREATE SEQUENCE test_seq
    START WITH 1
    INCREMENT BY 1
    NOCACHE
    NOCYCLE;

  • XA Exception while invoking the Web Service

    I'm getting the following exception frequently while invoking the webservice hosted in OC4J:
    -4972682009633467115com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back: Error in transaction: javax.transaction.xa.XAException: Commit (onePhase) failed.
    at ProvisionCBCMRemote_StatelessSessionBeanWrapper2206.setObjectDetails(ProvisionCBCMRemote_StatelessSessionBeanWrapper2206.java:151)
    at ae.co.etisalat.cbcm.web.soh.provisioncbcm.ProvisionCBCMController.ProvisionCBCM(ProvisionCBCMController.java:76)
    at ae.co.etisalat.cbcm.web.soh.provisioncbcm.__ProvisionCBCMControllerStatelessWrapper.invokeMethod(__ProvisionCBCMControllerStatelessWrapper.java:100)
    at oracle.j2ee.ws.InvocationWrapper.invoke(InvocationWrapper.java:121)
    at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:342)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:792)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    Nested exception is:
    javax.transaction.xa.XAException: Commit (onePhase) failed.
    at com.evermind.sql.DriverManagerXAResource.ThrowXaErr(DriverManagerXAResource.java:249)
    at com.evermind.sql.DriverManagerXAResource.commit(DriverManagerXAResource.java:73)
    at com.evermind.server.TransactionEnlistment.commit(TransactionEnlistment.java:251)
    at com.evermind.server.ApplicationServerTransaction.singlePhaseCommit(ApplicationServerTransaction.java:746)
    at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:691)
    at com.evermind.server.ApplicationServerTransaction.end(ApplicationServerTransaction.java:1036)
    at ProvisionCBCMRemote_StatelessSessionBeanWrapper2206.setObjectDetails(ProvisionCBCMRemote_StatelessSessionBeanWrapper2206.java:147)
    at ae.co.etisalat.cbcm.web.soh.provisioncbcm.ProvisionCBCMController.ProvisionCBCM(ProvisionCBCMController.java:76)
    at ae.co.etisalat.cbcm.web.soh.provisioncbcm.__ProvisionCBCMControllerStatelessWrapper.invokeMethod(__ProvisionCBCMControllerStatelessWrapper.java:100)
    at oracle.j2ee.ws.InvocationWrapper.invoke(InvocationWrapper.java:121)
    at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:342)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:792)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    Anyone can help fixing this issue will be highly appreciated. thanks in advance !!

    Please help me on this !!!

  • Error during invokation of webservices: "error: unknown java type:"

    hi,
    I'm having issues with invoking a webservice from the "WebLogic Test Client". The webservice exposes the methods from a stateless session EJB and Weblogic Workshop was used to create the webservice controls
    Weblogic version: 10.0 mp1
    Pls. advise.
    Error message ...
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header />
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>error: unknown java type: com.margin.engine.entity.ClientSet</faultstring>
    <detail>
    <bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">com.bea.xml.XmlRuntimeException: error: unknown java type: com.margin.engine.entity.ClientSet
    at com.bea.staxb.runtime.internal.FailFastErrorHandler.add(FailFastErrorHandler.java:45)
    at com.bea.staxb.runtime.internal.MarshalResult.addError(MarshalResult.java:265)
    at com.bea.staxb.runtime.internal.AnyTypeRuntimeBindingType.determineActualRuntimeType(AnyTypeRuntimeBindingType.java:84)
    at com.bea.staxb.runtime.internal.RuntimeBindingProperty.getActualRuntimeType(RuntimeBindingProperty.java:110)
    at com.bea.staxb.runtime.internal.PushMarshalResult.walkRankOneSoapArray(PushMarshalResult.java:570)
    at com.bea.staxb.runtime.internal.PushMarshalResult.walkSoapArray(PushMarshalResult.java:534)
    at com.bea.staxb.runtime.internal.PushMarshalResult.visit(PushMarshalResult.java:437)
    at com.bea.staxb.runtime.internal.SoapArrayRuntimeBindingType.accept(SoapArrayRuntimeBindingType.java:59)
    at com.bea.staxb.runtime.internal.PushMarshalResult.writeContents(PushMarshalResult.java:192)
    at com.bea.staxb.runtime.internal.PushMarshalResult.marshalTopType(PushMarshalResult.java:93)
    at com.bea.staxb.runtime.internal.MarshallerImpl.marshalBindingType(MarshallerImpl.java:302)
    at com.bea.staxb.runtime.internal.MarshallerImpl.marshalType(MarshallerImpl.java:435)
    at weblogic.wsee.bind.runtime.internal.LiteralSerializerContext.marshalType(LiteralSerializerContext.java:70)
    at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.internalSerializeType(BaseSerializerContext.java:175)
    at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.serializeType(BaseSerializerContext.java:95)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodePart(SoapEncoder.java:284)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodeReturn(SoapEncoder.java:205)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodeParts(SoapEncoder.java:192)
    at weblogic.wsee.codec.soap11.SoapEncoder.encode(SoapEncoder.java:119)
    at weblogic.wsee.codec.soap11.SoapCodec.encode(SoapCodec.java:128)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.encode(CodecHandler.java:103)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.handleResponse(CodecHandler.java:50)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:236)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:220)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.callHandleResponse(ServerDispatcher.java:135)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:108)
    at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
    at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
    at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
    at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:257)
    at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3395)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    </bea_fault:stacktrace>
    </detail>
    </env:Fault>
    </env:Body>
    </env:Envelope>

    Olivier, thank you so much
    SOAMANAGER does not exist in my system (sp level 8), so node "/sap/bc/soap/rfc" should be active. Actually, it is active.
    I think the problem is related to user rights/profiles.
    I have tried to create another WS after assigning role SAP_BC_WEBSERVICE_ADMIN. The same error when trying to activate it, but now, I can see this WS in SE80 (under "Enterprise Services->Service Definition"). It is not active there and if I try to activate it, a success message appears indicating that user "is not authorized to use function netzwerkadministration". I cannot see any new services in SICF...
    Probably the new entry in SICF will be created after activating WS in SE80...
    Do u know what user profile should I add in order to properly activate the WS in SE80?
    Thank you very much!
    Vicente

  • 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